[Tinyos-help] Adding new fields to tinyos packet header (3rd attempt, please reply)

2007-04-10 Thread Abhishek Jain
Hi, I have to add new fields to the tinyos packet header for telos motes in tinyos-1.x. The default header size (sent over radio) for telos mots is 10 bytes, as per the TOS_Msg structure defined in AM.h for telos motes. I tried modifying it several ways but effectively, I could only increase the

Re: [Tinyos-help] Adding new fields to tinyos header (re-framed question)

2007-04-05 Thread Abhishek Jain
Assistant Department of Electrical and Computer Engineering Iowa State University http://www.ece.iastate.edu/~bibudh/ On 4/4/07, Abhishek Jain [EMAIL PROTECTED] wrote: Hi, I have to add new fields to the tinyos header for telos motes in tinyos-1.x. When I try to modify TOS_Msg in AM.h

[Tinyos-help] Adding new fields to tinyos header (re-framed question)

2007-04-04 Thread Abhishek Jain
Hi, I have to add new fields to the tinyos header for telos motes in tinyos-1.x. When I try to modify TOS_Msg in AM.h (for telos motes), I can only go up to adding 2 more bytes to the default header. If I try to add any more fields, sending msg encounters failure. The header size is calculated

[Tinyos-help] CC2420 packet size

2007-04-03 Thread Abhishek Jain
Hi, How can I change the default total packet size for CC2420 in tinyos-1.x? As per the packet structure defined in AM.h for telos motes, the default total size seems to be 40 bytes including 28 bytes for the data payload and excluding the extra fields which are not sent over the radio. thanks,

[Tinyos-help] AM.h for telos

2007-03-26 Thread Abhishek Jain
Hi, I was looking at the AM.h file for telos motes where the packet structure is defined. There isn't any CRC field in the packet sent over the radio. What is the explanation for this? The AM.h file in tos/types (tinyos-1.x) does have a CRC field. But this file is not used when using telos

Re: [Tinyos-help] changes in TinyOS packet

2007-03-22 Thread Abhishek Jain
Thanks. Could you mention the analogous files in TinyOS-1.x . On 3/21/07, Philip Levis [EMAIL PROTECTED] wrote: On Mar 21, 2007, at 5:15 PM, Abhishek Jain wrote: I want to make the following changes in the TinyOS packet. 1) Use some bits of the DstAddr field for a small counter. 2) Remove

[Tinyos-help] changes in TinyOS packet

2007-03-21 Thread Abhishek Jain
I want to make the following changes in the TinyOS packet. 1) Use some bits of the DstAddr field for a small counter. 2) Remove the Grp ID field 3) Remove the CRC field 4) Add a new field for SrcAddr. 5) Add a new field for MAC Could someone give me an idea how to go about it? Currently, we are

[Tinyos-help] timestamps in TinyOS

2007-03-16 Thread Abhishek Jain
Hi, Could someone suggest the best possible way to get timestamps in tinyOS. I want to send messages over radio along with the timestamp. thanks, Abhishek -- All you need in life is ignorance and confidence, and then success is sure. ___ Tinyos-help

[Tinyos-help] changing starting node id from 0 to x

2007-02-22 Thread Abhishek Jain
HI, When we run some code in TOSSIM for (say) 'x' no of nodes, the starting node is always 0. Is there way to specify the starting node id so that it does not start from 0? thanks, Abhishek -- All you need in life is ignorance and confidence, and then success is sure.

[Tinyos-help] problem with function parameters

2007-02-21 Thread Abhishek Jain
Hi, I encountered this problem. I am passing a pointer (to a structure) to a function along with some other parameters. I print that structure before making the function call, inside that function, and after making that function call. The 1st and 3rd values are identical, as they should be, but

[Tinyos-help] problem with simulator

2006-12-06 Thread Abhishek Jain
Hi, I am having some trouble with the simulator. My code works perfectly fine on telosb motes, but surprisingly, when i run it in the simulator, it stops RANDOMLY ANYWHERE. What could be the possible reasons for the simulator to crash? The code is HUGE, so before i start looking in it to find

[Tinyos-help] changing radio strength

2006-11-07 Thread Abhishek Jain
Hi,Is the radio strength programmable? Specifically, can i set the TOS *msg-strength field to some value in program code? Please respond.thanks,Abhishek-- All you need in life is ignorance and confidence, and then success is sure. ___ Tinyos-help mailing