Changes

Jump to navigation Jump to search
no edit summary
Line 26: Line 26:  
| 5 || [[#GetAdapterProperties]]
 
| 5 || [[#GetAdapterProperties]]
 
|-
 
|-
| 6 || GetAdapterProperty
+
| 6 || [[#GetAdapterProperty]]
 
|-
 
|-
| 7 || SetAdapterProperty
+
| 7 || [[#SetAdapterProperty]]
 
|-
 
|-
| 8 || StartInquiry
+
| 8 || [[#StartInquiry]]
 
|-
 
|-
| 9 || StopInquiry
+
| 9 || [[#StopInquiry]]
 
|-
 
|-
 
| 10 || [[#CreateBond]]
 
| 10 || [[#CreateBond]]
Line 242: Line 242:  
== GetAdapterProperties ==
 
== GetAdapterProperties ==
 
Takes a type-0x1A output buffer containing an [[#AdapterProperty]].
 
Takes a type-0x1A output buffer containing an [[#AdapterProperty]].
 +
 +
== GetAdapterProperty ==
 +
Takes an input [[#BluetoothPropertyType]] and a type-0xA output buffer.
 +
 +
== SetAdapterProperty ==
 +
Takes an input [[#BluetoothPropertyType]] and a type-0x9 input buffer.
 +
 +
== StartInquiry ==
 +
No input/output.
 +
 +
== StopInquiry ==
 +
No input/output.
    
== CreateBond ==
 
== CreateBond ==
Takes a total of 0x6-bytes of input and a type-0x19 input buffer, no output.
+
Takes an [[#Address]] and a type-0x19 input buffer containing a [[#TransportType]], no output.
   −
[9.0.0+] Now only takes a total of 0xC-bytes of input without a buffer, no output.
+
[9.0.0+] Now only takes an [[#Address]] and a [[#TransportType]] without a buffer, no output.
    
== TriggerConnection ==
 
== TriggerConnection ==
Line 300: Line 312:  
| 9 || RegisterBleEvent
 
| 9 || RegisterBleEvent
 
|}
 
|}
 +
 +
= AdapterProperty =
 +
This is "nn::bluetooth::AdapterProperty".
 +
 +
= BluetoothPropertyType =
 +
This is u32 enum "nn::bluetooth::BluetoothPropertyType".
 +
 +
= Address =
 +
This is "nn::bluetooth::Address". This is a 0x6-byte struct with 1-byte alignment.
 +
 +
= TransportType =
 +
This is u32 enum "nn::bluetooth::TransportType".
    
[[Category:Services]]
 
[[Category:Services]]

Navigation menu