On Thursday 01 March 2007 12:29, walid hamdi wrote: > Hi All! > > I have a question concerning UART. > > Java application do not function in my computer so > BcastInject does not function, is there any other > possibility to send packets with UART? > Because I want to read Logs from many sensors and if I > send a radio packet one mote, all other motes will > loose the Logged infos when not connected to the > programming board.
You could use the C API that the serial forwarder uses to interact directly with the uart, if you want. And there are helper functions to parse packets read and build them up to send. At least that's the case in tos2. Go to /opt/tinyos-2.x/support/sdk/c and type 'make'. Then you can use the API interfaces in serialsource.h, serialpacket.h and message.h. We built a daemon running on an embedded ARM linux system using this approach and it is working well. Steve _______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
