Changes

1,058 bytes removed ,  17:46, 18 August 2014
no edit summary
Line 1: Line 1:  
A total of 24 sessions can be open for each of these services combined. The commands for each service are handled by the PTM module main() thread.
 
A total of 24 sessions can be open for each of these services combined. The commands for each service are handled by the PTM module main() thread.
   −
=User PTM Service "ptm:u"=
+
=User PTM Service "ptm:u" / PTM services=
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
 
|-
 
|-
Line 53: Line 53:  
|}
 
|}
    +
The above commands are available for all PTM services.
    
=PlayHistory PTM Service "ptm:play" =
 
=PlayHistory PTM Service "ptm:play" =
Line 59: Line 60:  
!  Command Header
 
!  Command Header
 
!  Description
 
!  Description
|-
  −
| 0x00010002
  −
| RegisterAlarmClient
  −
|-
  −
| 0x00020080
  −
| SetRtcAlarm
  −
|-
  −
| 0x00030000
  −
| GetRtcAlarm
  −
|-
  −
| 0x00040000
  −
| CancelRtcAlarm
  −
|-
  −
| 0x00050000
  −
| GetAdapterState
  −
|-
  −
| 0x00060000
  −
| GetShellState
  −
|-
  −
| 0x00070000
  −
| GetBatteryLevel
  −
|-
  −
| 0x00080000
  −
| GetBatteryChargeState
  −
|-
  −
| 0x00090000
  −
| GetPedometerState
  −
|-
  −
| 0x000A0042
  −
| GetStepHistoryEntry
  −
|-
  −
| 0x000B00C2
  −
| GetStepHistory
  −
|-
  −
| 0x000C0000
  −
| [[PTM:GetTotalStepCount|GetTotalStepCount]]
  −
|-
  −
| 0x000D0040
  −
| SetPedometerRecordingMode
  −
|-
  −
| 0x000E0000
  −
| GetPedometerRecordingMode
  −
|-
  −
| 0x000F0084
  −
| GetStepHistoryAll
   
|-
 
|-
 
| 0x08070082
 
| 0x08070082
Line 125: Line 81:  
!  Command Header
 
!  Command Header
 
!  Description
 
!  Description
|-
  −
| 0x00010002
  −
| RegisterAlarmClient
  −
|-
  −
| 0x00020080
  −
| SetRtcAlarm
  −
|-
  −
| 0x00030000
  −
| GetRtcAlarm
  −
|-
  −
| 0x00040000
  −
| CancelRtcAlarm
  −
|-
  −
| 0x00050000
  −
| GetAdapterState
  −
|-
  −
| 0x00060000
  −
| GetShellState
  −
|-
  −
| 0x00070000
  −
| GetBatteryLevel
  −
|-
  −
| 0x00080000
  −
| GetBatteryChargeState
  −
|-
  −
| 0x00090000
  −
| GetPedometerState
  −
|-
  −
| 0x000A0042
  −
| GetStepHistoryEntry
  −
|-
  −
| 0x000B00C2
  −
| GetStepHistory
  −
|-
  −
| 0x000C0000
  −
| [[PTM:GetTotalStepCount|GetTotalStepCount]]
  −
|-
  −
| 0x000D0040
  −
| SetPedometerRecordingMode
  −
|-
  −
| 0x000E0000
  −
| GetPedometerRecordingMode
  −
|-
  −
| 0x000F0084
  −
| GetStepHistoryAll
   
|-
 
|-
 
| 0x040100C0
 
| 0x040100C0