libtropic
C library for TROPIC01 chip

◆ lt_test_rev_ping()

void lt_test_rev_ping ( lt_handle_t h)

Test steps:

  1. Start Secure Session with pairing key slot 0.
  2. Generate random data length from the range 0-4096.
  3. Generate random bytes.
  4. Send Ping command with the random data.
  5. Check if the same data were received.
  6. Repeat steps 2-5 PING_MAX_LOOPS times.
Parameters
hDevice's handle