Trouble with ANT+ shared channels

Hi,

First of all I’m sorry if it’s not the right place to put this post but I didn’t know where to do it.

I’m trying to set up a shared channel with arduino boards and radio modules ( http://proto-pic.co.uk/transceiver-nrf24ap1-with-trace-antenna/ ) using ANT+. My aim is to make 4 or 5 arduino boards send messages to a central one.

I have managed to make two of them communicate together with an independant channel but when i’m trying to set up a shared channel it does not work anymore. I think it must be the configuration of each board because it’s the only thing I change between the two versions. To build this configuration I’ve use this guide : http://www.sparkfun.com/datasheets/Wireless/Nordic/ANT-UserGuide.pdf .

Here is the configuration of my transmitters :

#define ANT_CH_ID    0x00
#define ANT_CH_TYPE  0x20
#define ANT_NET_ID   0x00
#define ANT_DEV_ID1  0x03
#define ANT_DEV_ID2  0x03
#define ANT_DEV_TYPE 0x03
#define ANT_TX_TYPE  0x03
#define ANT_CH_FREQ  66
#define ANT_CH_PER   2370
#define TIMEOUT      0x10

Here is the configuration of my receiver :

#define ANT_CH_ID    0x00
#define ANT_CH_TYPE  0x30
#define ANT_NET_ID   0x00
#define ANT_DEV_ID1  0x03
#define ANT_DEV_ID2  0x03
#define ANT_DEV_TYPE 0x03
#define ANT_TX_TYPE  0x03
#define ANT_CH_FREQ  66
#define ANT_CH_PER   2370
#define TIMEOUT      0x10

I can’t figure out what’s wrong with this.

You can also find attached my full code.

Thanks for your help.

RadioModuleCode.rar (4.83 KB)