[Tinyos-help] Problem sending packets - Serial to MIB510
Cabrera-Mora, Flavio
FCabrera-Mora at gc.cuny.edu
Thu Mar 13 13:44:21 PDT 2008
Dear sirs,
Im working in an application using micaZ motes and tinyOS2.
The settings: the basic configuration consists of a micaZ (from now on, the base) plugged on top of a MIB510 board, and this board connected through a serial port to a computer. The computer runs Debian Linux. On the base I installed the Basestation application (the one that comes with the tinyOS installation software). I need the robot to send a packet through the serial port to the base so the base can send that packet through the radio to other motes. The payload of such packet is only 1 byte. I'm not using any java applications.
The problem: Although the computer is sending packets through the serial port, the Basestation application on the base is not doing anything with it. I suspect the problem is that the format of the packet being created and sent by the computer is not in the same format the BaseStation application wants it. I have modified my code endlessly (changing the format of the computer packet) with no luck at all.
The questions: is my diagnostic of the problem correct? If so, could anybody tell me what this format must be? So far, I know that the basic structure is [header][Payload][sync byte] but when looking over the internet, people disagree about the number of fields (bytes) on the packet.
Thank you very much for your help.
Regards,
Flavio Cabrera-Mora
EE Department
The Graduate Center - CUNY
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20080313/d10d3782/attachment.htm
More information about the Tinyos-help
mailing list