libtropic
C library for TROPIC01 chip

◆ lt_l2_receive()

lt_ret_t lt_l2_receive ( lt_l2_state_t s2)

After successful execution, handle's l2_buff will contain response.

Note
Structures defined in lt_l2_api_structs.h migh help with decoding.
Parameters
s2Structure holding l2 state
Return values
LT_OKFunction executed successfully
otherFunction did not execute successully