diff --git a/src/lib/ebus/data.cpp b/src/lib/ebus/data.cpp index cb7e5ca3..737bbe32 100644 --- a/src/lib/ebus/data.cpp +++ b/src/lib/ebus/data.cpp @@ -447,7 +447,7 @@ void SingleDataField::dump(ostream& output) result_t SingleDataField::read(const PartType partType, SymbolString& data, unsigned char offset, ostringstream& output, bool leadingSeparator, - bool verbose, const char* fieldName, char fieldIndex, + bool verbose, const char* fieldName, signed char fieldIndex, char separator) { if (partType != m_partType) @@ -1255,7 +1255,7 @@ void DataFieldSet::dump(ostream& output) result_t DataFieldSet::read(const PartType partType, SymbolString& data, unsigned char offset, ostringstream& output, bool leadingSeparator, - bool verbose, const char* fieldName, char fieldIndex, + bool verbose, const char* fieldName, signed char fieldIndex, char separator) { bool previousFullByteOffset = true, found = false, findFieldIndex = fieldName != NULL && fieldIndex >= 0; diff --git a/src/lib/ebus/data.h b/src/lib/ebus/data.h index 42bd3f0b..cf4da9c4 100644 --- a/src/lib/ebus/data.h +++ b/src/lib/ebus/data.h @@ -229,7 +229,7 @@ public: virtual result_t read(const PartType partType, SymbolString& data, unsigned char offset, ostringstream& output, bool leadingSeparator=false, - bool verbose=false, const char* fieldName=NULL, char fieldIndex=-1, + bool verbose=false, const char* fieldName=NULL, signed char fieldIndex=-1, char separator=UI_FIELD_SEPARATOR) = 0; /** @@ -321,7 +321,7 @@ public: virtual result_t read(const PartType partType, SymbolString& data, unsigned char offset, ostringstream& output, bool leadingSeparator=false, - bool verbose=false, const char* fieldName=NULL, char fieldIndex=-1, + bool verbose=false, const char* fieldName=NULL, signed char fieldIndex=-1, char separator=UI_FIELD_SEPARATOR); // @copydoc @@ -653,7 +653,7 @@ public: virtual result_t read(const PartType partType, SymbolString& data, unsigned char offset, ostringstream& output, bool leadingSeparator=false, - bool verbose=false, const char* fieldName=NULL, char fieldIndex=-1, + bool verbose=false, const char* fieldName=NULL, signed char fieldIndex=-1, char separator=UI_FIELD_SEPARATOR); // @copydoc diff --git a/src/lib/ebus/message.cpp b/src/lib/ebus/message.cpp index 29cf9742..0c6f8798 100644 --- a/src/lib/ebus/message.cpp +++ b/src/lib/ebus/message.cpp @@ -313,7 +313,7 @@ result_t Message::prepareSlave(SymbolString& slaveData) result_t Message::decode(const PartType partType, SymbolString& data, ostringstream& output, bool leadingSeparator, - bool verbose, const char* fieldName, char fieldIndex, + bool verbose, const char* fieldName, signed char fieldIndex, char separator) { unsigned char offset; diff --git a/src/lib/ebus/message.h b/src/lib/ebus/message.h index 530333ed..6b992c5f 100644 --- a/src/lib/ebus/message.h +++ b/src/lib/ebus/message.h @@ -190,7 +190,7 @@ public: */ result_t decode(const PartType partType, SymbolString& data, ostringstream& output, bool leadingSeparator=false, - bool verbose=false, const char* fieldName=NULL, char fieldIndex=-1, + bool verbose=false, const char* fieldName=NULL, signed char fieldIndex=-1, char separator=UI_FIELD_SEPARATOR); /**