fix for overriding destination address in read command
This commit is contained in:
@@ -111,9 +111,10 @@ private:
|
|||||||
* @param master the master data @a SymbolString for writing symbols to.
|
* @param master the master data @a SymbolString for writing symbols to.
|
||||||
* @param inputStr the input @a string from which to read master values (if any).
|
* @param inputStr the input @a string from which to read master values (if any).
|
||||||
* @param slave the @a SymbolString that will be filled with retrieved slave data.
|
* @param slave the @a SymbolString that will be filled with retrieved slave data.
|
||||||
|
* @param dstAddress the destination address to set, or @a SYN to keep the address defined during construction.
|
||||||
* @return the result code.
|
* @return the result code.
|
||||||
*/
|
*/
|
||||||
result_t readFromBus(Message* message, SymbolString& master, string inputStr, SymbolString& slave);
|
result_t readFromBus(Message* message, SymbolString& master, string inputStr, SymbolString& slave, const unsigned char dstAddress=SYN);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Execute the read command.
|
* Execute the read command.
|
||||||
|
|||||||
Reference in New Issue
Block a user