nRF Connect SDK API 2.8.99
|
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.
[in] | svc_buf | Pointer to the buffer for new data from the NFC TNEP Tag Device. Buffer must be stored until the Select procedure is finished. |
[in] | svc | Pointer to The TNEP Service to select. |
[in] | max_ndef_area_size | Maximum size of NDEF Message. |
0 | If the operation was successful. Otherwise, a (negative) error code is returned. |