Modifiynig the EMVSIM send and receive buffer size (i.MX 1170)

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

Modifiynig the EMVSIM send and receive buffer size (i.MX 1170)

166 Views
k_alahmadi01
Contributor I

Hi There,

 

I am trying to test the SMARTCARD Module (EMVSIM) on an i.MX-1170 EVK. Using the example provided in the SDK for cm7. I noticed that the threshold is by default 16 for TX and 15 for RX. Thus, when sending large command size to the SC it fails. How can I change it to withstand large data sizes. Also, I noticed that the in order to send a command to the SC. I must separate the sent buffer into command and body. Can't I send the entire command as one chunk.

 

Thanks in advance.

0 Kudos
Reply
1 Reply

112 Views
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @k_alahmadi01,

You can change the amount of sent/received bytes by changing the "*buff" and "size" values of the "smartcard_xfer_t" structure that is used for each "SMARTCARD_EMVSIM_TransferNonBlocking()" function call:

EdwinHz_1-1723144654139.png

EdwinHz_0-1723144478595.png

BR,
Edwin.

 

0 Kudos
Reply