hi,
am facing problem for communicating through serial port between iris mote
to robot,
here i found that problem is tinyos packet structure, robo doesn't
understand tinyos packet format how can i remove header and CRC in tinyos
packet structure to communicate between robot and iris mote ,
Hi Pedro,
I suggest to try to edit TestSerial and don't set message as string, use
uint8_t/uint16_t instead.
Pedro Oliveira-9 wrote:
Hi all,
I'm starting in TinyOs and I would like to send commands throw serial port
to a mote/network.
I already worked with some examples but I am having
Hi all,
I'm starting in TinyOs and I would like to send commands throw serial port
to a mote/network.
I already worked with some examples but I am having some problems put some
of them together and even understand witch one is the best to produce the
scenario that I want to do.
For example:
Hey!!
I've been working on this particular part of my project for a while now.
I was pointed to codes available in TinyOS-2.1.1; in the folder
/opt/tinyos-2.1.1/support/sdk/c/sf.
I've vaguely understood the codes, but they don't compile. It gives me an
error when i enter make:
make: *** No rule
Hi,
I noticed that some people have trouble using the serial port to
communicate with the base using the BaseStation application. So I wrote a
guide to help on that with code suggestions and some explanation about
serial port using and ActiveMessage protocol.
Breno,
It will be great if you can add your document as a tutorial under user
contributed tutorials on this page:
http://docs.tinyos.net/index.php/TinyOS_Tutorials
- om_p
2011/3/24 Breno Guimarães bren...@gmail.com:
Hi,
I noticed that some people have trouble using the serial port to
Hi!
Thanks for the tips Michael! After I read your comments I noticed that I
forgot to specify which tools and system configuration required to
understand and run everything at the guide.
I'll write about that when I have the chance.
Omprakash, thanks for the advice! I will add it there very
Date: Wed, 24 Feb 2010 22:20:50 +0800
From: pa3kcabr...@gmail.com
To: tinyos-help@millennium.berkeley.edu
Subject: [Tinyos-help] Serial Communication Test Problem
I have a prototype board based on the micaz mote using Atmega128L and
CC2420 running on tinyos-2.1.0. I am testing
I have a prototype board based on the micaz mote using Atmega128L and CC2420
running on tinyos-2.1.0. I am testing the board using the tutorials
available, but when I got to Lesson 4: Mote-PC serial communication and
tried java TestSerial I got the following errors:
:micaz
hope this helps.
cheers,
Jong Chern
--
Date: Wed, 24 Feb 2010 22:20:50 +0800
From: pa3kcabr...@gmail.com
To: tinyos-help@millennium.berkeley.edu
Subject: [Tinyos-help] Serial Communication Test Problem
I have a prototype board based on the micaz mote
usb port:
java TestSerial -comm serial@/dev/ttyUSB0:micaz
hope this helps.
cheers,
Jong Chern
Date: Wed, 24 Feb 2010 22:20:50 +0800
From: pa3kcabr...@gmail.com
To: tinyos-help@millennium.berkeley.edu
Subject: [Tinyos-help] Serial Communication Test
Hi all,
Guys I have created a custom made node built on the atmega 128 MCU. I am now
trying to interface my node through the serial port to monitor the data. As
in the tutorial, i compiled and installed the TestSerial application on the
node. When i run the java TestSerial -comm
Hi,
I use net.tools.tinyos.Listen to print serial output.
The problem is that it only print always first 34 outputs and then it
halts. It does not matter how long was each output it only print first
34 of them and then it halts.
Any clues?
best regards,
Faisal
Faisal,
You didn't state what mote you're using. It it's the iris, you may try adding
PFLAGS+=-DTASKLET_IS_TASK
to your makefile.
Janos
On Fri, Feb 27, 2009 at 9:27 AM, Faisal Aslam
as...@informatik.uni-freiburg.de wrote:
Hi,
I use net.tools.tinyos.Listen to print serial output.
The problem
Janos,
We might want to make the TASKLET_IS_TASK the default, or I need to
look into the UART for the IRIS platform. This is biting more and more
people. What dou you think?
Miklos
On Fri, Feb 27, 2009 at 5:02 PM, Janos Sallai
sal...@isis.vanderbilt.edu wrote:
Faisal,
You didn't state what
It works now.
Thanks.
Faisal
Miklos Maroti wrote:
Janos,
We might want to make the TASKLET_IS_TASK the default, or I need to
look into the UART for the IRIS platform. This is biting more and more
people. What dou you think?
Miklos
On Fri, Feb 27, 2009 at 5:02 PM, Janos Sallai
Just by taking a quick look at HplAtm128UartP.nc, I can see a number
of issues on the tx path:
- It uses the tx complete interrupt instead of the uard data register
empty interrupt, which is suboptimal in terms of bandwidth.
- It sets the TX complete flag when enabling the tx interrupt. I
suppose
Janos,
On Fri, Feb 27, 2009 at 7:30 PM, Janos Sallai
sal...@isis.vanderbilt.edu wrote:
Just by taking a quick look at HplAtm128UartP.nc, I can see a number
of issues on the tx path:
- It uses the tx complete interrupt instead of the uard data register
empty interrupt, which is suboptimal in
- It sets the TX complete flag when enabling the tx interrupt. I
suppose that this results in the tx interrupt being fired without
actually sending out anything. Removing this might solve the problem.
If you think about these:
SET_BIT(UCSR1A, TXC1);
SET_BIT(UCSR1B, TXCIE1);
Then it
Janos,
Ok, I have a guss what it could be: reentering the same interrupt
twice with the following sequence:
- UART first interrupt starts
- RF interrupt starts
- UART second interrupt starts and ends
- RF interrupt ends
- UART first interrupt ends
You can check this if you do something like
Miklos,
Actually, the TASKLET_IS_TASK flag is set in the BaseStation/Makefile,
so this issue has long been fixed in the CVS head. Of course, this was
done after the 2.1 release. And of course, this is not the best fix
for the issue.
Faisal, can you verify that you have the 2.1 release sources,
Miklos, Faisal,
I can't reproduce the problem. Here's my setup:
I have an unmodified basestation connected to the PC (the
TASKLET_IS_TASK flag is not set). I have two sender motes programmed
with RadioCountToLeds with 60 Hz timers. The Listen application
appears to be working fine, although
Janos,
Can you change in HplAtm128UartP.nc the two lines (USART0 and USART1)
AVR_NONATOMIC_HANDLER(SIG_USART1_TRANS) {
signal HplUart1.txDone();
}
into AVR_ATOMIC_HANDLER? Does that eliminate the bad packets?
Miklos
On Fri, Feb 27, 2009 at 9:35 PM, Janos Sallai
I had mica2 and telosB.
I was using TakaTuka JVM
(http://cone.informatik.uni-freiburg.de/people/aslam/takatuka/) and
calling TinyOS code from Java code.
My problem was much different and in the mean time I had solved it myself.
However, I thought your discussion is useful anyway hence I did not
Hi,
I'm trying to transfer data from mote to J2ME device using serial port.
I cannot use the tinyos java sdk as it doesn't seem to compile with
J2ME.
Does anyone have an example I could use to convert raw to java message
as I can't use the classes provided in tinyos.
Thanks
Joao
Hello, everybody
I tryed to run BaseStationCC2420 on telosb mote. After download.I had
finished using radio to get the data and then transmit to the serialport.but
failed in transmit the data from the serialport to mote.I am sure that the data
had been sended to mote.
my question is
Jain
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of afuba
edwin
Sent: Saturday, July 19, 2008 11:40 PM
To: tinyos-help@millennium.berkeley.edu
Subject: [Tinyos-help] Serial Communication in TInyOS2
Hi all,
I am new to TinyOS 2 and have trouble sending data packets to the pc
Hi all,
I am new to TinyOS 2 and have trouble sending data packets to the pc through
the serial port. The tutorial
only mentions the SerialActiveMessageC Component but how is it used ?
Edwin
___
Tinyos-help mailing list
Aleksandar Kovacevic wrote:
Can someone please tell me how the exact look of the raw packet should
look like in order for mote to understand/realize that the packet is sent.
so far what I know is:
01. byte:7E - Frame delimiter
02. byte: 43-45: Packet type
Hello again,
today I discussed this problem with a colleague and he pointed out that
we receive a, for us unexplainable, byte sequence from the reader, when
it is plugged in to the pc. The sequence occurs every time we open the
device file /dev/ttyS0 with plain cat or cutecom. If there is nothing
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Hi,
well, I repost my question with some further information.
I tried to find out what happens, when I call start() on the
SplitControl (which is the only thing that gets called in our
SerialInit.init()). The SplitControl turns out to be wired to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Dammit, I just, almost accidentaly, found where the ResourceConfigure
gets overloaded in one of my 30 open vims.
Several classes above in the PlatformSerialC we wire Msp430UartConfigure
from our TelosSerialP (which contains our
There is no difference at all for your application. For most of us,
the difference
between DTE and DCE is the cable you use to connect them. Once you set
up a uart, it will receive or send as required.
I haven't looked into setting up the serial on the motes at all, sorry
I can't help
you with
Thanks a lot for your answer. Well, i was implying this because it was
our only explanation for the situation. We just cannot figure out why
the reader talks with the pc, the telosb mote talks with the pc, but
they just won't talk with each other. :(
At least we can now stop anatomizing the serial
On May 16, 2008, at 2:31 AM, Christopher Schwardt wrote:
I tried to find out what happens, when I call start() on the
SplitControl (which is the only thing that gets called in our
SerialInit.init()). The SplitControl turns out to be wired to a
StdControl in our SerialProtoP. This again is
TUB has never officially maintained that code. AR were the last responsible
party as far as I can remember. Those last edits from us are probably
related to the union based configuration implementation.
Vlado
On Fri, May 16, 2008 at 5:30 PM, Philip Levis [EMAIL PROTECTED] wrote:
On May 16,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Hi there,
we are having a problem developing an application that communicates with
a smart card reader attached to our telosb mote.
The communication works between the pc and the mote and the pc and the
reader, but not if the mote and the reader
Greetings,
I am a newbie currently working on a project which uses TelosB motes to
send packets back and forth. Now I am connecting one of the motes to an
another microcontroller through UART - RS232 connection. Now the question
is, I want the microcontroller to be able to call command
Greetings,
I am a newbie currently working on a project which
uses TelosB motes to send packets back and forth. Now I am connecting
one of the motes to an another microcontroller through UART - RS232
connection. Now the question is, I want the microcontroller to be able
to call command
Hi,
I am a newbie in tinyOS and WSN stuff. Perhaps my question is a silly
question.
So, I was trying to make communicate the PC with the mote through serial-USB
connection. I am using Linux Xubuntu and mib510 serial gateway. I followed
the tutorial #4 by typing:
java TestSerial
but i got
The first, NoClassDefFoundError, problem is probably due to not having
your CLASSPATH set correctly or perhaps needing to specify a full
name for the TestSerial class (like you did for Listen). The CP needs
to include the root directory that leads to the TestSerial.class file.
Google CLASSPATH
Try java ./TestSerial. You may also need a -comm parameter; see the
tutorial.
Thanks,
Tal
The first, NoClassDefFoundError, problem is probably due to not having
your CLASSPATH set correctly or perhaps needing to specify a full
name for the TestSerial class (like you did for Listen). The
Please make sure that you have . in your classpath; such as
export CLASSPATH=$CLASSPATH:.
regards;
Peizhao Hu
Michael Schippling wrote:
The first, NoClassDefFoundError, problem is probably due to not having
your CLASSPATH set correctly or perhaps needing to specify a full
name for the
Thank you for the explanations .
It will be really usefull.
Maybe I'll find some time to write a small tutorial about all this when I'll
be comfortable with it.
Mathieu Van der Haegen.
On Nov 27, 2007 8:45 PM, Chad Metcalf [EMAIL PROTECTED] wrote:
Or perhaps I'll just jump directly into the
Hi,
I've done a few tests with my java application. It worked great. Nice
add-on!
On Nov 29, 2007 11:22 AM, Van der Haegen Mathieu [EMAIL PROTECTED]
wrote:
Thank you for the explanations .
It will be really usefull.
Maybe I'll find some time to write a small tutorial about all this when
Hi
I wondered if its possible to attach/connect a java serial listener to a
mote running inside tossim (I only need mote-pc serial for one of the
motes in the simulation). In that case, how would you specify the packet
source?
Regards
Jannick
Hi ! I think you should have a look on the messages talking about tossim-sf
.
look here for example :
http://mail.millennium.berkeley.edu/pipermail/sim-wg/2007-October/000100.html
or here :
Or perhaps I'll just jump directly into the fray. :)
There is indeed a SF for TOSSIM in CVS. You'll need to use CVS as there has
been a major interface change since 2.0.2.
The SF works with the standard tools (C, CPP, Java, Python). There is one SF
per TOSSIM instance. You'll need to set the
There are 3 motes: A, B, C with node id 0, 1, 2
node A is basestation, node B, C are using BlinkToRadio
In the first, we use the Listen tool to get the packet sent by node B, we
got:
00 00 01 22 06 04 00 06 00 01 00 01
00 00 01 22 06 04 00 06 00 01 00 02
00 00 01 22 06 04 00 06 00 01 00 03
00 00
LedsC doesn't automatically initialize. You have to call LedsC.init() from
StdControl.init() first.
On Mon, July 2, 2007 11:40 am, mai naaom said:
hi
i wrote a code to receive packets from the serial port and set the received
data on the leds i used the hyper terminal to send the data on it
On Jul 6, 2007, at 1:51 PM, Benjamin Madore wrote:
LedsC doesn't automatically initialize. You have to call LedsC.init
() from
StdControl.init() first.
I think this was a T2 and not a 1.x question... (hence interfaces
Boot, Packet, etc.). In T2, LedsC autoinitializes.
Phil
So where's the problem in my code?
On 7/7/07, Philip Levis [EMAIL PROTECTED] wrote:
On Jul 6, 2007, at 1:51 PM, Benjamin Madore wrote:
LedsC doesn't automatically initialize. You have to call LedsC.init
() from
StdControl.init() first.
I think this was a T2 and not a 1.x question...
hi
i wrote a code to receive packets from the serial port and set the received
data on the leds i used the hyper terminal to send the data on it ,this
code doesnt work
this the code
WHAT is wrong?
#include SerialB.h
module SerialBC {
uses interface Boot;
uses interface Leds;
uses interface
Hi,
On Monday 14 May 2007 13:39, [EMAIL PROTECTED] wrote:
I'm trying to write a simple serial listener application in C, using
the tools provided in /support/sdk/c. I've successfully compiled the
tools and run the example seriallistener program. However, I'm
having trouble getting my own
PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steve
McKown
Sent: dinsdag 15 mei 2007 16:45
To: tinyos-help@Millennium.Berkeley.EDU
Subject: Re: [Tinyos-help] Serial communication with C SDK
Hi,
On Monday 14 May 2007 13:39, [EMAIL PROTECTED] wrote:
I'm trying to write a simple serial listener
15, 2007 10:02 am
Subject: RE: [Tinyos-help] Serial communication with C SDK
Hi steve,
You have to give an extra argument to your compiler.
I had exactly the same problem in the past.
Try the -g option:
Gcc -g yourapp.c your_SDK_pathserialsource.c .
Try it and let me know
Hello,
I'm trying to write a simple serial listener application in C, using
the tools provided in /support/sdk/c. I've successfully compiled the
tools and run the example seriallistener program. However, I'm
having trouble getting my own programs to compile. I have a simple
test program
open_serial_source() -- and probably some other necessary
functions -- must be defined somewhere in the example C programs,
or perhaps in a library they use. You need to include these
functions with your new code, either brute force copy the
source into your test.c file, or link with .o or .a
Hello all!
I wonder how to do changing the serial communication method.
I'm testing each mote by connecting MIB510.
So, I have to check packets of each mote.
However, I know see only node0(basenode).
I want to see every mote's packet.
How should I fix this? Help me.
i.e.) I did
Hi,
How did you connect 10 MIB510 programming boards to your computer? Did
you use 10 serial2USB adapters?
You'll have to modify the PC based program to open 10 connections, one
for each of the MIB510s attached to the computer.
Or if you use the MIB510 only as a power supply to the motes,
Ok, thank you, I have found a modem working on TTL!
2007/3/13, Michael Schippling [EMAIL PROTECTED]:
In short no...the signals at the board are logic level -- 0-3.3v --
and RS232 swings +/-5v (or 3 or something...anyway it goes negative).
Timing is OK however, as long as everyone agrees on the
Hi,
I would like to connect a modem to my micaz. The problem is that I must
wire the serial pins directly, without the programming board, to an
embedded modem. Then my question is: Are the TX and RX signals of the
micaz pins compatible with the TX and RX signals in the RS232 connection
of a
In short no...the signals at the board are logic level -- 0-3.3v --
and RS232 swings +/-5v (or 3 or something...anyway it goes negative).
Timing is OK however, as long as everyone agrees on the baud rate.
There are inexpensive chips to do the level conversion...MAX232 comes
to google
Hi Tony,
Thanks a lot,, i have ibm JVM only installed,, and earlier the Classpath
was not pointing to /opt/ibm/java... so i set it right so the first
problem went away...
The problem i am facing is in trying to Listen
I have set MOTECOM environment variables as given in
64 matches
Mail list logo