Basicly: 1. Generate java classese from messages (check man mig, or a makerule of the examples how to do it) in java: 2. Open a PhoenixSource connection 3. Create MoteIF and call mote.registerListener for your message type 4. In messageRecevied cast the Message to your message type, and you can access the fields. Call .dataGet() for the byte[] stream.
2011.05.25. 13:13 keltezéssel, Saif Ahmad írta: > yes but how, what are the steps to go about this. > > 2011/5/25 Viktor Zsoldos <[email protected] <mailto:[email protected]>> > > Simplest way is to check existing solutions, like apps/oscilloscope/java, > or AntiTheft/java. > > Viktor > > 2011.05.25. 12:05 keltezéssel, Saif Ahmad írta: > > How can I use MIG to parse the output I receive through the serial > USB port. I have already read the tinyos documents regarding MIG but has > not helpeed much. > > > _______________________________________________ > Tinyos-help mailing list > [email protected] > <mailto:[email protected]> > > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > > _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
