Changes

Jump to navigation Jump to search
no edit summary
Line 70: Line 70:  
| 27 || [[#GetHidEventInfo]]
 
| 27 || [[#GetHidEventInfo]]
 
|-
 
|-
| 28 || SetTsi
+
| 28 || [[#SetTsi]]
 
|-
 
|-
| 29 || EnableBurstMode
+
| 29 || [[#EnableBurstMode]]
 
|-
 
|-
| 30 || SetZeroRetransmission
+
| 30 || [[#SetZeroRetransmission]]
 
|-
 
|-
| 31 || EnableMcMode
+
| 31 || [[#EnableMcMode]]
 
|-
 
|-
| 32 || EnableLlrScan
+
| 32 || [[#EnableLlrScan]]
 
|-
 
|-
| 33 || DisableLlrScan
+
| 33 || [[#DisableLlrScan]]
 
|-
 
|-
| 34 || EnableRadio
+
| 34 || [[#EnableRadio]]
 
|-
 
|-
| 35 || SetVisibility
+
| 35 || [[#SetVisibility]]
 
|-
 
|-
| 36 || EnableTbfcScan
+
| 36 || [[#EnableTbfcScan]]
 
|-
 
|-
| 37 || RegisterHidReportEvent
+
| 37 || [[#RegisterHidReportEvent]]
 
|-
 
|-
 
| 38 || [[#GetHidReportEventInfo]]
 
| 38 || [[#GetHidReportEventInfo]]
 
|-
 
|-
| 39 || GetLatestPlr
+
| 39 || [[#GetLatestPlr]]
 
|-
 
|-
 
| 40 || [3.0.0+] GetPendingConnections
 
| 40 || [3.0.0+] GetPendingConnections
Line 317: Line 317:  
== GetHidEventInfo ==
 
== GetHidEventInfo ==
 
Takes a type-0xA output buffer, returns an output [[#HidEventType]].
 
Takes a type-0xA output buffer, returns an output [[#HidEventType]].
 +
 +
== SetTsi ==
 +
Takes an input [[#Address]] and an u8, no output.
 +
 +
== EnableBurstMode ==
 +
Takes an input [[#Address]] and a bool, no output.
 +
 +
== SetZeroRetransmission ==
 +
Takes an input [[#Address]] and a type-0x9 input buffer containing an array of u8s, no output.
 +
 +
== EnableMcMode ==
 +
Takes an input bool, no output.
 +
 +
== EnableLlrScan ==
 +
No input/output.
 +
 +
== DisableLlrScan ==
 +
No input/output.
 +
 +
== EnableRadio ==
 +
Takes an input bool, no output.
 +
 +
== SetVisibility ==
 +
Takes two input bools, no output.
 +
 +
== EnableTbfcScan ==
 +
Takes an input bool, no output.
 +
 +
== RegisterHidReportEvent ==
 +
No input, returns an output Event handle with EventClearMode=1.
    
== GetHidReportEventInfo ==
 
== GetHidReportEventInfo ==
No input, takes a type-0xA output buffer and returns 4-bytes of output.
+
No input, takes a type-0xA output buffer and returns a [[#HidEventType]].
 +
 
 +
[7.0.0+] No longer takes a buffer or returns output, now returns an output sharedmem handle. sdknso maps this with size=0x3000 and permissions=RW-.
 +
 
 +
Originally this was used in a dedicated sdknso func, with [7.0.0+] this is now used at the start of the sdknso impl for [[#RegisterHidReportEvent]] if the above sharedmem was not mapped yet.
 +
 
 +
The [7.0.0+] GetHidReportEventInfo sdknso func loads data using the above sharedmem.
   −
[7.0.0+] No longer takes a buffer or returns output, now returns an output handle.
+
== GetLatestPlr ==
 +
Takes a type-0x16 output buffer containing a [[#PlrList]].
    
== SetBleDefaultConnectionParameter ==
 
== SetBleDefaultConnectionParameter ==
Line 395: Line 432:  
= HidReport =
 
= HidReport =
 
This is "nn::bluetooth::HidReport". This is a 0x2BE-byte struct.
 
This is "nn::bluetooth::HidReport". This is a 0x2BE-byte struct.
 +
 +
= PlrList =
 +
This is "nn::bluetooth::PlrList". This is a 0xA4-byte struct.
    
[[Category:Services]]
 
[[Category:Services]]

Navigation menu