Changes

Jump to navigation Jump to search
no edit summary
Line 1,127: Line 1,127:  
= AdapterPropertyType =
 
= AdapterPropertyType =
 
This is u32 enum "nn::bluetooth::hal::AdapterPropertyType".
 
This is u32 enum "nn::bluetooth::hal::AdapterPropertyType".
 +
 +
The sysmodule will Abort if the input type is unavailable / not recognized.
 +
 +
{| class="wikitable" border="1"
 +
|-
 +
!  Value
 +
!  Description
 +
!  Data contents
 +
|-
 +
| 0 || Address || [[#Address]]
 +
|-
 +
| 1 || Name || String, max length 0xF8 excluding NUL-terminator.
 +
|-
 +
| 2 || || 3-bytes, Class of Device.
 +
|-
 +
| 3 || || Only available with [[#SetAdapterProperty]]. Same as [[#BluetoothPropertyType]] type3.
 +
|}
    
= TransportType =
 
= TransportType =
Line 1,267: Line 1,284:  
|}
 
|}
   −
[12.0.0+]: {...}
+
[12.0.0+]:
 +
 
 +
{| class="wikitable" border="1"
 +
|-
 +
! Offset
 +
! Size
 +
! Description
 +
|-
 +
| 0x0 || 0x1 || [[#AdapterPropertyType]]
 +
|-
 +
| 0x1 || 0x1 || Data size
 +
|-
 +
| 0x2 || {Above size} || Data, as specified by the type.
 +
|}
    
= AdapterPropertySet =
 
= AdapterPropertySet =
Line 1,278: Line 1,308:  
! Description
 
! Description
 
|-
 
|-
| 0x0 || 0x6 || Same as the data for [[#BluetoothPropertyType]] type2.
+
| 0x0 || 0x6 || Same as the data for [[#AdapterPropertyType]] type0.
 
|-
 
|-
| 0x6 || 0x3 || Same as the data for [[#BluetoothPropertyType]] type5.
+
| 0x6 || 0x3 || Same as the data for [[#AdapterPropertyType]] type2.
 
|-
 
|-
| 0x9 || 0xF9 || Same as the data for [[#BluetoothPropertyType]] type1.
+
| 0x9 || 0xF9 || Same as the data for [[#AdapterPropertyType]] type1.
 
|}
 
|}
  

Navigation menu