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

◆ nfc_tnep_poller_api_set()

int nfc_tnep_poller_api_set ( const struct nfc_tnep_poller_ndef_api * api,
enum nfc_tnep_tag_type tag_type )

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

Set NDEF API for the NFC TNEP Poller Device.

This function provides API for NDEF operation and indicates the NFC Device Tag Type. API can be changed in runtime but it must be set immediately after NFC Poller Device detects Tag Type during the Device Activation Activity.

Parameters
[in]apiPointer to the NDEF API structure.
[in]tag_typeNFC Device Tag Type.
Return values
0If the operation was successful. Otherwise, a (negative) error code is returned.