Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

   

auto shared channel SensRcode

Rank

Total Posts: 2

Joined 0

PM

Hello all,

I tried to configure nodes ant with SensRcode in mode Auto Shared Channel, but the slave node lose connection with master when gets timeout. How I can reconnect the slave to the master?

Thanks
Marco      
Avatar
RankRankRankRank

Total Posts: 213

Joined 2011-05-02

PM

Hello,

If the slave loses connection (i.e. too many EVENT_RX_FAIL events in a row are received) the channel will automatically drop to search. If the master is not found within the specified search timeout value (default ~30 seconds) then the channel will close itself automatically. In this case, you will need to re-open the channel to start searching again.

Cheers      
Rank

Total Posts: 2

Joined 0

PM

Thanks Cheers for your quick reply,
how I can reopen the channel in sensRcode?
This is my script for send the battery level:

[42][00][20][00] // Assign Shared Channel Slave on ANT chanel 0 on network 0
[51][00][31][00][01][05] // Assign Channel ID 0, Dev. Num = 49, Dev. Type = 1, Trans. Type = 5
[91][00][00][40][FF][01][00] // Configuring Data Channel 0 on ANT Channel 0 as Digital Input using pin(s) FF reporting on 100.00% of messages
[95][00][02][00][00] // Set ANT Channel 0 Shared Address to Auto Shared Address
[43][00][00][20] // Set ANT Channel 0 Message Period to 4.00 Hz
[4B][00] // Open ANT chanel 0
// End Sector


Tnks
Marco