I might be having the identical problem to you I think. I receive a messge via ReceiveMsg, copy the TOS_Msg struct to a new buffer, and then send that to TOS_UART_ADDR. It actually sends the 0x7e character(which is the boundary character to a tiny packet) each time but nothing else.
If we have the same problem with different implementations, maybe seeing what is common could help us. What configuration do you wire to for the SendMsg interface? Anyway please let me know if you figure it out. On Wed, 16 Feb 2005 15:53:26 -0500, Raghu Ganti <[EMAIL PROTECTED]> wrote: > Hi > I was wondering which is the module which is currently being used > for sending and receiving packets. I am using the GenericComm and > facing some problems when it comes to sending packets over UART, I > use the SendMsg.send method with TOS_UART_ADDR as the parameter. But, > the packet fails to be sent over the UART. > I receive a packet using the ReceiveMsg.receive and then encapsulate > it to check for different messages. Then, if it matches certain > requirements, then I send it over the UART else send a packet over the > radio, but the UART send fails! > > Could someone help me? > > Raghu > _______________________________________________ > Tinyos-users mailing list > [email protected] > http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-users > _______________________________________________ Tinyos-users mailing list [email protected] http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-users
