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

ANT+ BPWR profile crank torque problem

Hi,

This is my second post about this issue, but I have not solved yet. The issue is, that I am using bpwr tx example (crank torque sensor type) with Garmin edge 520plus. When transmission starts I can see broadcast data in AntWare II but when i connect this bpwr sensor to Garmin edge, Garmin does not show any data on screen. I have already measured commercial bicycle sensors with AntWare II and incoming data are in the same format and identical as my data from bpwr torque on crank sensor. 

AntWare II slave settings for bpwr sensor logging (this configuration was also used to log commercial bike power sensor) :

network key: The ANT+ network key (from thisisant)

network number: 0

slave (rx only)

device number: 0 (slave wildcard); device type: 11; transmission type: 0 (wildcard)

channel period 8182; radio frequency 2457 MHz

I think that the problem should be in network keys, or in channel id settings. Interesting thing is, when I change sensor type to power only, Garmin devide immediately

 shows incoming data on its screen.

working with nRF52832 DK, SDK15.2, S212, Segger embedded studio, AntWare II with antusb-m stick

thanks in advance

Parents
  • My suggestion is to actively use the ANT+ sensor/display emulator tools found on www.thisisant.com. With these tools you can act either as a ANT+ peripheral and/or display, all ANT+ data is logged. With these tools:

    1. You can find if the problem is Garmin edge 520plus
    2. You can check the data you are transmitting and compare with the specific profile /data pages
    3. You can use the sensor emulator tool to generate the same data, and check how it differs from yours.

    Kenneth

  • Hi, problem solved. But have one last question. If I sample my custom data when page_16/18_updated event occurres and copy these data to variables that are then sended by softdevice to slave, how much time do I have to do sampling? Does softdevice generate page_X_updated event with some "time gap" in order to enable user to sample data, or when page_X_updated event occurres data have to be sampled already?

    Thanks

    Pepam

Reply
  • Hi, problem solved. But have one last question. If I sample my custom data when page_16/18_updated event occurres and copy these data to variables that are then sended by softdevice to slave, how much time do I have to do sampling? Does softdevice generate page_X_updated event with some "time gap" in order to enable user to sample data, or when page_X_updated event occurres data have to be sampled already?

    Thanks

    Pepam

Children
Related