[Tinyos-devel] AMPacket in SerialActiveMessageP.nc

Roman Lim rlim at ee.ethz.ch
Thu Jun 21 04:42:32 PDT 2007


Hi

in SerialActiveMessageP.nc, the added commands of the AMPacket interface
are missing.

In component `SerialActiveMessageP':

tinyos-2.x/tos/lib/serial/SerialActiveMessageP.nc:47: `AMPacket.group'
not implemented

tinyos-2.x/tos/lib/serial/SerialActiveMessageP.nc:47:
`AMPacket.setGroup' not implemented

tinyos-2.x/tos/lib/serial/SerialActiveMessageP.nc:47:
`AMPacket.localGroup' not implemented

could somebody fix this please?
Thanks
Roman

>Agreed on change to AMPacket for 2.0.2:
>
>interface AMPacket {
>   // Current commands
>   command am_addr_t address();
>   command bool isForMe(message_t* amsg);
>   command am_addr_t destination(message_t* amsg);
>   command am_addr_t source(message_t* amsg);
>   command am_id_t type(message_t* amsg);
>   command void setDestination(message_t* amsg, am_addr_t addr);
>   command void setSource(message_t* amsg, am_addr_t addr);
>   command void setType(message_t* amsg, am_id_t t);
>
>   // New commands
>   command am_group_t group(message_t* amsg);
>   command void setGroup(message_t* amsg, am_group_t group);
>}
>



More information about the Tinyos-devel mailing list