How to make short name over 10 characters via mgmt? #797
Unanswered
killerlife
asked this question in
Q&A
Replies: 1 comment
-
@killerlife how about not use the MGMT interface and instead use something like bluetoothctl> advertise.name? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I run a gatt server on linux and set it name of 20 characters. It only display 10 characters when I scane the device.
I check with hcitools, it shows the name and short name. The name is OK, but the short name just show 10 characters.
I check the bluec source code, the MGMT_MAX_SHORT_NAME_LENGTH limit short name to 11 characters with a terminal character in mgmt.h
I change the value to (30 + 1) and rebuild bluez. But it not work.
How to make it support large short name?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions