Component: moteiv.tos.lib.sp.cc2420.CC2420SyncAlwaysOnC

configuration CC2420SyncAlwaysOnC

Implementation of the link primitives that support SP.

CC2420Synchronized manages the underlying CC2420 radio stack and sets up duty cycling activities. By default, CC2420Synchronized uses CC2420AlwaysOnM. See the documentation inside CC2420AlwaysOnM for more information about how it works.

To use the low power duty cycled implementation, CC2420SyncMojoM, you have the following two options:

  1. Compile your application with make <platform> lowpower which will pull in both CC2420SyncMojoM and NetSyncC network protocol, or
  2. Add the following define to your makefile which will pull in the synchronization code in CC2420SyncMojoM but not NetSyncC:
    CFLAGS += -DCC2420_SYNC

    Author:
    Joe Polastre, Moteiv Corporation <info@moteiv.com>

    Provides
    interface SPInterface
    interface SPLinkEvents
    interface SPLinkStats
    interface SPSend
    interface StdControl

    Uses
    interface ObjectPool<sp_message_t> as Pool
    interface ObjectPoolEvents<sp_message_t> as PoolEvents

    Wiring