libtropic
C library for TROPIC01 chip

◆ lt_l2_send_encrypted_cmd()

lt_ret_t lt_l2_send_encrypted_cmd ( lt_l2_state_t s2,
uint8_t *  buff,
uint16_t  max_len 
)
Parameters
s2Structure holding l2 state
buffBuffer containing encrypted l3 command
max_lenMaximal length of buff. Whole buffer might be used, or just its part.
Returns
LT_OK if success, otherwise returns other error code.