nRF Connect SDK API 0.1.0
|
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.
[in] | ac_rec | Array of the Alternative Carrier Records. |
[in] | carrier_rec | Array of the Carrier Records. |
[in] | count | Count of the Alternative Carrier Records and the Carrier Records. |
0 | If the operation was successful. Otherwise, a (negative) error code is returned. |