To switch to ContikiMAC, you need to find in your platform config:
/* Network setup for IPv6 */
#define NETSTACK_CONF_NETWORK sicslowpan_driver
#define NETSTACK_CONF_MAC nullmac_driver
/*#define NETSTACK_CONF_RDC contikimac_driver*/
#define NETSTACK_CONF_RDC nullrdc_driver
#define NETSTACK_CONF_RADIO contiki_maca_driver
#define NETSTACK_CONF_FRAMER framer_802154
And set NETSTACK_CONF_RDC contikimac_driver
Then to use the AT86RF212 radio you set NETSTATCK_CONF_RADIO to
whatever it needs to be.
The RDC layer now makes calls to things like
NETSTACK_RADIO.on();
NETSTACK_RADIO.off();
NETSTACK_RADIO.channel_clear()
NETSTACK_RADIO.pending_packet()
NETSTACK_RADIO.transmit(
NETSTACK_RADIO.prepare
NETSTACK_RADIO.read
Hope that helps...
-Mar.
> ------------------------------------------------------------------------------
> Xperia(TM) PLAY
> It's a major breakthrough. An authentic gaming
> smartphone on the nation's most reliable network.
> And it wants your games.
> http://p.sf.net/sfu/verizon-sfdev
> _______________________________________________
> Contiki-developers mailing list
> Contiki-d...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/contiki-developers
------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Contiki-developers mailing list
Contiki-d...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/contiki-developers