|
|
(12 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
β | =User PTM Service "ptm:u"=
| + | #REDIRECT [[PTM Services]] |
β | {| class="wikitable" border="1"
| |
β | |-
| |
β | ! Command Header
| |
β | ! Description
| |
β | |-
| |
β | | 0x00010002
| |
β | | RegisterAlarmClient
| |
β | |-
| |
β | | 0x00020080
| |
β | | SetRtcAlarm
| |
β | |-
| |
β | | 0x00030000
| |
β | | GetRtcAlarm
| |
β | |-
| |
β | | 0x00040000
| |
β | | CancelRtcAlarm
| |
β | |-
| |
β | | 0x00050000
| |
β | | GetAdapterState
| |
β | |-
| |
β | | 0x00060000
| |
β | | GetShellState
| |
β | |-
| |
β | | 0x00070000
| |
β | | GetBatteryLevel
| |
β | |-
| |
β | | 0x00080000
| |
β | | GetBatteryChargeState
| |
β | |-
| |
β | | 0x00090000
| |
β | | GetPedometerState
| |
β | |-
| |
β | | 0x000A0042
| |
β | | GetStepHistoryEntry
| |
β | |-
| |
β | | 0x000B00C2
| |
β | | GetStepHistory
| |
β | |-
| |
β | | 0x000C0000
| |
β | | GetTotalStepCount
| |
β | |-
| |
β | | 0x000D0040
| |
β | | SetPedometerRecordingMode
| |
β | |-
| |
β | | 0x000E0000
| |
β | | GetPedometerRecordingMode
| |
β | |-
| |
β | | 0x000F0084
| |
β | | GetStepHistoryAll
| |
β | |}
| |
β | | |
β | | |
β | =PlayHistory PTM Service "ptm:play" =
| |
β | {| class="wikitable" border="1"
| |
β | |-
| |
β | ! Command Header
| |
β | ! Description
| |
β | |-
| |
β | | 0x00010002
| |
β | | RegisterAlarmClient
| |
β | |-
| |
β | | 0x00020080
| |
β | | SetRtcAlarm
| |
β | |-
| |
β | | 0x00030000
| |
β | | GetRtcAlarm
| |
β | |-
| |
β | | 0x00040000
| |
β | | CancelRtcAlarm
| |
β | |-
| |
β | | 0x00050000
| |
β | | GetAdapterState
| |
β | |-
| |
β | | 0x00060000
| |
β | | GetShellState
| |
β | |-
| |
β | | 0x00070000
| |
β | | GetBatteryLevel
| |
β | |-
| |
β | | 0x00080000
| |
β | | GetBatteryChargeState
| |
β | |-
| |
β | | 0x00090000
| |
β | | GetPedometerState
| |
β | |-
| |
β | | 0x000A0042
| |
β | | GetStepHistoryEntry
| |
β | |-
| |
β | | 0x000B00C2
| |
β | | GetStepHistory
| |
β | |-
| |
β | | 0x000C0000
| |
β | | GetTotalStepCount
| |
β | |-
| |
β | | 0x000D0040
| |
β | | SetPedometerRecordingMode
| |
β | |-
| |
β | | 0x000E0000
| |
β | | GetPedometerRecordingMode
| |
β | |-
| |
β | | 0x000F0084
| |
β | | GetStepHistoryAll
| |
β | |-
| |
β | | 0x08070082
| |
β | | GetPlayHistory
| |
β | |-
| |
β | | 0x08080000
| |
β | | GetPlayHistoryStart
| |
β | |-
| |
β | | 0x08090000
| |
β | | GetPlayHistoryLength
| |
β | |-
| |
β | | 0x080B0080
| |
β | | CalcPlayHistoryStart
| |
β | |}
| |
β | | |
β | | |
β | | |
β | =SysMenu PTM Service "ptm:sysm"=
| |
β | {| class="wikitable" border="1"
| |
β | |-
| |
β | ! Command Header
| |
β | ! Description
| |
β | |-
| |
β | | 0x00010002
| |
β | | RegisterAlarmClient
| |
β | |-
| |
β | | 0x00020080
| |
β | | SetRtcAlarm
| |
β | |-
| |
β | | 0x00030000
| |
β | | GetRtcAlarm
| |
β | |-
| |
β | | 0x00040000
| |
β | | CancelRtcAlarm
| |
β | |-
| |
β | | 0x00050000
| |
β | | GetAdapterState
| |
β | |-
| |
β | | 0x00060000
| |
β | | GetShellState
| |
β | |-
| |
β | | 0x00070000
| |
β | | GetBatteryLevel
| |
β | |-
| |
β | | 0x00080000
| |
β | | GetBatteryChargeState
| |
β | |-
| |
β | | 0x00090000
| |
β | | GetPedometerState
| |
β | |-
| |
β | | 0x000A0042
| |
β | | GetStepHistoryEntry
| |
β | |-
| |
β | | 0x000B00C2
| |
β | | GetStepHistory
| |
β | |-
| |
β | | 0x000C0000
| |
β | | GetTotalStepCount
| |
β | |-
| |
β | | 0x000D0040
| |
β | | SetPedometerRecordingMode
| |
β | |-
| |
β | | 0x000E0000
| |
β | | GetPedometerRecordingMode
| |
β | |-
| |
β | | 0x000F0084
| |
β | | GetStepHistoryAll
| |
β | |-
| |
β | | 0x040100C0
| |
β | | SetRtcAlarmEx
| |
β | |-
| |
β | | 0x04020042
| |
β | | ReplySleepQuery
| |
β | |-
| |
β | | 0x04030042
| |
β | | NotifySleepPreparationComplete
| |
β | |-
| |
β | | 0x04040102
| |
β | | SetWakeupTrigger
| |
β | |-
| |
β | | 0x04050000
| |
β | | GetAwakeReason
| |
β | |-
| |
β | | 0x04060000
| |
β | | RequestSleep
| |
β | |-
| |
β | | 0x040700C0
| |
β | | ShutdownAsync
| |
β | |-
| |
β | | 0x04080000
| |
β | | Awake
| |
β | |-
| |
β | | 0x04090080
| |
β | | [[PTMSYSM:LaunchFIRMRebootSystem|RebootAsync]]
| |
β | |-
| |
β | | 0x08010640
| |
β | | [[PTMSYSM:SetInfoLEDPattern|SetInfoLEDPattern]] (These "InfoLED" commands are used for the notification LED)
| |
β | |-
| |
β | | 0x08020040
| |
β | | SetInfoLEDPatternHeader
| |
β | |-
| |
β | | 0x08030000
| |
β | | GetInfoLEDStatus
| |
β | |-
| |
β | | 0x08040040
| |
β | | SetBatteryEmptyLEDPattern
| |
β | |-
| |
β | | 0x08050000
| |
β | | ClearStepHistory
| |
β | |-
| |
β | | 0x080600C2
| |
β | | SetStepHistory
| |
β | |-
| |
β | | 0x08070082
| |
β | | GetPlayHistory
| |
β | |-
| |
β | | 0x08080000
| |
β | | GetPlayHistoryStart
| |
β | |-
| |
β | | 0x08090000
| |
β | | GetPlayHistoryLength
| |
β | |-
| |
β | | 0x080A0000
| |
β | | ClearPlayHistory
| |
β | |-
| |
β | | 0x080B0080
| |
β | | CalcPlayHistoryStart
| |
β | |-
| |
β | | 0x080C0080
| |
β | | SetUserTime
| |
β | |-
| |
β | | 0x080D0000
| |
β | | InvalidateSystemTime
| |
β | |-
| |
β | | 0x080E0140
| |
β | | NotifyPlayEvent
| |
β | |-
| |
β | | 0x080F0000
| |
β | | IsLegacyPowerOff
| |
β | |-
| |
β | | 0x08100000
| |
β | | ClearLegacyPowerOff
| |
β | |-
| |
β | | 0x08110000
| |
β | | GetShellStatus
| |
β | |-
| |
β | | 0x08120000
| |
β | | IsShutdownByBatteryEmpty
| |
β | |-
| |
β | | 0x08130000
| |
β | | FormatSavedata
| |
β | |-
| |
β | | 0x08140000
| |
β | | GetLegacyJumpProhibitedFlag
| |
β | |}
| |
β | | |
β | =GetSystemTime PTM Service "ptm:gets"=
| |
β | | |
β | =SystemControl PTM Service "ptm:s"=
| |