BLE_GAP_SetDeviceName

C

uint16_t BLE_GAP_SetDeviceName(uint8_t len, uint8_t *p_deviceName);

Description

Sets the local device name.

Parameters

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

Return values

Return valueDescription
MBA_RES_SUCCESSSuccessfully sets the local device name.
MBA_RES_INVALID_PARAInvalid parameters, if the length of the device name exceeds the maximum allowed.