Hello,
I am trying to use Cricket motes for an application (using TinyOS 1.x). I have
a Cricket
mote which sends distance meaurements to a Base Station. In the base
station , am seeing a very strange behavior. The length of the
TOS_MSg->Length field which has the information related to payload
Hello,
I am trying to use Cricket motes for an application (using TinyOS 1.x). I have
a Cricket
mote which sends distance meaurements to a Base Station. In the base
station , am seeing a very strange behavior. The length of the
TOS_MSg->Length field which has the information related to payload
Assuming you haven't made any changes to the TOSBase or Java code
I hazard a guess that you are using the wrong message header format
when receiving on the PC. I haven't used the Crickets though...
Try using ListenRaw to look at what you are really getting over
the serial, and then match it up to
Hello,
I am trying to use Cricket motes for an application (using TinyOS 1.x). I have
a Cricket
mote which sends distance meaurements to a Base Station. In the base
station , am seeing a very strange behavior. The length of the
TOS_MSg->Length field which has the information related to payload
TOS_Msg is defined in various AM.h files according to your platform.
I count 44 bytes in the T1 micaz/AM.h definition, however your mileage
may vary on other versions and platforms.
sizeof(TOS_Msg) will always return that number. sizeof(YourStruct)
will always return (according to your count) 34.
Hi,
I'm trying to ascertain the length of a TOS_Msg variable I've
typecasted to a self-defined struct.
The struct I use has 6 variables of 4 bytes each. Thus, the total
length of the TOS_Msg variable should be 24 + 10(headers) = 34. But
the length is shown to be 46.
I'm confused as to how this i
I tried -comm serial@/dev/ttyS0:mica2 and It works perfectly!!
Thank you very much
Under T1 at least the micaz message that comes over the serial line
has been converted to a mica2 format by TOSBase. This puts the header
fields in the 'wrong' places. Try
Under T1 at least the micaz message that comes over the serial line
has been converted to a mica2 format by TOSBase. This puts the header
fields in the 'wrong' places. Try -comm serial@/dev/ttyS0:mica2
or setting the MOTECOM env variable like that.
might work...
MS
Juan José Roncero wrote:
Hi
Hi everyone!
I´m working with micaz motes and tinyos-1.x. I´trying to connect them to a
middleware application through Serial Forwarder tool but it outputs some
errors:
TOS_Msg length is invalid: header_lenght=265, real_lenght=9 modifying msg to
fit
Received message: FF FF 04 7D 04 00 01 00 01
I
more detail check
>
http://www.moteiv.com/community/Change_the_default_UART_baud_rate
>
> Regards,
>
> Amartya
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> On Behalf Of lamiaimeil
> Sent: Wednesday, September 19, 2007 2:46 PM
&
I did find this when googling "TOS_Msg length is invalid"
http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2005-July/010467.html
but I think it's more relevant to micaz/2 issues.
If ListenRaw works for you, you may be able to see the actual messages and
decode where it's going wrong. Or
Hi all,
I have this problem with my new application that I
never had before. When I type the command:
MOTECOM=serial at COM5:tmote java
net.tinyos.tools.Listen
the prompt answer me:
TOS_Msg length is invalid:
header_length=10,real_length=16 ... modifying msg to
fit
I also try:
java net.tinyos.
more detail check
>
http://www.moteiv.com/community/Change_the_default_UART_baud_rate
>
> Regards,
>
> Amartya
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> On Behalf Of lamiaimeil
> Sent: Wednesday, September 19, 2007 2:46 PM
&
lamiaimeil
Sent: Wednesday, September 19, 2007 2:46 PM
To: Mailing list TinyOS
Subject: [Tinyos-help] TOS_Msg length is invalid?
Hi all,
I have this problem with my new application that I
never had before. When I type the command:
MOTECOM=serial at COM5:tmote java
net.tinyos.tools.Listen
the
Hi all,
I have this problem with my new application that I
never had before. When I type the command:
MOTECOM=serial at COM5:tmote java
net.tinyos.tools.Listen
the prompt answer me:
TOS_Msg length is invalid:
header_length=10,real_length=16 ... modifying msg to
fit
I also try:
java net.tinyos.
Hi all,
I have this problem with my new application that I
never had before. When I type the command:
MOTECOM=serial at COM5:tmote java
net.tinyos.tools.Listen
the prompt answer me:
TOS_Msg length is invalid:
header_length=10,real_length=16 ... modifying msg to
fit
I also try:
java net.tinyos.
Hi all,
i have this problem with my new application that I
never had before. When I type the command:
[EMAIL PROTECTED]:tmote java net.tinyos.tools.Listen
now I have:
TOS_Msg length is invalid:
header_length=10,real_length=16 ... modifying msg to
fit
I also try:
java net.tinyos.sf.SerialForwar
17 matches
Mail list logo