New datafield that can read from a custom ANT+ sensor

Hello, I am a newbie Garmin developer. I have a custom ANT+/BLE sensor and I'd like to achieve 2 things:

1. Display the value reported by the sensor in a custom datafield

2. Store the readings in the FIT file of the activity (typically running)

Can someone point me code examples to do this?

Thank you! 

  • The MoxyField sample in the SDK is a data field that talks to an ANT sensor (Moxy) and saves data in the .fit for the activity,

    The NordicThingy52CoinColector sample is a data field that talks to a BLE sensor (Thingy52) that plays a sound on the Thing52 every 2 seconds, but can be changed with a different service/characteristic to read something like the temperature,