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

◆ nfc_tnep_poller_svc_select()

int nfc_tnep_poller_svc_select ( const struct nfc_tnep_buf * svc_buf,
const struct nfc_ndef_tnep_rec_svc_param * svc,
uint32_t max_ndef_area_size )

#include <include/nfc/tnep/poller.h>

Select the TNEP Service.

Function for selecting the given service. After service is selected NFC Poller waits a specific amount of time to perform the NDEF Read procedure to get new data from the NFC Tag device. This operation is asynchronous.

Parameters
[in]svc_bufPointer to the buffer for new data from the NFC TNEP Tag Device. Buffer must be stored until the Select procedure is finished.
[in]svcPointer to The TNEP Service to select.
[in]max_ndef_area_sizeMaximum size of NDEF Message.
Return values
0If the operation was successful. Otherwise, a (negative) error code is returned.