You are here: Forum Home → ANT+ Forums → ANT+ Bike Lights → Thread
25 January 2021 12:38 AM
25 January 2021 12:56 PM #1
Ian Haigh
25 January 2021 06:10 PM #2
haighi - 25 January 2021 12:56 PMFor bike lights the Edge is the slave, and the light is the master.
The bike lights profile uses the ANT+ key like other ANT+ profiles.
Your message looks correctly formatted. Have you checked the responses for the prior messages? The issue may be with the other commands proximity to the reset command. From the ANT Message Protocol and Usage document: "After a Reset System command has been issued, the application should wait 500ms to ensure that ANT is in the proper, “after-reset” state before any further commands are issued from the host. For AT3 and newer modules, the RTS line can be monitored instead: only send commands after an RTS toggle has been observed. Please see the Interfacing with ANT General Purpose Chipsets and Modules Document for more information."
25 January 2021 06:12 PM #3
EISO - 25 January 2021 06:10 PM
HI
you means
Edge Stop Watch Control Ant Bike Light on/off
Edge Stop Watch =>Slave
Ant Bike Light =>Master
Ian Haigh
26 January 2021 02:50 AM #4
01 February 2021 04:17 PM #5
Ian Haigh
02 February 2021 02:23 AM #6
haighi - 01 February 2021 04:17 PMYour light needs to correctly respond to pages 32, 33, and 34. See profile document sections 5.2 and 5.4 as well as 7.16, 7.17, and 7.18 in particular.
You may wish to experiment with SimulANT+ controlling your prototype as this will allow you to test without automatic behaviors the Edge has which may cause confusion in logs.
02 February 2021 10:31 AM #7
Ian Haigh
07 February 2021 07:45 PM #8
08 February 2021 10:13 AM #9
Ian Haigh
08 February 2021 10:16 AM #10
Ian Haigh
17 February 2021 01:40 AM #11
17 February 2021 11:47 AM #12
Thank you for your reply, our company is developing car lights with "Host MCU" + "nRF24AP2".
And we first use "Simulate ANT+" "USB ANT Dongle" for simulating our product.
The simulation can be connected to Garmin car meter smoothly.
However, when the Garmin watch adds new lights to the list, there will be crash logs in "Simulate ANT+", and then the connection will be lost.
Please refer to Figure A below.
Ian Haigh
17 February 2021 07:46 PM #13
haighi - 17 February 2021 11:47 AMThank you for your reply, our company is developing car lights with "Host MCU" + "nRF24AP2".
And we first use "Simulate ANT+" "USB ANT Dongle" for simulating our product.
The simulation can be connected to Garmin car meter smoothly.
Do you mean bike lights with Edge bike computer?
Please refer to Figure 1 below
However, when the Garmin watch adds new lights to the list, there will be crash logs in "Simulate ANT+", and then the connection will be lost.
Which watch and software version?
You have only a single controller (the Garmin watch) interacting with the lights? ie no SimulANT+ controller, Garmin Edge, second watch, etc
Are all of the lights created with SimulANT+, or do you also have real lights in the network?
Please refer to Figure 2 below
Please refer to Figure A below.
Can you translate the text to English please.
17 February 2021 07:48 PM #14
EISO - 17 February 2021 07:46 PMhaighi - 17 February 2021 11:47 AMThank you for your reply, our company is developing car lights with "Host MCU" + "nRF24AP2".
And we first use "Simulate ANT+" "USB ANT Dongle" for simulating our product.
The simulation can be connected to Garmin car meter smoothly.
Do you mean bike lights with Edge bike computer?
Please refer to Figure 1 below
However, when the Garmin watch adds new lights to the list, there will be crash logs in "Simulate ANT+", and then the connection will be lost.
Which watch and software version?
You have only a single controller (the Garmin watch) interacting with the lights? ie no SimulANT+ controller, Garmin Edge, second watch, etc
Are all of the lights created with SimulANT+, or do you also have real lights in the network?
Please refer to Figure 2 below
Please refer to Figure A below.
Can you translate the text to English please.
ERROR:Object reference not set to an instance of an object
AntPlus.Profiles.BikeLights.BikeLightDevice.HandleReceiveShared(Byte[] rxBuffer)
1 of 1 Pages
