On Fri, Jun 27, 2008 at 2:35 AM, Philipp Küderli <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I use the CTP CollectionC to forward my data to the sink. Then I want to
> send the data to the PC using the serial port. When I use AMSend for
> normal sending or the CollectionC in the lqi package, I just can forward
> the messages to the serial port to my Java application, which uses for
> my data a message class generated by mig.
>
> I am not sure, but I think the Java application cannot read the received
> data correctly, because the ctp implementation writes into the payload
> of the message, is this true?
>
> If I cannot forward the ctp message directly, how should I forward it in
> the most efficient way?
>

CTP does not forward the packets to the UART. You can take a look at
tests/TestNetwork, which shows how an application can forward the
packets received at the sink to the UART.

- om_p

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to