libtropic
C library for TROPIC01 chip

◆ lt_in__random_value_get()

lt_ret_t lt_in__random_value_get ( lt_handle_t h,
uint8_t *  buff,
const uint16_t  len 
)
Note
Used for separate L3 communication, for more information read info at the top of this file.
Parameters
hDevice's handle
buffBuffer to receive random data
lenLength of random data to get, must be the same as sent in lt_out__random_value_get()
Returns
LT_OK if success, otherwise returns other error code.