PTM:GetAdapterState

PTM:GetAdapterState

Request #

Index WordDescription
0Header code [0x00050000]

Response #

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

Description #

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.