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

Reply via email to