Dear all, Please help me how to increase message size in Tossim. Note that when I added # CFLAGS += -DTOSH_DATA_LENGTH= 34 in the makefile I got error in compilation such:
==== In file included from /opt/tinyos-2.x/tos/lib/tossim/tos.h:98: /opt/tinyos-2.x/tos/lib/tossim/sim_packet.c: In function `sim_packet_max_length': /opt/tinyos-2.x/tos/lib/tossim/sim_packet.c:103: warning: `return' with no value, in function returning non-void In file included from /opt/tinyos-2.x/tos/lib/tossim/MainC.nc:64, from LNTC.nc:9: In component `TossimActiveMessageC': /opt/tinyos-2.x/tos/lib/tossim/TossimActiveMessageC.nc: In function `Packet.maxPayloadLength': /opt/tinyos-2.x/tos/lib/tossim/TossimActiveMessageC.nc:178: warning: `return' with no value, in function returning non-void /opt/tinyos-2.x/tos/lib/tossim/TossimActiveMessageC.nc: In function `Packet.getPayload': /opt/tinyos-2.x/tos/lib/tossim/TossimActiveMessageC.nc:185: syntax error before `)' TossimActiveMessageC: At top level: TossimActiveMessageC: `AMPacket.group' not implemented TossimActiveMessageC: `AMPacket.setGroup' not implemented TossimActiveMessageC: `AMPacket.localGroup' not implemented make: *** [sim-exe] Error 1
_______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help