You are here: Forum Home → ANT Developers Forums → ANT General Questions → Thread
23 November 2012 12:03 AM
Student
24 November 2012 01:54 AM #1
Derek Lun - 23 November 2012 11:14 AMHi,
Shared channels sounds ideal for your use case. It will simplify your topology. It will also simplify your code by letting the ANT MCU handle some of the tasks. You can find more information about Shared Channels in section 5.6 of ANT Protocol and Usage.
To serve you better, can you please provide more information on how the channels are open?
In a multi-channel system, you have more information to consider. Collision occurs when more than one channel tries to access the radio simultaneously and not all the channel can be serviced. The 2 most effective methods of reducing collision are to reduce the channel periods and make the channel periods the same or multiple of each other. For more information, please read AN15 Multi-Channel Design Considerations.
You can find all the documents that I have mentioned in the Downloads section on the website, on the documents tab
http://www.thisisant.com/developer/resources/downloads/
Student
24 November 2012 02:30 AM #2
Derek Lun - 23 November 2012 11:14 AMHi,
Shared channels sounds ideal for your use case. It will simplify your topology. It will also simplify your code by letting the ANT MCU handle some of the tasks. You can find more information about Shared Channels in section 5.6 of ANT Protocol and Usage.
To serve you better, can you please provide more information on how the channels are open?
In a multi-channel system, you have more information to consider. Collision occurs when more than one channel tries to access the radio simultaneously and not all the channel can be serviced. The 2 most effective methods of reducing collision are to reduce the channel periods and make the channel periods the same or multiple of each other. For more information, please read AN15 Multi-Channel Design Considerations.
You can find all the documents that I have mentioned in the Downloads section on the website, on the documents tab
http://www.thisisant.com/developer/resources/downloads/
Student
24 November 2012 02:53 AM #3
Derek Lun - 23 November 2012 11:14 AMHi,
Shared channels sounds ideal for your use case. It will simplify your topology. It will also simplify your code by letting the ANT MCU handle some of the tasks. You can find more information about Shared Channels in section 5.6 of ANT Protocol and Usage.
To serve you better, can you please provide more information on how the channels are open?
In a multi-channel system, you have more information to consider. Collision occurs when more than one channel tries to access the radio simultaneously and not all the channel can be serviced. The 2 most effective methods of reducing collision are to reduce the channel periods and make the channel periods the same or multiple of each other. For more information, please read AN15 Multi-Channel Design Considerations.
You can find all the documents that I have mentioned in the Downloads section on the website, on the documents tab
http://www.thisisant.com/developer/resources/downloads/
Student
03 January 2013 02:52 AM #4
Derek Lun - 26 November 2012 11:38 AMHi again,
Can you re-upload the diagram with the master and slave label? According to your diagram, each node has 3 channels open; 1 for the parent and 2 for the children. Is there a reason why you need 1 channel per child and check for the right message?
Can you also provide a log of communication and the full sequence of how you open the channels? Those will help me aid you better.
Student
03 January 2013 03:06 AM #5
feifeifei - 03 January 2013 02:52 AMDerek Lun - 26 November 2012 11:38 AMHi again,
Can you re-upload the diagram with the master and slave label? According to your diagram, each node has 3 channels open; 1 for the parent and 2 for the children. Is there a reason why you need 1 channel per child and check for the right message?
Can you also provide a log of communication and the full sequence of how you open the channels? Those will help me aid you better.
we use the number of channel to judge the message from which child (num 1 for left and num 2 for right)
the squence of opening channel 0 as below:
ANT_SetNetworkKey(0, (UCHAR *)DEFAULT_NETWORK);
ANT_UnAssignChannel(Channel0);
ANT_AssignChannel(Channel0,ANT_DEVICE_TYPE_CHANNEL0,0); //Receive Channel:Bidirectional Slave Channel
ANT_SetChannelRFFreq(Channel0,66);
ANT_SetChannelId(Channel0,DeviceNum_CHANNEL0,DeviceType_CHANNEL0,TransmissionType_CHANNEL0);
ANT_SetChannelPeriod(Channel0,ChannelPeriod_CHANNEL0);
ANT_SetTransmitPower(dBm_CHANNEL0);
ANT_SetChannelSearchTimeout(Channel0,0xFF);
ANT_OpenChannel(Channel0);
Student
04 January 2013 06:10 PM #6
1 of 1 Pages