Bluetooth Driver services: Difference between revisions

Line 960: Line 960:
= BleAdvertisePacketData =
= BleAdvertisePacketData =
This is "nn::bluetooth::BleAdvertisePacketData" ([5.0.0-8.1.1] "nn::bluetooth::LeAdvertiseData"). This is a 0xCC-byte struct.
This is "nn::bluetooth::BleAdvertisePacketData" ([5.0.0-8.1.1] "nn::bluetooth::LeAdvertiseData"). This is a 0xCC-byte struct.
{| class="wikitable" border="1"
|-
! Offset
! Size
! Description
|-
| 0x0 || 0x4 ||
|-
| 0x4 || 0x1 ||
|-
| 0x5 || 0x1 || Size of the data at +0x6.
|-
| 0x6 || 0x1F ||
|-
| 0x25 || 0x3 || Padding
|-
| 0x28 || 0x1 || Total array entries for the below array, can be 0.
|-
| 0x29 || 0x7 || Padding
|-
| 0x30 || count*0x14 || Array entries, see below.
|-
| 0xA4 || 0x1 || Size of the data at +0xA8.
|-
| 0xA5 || 0x1 || Padding
|-
| 0xA6 || 0x2 || Padding
|-
| 0xA8 || 0x1F ||
|-
| 0xC7 || 0x1 ||
|-
| 0xC8 || 0x1 ||
|-
| 0xC9 || 0x3 || Padding
|}
Array entry:
{| class="wikitable" border="1"
|-
! Offset
! Size
! Description
|-
| 0x0 || 0x2 ||
|-
| 0x2 || 0x12 || Unused
|}


= BleAdvertiseFilter =
= BleAdvertiseFilter =