Generation of NFC NDEF LE OOB records for NDEF messages. More...
Functions | |
nfc_ndef_record_desc_t * | nfc_le_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 LE Record. More... | |
Generation of NFC NDEF LE OOB records for NDEF messages.
nfc_ndef_record_desc_t* nfc_le_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 LE Record.
This function declares and initializes a static instance of an NFC NDEF record description for a Bluetooth Carrier Configuration LE record.
p_ble_advdata
) should be declared as static. If it is declared as automatic, the NDEF message encoding (see nfc_ble_simplified_le_oob_msg_encode) must be done in the same variable scope.[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. |