Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

You are here: Forum Home → ANT+ Forums → ANT+ Bike Lights → Thread

   

How to check if shared channel is opened? 

Rank

Total Posts: 14

Joined 2020-07-21

PM

Hi Great support teams:

We've developed Bike light for a while. So far, we'd like to make bike light as a secondary light in system.
But we could not catch messages from controller through shared channel.

Here is the environment of our experiment :

1. We use host MCU (STM) with nrf24ap2-8ch as ANT radio to build up.
2. We use a bike light (Bonntrager) as main light in system.
3. We use Edge-530 as bike light controller.
4. Here are the commands we send for setting device as secondary light:

A4 09 4F 21 02 DD E5 58 7B 4F 06 B5
//received connect command from bike controller

A4 03 42 01 00 00 E4 = A4 03 40 01 42 00 A4
// command for assign channel [shared slave channel(1)] = responses from nRF24ap2

A4 05 51 01 01 00 24 06 D2 = A4 03 40 01 51 00 B7
//command for set channel ID [shared slave channel(1)] = responses from nRF24ap2

A4 03 43 01 F4 0F 1E = A4 03 40 01 43 00 A5
//command for set channel period [shared slave channel(1)] = responses from nRF24ap2

A4 02 45 01 39 DB = A4 03 40 01 45 00 A3
//command for set channel frequency [shared slave channel(1)] = responses from nRF24ap2

A4 01 4B 01 EF = A4 03 40 01 4B 00 AD
//command for open channel [shared slave channel(1)] = responses from nRF24ap2

A4 09 4E 01 02 01 40 00 E5 FF 00 FF 44
//command for sending Data Page 1 – Light States 1 in shared channel


After the last command we send above, we never received any command from shared channel.

(Bike controller could see our device and our device could joined the network as a secondary bike light.)


5. Attachment is the log file (.fit) we recorded from bike light controller (Edge530), it about the whole process of how we connect main light / secondary light and try to set properties of secondary light.

If there is any other info you need to know, please notice me, thanks!



Sincerely

EISO-Jack

      [ Edited: 28 April 2021 12:17 AM by EISO ]

File Attachments

Rank

Total Posts: 14

Joined 2020-07-21

PM

Hi Great support team:

We've solved the issue, after making adjustment of "device number" parameter while we open shared slave channel as secondary light. Now, we could receive packets from shared channel.

We'd like to know the proper sections to refer to config device as a main light, if you have any suggestion, please let us know!

Thanks in advance!

Sincerely

EISO-Jack