Difference between revisions of "PTM services"

From Nintendo Switch Brew
Jump to navigation Jump to search
Line 41: Line 41:
 
| 6 ||
 
| 6 ||
 
|-
 
|-
| 7 || GetIPsmSession
+
| 7 || OpenSession
 
|-
 
|-
 
| 8 ||
 
| 8 ||
Line 51: Line 51:
 
| 11 ||
 
| 11 ||
 
|-
 
|-
| 12 ||
+
| 12 || GetBatteryVoltageState
 
|-
 
|-
| 13 ||
+
| 13 || GetRawBatteryChargePercentage
 
|-
 
|-
 
| 14 ||
 
| 14 ||
Line 63: Line 63:
 
| 17 ||
 
| 17 ||
 
|-
 
|-
 +
|}
 +
 +
== IPsmSession ==
 +
{| class="wikitable" border="1"
 +
|-
 +
! Cmd || Name
 +
|-
 +
| 0 || BindStateChangeEvent
 +
|-
 +
| 1 || UnbindStateChangeEvent
 +
|-
 +
| 2 || SetChargerTypeChangeEventEnabled
 +
|-
 +
| 3 || SetPowerSupplyChangeEventEnabled
 +
|-
 +
| 4 || SetBatteryVoltageStateChangeEventEnabled
 
|}
 
|}
  

Revision as of 22:19, 3 December 2017

fan

Cmd Name
0
1
2
3
4
5
6
7

psm

Cmd Name
0
1
2
3
4
5
6
7 OpenSession
8
9
10
11
12 GetBatteryVoltageState
13 GetRawBatteryChargePercentage
14
15
16
17

IPsmSession

Cmd Name
0 BindStateChangeEvent
1 UnbindStateChangeEvent
2 SetChargerTypeChangeEventEnabled
3 SetPowerSupplyChangeEventEnabled
4 SetBatteryVoltageStateChangeEventEnabled

tc

Cmd Name
0 SetOperatingMode
1 GetThermalEvent
2
3
4
5
6
7
8

ts

Cmd Name
0
1
2
3