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

◆ nfc_tnep_ch_carrier_set()

int nfc_tnep_ch_carrier_set ( struct nfc_ndef_record_desc * ac_rec,
struct nfc_ndef_record_desc * carrier_rec,
size_t count )

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

Set Connection Handover carriers.

Function for setting the Connection Handover carriers. It should be used in the callback from nfc_tnep_ch_cb when the Application should reply to the Connection Handover Message. The type of message is determined automatically based on the received message and the role of the device in the data exchange.

Parameters
[in]ac_recArray of the Alternative Carrier Records.
[in]carrier_recArray of the Carrier Records.
[in]countCount of the Alternative Carrier Records and the Carrier Records.
Return values
0If the operation was successful. Otherwise, a (negative) error code is returned.