Skip to content

Commit

Permalink
Update IM op codes (#5742)
Browse files Browse the repository at this point in the history
Problems:
IM encoding protocol has updated OP codes, need to align with that.

Summary of changes:
-- Align with IM encoding spec regarding OP codes.
  • Loading branch information
yunhanw-google authored Apr 1, 2021
1 parent bf9531d commit 19b5417
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions src/protocols/interaction_model/Constants.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,15 @@ namespace InteractionModel {
*/
enum class MsgType : uint8_t
{
SubscribeRequest = 0x01,
ReadRequest = 0x02,
ReportData = 0x03,
WriteRequest = 0x04,
WriteResponse = 0x05,
InvokeCommandRequest = 0x06,
InvokeCommandResponse = 0x07,
SubscribeRequest = 0x03,
SubscribeResponse = 0x04,
ReportData = 0x05,
WriteRequest = 0x06,
WriteResponse = 0x07,
InvokeCommandRequest = 0x08,
InvokeCommandResponse = 0x09,
TimedRequest = 0x0a,
};

} // namespace InteractionModel
Expand Down

0 comments on commit 19b5417

Please sign in to comment.