Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Apr 2020 09:24:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        wireless@FreeBSD.org
Subject:   [Bug 245899] [Patch] Fix service UUIDs in advertising data/scan response
Message-ID:  <bug-245899-21060@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D245899

            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: wireless@FreeBSD.org
          Reporter: marc@bumblingdork.com

Created attachment 213773
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D213773&action=
=3Dedit
Properly update ad field length

The length octet of the 'partial service id list' AD type was not set prope=
rly.
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.ht=
ml/2017/02/10/bluetooth_advertisin-hGsf

Replace deprecated atoi with strdol while here.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-245899-21060>