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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

1,604 次查看
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.

标记 (1)
0 项奖励
回复
1 回复

1,515 次查看
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 项奖励
回复