Changes

Jump to navigation Jump to search
no edit summary
Line 40: Line 40:  
| 12 || [[#CancelBond]]
 
| 12 || [[#CancelBond]]
 
|-
 
|-
| 13 || RespondToPinRequest
+
| 13 || [[#RespondToPinRequest]]
 
|-
 
|-
| 14 || RespondToSspRequest
+
| 14 || [[#RespondToSspRequest]]
 
|-
 
|-
| 15 || GetEventInfo
+
| 15 || [[#GetEventInfo]]
 
|-
 
|-
| 16 || InitializeHid
+
| 16 || [[#InitializeHid]]
 
|-
 
|-
 
| 17 || OpenHidConnection
 
| 17 || OpenHidConnection
Line 265: Line 265:  
== CancelBond ==
 
== CancelBond ==
 
Takes an input [[#Address]], no output.
 
Takes an input [[#Address]], no output.
 +
 +
== RespondToPinRequest ==
 +
Takes an input [[#Address]], a bool, an u8, a [[#BluetoothPinCode]], no output.
 +
 +
sdknso uses an user-specified s32 for the u8.
 +
 +
== RespondToSspRequest ==
 +
Takes an input [[#Address]], a [[#BluetoothSspVariant]], a bool, an u32, no output.
 +
 +
== GetEventInfo ==
 +
Takes a type-0xA output buffer and returns an output [[#EventType]].
 +
 +
== InitializeHid ==
 +
Takes an input u16, returns an output Event with EventClearMode=1.
 +
 +
Originally sdknso used an user-specified value for the u16, however with newer versions it uses hard-coded value 0x1 instead.
    
== TriggerConnection ==
 
== TriggerConnection ==
Line 330: Line 346:  
= 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 =
 +
This is u8 enum "nn::bluetooth::BluetoothSspVariant".
 +
 +
= EventType =
 +
This is u32 enum "nn::bluetooth::EventType".
    
[[Category:Services]]
 
[[Category:Services]]

Navigation menu