libtropic
C library for TROPIC01 chip
|
lt_ret_t lt_out__session_start | ( | lt_handle_t * | h, |
const pkey_index_t | pkey_index, | ||
session_state_t * | state | ||
) |
After successful execution, h->l2->buff
will contain data for L2 handshake request.
h | Device's handle |
pkey_index | Index of pairing public key |
state | Structure holding session state, will be filled by this function. Content is used to finish secure session establishment in lt_in__session_start(). |