Misleading Documentation for Setting Up a JN51xx PDUM Output Buffer

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

Misleading Documentation for Setting Up a JN51xx PDUM Output Buffer

855 次查看
ptaylor
Contributor I

The marked passage in the snippet of the JN51xx Core Utilities User Guide (JN-UG-3116) suggests that PDUM_eAPduInstanceSetPayloadSize does not need to be used if PDUM_u16APduInstanceWriteNBO or PDUM_u16APduInstanceWriteStrNBO are used to load data into the PDU. My own experience suggests that PDUM_eAPduInstanceSetPayloadSize MUST be used prior to sending the PDU.

pastedImage_1.png

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

636 次查看
mario_castaneda
NXP TechSupport
NXP TechSupport

Hi Peter,

Yes, you are right, PDUM_eAPduInstanceSetPayloadSize MUST be used prior to sending the PDU.

 

As you know the PDUM_u16APduInstanceWriteNBO writes the specified data values into the specified APDU instance., but also the user could create his function to allocate the specified position in packed network byte order.

Regards,

Mario

0 项奖励