Retrieve the friendly name of the local Bluetooth-enabled device.
#include <btapi/btdevice.h>
int bt_ldev_get_friendly_name(char *friendly_name, int friendly_name_len)
BlackBerry 10.0.0
A string buffer where the Bluetooth friendly name is stored.
The size of the buffer. The minimum size is 2 bytes and the maximum is 256 bytes. The buffer length must include room for the terminating NULL character.
The friendly name is a string value that helps to make it easier to identify the local device. After you call the function, the name is retrieved from the friendly_name argument. You must allocate a buffer that is large enough to store the name including the terminating NULL character.