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

   

Bike Lights(D00001621)

Rank

Total Posts: 5

Joined 2015-08-07

PM

Hi:

I use the SDK of Nordic nrf52832 ,but there is no example code of Bike Lights at this SDK.
For Bike Lights ,how do I get start?

thanks,
Joe

     
Avatar
RankRankRankRank

Total Posts: 745

Joined 2012-09-14

PM

The Shared Channels example would likely be the best place to start, as the Bike Lights Device Profile is based on that particular network topology.      
Rank

Total Posts: 8

Joined 2017-10-11

PM

Can anyone point me to the document on the Bike Light (LGT) profile. It is missing from the documents sections where a .pdf on virtually every other device profile is present.      
Avatar
RankRankRankRank

Total Posts: 745

Joined 2012-09-14

PM

The Bike Lights Profile can be found under the "Member Early Release" section of the Downloads page, but you must have an ANT+ Alliance Membership to access it.      
Rank

Total Posts: 8

Joined 2017-10-11

PM

Thanks Harrison, will sign up      
Rank

Total Posts: 4

Joined 2015-02-12

PM

HST - 16 November 2017 07:24 PM
Hi:

I use the SDK of Nordic nrf52832 ,but there is no example code of Bike Lights at this SDK.
For Bike Lights ,how do I get start?

thanks,
Joe

hello,i also same problem,could you tell me how can you start about Bike Lights?
i use the SDK of Nordic nrf51422.thank you.      
Rank

Total Posts: 5

Joined 2015-08-07

PM


hello,i also same problem,could you tell me how can you start about Bike Lights?
i use the SDK of Nordic nrf51422.thank you.

BIKE_LIGHT have three channels ,there are master,share_master and share_slave,
But there is no example of BIKE_LIGHT.

So I try to study what are share_master and share_slave.

...\SDK10\examples\ant\experimental\ant_shared_channel\ant_shared_master_to_master.

     
Rank

Total Posts: 4

Joined 2015-02-12

PM

yeah,i also study what are share_master and share_slave.
i just want to communicate to display device.

studying.....      
Rank

Total Posts: 5

Joined 2015-08-07

PM

Light device use Master channel to communicate with display device,

Main Light device use share channel to communicate with subLight.      
Rank

Total Posts: 4

Joined 2015-02-12

PM

i use Master channel to communicate with display device,but the display device can't search my light device.
configuration dates:
Channel Type:0x10(Master)
Network Key:0x00 (i don't know what value about it.i use the default)
RF Channel Frequency:0x39(RF channel 57)
Transmission Type:(use default value)
Device Type:0x23
Device Number:0x0005
Channel Period:4084

i use the ant_shared_master_to_master demo to test.      
Avatar
RankRankRankRank

Total Posts: 745

Joined 2012-09-14

PM

0x00 represents the index or location or a specific network key, but the S210/S310 SoftDevice initializes the value to the ANT Public Network Key by default. All ANT+ Device Profiles operate over the ANT+ Network Key which needs to be initialized by the application over the appropriate API calls.      
Rank

Total Posts: 2

Joined 2020-08-31

PM

I want to know if it is no need to open the share chanel without secondary light?      
RankRankRankRank

Total Posts: 370

Joined 2012-06-27

PM

Shared channel only needs to be opened if the main light has secondary lights to poll through the shared channel.      

Signature

Ian Haigh

Rank

Total Posts: 8

Joined 2017-10-11

PM

I understand the shared channel implementation of the LGT profile. However for a simple setup, e.g. a cycling computer connected to a front and rear light it adds additional overhead and complexity to each light. With this in mind is it possible to run each light as it's own independent main?

The standard states,

NOTE: All ANT+ bike lights shall be capable of acting as main lights and secondary lights. However developers of ANT+ controllers may choose whether to include the network formation functionality. The alternative is to connect to the broadcast channel of each ANT+ bike light as described in section 5.6.

where

5.6 Controlling an ANT+ Bike Light via the Broadcast Channel
It may be desirable to use an ANT+ controller to control an ANT+ bike light directly, independent of whether a network exists. For example it may be desirable to mount two small controller units on the bike handlebars specifically to control the bike signal lights. The user can then use the left unit to control the left signal light and the right unit to control the right signal light.
This can easily be achieved simply by pairing the relevant controller to the desired light and sending commands to the light as desired. Identifying the correct light to pair with can be done by using RSSI or proximity to select nearby lights and asking the user to confirm when the correct light is found.
Alternatively the ANT+ controller can pair to the main light in the network and communicate with the desired light via the network.


My question is, is it possible to force a controller to use the broadcast channel for each individual light rather than form a shared channel network? The Data Page 2 – Light Capabilities (0x02) - has a field specifying the number of supported secondary lights but this must be 4 according to the below. I would have hoped that it is possible to set it to zero and force a controller to control each light independently via a separate broadcast channel.

7.5.2 # Supported Secondary Lights
This field indicates the number of secondary lights that the main light is able to connect to in a network. This field shall contain a valid value. Note that all ANT+ bike lights shall support at least 4 secondary lights.


     
RankRankRankRank

Total Posts: 370

Joined 2012-06-27

PM

Not all controllers are capable of allocating more than one channel to lights. On a bike with many sensors some radios run out of channels. This is why the profile includes the network functionality, and it is the controllers choice to implement each light connection as an independent channel, or to form a network.      

Signature

Ian Haigh