nRF Connect SDK API 0.1.0
|
int nfc_tnep_poller_svc_write | ( | const struct nfc_ndef_msg_desc * | msg, |
const struct nfc_tnep_buf * | resp_buf | ||
) |
#include <include/nfc/tnep/poller.h>
Write the TNEP Service data.
Function for writing the TNEP Service data. The Service must be selected first. After successful writing, library attempts to read new Service data after the specific amount of time. This operation is asynchronous.
[in] | msg | Pointer to the NDEF Message which will be written. |
[in] | resp_buf | Pointer to received data buffer. Buffer must be stored until the update procedure is finished. |
0 | If the operation was successful. Otherwise, a (negative) error code is returned. |