nRF5 SDK v15.3.0
Modules | Functions
LE OOB records parser

Functions for parsing and decoding LE OOB records. More...

Modules

 LE record parser configuration
 

Functions

ret_code_t nfc_le_oob_rec_parse (nfc_ndef_record_desc_t const *const p_rec_desc, nfc_ble_oob_pairing_data_t *const p_nfc_ble_oob_pairing_data)
 Function for parsing general record description as LE OOB record. More...
 

Detailed Description

Functions for parsing and decoding LE OOB records.

Function Documentation

ret_code_t nfc_le_oob_rec_parse ( nfc_ndef_record_desc_t const *const  p_rec_desc,
nfc_ble_oob_pairing_data_t *const  p_nfc_ble_oob_pairing_data 
)

Function for parsing general record description as LE OOB record.

This function checks if record description matches the LE OOB record pattern and extracts BLE OOB Advertising data structure. It is required for the record description to use binary payload descriptor.

Parameters
[in]p_rec_descPointer to the record descriptor.
[in,out]p_nfc_ble_oob_pairing_dataPointer to the structure that will be used to hold parsed data.
Return values
NRF_SUCCESSIf the function completed successfully.
NRF_ERROR_INVALID_DATAIf the NDEF record type or TNF is incorrect.
NRF_ERROR_NOT_SUPPORTEDIf the payload descriptor is not binary.
OtherAn error code that might have been returned by nfc_ble_oob_advdata_parse function.

Documentation feedback | Developer Zone | Subscribe | Updated