Misleading Documentation for Setting Up a JN51xx PDUM Output Buffer

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

Misleading Documentation for Setting Up a JN51xx PDUM Output Buffer

785 Views
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

Tags (2)
0 Kudos
1 Reply

566 Views
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 Kudos