Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

   

Need help for listen many HRM on one channel

Rank

Total Posts: 3

Joined 2022-09-08

PM

Hello,

I'm trying to create a bridge in .NET between a USB stick ANT+ and a local network.
I read that in the doc it's possible to have a hub (the usb stick here) who listen all the sensor around. (like in the picture in attachments)
Can someone give me some tips for it ?

I'm currently trying to modify the DEMO_HR_RECEIVER code given in the PC SDK 3.5 but i didn't succeed in gather data of two HRM yet. (from one it's work perfectly)

Is it possible to have two or more HRM sending data on the same channel of one usb stick ?

Also is it possible to get that demo in .NET ?

Thank for your help.      

Image Attachments

ANT+Broadcast.PNG

Click thumbnail to see full-size image

RankRankRankRank

Total Posts: 370

Joined 2012-06-27

PM

What you are looking to do is open a continuous scan channel. You will configure the channel with wild cards on device number, device type, and transmission type so it connects to multiple sensors of multiple types. If you just want HR then you can set device type to that for HR. You will configure the radio with extended messaging so that you get the extended device number (device number + nibble from transmission type) so that you can map each message to a sensor.

See https://www.thisisant.com/resources/ant-message-protocol-and-usage/ https,://www.thisisant.com/resources/an11-ant-channel-search-and-background-scanning-channel/, and https://www.thisisant.com/resources/an14-continuous-scanning-mode/      

Signature

Ian Haigh

Rank

Total Posts: 3

Joined 2024-01-09

PM

haighi - 19 September 2022 10:04 AM
What you are looking to do is open a continuous scan channel. You will configure the channel with wild cards on device number, device type, and transmission type so it connects to multiple sensors of multiple types. If you just want HR then you can set device type to that for HR. You will configure the radio with extended messaging so that you get the extended device number (device number + nibble from transmission type) so that you can map each message to a sensor.

See https://www.thisisant.com/resources/ant-message-protocol-and-usage/ https,://www.thisisant.com/resources/an11-ant-channel-search-and-background-scanning-channel/ sell tickets online, and https://www.thisisant.com/resources/an14-continuous-scanning-mode/[/quot.e]

Thanks!      
Rank

Total Posts: 2

Joined 2024-01-29

PM

haighi - 19 September 2022 10:04 AM
What you are looking to do is open a continuous scan channel. You will configure the channel with wild cards on device number, device type, and transmission type so it connects to multiple sensors of multiple types. If you just want HR then you can set device type to that for HR. You will configure the radio with extended messaging so that you get the extended device number (device number + nibble from transmission type) so that you can map each message to a sensor.

See https://www.thisisant.com/resources/ant-message-protocol-and-usage/fnaf , https://www.thisisant.com/resources/an11-ant-channel-search-and-background-scanning-channel/ and h,ttps://www.thisisant.com/resources/an14-continuous-scanning-mode/.


configuring the radio with extended paging was very helpful to me, had success with it      
Rank

Total Posts: 9

Joined 2024-08-11

PM

If you are using the DEMO_HR_RECEIVER sample code from the ANT+ PC SDK, it can be configured to receive data from a specific HRM Run 3 by setting its Channel ID.      
Rank

Total Posts: 9

Joined 2024-09-13

PM

Modify the event handlers to listen for data from multiple tunnel rush unblocked devices. You can maintain a list of connected HRMs and update their statuses as data comes in.