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

◆ initial_msg_recv

int(* nfc_tnep_ch_cb::initial_msg_recv) (const struct nfc_tnep_ch_record *ch_initial)

The Connection Handover Initial Message received callback.

This callback is called always when NFC Forum Tag Device which supports TNEP receives the Connection Handover Initial Message. After receiving this message, application shall respond also with the Handover Initial Message by calling nfc_tnep_ch_carrier_set.

Parameters
[in]ch_initialPointer to Connection Handover structure which contains the parsed Connection Handover Initial Message.
Return values
0If the operation was successful. Otherwise, a (negative) error code is returned.