Hi!

Add

CFLAGS += -DTOSH_DATA_LENGTH=100

to your Makefile. (The maximum value is 114 if I remember correctly).

Miklos

On Thu, Aug 19, 2010 at 7:00 PM, t'aim . <[email protected]> wrote:
> Hi,
> Can any one tell me how to increase packet size to 100 byte using IRIS mote.
> I am pasting my Header file and Make file..Any help will be great full
> Header file::
> enum {
>   AM_RSSIMSG = 10,
>   RELAY_ID=0,
>   TIMER_PERIOD_MILLI = 1000
> };
> typedef nx_struct RssiMsg{
>   nx_uint16_t nodeid;
>   nx_uint16_t counter;
>   nx_uint16_t rssi;
> } RssiMsg;
> ................
> Make File:::
> COMPONENT=SendingMoteAppC
> INCLUDES= -I..
> CFLAGS += $(INCLUDES)
> CFLAGS += -I$(TOSDIR)/lib/printf
> BUILD_EXTRA_DEPS=RssiMsg.class
> RssiMsg.class: RssiMsg.java
> javac RssiMsg.java
> RssiMsg.java:
> mig java -target=null -java-classname=RssiMsg RssiDemoMessages.h RssiMsg -o
> $@
> include $(MAKERULES)
>
>
>
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to