Hello; I'll tell you what I've been told by Steve McKown when asked about something similar:
quote: "Then you should look at the C SDK @ $TOSROOT/support/sdk/c. It can handle the the serial protocol for you; you get to read and write serial active messages and dispense with the framing/ack/crc stuff. Highly recommended; I use it in a couple of systems. The sdk also provides tools to get/set header fields and arbitrary payload fields that are defined by your application. There's been a couple of discussions about the C SDK on this list in the last few months. You might also want to look at the MultiHopOscilloscope app, included in TinyOS-2.0.1, which uses the Collection interface. The PC side code uses the Java SDK, but I'd imagine it's a good source of information." I never used it cause it wasn't what I was trying to do, but it seems that's what you wish to do. Please check it, it might help you out. There's also Java and Python equivalents if you don't with to use C. Regards, Pedro On 7/3/07, basma tantawi <[EMAIL PROTECTED]> wrote:
hi, We want to use the UART module in mica2 to receive data from the PC. We used the hyperterminal to send to the mote but Leds don't toggle when receiving from serial as we adjust them. Is the problem in the HyperTerminal? should we use another program? what is the length of data we should send in case not using a message_t structure? , further more how can we receive data from the UART module and put it an a variable and override the message_t methods.......? thanks in advance regards, Basma _______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
