Skip to main content
Anitha
Associate III
May 15, 2019
Question

what are the remaining data in the data array, actually it is 8 bytes, data[0] is for sub command and what are remaining values in 7 indexes?

  • May 15, 2019
  • 1 reply
  • 487 views

Here is the structure of packet in this actually it is 8 bytes data buffer but data[0] receiving is subcommand and what are the remaining values

typedef struct

{

 MOBLE_ADDRESS peer;

 MOBLE_ADDRESS dst;

 MOBLEUINT8 command;

 MOBLEUINT8 data[DATA_BUFFER_LENGTH]; /* 8-Bytes response packet */

 MOBLEUINT32 length;

} APPLI_SEND_RESPONSE_MODULE;

This topic has been closed for replies.

1 reply

alok
Visitor II
May 16, 2019

Depending on the message, these can be useful or non-useful data

This is purely what is sent by the App. You can look at the comments in the code for more explaination