PTM:GetAdapterState

Revision as of 12:25, 21 March 2017 by Wwylele (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

RequestEdit

Index Word Description
0 Header code [0x00050000]

ResponseEdit

Index Word Description
0 Header code
1 Result code
2 u8 output: 0 = not connected, 1 = connected.

DescriptionEdit

Similar to PTM:GetBatteryChargeState, but when the battery is already fully charged with the adapter still connected, this function returns 1, while PTM:GetBatteryChargeState returns 0.