1.1.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
Parameter | Description |
---|---|
[in] len | Length of the device name. See Maximum device name length. |
[in] p_deviceName | Pointer to a device name buffer (UTF-8 string). |
Return values
Return value | Description |
---|---|
MBA_RES_SUCCESS | Successfully set the local device name. |
MBA_RES_INVALID_PARA | Invalid parameters, if length of the device name is more than 32 bytes. |