How to access Tempe on FR920XT

Former Member
Former Member
Hello,

i would like to know how i can access the Tempe by Monkey C on a Freerunner 920XT.

So specific i would like to know how this datafield does it: https://apps.garmin.com/de-DE/apps/c745113e-64a5-423e-bfe6-e2124089fa31
I played a bit around and got the idea that they implement the hole Ant+ connection procedure in it. So i searched for a documentation about the protocoll. But i didnt find anything so i am asking your help. If anybody knows something i would be glad to get some more informations.


Best regards Leachim.
  • You'll have to go over to thisisant.com, create an account, and download the ANT_Device_Profile_Environment.pdf document. It covers the ANT+ protocol used to communicate with a temperature sensor like the Tempe. You should be able to use that and the MO2Display sample program as a starting point.

    Travis
  • I still don't understand why the Tempe isn't a standard system sensor on the 920 as it is on other devices, as if it were, accessing from CIQ is simple... (except for the 24high and 24low data..). setEnabledSensors() is all you need...
  • Former Member
    Former Member over 9 years ago
    @Travis Thanks for the fast Help.

    I downloaded it and tried to edit the MO2Display sample. Since 3 Days i am ready with coding and trying to find out why my TempeWidget is not working. But it is very hard without a debuging system, is there any way to debug this?

    @Jim I also dont understand why there is no default support for the Tempe. Regarding to this Website there should be a Temperatur Profile on the FR920XT: http://developer.garmin.com/connect-iq/compatible-devices/

    Is there anyone who already implemented a Tempe access over ant?
  • Is there anyone who already implemented a Tempe access over ant?


    Garmin did it with their Tempe DF. It's available for the 920.

    https://apps.garmin.com/en-US/apps/c745113e-64a5-423e-bfe6-e2124089fa31
  • Former Member
    Former Member over 9 years ago
    Yeah i know, i mean someone i could ask. Garmin didnt respond to any question.
  • But it is very hard without a debuging system, is there any way to debug this?

    If you have an ANT+ USB Stick, you can connect to the sensor from the simulator, which makes it a lot easier to iterate.

    Travis
  • Former Member
    Former Member over 9 years ago
    Wich Simulator do you mean TRAVIS. I was able to connect to my Tempe with the Ant+ Display Simulator but that was no big help.
    I already spent some hours to recieve anything with the Antware II but it does not work.

    Thats my Config right now:

    const DEVICE_TYPE = 25; //Tempe
    const PERIOD = 65535; //0,5 Hz

    // Set the configuration
    deviceCfg = new Ant.DeviceConfig( {
    :deviceNumber => 0, //Wildcard our search
    :deviceType => DEVICE_TYPE,
    :transmissionType => 0,
    :messagePeriod => PERIOD,
    :radioFrequency => 57, //Ant+ Frequency
    :searchTimeoutLowPriority => 18, //Timeout in 45s
    :searchThreshold => 0} ); //Pair to all transmitting sensors
    GenericChannel.setDeviceConfig(deviceCfg);



    leachim
  • Travis means the CIQ simulator - you can test your CIQ app that way, with an ANT+ stick.
  • Former Member
    Former Member over 9 years ago
    Thats pretty interesting I didnt know that this works. Now i also found the DeviceX.txt that should be Documented somewhere :eek:
    But its still weird my programm should just recieve something. But in the DeviceX.txt there is TX and RX :confused:.

    Leachim
  • Former Member
    Former Member over 9 years ago
    You may need to post some more of your code if you really need help. Specifically show opening the channel and your callback function for the ANT message.

    I doubt even with ANTwareII working it will help you much. I have included a channel profile that should work for you though, just in case.