cancel
Showing results for 
Search instead for 
Did you mean: 

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?

Anitha
Associate III

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;

1 REPLY 1
alok
Senior

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