If you are formatting the send string yourself you are probably
bound to do something wrong. Usually the CRC calculation, but
it could be anything...If you are using Java, look at the
Packetizer.java class to do the heavy lifting. You can see an
example of sending and receiving in my (old) code bolus:
    http://www.etantdonnes.com/Motes/robocode.tar.gz

MS

David Sanchez wrote:
Dear All,

 > > > I'm actually working in a TinyOS project with mica2 motes and MIB510
 > > > gateway, all of CROSSBOW.
 > > >
> > > I have written a program in java for PC-Mote communication. The Mote -> PC > > > it works correctly and I can view the messages that the motes send but the
 > > > side PC -> Mote it doesn't work right.
 > > >
> > > I am trying to send the 7E 42 04 00 11 7D 5D 00 01 01 7E but motes in the
 > > > network have anything.
 > > >
> > > PD: The program in the motes is symple so I think the problem it is how to
 > > > send the data via the MIB510 and the serial packet format.
 > > >
 > > > Anybody can help me?,
 > > >
 > > > Thanks in advance,
 > > >
 > > > see you son,

David
*****************************************************
David Sánchez Sánchez
Systems Integration Dept. (Power Devices and Systems)
Centre Nacional de Microelectrònica (CNM-CSIC)
Campus Universitat Autònoma de Barcelona (UAB)
08193 Bellaterra (Barcelona)
Tel. (+34) 93 594 77 00, Ext. 2216, 2225, 2226
Fax. (+34) 93 580 14 96
E-mail: [EMAIL PROTECTED]
Web site: www.cnm.es
*****************************************************

_______________________________________________
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