EP OOB records

nRF5 SDK v13.1.0

Generation of NFC NDEF EP OOB records for NDEF messages. More...

Functions

nfc_ndef_record_desc_t * nfc_ep_oob_rec_declare (uint8_t rec_payload_id, ble_advdata_t const *const p_ble_advdata)
Function for generating a description of an NFC NDEF Bluetooth Carrier Configuration EP record. More...

Detailed Description

Generation of NFC NDEF EP OOB records for NDEF messages.

Function Documentation

nfc_ndef_record_desc_t * nfc_ep_oob_rec_declare ( uint8_t rec_payload_id ,
ble_advdata_t const *const p_ble_advdata
)

Function for generating a description of an NFC NDEF Bluetooth Carrier Configuration EP record.

This function declares and initializes a static instance of an NFC NDEF record description for a Bluetooth Carrier Configuration EP record.

Note
The record payload data ( p_ble_advdata ) should be declared as static. If it is declared as automatic, the NDEF message encoding (see nfc_ble_simplified_ep_oob_msg_encode ) must be done in the same variable scope.
Parameters
[in] rec_payload_id NDEF record header Payload ID field (limited to one byte). If 0, no ID is present in the record description.
[in] p_ble_advdata Pointer to the encoded BLE advertising data structure. This data is used to create the record payload.
Returns
Pointer to the description of the record.