nRF Connect SDK API 2.8.99
|
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.
[in] | ndef_msg | The NDEF Message which can be the Initial TNEP Message. |
[out] | param | Pointer to structure where found service parameters will be stored. |
[in,out] | cnt | Count of service parameters which can be stored as an input. Count of found services parameters as an output. |
0 | If the operation was successful. Otherwise, a (negative) error code is returned. |