Hi;
I work with BSN(body sensor network), a kind of sensor similar to telosb,
I want to use the RssiDemo.java to read 3 fields of data(the rssi value and
also two other values since my message_t holds two other values beside the
rssi value)
Does anybody know how can i do that?
this is just the regular code from the tinyos tutorial:
*public void messageReceived(int to, Message message) {*
*RssiMsg msg = (RssiMsg) message;*
*int source = message.getSerialPacket().get_header_src();*
*System.out.println("Rssi Message received from node " + source + *
*": Rssi = " + msg.get_rssi());*
*}*
Thanks
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help