User's Manual
To send the string "Hello World" the corresponding
CMD_DATA_REQ
has to be inserted into the
input line of hterm. The "Type" needs to be change from "ASC" to "HEX" before entering the
first byte. The command
CMD_DATA_REQ
has the following structure:
Start signal Command Length Payload CS
0x02 0x00 1 Byte Length Bytes 1 Byte
In this example the payload 0x48 0x65 0x6C 0x6C 0x6F 0x20 0x57 0x6F 0x72 0x6C 0x64
0x21 (Hello World!) has a length of 12 (0x0C) Bytes. The checksum CS is a XOR conjunction
of all previous bytes, which is 0x0F in this case.
Using the "ASend" button followed by pushing the "Start" button sends the data once. The
second module receiving this packet outputs a
CMD_DATAEX_IND
message containing the
transmitted payload data and the corresponding RSSI value.
In the default address mode (
MAC_DefaultAddressMode
= 0), the format of the
CMD_DATAEX_IND
is as follows:
Start signal Command Length Payload RSSI CS
0x02 0x81 1 Byte (Length-1) Bytes 1 Byte 1 Byte
Thus, the
CMD_DATAEX_IND
message informs us that we received a packet with payload of
13 (0x0D) Bytes. 12 byte of these Bytes are the transmitted user payload 0x48 0x65 0x6C
0x6C 0x6F 0x20 0x57 0x6F 0x72 0x6C 0x64 0x21 (Hello World!) and one byte is the RSSI
value, here 0xD9 (-39dBm in two’s complement notation).
Themisto-I reference manual version 1.0 © August 2019
www.we-online.com/wireless-connectivity 18










