![]() |
nRF Connect SDK API 3.3.99
|
| bool gzp_crypt_data_send | ( | const uint8_t * | src, |
| uint8_t | length ) |
#include <include/gzp.h>
Function for sending encrypted user data to the Host.
Before any data can be sent the Device must acquire both the Host's "system address" by using gzp_address_req_send() and the "Host ID" by using gzp_id_req_send().
| src | is a pointer to the data packet to be sent. |
| length | is the length of the data packet to be sent. |
| true | if the data was successfully transmitted and decrypted by the Host. |
| false | if data transmission failed or Host failed to decryption data correctly. |