Dear Daniel, In tinyos 1.x the packet include bytes for syncronization each frame (7E). I`m use Dockligth hiperterminal for this task. http://www.docklight.de/
Example: 7E 42 2C 01 08 00 FF FF FF FF 0F 9D 02 00 00 00 00 00 09 00 00 00 00 07 03 01 F0 86 7E 7E 00 The crc is: F0 86 the crc calcule only include: 42 2C 01 08 00 FF FF FF FF 0F 9D 02 00 00 00 00 00 09 00 00 00 00 07 03 01 Jorge Higuera http://isi.upc.es > ------------------------------ > > Message: 2 > Date: Thu, 18 Dec 2008 19:53:24 +0000 > From: "[email protected]" > <[email protected]> > Subject: [Tinyos-help] Java (TestSerial) packet format > To: [email protected] > Message-ID: <[email protected]> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Hi everybody, > > We have successfully manage to communicate with base > station mote using > java support. But what we really want to do is communicate > with the base > station using matlab. For that we are trying to understand > the packet > format that java is sending to the motes, so that we can > try sending it > in matlab. > > We print the message sent with java, and this is what we > get: > > 01 00 00 04 00 07 00 01 00 00 > > Destination address: 01 > Source address: 00 00 > Message Lenght: 04 > Group ID: 00 > Data Type: 07 > Payload: 00 01 00 00 > > Does java send the packet with crc bytes? > We are not able to send with the fwrite command in > matlab?Why is that > so?Is it packet format?Some serial configuration? > > Thanks in advance, > Daniel Jorge > > _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
