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

◆ nfc_tnep_poller_svc_write()

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.

Parameters
[in]msgPointer to the NDEF Message which will be written.
[in]resp_bufPointer to received data buffer. Buffer must be stored until the update procedure is finished.
Return values
0If the operation was successful. Otherwise, a (negative) error code is returned.