https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245899
Bug ID: 245899
Summary: [Patch] Fix service UUIDs in advertising data/scan
response
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: wireless
Assignee: [email protected]
Reporter: [email protected]
Created attachment 213773
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=213773&action=edit
Properly update ad field length
The length octet of the 'partial service id list' AD type was not set properly.
Set the lenght position pointer to the current buffer position,
increment after each 16-bit uuid is added.
Bluetooth Core specification 5.2 Vol3, Part C, section 11.
Example:
https://www.silabs.com/community/wireless/bluetooth/knowledge-base.entry.html/2017/02/10/bluetooth_advertisin-hGsf
Replace deprecated atoi with strdol while here.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "[email protected]"