nRF Connect SDK API 2.8.99
|
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.
[in] | api | Pointer to the NDEF API structure. |
[in] | tag_type | NFC Device Tag Type. |
0 | If the operation was successful. Otherwise, a (negative) error code is returned. |