PTM services: Difference between revisions

ts: cmd docs
Line 232: Line 232:
== GetTemperatureRange ==
== GetTemperatureRange ==
Takes an u8 [[#Location]] and returns an s32 minimum temperature + s32 maximum temperature.
Takes an u8 [[#Location]] and returns an s32 minimum temperature + s32 maximum temperature.
The returned temperature values are in Celsius.


== GetTemperature ==
== GetTemperature ==
Takes an u8 [[#Location]] and returns an output s32.
Takes an u8 [[#Location]] and returns an output s32.
The output is the temperature in Celsius.


== SetMeasurementMode ==
== SetMeasurementMode ==
Takes an u8 [[#Location]] and an u8 MeasurementMode.
Takes an u8 [[#Location]] and an u8 MeasurementMode, no output.


== GetTemperatureMilliC ==
== GetTemperatureMilliC ==
Takes an u8 [[#Location]] and returns an output s32.
Takes an u8 [[#Location]] and returns an output s32.
The output is the temperature in MilliC.


== Location ==
== Location ==