Hi, I'm writting an applicacion to receive data from the motes and also to send a brodcast to them. I using micaz motes with the GenericCommPromiscuous and with MultiHopRouter. And also I have generated the java files with MIG.
The first problem I had was that the data extracted of the packets beeing received by SerialForwarder was wrong. I look at the full hexadecimal print and I noticed about extra 7 bytes at the left of the payload (it seems to have data of the multihop because other motes than 0 put data in it), so I edited the mig generated java file to add a 7 bytes offset to the "offset_get" functions and it worked just fine. The problem that I have now, is on sending the broadcast. I'm using the original generated "command message" java file, but it seems to have the same problem on decoding the message (the broadcast gets received, I turn on a led on receiving). I put the UARTComm component to check an it understands the packets without problem (just on the mote 0). What I can do to success on broadcasting messages to the network? Perhaps a problem with MIG or SerialForwarder? Thanks in advance. Edgardo Avilés López _______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
