cancel
Showing results for 
Search instead for 
Did you mean: 

BlueNRG2 Stack Device Name Characteristic (0x2A00) Length

sean lannon
Associate II

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.

1 ACCEPTED SOLUTION

Accepted Solutions
sean lannon
Associate II

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

0690X00000AA3QgQAL.jpg

View solution in original post

1 REPLY 1
sean lannon
Associate II

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

0690X00000AA3QgQAL.jpg