1.2.2.1.1.4.44 BLE_GAP_SetDeviceName

C

uint16_t BLE_GAP_SetDeviceName(uint8_t len, uint8_t *p_deviceName);

Description

Set the local device name.

Parameters

ParameterDescription
[in] lenLength of the device name. See Maximum device name length.
[in] p_deviceNamePointer to a device name buffer (UTF-8 string).

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully set the local device name.
MBA_RES_INVALID_PARAInvalid parameters, if length of the device name is more than 32 bytes.