You should be able to just hack up Listen.java and replace the
Dump class with your logging code. I haven't even used SerialForwarder,
but my personal belief is that it just forwards packets wholesale
and adds no extra protocol jumble. In any case the code beneath
PacketSource should handle those issues for you. Remember that what
you get in the packet is the binary TOS_Msg struct, perhaps your
85 and 32 values are someone's attempt to interpret ASCII from such.
MS
Ian Welch wrote:
Hello, I'm trying to write some custom App's to log packet data and
such. I have a machine running SerialForwarder and it seems to be
working fine. I can connect to the host machine with the Listen java
tool. How can I connect to the Host running serial forwarder with my
own application? When I connect I read two bytes: 85 and 32. Do I need
to send back an acknowledgment? I will only need my apps to receive
data, they need not send data to the serial forwarder.
Thanks
------------------------------------------------------------------------
_______________________________________________
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