implementation {
components TestNetworkC, MainC, LedsC, ActiveMessageC;
components DisseminationC;
- components new DisseminatorC(uint16_t, SAMPLE_RATE_KEY) as Object16C;
+ components new DisseminatorC(uint32_t, SAMPLE_RATE_KEY) as Object32C;
components CollectionC as Collector;
components new CollectionSenderC(CL_TEST);
components new TimerMilliC();
TestNetworkC.DisseminationControl -> DisseminationC;
TestNetworkC.Leds -> LedsC;
TestNetworkC.Timer -> TimerMilliC;
- TestNetworkC.DisseminationPeriod -> Object16C;
+ TestNetworkC.DisseminationPeriod -> Object32C;
TestNetworkC.Send -> CollectionSenderC;
TestNetworkC.ReadSensor -> DemoSensorC;
TestNetworkC.RootControl -> Collector;
TestNetworkC.Random -> RandomC;
TestNetworkC.Pool -> PoolC;
TestNetworkC.Queue -> QueueC;
-
+ TestNetworkC.RadioPacket -> ActiveMessageC;
+
#ifndef NO_DEBUG
components new PoolC(message_t, 10) as DebugMessagePool;
components new QueueC(message_t*, 10) as DebugSendQueue;