BLE management advertisement can become too long #108
No reviewers
Labels
No labels
bug
duplicate
enhancement
future
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
albert/shepherd-launcher!108
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/ble-advertisement-name-overflow"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The BLE advertisement contains the service UUID along with a few other bytes of data, which eat away at the total 31 bytes allowed in a BLE advertisement. This change truncates the name so that the advertisement is never longer than 31 bytes -- a fix with a similar history as https://albertarmea.com/post/bt-auto-connect/#discovery-using-bluetooth-le.
This was only one of the issues preventing a successful BLE connection. The other is a very recent kernel regression in the MGMT
Add Extended Advertising Data(0x0055) command:I've also opened #109 to track that issue internally.