There are two levels of packet formatting.
First is related to 'Serial.h', and second is related to delimiting
and escaping.
Serial.h has been modified (2.0.0->2.0.2->2.HEAD)...
so you might have problems if you have different versions of code...
or TEPS might not have been updated.
Regarding the
Dear Greg,
Thanks for your information, that's really helpful. But I found out that the
example illustrated in TEP 113 section 3.6 was incompatible with the java
code and the structure defined in Serial.h. I think there should be two
bytes between the destination address (be ef) and the data lengt
Li Jianfeng wrote:
> And then I send a package "00 FF FF 00 00 01 00 09 05" from UART, but
> nothing happened, even the red light that indicates having receive a
> message from UART did not on at all. I modified the package as the the
> format of UART receiving message from mote, that is "7E 45
Hi all,
I am trying to send control messages from PC to motes through UART. Since
the program run on PC was written in C#, I could not use the java code
directly. I tried to confirm the package form by modifying the TestSerial
application as follows:
/*TestWriteSerial.h*/
#ifndef TEST_WRITE_SERIA