Skip to main content
sean lannon
Associate II
August 20, 2019
Solved

BlueNRG2 Stack Device Name Characteristic (0x2A00) Length

  • August 20, 2019
  • 1 reply
  • 758 views

Bringing up BlueNRG2 (in network co-processor mode). Using the following call on the host MCU (after aci_gap_init():(

aci_gatt_update_char_value_ext(...)

For setting the Device Name characteristic (0x2A00) of the Generic Access Service (0x1800) seems to be limited to 7 characters. Setting a string of 8 or more returns a bad parameters code. I realise there's a packet size limitation (unless BLE >= 4.2 + MTU reconfigure after connection) but 7 seems a bit short, is this simply a limitation imposed by ST in the BlueNRG2 stack or am I missing a call?

The complete advertised name I have set is working fine (13 chars).

I notice the example STML4 projects use small device names.

This topic has been closed for replies.
Best answer by sean lannon

Found the answer in PM0257: Yes the characteristic is limited to 8 chars (I'm guessing 7 + NULL).

0690X00000AA3QgQAL.jpg

1 reply

sean lannon
sean lannonAuthorBest answer
Associate II
August 21, 2019

Found the answer in PM0257: Yes the characteristic is limited to 8 chars (I'm guessing 7 + NULL).

0690X00000AA3QgQAL.jpg