Bluetooth Driver services: Difference between revisions

No edit summary
Line 674: Line 674:
= BluetoothPropertyType =
= BluetoothPropertyType =
This is u32 enum "nn::bluetooth::BluetoothPropertyType".
This is u32 enum "nn::bluetooth::BluetoothPropertyType".
The sysmodule will Abort if the input type is unavailable / not recognized.


{| class="wikitable" border="1"
{| class="wikitable" border="1"
Line 681: Line 683:
!  Buffer contents
!  Buffer contents
|-
|-
| 1 || || String
| 1 || || String, max length 0xF8 excluding NUL-terminator.
|-
|-
| 2 || || 6-bytes
| 2 || || 6-bytes
|-
|-
| 3 || || 3-bytes
| 3 || || Only available with [[#SetAdapterProperty]]. 3-bytes
|-
|-
| 5 || || 3-bytes
| 5 || || 3-bytes
Line 715: Line 717:
= AdapterProperty =
= AdapterProperty =
This is "nn::bluetooth::AdapterProperty". This is a 0x103-byte struct.
This is "nn::bluetooth::AdapterProperty". This is a 0x103-byte struct.
{| class="wikitable" border="1"
|-
! Offset
! Size
! Description
|-
| 0x0 || 0x6 || Same as the data for [[#BluetoothPropertyType]] type2.
|-
| 0x6 || 0x3 || Same as the data for [[#BluetoothPropertyType]] type5.
|-
| 0x9 || 0xF9 || Same as the data for [[#BluetoothPropertyType]] type1 (last byte is not initialized).
|-
| 0x102 || 0x1 || Set to hard-coded value 0x68.
|}


= Address =
= Address =