Functions for parsing and decoding LE OOB records.
More...
Functions for parsing and decoding LE OOB records.
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_desc | Pointer to the record descriptor. |
[in,out] | p_nfc_ble_oob_pairing_data | Pointer to the structure that will be used to hold parsed data. |
- Return values
-
NRF_SUCCESS | If the function completed successfully. |
NRF_ERROR_INVALID_DATA | If the NDEF record type or TNF is incorrect. |
NRF_ERROR_NOT_SUPPORTED | If the payload descriptor is not binary. |
Other | An error code that might have been returned by nfc_ble_oob_advdata_parse function. |