This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

why the sent and received messages are different?

Other Parts Discussed in Thread: CC2538, Z-STACK

I pass 0xD5 to this function on the coordinator by pressing a key button:

void send_setNewLevel( uint8 newLevel){ 
  uint8 msg[8] = {'\0'};
  msg[0] = '0';
  msg[1] = '7';
  msg[6]= newLevel;
  SendBroadcastMessage( msg );
}

Here is the debug screen before sending the msg which seems correct (sendBroadcastMessage() is shown below)

Here is the debug output of the received message. 

The sent array is '0', '7', 0, 0 ,0 ,0, 0xD5, 0, 0. However, the received array is '0', '7', 0, 0x0e, 0x18, 0, 0x4b, 12, 0

Could anyone help me to understand why I receive something different than the sent message?

I use GenericApp of Z-stack mesh on CC2538