Difference between revisions of "PTM"
Jump to navigation
Jump to search
Line 72: | Line 72: | ||
| 0x00050000 | | 0x00050000 | ||
| GetAdapterState | | 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 | ||
+ | |} | ||
+ | |||
+ | |||
+ | |||
+ | =PTM Service (Sysmenu) = | ||
+ | {| class="wikitable" border="1" | ||
+ | |- | ||
+ | ! Command Header | ||
+ | ! Description | ||
+ | |- | ||
+ | | 0x00010002 | ||
+ | | RegisterAlarmClient | ||
+ | |- | ||
+ | | 0x00020080 | ||
+ | | SetRtcAlarm | ||
+ | |- | ||
+ | | 0x00030000 | ||
+ | | GetRtcAlarm | ||
+ | |- | ||
+ | | 0x00040000 | ||
+ | | CancelRtcAlarm | ||
+ | |- | ||
+ | | 0x00050000 | ||
+ | | GetAdapterState | ||
+ | |- | ||
+ | | 0x00060000 | ||
+ | | GetShellState | ||
|- | |- | ||
| 0x00070000 | | 0x00070000 | ||
Line 99: | Line 168: | ||
| 0x000F0084 | | 0x000F0084 | ||
| GetStepHistoryAll | | GetStepHistoryAll | ||
+ | |- | ||
+ | | 0x040100C0 | ||
+ | | SetRtcAlarmEx | ||
+ | |- | ||
+ | | 0x04020042 | ||
+ | | ReplySleepQuery | ||
+ | |- | ||
+ | | 0x04030042 | ||
+ | | NotifySleepPreparationComplete | ||
+ | |- | ||
+ | | 0x04040102 | ||
+ | | SetWakeupTrigger | ||
+ | |- | ||
+ | | 0x04050000 | ||
+ | | GetAwakeReason | ||
+ | |- | ||
+ | | 0x04060000 | ||
+ | | RequestSleep | ||
+ | |- | ||
+ | | 0x040700C0 | ||
+ | | ShutdownAsync | ||
+ | |- | ||
+ | | 0x04080000 | ||
+ | | Awake | ||
+ | |- | ||
+ | | 0x04090080 | ||
+ | | RebootAsync | ||
+ | |- | ||
+ | | 0x08010640 | ||
+ | | SetInfoLEDPattern | ||
+ | |- | ||
+ | | 0x08020040 | ||
+ | | SetInfoLEDPatternHeader | ||
+ | |- | ||
+ | | 0x08030000 | ||
+ | | GetInfoLEDStatus | ||
+ | |- | ||
+ | | 0x08040040 | ||
+ | | SetBatteryEmptyLEDPattern | ||
+ | |- | ||
+ | | 0x08050000 | ||
+ | | ClearStepHistory | ||
+ | |- | ||
+ | | 0x080600C2 | ||
+ | | SetStepHistory | ||
|- | |- | ||
| 0x08070082 | | 0x08070082 | ||
Line 108: | Line 222: | ||
| 0x08090000 | | 0x08090000 | ||
| GetPlayHistoryLength | | GetPlayHistoryLength | ||
+ | |- | ||
+ | | 0x080A0000 | ||
+ | | ClearPlayHistory | ||
|- | |- | ||
| 0x080B0080 | | 0x080B0080 | ||
| CalcPlayHistoryStart | | CalcPlayHistoryStart | ||
+ | |- | ||
+ | | 0x080C0080 | ||
+ | | SetUserTime | ||
+ | |- | ||
+ | | 0x080D0000 | ||
+ | | InvalidateSystemTime | ||
+ | |- | ||
+ | | 0x080E0140 | ||
+ | | NotifyPlayEvent | ||
+ | |- | ||
+ | | 0x080F0000 | ||
+ | | IsLegacyPowerOff | ||
+ | |- | ||
+ | | 0x08100000 | ||
+ | | ClearLegacyPowerOff | ||
+ | |- | ||
+ | | 0x08110000 | ||
+ | | GetShellStatus | ||
+ | |- | ||
+ | | 0x08120000 | ||
+ | | IsShutdownByBatteryEmpty | ||
+ | |- | ||
+ | | 0x08130000 | ||
+ | | FormatSavedata | ||
+ | |- | ||
+ | | 0x08140000 | ||
+ | | GetLegacyJumpProhibitedFlag | ||
|} | |} |
Revision as of 22:41, 16 February 2013
PTM Service
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 |
PTM Service (PlayHistory)
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 |
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 | RebootAsync |
0x08010640 | SetInfoLEDPattern |
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 |