Hi,
I have read ANT Message protocol and Usage and tried to implement shared channel according to section 8.2. I am using nrf51422 and S210 and SDK 10.0.0
My master and slave are sending and receiving messages over the channel I have created. so I believe configuration is not wrong.
I have modified scan and forward example and created channels for shared master and shared slaves in it.
According to shared channel example, I can talk to particular node by setting up address of the slave in first two byte of payload, and I am doing exactly that way ... as I want to setup 3 slaves with the master I keep sending each of following message transmission periods 01 00 [d0]-[d5] 02 00 [d0]-[d5] 03 00 [d0]-[d6]
And I have setup one slave (one node no #1) to received data from master.
When I start slave it sends out broadcast message with its address in the first two bytes. 01 00 [d1] - [d6] (which should setup its address to 01 00) , according to the document.
But, problem is my slave#1 receives the data for the other nodes as well..It actually every master data and I can not send acknowledgement data type to master. It works currently if I use broadcast data from slave to master, but when I use acknowledgement data type , it goes to APP_ERROR.
Questions:
-
Why slave receives every data from master, on shared channel it should receive the message only which has its address on first byte
-
Why I can not use acknowledgement data type to talk from slave to master ?? what should be the message type when I want to talk back from slave to master ??