This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to implement ANT+ Environment Profile on nRF51 DK?

I am trying to implement the ANT+ Environment Profile using the nRF51 DK and I was wondering if anyone had done this and could point me in the right direction to start. I am a beginner with ANT+ and am having trouble altering the other profiles to conform to the Environment one.

Thank you for your help.

Parents
  • Unfortunately, we don’t have the ANT+ Environment profile in our SDK. I have written a few words below on how I think you might get started. I guess you already know part of this, but it might be useful for others starting to develop with ANT+ in general.

    First of all, before starting to work with ANT+ you should register as an ANT+ adopter on www.thisisant.com. There you can download the latest documentation on how you can configure and use ANT, including the ANT+ device profile documentation and simulator tools that you want to use during development and verification.

    The recommended starting point is to read the ANT Message Protocol and Usage document on how ANT works. Next step can be to download an ANT+ device profile specification. An ANT+ profile specify the ANT channel setup and the packet message format required to conform to an ANT+ device.

    A good starting point would be to use an ANT+ profile we already have in our nRF5 SDK as reference, for instance ant\ant_plus\ant_hrm\hrm_tx. Now compare the example channel setup with the ANT+ device profile for HRM. To test the example, you should have an ANT USB dongle available, so you can try the PC ANT+ simulator tools with the specific ANT+ SDK example. Refer to nRF5 SDK documentation on how to program and setup the example. Now you should have a working example that you can use as a base for further development.

    Next step is to download the ANT+ Environment profile, start updating the SDK example with the specific ANT channel parameters and message format described in the profile documentation. The ANT+ simulator tool will be a valuable tool here. You might even want 2 ANT USB dongles, one acting as the sensor and the other as a display, so you can observe in the log the actual messages for reference.

    I believe for most part this should be straight forward to this point. The next step is to add support for the data page requests that might be sent from the display to the sensor, and then handle in your application how you should respond to these requests. You will for instance need to add ANT-FS support, in which can you can merge the \ant\ant_fs\client into your project.

    Hope it can help you a step further.

Reply
  • Unfortunately, we don’t have the ANT+ Environment profile in our SDK. I have written a few words below on how I think you might get started. I guess you already know part of this, but it might be useful for others starting to develop with ANT+ in general.

    First of all, before starting to work with ANT+ you should register as an ANT+ adopter on www.thisisant.com. There you can download the latest documentation on how you can configure and use ANT, including the ANT+ device profile documentation and simulator tools that you want to use during development and verification.

    The recommended starting point is to read the ANT Message Protocol and Usage document on how ANT works. Next step can be to download an ANT+ device profile specification. An ANT+ profile specify the ANT channel setup and the packet message format required to conform to an ANT+ device.

    A good starting point would be to use an ANT+ profile we already have in our nRF5 SDK as reference, for instance ant\ant_plus\ant_hrm\hrm_tx. Now compare the example channel setup with the ANT+ device profile for HRM. To test the example, you should have an ANT USB dongle available, so you can try the PC ANT+ simulator tools with the specific ANT+ SDK example. Refer to nRF5 SDK documentation on how to program and setup the example. Now you should have a working example that you can use as a base for further development.

    Next step is to download the ANT+ Environment profile, start updating the SDK example with the specific ANT channel parameters and message format described in the profile documentation. The ANT+ simulator tool will be a valuable tool here. You might even want 2 ANT USB dongles, one acting as the sensor and the other as a display, so you can observe in the log the actual messages for reference.

    I believe for most part this should be straight forward to this point. The next step is to add support for the data page requests that might be sent from the display to the sensor, and then handle in your application how you should respond to these requests. You will for instance need to add ANT-FS support, in which can you can merge the \ant\ant_fs\client into your project.

    Hope it can help you a step further.

Children
No Data
Related