From: klueska Date: Thu, 24 Apr 2008 06:52:12 +0000 (+0000) Subject: Update to dummy ACtiveMessageC component here to be inline with changed to Receive... X-Git-Tag: release_tinyos_2_1_0_0~454 X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=commitdiff_plain;h=fef68e6305284dcb5d0e5986d53191fd48454aa2 Update to dummy ACtiveMessageC component here to be inline with changed to Receive and Packet interfaces from a few months back --- diff --git a/tos/platforms/null/ActiveMessageC.nc b/tos/platforms/null/ActiveMessageC.nc index e42a46ad..d0532b8d 100644 --- a/tos/platforms/null/ActiveMessageC.nc +++ b/tos/platforms/null/ActiveMessageC.nc @@ -48,7 +48,7 @@ implementation { return 0; } - command void* AMSend.getPayload[uint8_t id](message_t* msg) { + command void* AMSend.getPayload[uint8_t id](message_t* msg, uint8_t len) { return NULL; } @@ -63,7 +63,7 @@ implementation { return 0; } - command void* Packet.getPayload(message_t* msg, uint8_t* len) { + command void* Packet.getPayload(message_t* msg, uint8_t len) { return msg; } @@ -97,20 +97,14 @@ implementation { } command void AMPacket.setSource(message_t* amsg, am_addr_t addr) { } - - command void* Receive.getPayload[uint8_t id](message_t* msg, uint8_t* len) { - return NULL; - } - - command uint8_t Receive.payloadLength[uint8_t id](message_t* msg) { + + command am_group_t AMPacket.group(message_t* amsg) { return 0; } - command void* Snoop.getPayload[uint8_t id](message_t* msg, uint8_t* len) { - return NULL; - } + command void AMPacket.setGroup(message_t* amsg, am_group_t grp) { } - command uint8_t Snoop.payloadLength[uint8_t id](message_t* msg) { + command am_group_t AMPacket.localGroup() { return 0; }