PTM services: Difference between revisions

fan: rotation speed 0-255
Line 56: Line 56:
| 6 || ReleaseControllerPowerSupply
| 6 || ReleaseControllerPowerSupply
|-
|-
| 7 || OpenSession
| 7 || [[#OpenSession]]
|-
|-
| 8 || EnableEnoughPowerChargeEmulation
| 8 || EnableEnoughPowerChargeEmulation
Line 85: Line 85:
== GetChargerType ==
== GetChargerType ==
No input, returns an output u32.
No input, returns an output u32.
== OpenSession ==
No input, returns an output [[#IPsmSession]].


== IPsmSession ==
== IPsmSession ==
Line 93: Line 96:
! Cmd || Name
! Cmd || Name
|-
|-
| 0 || BindStateChangeEvent
| 0 || [[#BindStateChangeEvent]]
|-
|-
| 1 || UnbindStateChangeEvent
| 1 || [[#UnbindStateChangeEvent]]
|-
|-
| 2 || SetChargerTypeChangeEventEnabled
| 2 || SetChargerTypeChangeEventEnabled
Line 103: Line 106:
| 4 || SetBatteryVoltageStateChangeEventEnabled
| 4 || SetBatteryVoltageStateChangeEventEnabled
|}
|}
=== BindStateChangeEvent ===
No input, returns an output event.
=== UnbindStateChangeEvent ===
No input/output.


= tc =
= tc =