Cannot find sAddrPair or sSrc page 76 of IEEE 802.15.4 Stack User Guide JN-UG-3024

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Cannot find sAddrPair or sSrc page 76 of IEEE 802.15.4 Stack User Guide JN-UG-3024

1,605 Views
davidatworkandp
Contributor I

Hello I have been setting up a JENNIC JN5169 chip as a Coordinator. In section 3.8.7 Data Transfer Examples of the users manual IEEE 802.15.4 Stack User Guide JN-UG-3024, on page 76 in the example on processing received data it has two items referred to has sAddrPair and sSrc, I cannot find these anywhere in the primitives of the SDK tool chain library. Could somebody give an explanation of what these are, or what I do instead here, I would be grateful. I have included the page from the manual as an attachment with items highlighted, yours David Lloyd.

Tags (1)
0 Kudos
Reply
1 Reply

1,516 Views
Sebastian_Del_Rio
NXP Employee
NXP Employee

Hi David, I hope you're doing well!

 

Thank you very much for your feedback.

 

The MAC_RxFrameData_s structure type was changed in one of the SDK's revisions and no longer includes an sAddrPair value; it was replaced by two separate values for Source and Destination Address, so the new structure is defined like so:

struct tagMAC_RxFrameData_s {
    MAC_Addr_s sSrcAddr;
    MAC_Addr_s sDstAddr;
    uint8 u8LinkQuality;
    uint8 u8SecurityUse;
    uint8 u8AclEntry;
    uint8 u8SduLength;
    uint8 au8Sdu[MAC_MAX_DATA_PAYLOAD_LEN];
} MAC_RxFrameData_s;‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍

 

We will look into changing the documentation to reflect the change in this structure.

 

Please let me know if you need any more information.

 

Best regards,

Sebastian

0 Kudos
Reply