nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches

◆ gzp_crypt_user_data_read()

bool gzp_crypt_user_data_read ( uint8_t * dst,
uint8_t * length )

#include <include/gzp.h>

Function for reading encrypted user data.

Note that the read user data will be automatically decrypted. Only data that was decrypted correctly will be presented.

Parameters
dstis a pointer to where the received data will be written.
lengthis a pointer for returning the number of bytes received. Only 1 byte will be writtem to length*.
Return values
trueif data has been received and is written to dst*
falseif no data has been received.