C
typedef struct { union { BYTE Val; struct { BYTE broadcast : 2; BYTE ackReq : 1; BYTE secEn : 1; BYTE repeat : 1; BYTE command : 1; BYTE srcPrsnt : 1; BYTE altSrcAddr : 1; } bits; } flags; WORD_VAL SourcePANID; BYTE * SourceAddress; BYTE * Payload; BYTE PayloadSize; BYTE PacketRSSI; BYTE PacketLQI; } RECEIVED_MESSAGE;
Description
Received Message information
This structure contains information about the received application message.
Members
Members |
Description |
BYTE broadcast : 2; |
1: broadcast message |
BYTE ackReq : 1; |
1: sender request acknowledgement in MAC. |
BYTE secEn : 1; |
1: application payload has been secured |
BYTE repeat : 1; |
1: message received through a repeater |
BYTE command : 1; |
1: message is a command frame |
BYTE srcPrsnt : 1; |
1: source address present in the packet |
BYTE altSrcAddr : 1; |
1: source address is alternative network address |
WORD_VAL SourcePANID; |
PAN Identifier of the sender |
BYTE * SourceAddress; |
pointer to the source address |
BYTE * Payload; |
pointer to the application payload |
BYTE PayloadSize; |
application payload length |
BYTE PacketRSSI; |
RSSI value of the receive message |
BYTE PacketLQI; |
LQI value of the received message |
Symbol Reference > Types > RECEIVED_MESSAGE Structure