Hi
Is there any sample code could demo how to set pairing data to datafield from Garmin express?
After studying, I could use app setting editor to setting data to my datafield project. But have no idea setting data from garmin express.
Hi
Is there any sample code could demo how to set pairing data to datafield from Garmin express?
After studying, I could use app setting editor to setting data to my datafield project. But have no idea setting data from garmin express.
If it's a standard sensor, you don't need to pair it, and it should connect when you start a standard activity (like "run") and the data will be available in the info parameter passed to compute().
If you're doing your own ANT, for testing you can hard code the ant id, and later make it configurable with app settings:
If you're doing your own BLE for a BLE sensor, you just scan for the proper sensor.
Hi Jim_m_58
Thanks for your reply.
We design an ANT device, and wanna used datafield to receive in activity. My datafield project can accept device ID from app setting editor, and then can receive ANT data from our ANT device in datafield correctly.
But how to sett deivce ID from garmin connect mobile app? After loading code into edge 1030 and sync with garmin connect mobile, I can see my datafiled app shown on garmin connect mobile, but without setting button. should I design an UI or layout in garmin app?
You need to provide properties and settings in your app for app settings to work.
See "Settings" in the programmer's guide.
If you already have the code for settings, one thing to note is they aren't available with side loads. See the New Developer FAQ:
https://forums.garmin.com/developer/connect-iq/w/wiki/4/new-developer-faq#app-settings
You need to install from the app store to use them. When you upload to the store, indicate it's a beta app and only you will be able to download the app.