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

◆ nfc_tnep_poller_svc_search()

int nfc_tnep_poller_svc_search ( const struct nfc_ndef_msg_desc * ndef_msg,
struct nfc_ndef_tnep_rec_svc_param * param,
uint8_t * cnt )

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

Search if NDEF Message contains TNEP Service Parameters Records.

Function for searching the TNEP Service Parameters Records in the given NDEF Message. NDEF Message has to be stored until all operations on services are finished.

Parameters
[in]ndef_msgThe NDEF Message which can be the Initial TNEP Message.
[out]paramPointer to structure where found service parameters will be stored.
[in,out]cntCount of service parameters which can be stored as an input. Count of found services parameters as an output.
Return values
0If the operation was successful. Otherwise, a (negative) error code is returned.