Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

You are here: Forum Home → ANT+ Forums → ANT+ Heart Rate Monitor → Thread

   

ANT+ HRM found by antusb-m but not by Garmin Edge 530

Rank

Total Posts: 2

Joined 2019-09-12

PM

Hello,

I am attempting to implement the HRM profile on a Nordic NRF52840 using the S340 softdevice. I have modified the ant_plus/hrm_tx example from the 15.3.0 Nordic SDK such that the device broadcasts a simulated HRM on ANT+ (i.e. using the ant_hrm_simulator module that is part of ant_profiles in the ant component of the nordic SDK).

I am able to see the simulated HRM broadcast from the device using antusb-m and ANTware II. I use the xml provided in the hrm_tx example in the nordic SDK to configure the antusb-m channels to receive HRM data. Here is a snippet of the broadcast data.

Received BROADCAST_DATA_0x4E
  
:: 4e00-00-FF-FF-FF-F0-78-54-5A
Received BROADCAST_DATA_0x4E
  
:: 4e00-00-FF-FF-FF-F0-78-54-5A
Received BROADCAST_DATA_0x4E
  
:: 4e00-00-FF-FF-FF-70-7B-55-60
Received BROADCAST_DATA_0x4E
  
:: 4e00-00-FF-FF-FF-70-7B-55-60
Received BROADCAST_DATA_0x4E
  
:: 4e00-80-FF-FF-FF-D6-7D-56-64
Received BROADCAST_DATA_0x4E
  
:: 4e00-80-FF-FF-FF-D6-7D-56-64
Received BROADCAST_DATA_0x4E
  
:: 4e00-80-FF-FF-FF-D6-7D-56-64
Received BROADCAST_DATA_0x4E
  
:: 4e00-80-FF-FF-FF-19-80-57-6A
Received BROADCAST_DATA_0x4E
  
:: 4e00-00-FF-FF-FF-19-80-57-6A
Received BROADCAST_DATA_0x4E
  
:: 4e00-00-FF-FF-FF-47-82-58-6E
Received BROADCAST_DATA_0x4E
  
:: 4e00-00-FF-FF-FF-47-82-58-6E
Received BROADCAST_DATA_0x4E
  
:: 4e00-00-FF-FF-FF-61-84-59-72
Received BROADCAST_DATA_0x4E
  
:: 4e00-80-FF-FF-FF-61-84-59-72
Received BROADCAST_DATA_0x4E
  
:: 4e00-80-FF-FF-FF-69-86-5A-76
Received BROADCAST_DATA_0x4E
  
:: 4e00-80-FF-FF-FF-69-86-5A-76
Received BROADCAST_DATA_0x4E
  
:: 4e00-80-FF-FF-FF-60-88-5B-7A 


I believe that the device is broadcasting HRM profile compliant data because the antusb-m configured to receive HRM profile data picks it up.

However, I cannot connect to the device using a Garmin Edge 530 bike computer. When I go to Status > Sensors > Add Sensor > Search All I do not see the device.

Here are some relevant configuration options.

// </h>
//==========================================================

// <h> Application

//==========================================================
// <o> ANTPLUS_NETWORK_NUM - ANT PLUS network number.
#ifndef ANTPLUS_NETWORK_NUM
#define ANTPLUS_NETWORK_NUM 0
#endif

// <o> CHAN_ID_DEV_NUM - Channel ID: Device Number.
#ifndef CHAN_ID_DEV_NUM
#define CHAN_ID_DEV_NUM 49
#endif

// <o> CHAN_ID_TRANS_TYPE - Channel ID: Transmission type.
#ifndef CHAN_ID_TRANS_TYPE
#define CHAN_ID_TRANS_TYPE 1
#endif

// <o> HRM_CHANNEL_NUM - Channel number assigned to HRM profile.
#ifndef HRM_CHANNEL_NUM
#define HRM_CHANNEL_NUM 0
#endif

// <o> MODIFICATION_TYPE  - Type of Heart Rate values update


// <i> They can be updated by buttons or periodically rise and fall in auto mode
// <0=> MODIFICATION_TYPE_BUTTON
// <1=> MODIFICATION_TYPE_AUTO

#ifndef MODIFICATION_TYPE
#define MODIFICATION_TYPE 1
#endif

// <h> PRODUCT_INFORMATION

//==========================================================
// <o> HRM_HW_VERSION - Hardware revision
#ifndef HRM_HW_VERSION
#define HRM_HW_VERSION 5
#endif

// <o> HRM_MFG_ID - Manufacturer ID
#ifndef HRM_MFG_ID
#define HRM_MFG_ID 0xFF
#endif

// <o> HRM_MODEL_NUMBER - Model number
#ifndef HRM_MODEL_NUMBER
#define HRM_MODEL_NUMBER 2
#endif

// <o> HRM_SW_VERSION - Software version number
#ifndef HRM_SW_VERSION
#define HRM_SW_VERSION 0
#endif

// <o> HRM_SERIAL_NUMBER - Serial number
#ifndef HRM_SERIAL_NUMBER
#define HRM_SERIAL_NUMBER 43981
#endif

// </h>
//========================================================== 


Any help to enable detection of the device by the Garmin Edge 530 bike computer would be much appreciated      
RankRankRankRank

Total Posts: 370

Joined 2012-06-27

PM

The most likely issue is that you haven't changed the network key in the sdk to the ANT+ key from https://www.thisisant.com/developer/ant-plus/ant-plus-basics/network-keys and ANTwareII has the same default public network key.      

Signature

Ian Haigh

Rank

Total Posts: 2

Joined 2019-09-12

PM

That was exactly it. Thanks very much!