[Tinyos-help] apps/BaseStation does not work after update using CVS

KANG HUI huk at a.cs.okstate.edu
Mon Oct 23 06:50:50 PDT 2006


Hi, Tie,
I met the same problem. Say, for Osciscope, I can get the message
successfully, but Listen.java prints 'bad packet.'
Can you receive the message?

Hui

On Mon, 23 Oct 2006, Tie Luo wrote:

> When using apps/BaseStation to communicate with tools/Listen.java,
> Listen.java prints '/dev/ttyS0:57600 - bad packet'
> What is the simplest way to fix the problem incurred by the updated serial
> protocol?
>
> On 10/23/06, Tie Luo <tieluo at gmail.com> wrote:
> >
> > Please ignore my previous email on Java program; when I wrote that email I
> > did not notice your reply.
> > I will look into the new TEP.
> > BTW, can you tell me what modification should be made to BaseStation to
> > make it work?  It is not changed accordingly with the update of the serial
> > protocol. Thanks alot.
> >
> >
> >  On 10/23/06, Philip Levis <pal at cs.stanford.edu> wrote:
> > >
> > > On Oct 22, 2006, at 8:23 PM, Tie Luo wrote:
> > >
> > > > After update the whole tinyos 2.x in October, using the develop
> > > > branch, the apps/BaseStation does not work. In particular, using a
> > > > Java program to open and write a message to the BaseStation via
> > > > serial port will return error.  While the same code can run on the
> > > > previous version of tinyos.
> > > >
> > > > I have checked that BaseStation has not changed in the new version,
> > > > so I think this problem is due to the change to serial comm codes.
> > >
> > > The serial protocol has changed. Please read TEP 113.
> > >
> > > Phil
> > >
> >
> >
> >
> > --
> > Regards,
> > Tie
>
>
>
>
> --
> Regards,
> Tie
>



More information about the Tinyos-help mailing list