Libtropic API
SDK for the TROPIC01 secure element
Version: master (latest)
Loading...
Searching...
No Matches

◆ lt_r_mem_data_write()

lt_ret_t lt_r_mem_data_write ( lt_handle_t h,
const uint16_t  udata_slot,
const uint8_t *  data,
const uint16_t  data_size 
)
Parameters
hHandle for communication with TROPIC01
udata_slotMemory's slot to be written
dataBuffer of data to be written into R MEMORY slot
data_sizeSize of data to be written (valid range given by macros TR01_R_MEM_DATA_SIZE_MIN and TR01_R_MEM_DATA_SIZE_MAX)
Return values
LT_OKFunction executed successfully
otherFunction did not execute successully, you might use lt_ret_verbose() to get verbose encoding of returned value