switch ";" and "," but keep ";" for values shown in/parsed from UI, added todos, removed "p" for poll (use 1-9 instead), formatting

This commit is contained in:
john30
2014-12-10 23:11:34 +01:00
parent d36b024876
commit 0bd7df2ce1
6 changed files with 190 additions and 198 deletions
+2 -2
View File
@@ -135,7 +135,7 @@ public:
* @return @a RESULT_OK on success, or an error code.
*/
result_t prepareMaster(const unsigned char srcAddress, SymbolString& masterData,
istringstream& input, char separator=';');
istringstream& input, char separator=UI_FIELD_SEPARATOR);
/**
* @brief Prepare the slave @a SymbolString for sending an answer to the bus.
@@ -154,7 +154,7 @@ public:
* @return @a RESULT_OK on success, or an error code.
*/
result_t decode(const PartType partType, SymbolString& data,
ostringstream& output, bool leadingSeparator=false, char separator=';');
ostringstream& output, bool leadingSeparator=false, char separator=UI_FIELD_SEPARATOR);
/**
* @brief Get the last decoded value.