Changes

Jump to navigation Jump to search
no edit summary
Line 48: Line 48:  
| 16 || [[#InitializeHid]]
 
| 16 || [[#InitializeHid]]
 
|-
 
|-
| 17 || OpenHidConnection
+
| 17 || [[#OpenHidConnection]]
 
|-
 
|-
| 18 || CloseHidConnection
+
| 18 || [[#CloseHidConnection]]
 
|-
 
|-
| 19 || WriteHidData
+
| 19 || [[#WriteHidData]]
 
|-
 
|-
| 20 || WriteHidData2
+
| 20 || [[#WriteHidData2]]
 
|-
 
|-
| 21 || SetHidReport
+
| 21 || [[#SetHidReport]]
 
|-
 
|-
| 22 || GetHidReport
+
| 22 || [[#GetHidReport]]
 
|-
 
|-
| 23 || [[#TriggerConnection]]
+
| 23 || [[#TriggerConnection]] ([1.0.0-8.1.1] [[#HidWakeController]])
 
|-
 
|-
 
| 24 || AddPairedDeviceInfo
 
| 24 || AddPairedDeviceInfo
Line 281: Line 281:     
Originally sdknso used an user-specified value for the u16, however with newer versions it uses hard-coded value 0x1 instead.
 
Originally sdknso used an user-specified value for the u16, however with newer versions it uses hard-coded value 0x1 instead.
 +
 +
== OpenHidConnection ==
 +
Takes an input [[#Address]], no output.
 +
 +
== CloseHidConnection ==
 +
Takes an input [[#Address]], no output.
 +
 +
== WriteHidData ==
 +
Takes an input [[#Address]] and a type-0x19 input buffer containing a [[#HidReport]], no output.
 +
 +
== WriteHidData2 ==
 +
Takes an input [[#Address]] and a type-0x9 input buffer, no output.
 +
 +
== SetHidReport ==
 +
Takes an input [[#Address]], a [[#BluetoothHhReportType]], a type-0x19 input buffer containing a [[#HidReport]], no output.
 +
 +
== GetHidReport ==
 +
Takes an input [[#Address]], an u8, a [[#BluetoothHhReportType]], no output.
 +
 +
== HidWakeController ==
 +
Takes an input [[#Address]], no output.
    
== TriggerConnection ==
 
== TriggerConnection ==
Takes a total of 0x6-bytes of input, no output.
+
Takes an input [[#Address]] and an u16, no output.
 
  −
[9.0.0+] Now takes a total of 0x8-bytes of input, no output.
      
== GetHidReportEventInfo ==
 
== GetHidReportEventInfo ==
Line 334: Line 353:  
| 9 || RegisterBleEvent
 
| 9 || RegisterBleEvent
 
|}
 
|}
  −
= AdapterProperty =
  −
This is "nn::bluetooth::AdapterProperty".
      
= BluetoothPropertyType =
 
= BluetoothPropertyType =
 
This is u32 enum "nn::bluetooth::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 =
 
= TransportType =
 
This is u32 enum "nn::bluetooth::TransportType".
 
This is u32 enum "nn::bluetooth::TransportType".
  −
= BluetoothPinCode =
  −
This is "nn::bluetooth::BluetoothPinCode". This is a 0x10-byte struct with 1-byte alignment.
      
= BluetoothSspVariant =
 
= BluetoothSspVariant =
Line 355: Line 365:  
= EventType =
 
= EventType =
 
This is u32 enum "nn::bluetooth::EventType".
 
This is u32 enum "nn::bluetooth::EventType".
 +
 +
= BluetoothHhReportType =
 +
This is u32 enum "nn::bluetooth::BluetoothHhReportType".
 +
 +
= AdapterProperty =
 +
This is "nn::bluetooth::AdapterProperty".
 +
 +
= Address =
 +
This is "nn::bluetooth::Address". This is a 0x6-byte struct with 1-byte alignment.
 +
 +
= BluetoothPinCode =
 +
This is "nn::bluetooth::BluetoothPinCode". This is a 0x10-byte struct with 1-byte alignment.
 +
 +
= HidReport =
 +
This is "nn::bluetooth::HidReport". This is a 0x2BE-byte struct.
    
[[Category:Services]]
 
[[Category:Services]]

Navigation menu