HID services: Difference between revisions

Line 618: Line 618:
| 227 || [5.0.0+] GetRxPacketHistory
| 227 || [5.0.0+] GetRxPacketHistory
|-
|-
| 228 || [6.0.0+] AcquireOperationEventHandle
| 228 || [6.0.0+] [[#AcquireOperationEventHandle]]
|-
|-
| 229 || [6.0.0+] [[#ReadSerialFlash]]
| 229 || [6.0.0+] [[#ReadSerialFlash]]
Line 746: Line 746:


[9.0.0+] Now takes a total of 8-bytes of input and a type-0x6 output buffer, returns a total of 8-bytes of output.
[9.0.0+] Now takes a total of 8-bytes of input and a type-0x6 output buffer, returns a total of 8-bytes of output.
== AcquireOperationEventHandle ==
Takes an input u64 '''UniquePadId''', returns an output Event handle. The EventClearMode used by official sw is user-specified.
This is not used internally by sdk-nso besides exposing it to the user. With the sdk-nso for [9.0.0+] the wrapper funcs for this was removed (sdk-nso still has the actual cmd).
This must be used before [[#ReadSerialFlash]]. Afterwards, this Event is used to wait for the async operation started by [[#ReadSerialFlash]] to finish.


== ReadSerialFlash ==
== ReadSerialFlash ==
Line 752: Line 759:
Reads from the specified controller's spi-flash. The input size is the original size without page-alignment. The TransferMemory permissions is RW-.
Reads from the specified controller's spi-flash. The input size is the original size without page-alignment. The TransferMemory permissions is RW-.


This doesn't seem to be usable?
With the sdk-nso for [9.0.0+] the wrapper funcs for this was removed (sdk-nso still has the actual cmd).


With the sdk-nso for [9.0.0+] the wrapper funcs for this was removed (sdk-nso still has the actual cmd).
This doesn't seem to close the specified TransferMemory once the async operation started by this finishes.


== WriteSerialFlash ==
== WriteSerialFlash ==