aqhome-data, aqhome-tool: more work on new protocol.
This commit is contained in:
@@ -60,6 +60,13 @@ uint32_t AQH_IpcMessageResult_GetResult(const GWEN_TAG16_LIST *tagList)
|
||||
|
||||
|
||||
|
||||
char *AQH_IpcMessageResult_GetText(const GWEN_TAG16_LIST *tagList)
|
||||
{
|
||||
return tagList?AQH_Tag16_GetTagDataAsNewString(tagList, AQH_MSGDATA_RESULT_TAGS_TEXT, NULL):0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
void AQH_IpcMessageResult_DumpToBuffer(const AQH_MESSAGE *msg, const GWEN_TAG16_LIST *tagList, GWEN_BUFFER *dbuf, const char *sText)
|
||||
{
|
||||
int result=0;
|
||||
|
||||
@@ -40,6 +40,7 @@ AQHOME_API AQH_MESSAGE *AQH_IpcMessageResult_new(uint8_t protoId, uint8_t protoV
|
||||
int result, const char *text);
|
||||
|
||||
AQHOME_API uint32_t AQH_IpcMessageResult_GetResult(const GWEN_TAG16_LIST *tagList);
|
||||
AQHOME_API char *AQH_IpcMessageResult_GetText(const GWEN_TAG16_LIST *tagList);
|
||||
|
||||
AQHOME_API void AQH_IpcMessageResult_DumpToBuffer(const AQH_MESSAGE *msg, const GWEN_TAG16_LIST *tagList,
|
||||
GWEN_BUFFER *dbuf, const char *sText);
|
||||
|
||||
Reference in New Issue
Block a user