Skip to main content
Dave Bohan
Associate III
November 18, 2020
Question

BLE2_application SensorDemo limits BLE DeviceName to 7 chars

I built a project for the STM32L053 based on the BLE2_Application SensorDemoBLESensor.

If I increase the length of the DeviceName (SENSOR_DEMO_NAME in sensor.h) beyond 7 characters, the call to aci_gatt_update_char_value() in app_bluenrg_2.c to set device name fails with error 0x42 (BLE_STATUS_INVALID_PARAMS).

Is there a way to increase the length of DeviceName?

This topic has been closed for replies.