libtropic
C library for TROPIC01 chip

◆ lt_l1_read()

lt_ret_t lt_l1_read ( lt_l2_state_t s2,
const uint32_t  max_len,
const uint32_t  timeout_ms 
)
Parameters
s2Structure holding l2 state
max_lenMax len of receive buffer
timeout_msTimeout - how long function will wait for response
Returns
LT_OK if success, otherwise returns other error code.