Module does not receive data through UART, help with TinyOS
Postby Telosb ยป Tue Jul 15, 2014 6:47
Dear Memebers,
i am new to the tinyos programming. I am working with the KMoteB from:
http://www.tinyosmall.com/product_p/100-101.htm
I use the YETI2 Plugin and the TinyOS compiler.
The problem is, that if i send data via printf through the Serial Interface to the computer, i am able to receive it as sended. On the other hand the PC-to-Mote Communication does not work. The RX LED light up, but the data, for example the 'u' send through ubuntu does not trigger the receive event.
event message_t* UartReceive.receive(message_t* bufPtr, void* payload, uint8_t len)
{
call Leds.led2On();
printf("Receive\n");
printfflush();
return bufPtr;
}
I am trying to implement this Code:
http://embedntks.com/tinyos-uart-sending-raw-data/
Does anyone know where the problem might be?