BLE_GAP_SetDeviceName
C
uint16_t BLE_GAP_SetDeviceName(uint8_t len, uint8_t *p_deviceName);
Description
Sets 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 UTF-8 string containing the device name. |
Return values
Return value | Description |
---|---|
MBA_RES_SUCCESS | Successfully sets the local device name. |
MBA_RES_INVALID_PARA | Invalid parameters, if the length of the device name exceeds the maximum allowed. |