please work through the tutorials.

AMSend.send is split phase.   That means a signal comes back when the
AMSend.send completes (AMSend.sendDone).

This is convered in the tutorial.   It is best prior to bothering other
folks with your questions that you do your homework.

On Sun, Oct 16, 2011 at 2:10 PM, Jude Allister <[email protected]>wrote:

> How does one send messages to the UART port rapidly?
>
> the basic flow is like this
> message_t* pkt;
>
> LEDMSG* packet= (LEDMSG*)(call Packet.getPayload(&pkt, sizeof (LEDMSG)));
>
> packet->value1 = 10;
> packet->value2 = 20;
> call AMSend.send(0x7E, &pkt, sizeof(LEDMSG));
>
> packet->value1 = 64;
> packet->value2 = 128;
> call AMSend.send(0x7E, &pkt, sizeof(LEDMSG));
>
> packet->value1 = 485;
> packet->value2 = 213;
> call AMSend.send(0x7E, &pkt, sizeof(LEDMSG));
>
> Only one of the 3 calls makes it to the UART port's listen utility.  How
> can I get around this?
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
Eric B. Decker
Senior (over 50 :-) Researcher
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to