libtropic
C library for TROPIC01 chip

◆ lt_ping()

lt_ret_t lt_ping ( lt_handle_t h,
const uint8_t *  msg_out,
uint8_t *  msg_in,
const uint16_t  len 
)
Parameters
hDevice's handle
msg_outPing message going out
msg_inPing message going in
lenLength of both messages (msg_out and msg_in)
Returns
LT_OK if success, otherwise returns other error code.