Hi Daniel,
 
In this case, You may extract the information seperately by using the OscopeMsg class.
Then try it's methods like get_sourceMoteID(), get_channel() or else.
 
However, have you tried the "Listen" tool?
The usage is "java net.tinyos.tools.Listen".
 
Good Luck,
Chalermphol

 
On 12/15/05, Daniel Larsson <[EMAIL PROTECTED]> wrote:
Hi

I'm using OscilloscopeRF together with TOSBase and SerialForwarder to make the packets available over the network.
I was able to connect to the SerialForwarder server on port 9001, but how do I read the packets and extract the information from them in java?

The start of my code looks something like this:

Socket sock = new Socket(server_name, TCP_PORT);
DataInputStream is = new DataInputStream(
    new BufferedInputStream(sock.getInputStream( )));
           

Regards, Daniel
_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help



_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to