Hi,
I wanna cope with my monkey.jungle with a script, before which I need to know what sensors each device has.
I have checked the simulator.json inside ~/Library/Application Support/Garmin/ConnectIQ/Devices/{deviceName}/ . Here is a part for fr245.
"sensorHistory": [
{
"interval": 120,
"size": 120,
"type": "heartrate"
},
{
"interval": 72,
"size": 200,
"type": "elevation"
},
{
"interval": 72,
"size": 200,
"type": "temperature"
},
{
"interval": 72,
"size": 200,
"type": "pressure"
},
{
"interval": 3600,
"size": 192,
"type": "pulseox"
}
It seems to be what I was looking for. However, as the api doc says, https://developer.garmin.com/connect-iq/api-docs/Toybox/SensorHistory.html#getPressureHistory-instance_function fr245 doesn't has a pressure sensor or cannot invoke getPressureHistory at all. So what does this json part mean actually? Curious.