nfc_get_handover_bluetooth_device_name()

Return the Bluetooth device name from a Bluetooth carrier NDEF record.

Synopsis:

#include <nfc/nfc_ndef.h>
 
NFC_API nfc_result_t nfc_get_handover_bluetooth_device_name(const nfc_ndef_record_t *rec, char **device_name)

Arguments:

rec

The Bluetooth carrier NDEF record. Chunked NDEF records are not supported.

device_name

The returned Bluetooth device name. This string must be de-allocated by calling the free() function.

Library:

libnfc

Description:

This function returns the Bluetooth device name from a Bluetooth carrier NDEF record.

Returns:

NFC_RESULT_SUCCESS, or one of the following: