Shinya Matsuyama
/
MF_FUJIKO_BASE
update from matsu
Diff: MF_FJK_UDPManager/UDPManager.h
- Revision:
- 6:fd9d4fed9946
- Parent:
- 2:89530618a5c7
--- a/MF_FJK_UDPManager/UDPManager.h Sat Mar 16 07:30:44 2019 +0000 +++ b/MF_FJK_UDPManager/UDPManager.h Sat Mar 16 15:42:24 2019 +0000 @@ -10,6 +10,9 @@ MESSAGE_C, MESSAGE_D, MESSAGE_E, + MESSAGE_F, + MESSAGE_G, + MESSAGE_H, MESSAGE_NONE = -1 }; @@ -208,6 +211,9 @@ msgID = MESSAGE_D; } else if (strcmp(tmp, "05") == 0) { msgID = MESSAGE_E; + } else if (strcmp(tmp, "08") == 0) { + msgID = MESSAGE_H; + return true; } else { msgID = MESSAGE_NONE; return false; @@ -239,6 +245,9 @@ case MESSAGE_E: // TBD break; + case MESSAGE_H: + // no param + break; } tmp = strtok(NULL, ",");