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/>

index | next in thread | raw e-mail

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

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.

help

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