Libtropic API
SDK for the TROPIC01 secure element
Version: v4.0.0
Loading...
Searching...
No Matches

◆ lt_l2_transfer()

lt_ret_t lt_l2_transfer ( lt_l2_state_t s2)

This function combines lt_l2_send and lt_l2_receive with additional handling of retrying the transfer: resending outgoing frames on LT_L2_CRC_ERR errors and sending Resend_Req on LT_L2_IN_CRC_ERR errors when an invalid incoming CRC is detected.

Parameters
s2Structure holding l2 state
Return values
LT_OKFunction executed successfully
otherFunction did not execute successfully