BlueNRG : how to set the device name in the advertising
I tried the Cube BLE exemple to tried to set the device name for the advertising message but I can only see the advertising address. How could I do to set the name?
/* Update device name */
ret = aci_gatt_update_char_value(service_handle, dev_name_char_handle, 0, sizeof(device_name), device_name);
if(ret != BLE_STATUS_SUCCESS) {
PRINTF("aci_gatt_update_char_value() failed: 0x%02x\r\n", ret);
return ret;
}