RC11xx(HP)-TM
RC25xx(HP)-TM
RC17xx(HP)-TM
2016 Radiocrafts AS
RC11xx(HP)/25xx(HP)/17xx(HP)-TM Data Sheet rev. 1.48 Page 65 of 86
2016 Tiny Mesh AS
Radiocrafts
Embedded Wireless Solutions
Packet Mode Serial Communication, Test and Demo
Configure the Gateway Device for Packet Mode Operation
Set a known Unique ID for Router Board, to enable addressed Communication from Gateway
Device
Transmit addressed serial data from Gateway Device
Transmit transparent (unformatted) serial data from Router Device
Gateway Board Preparations
Change Gateway Device from Transparent to Packet
Mode operation
1.
Click
, then press the CONFIG button on the
Gateway demo board to set the Gateway
Device in Configuration mode
2.
Click
to read back the Configuration
Memory contents
3.
Locate the '
Protocol mode
' cell
4.
Change
Protocol Mode
to 0, to select Packet
Mode
5.
Click
to save the new configuration
6.
Click
to Exit Configuration Mode
Router Board Preparations
Set known Router Device Address (UID)
1.
Click
, then press the CONFIG button on the
Router Demo Board to set the Router Device
in Configuration Mode
2.
Click
to read back the Configuration
Memory contents
3.
Scroll down to (0x2a)
Unique ID0
cell
4.
Set UID0=2, UID1=0, UID2=0, UID3=0
5.
Click
to save the new configuration
6.
Click
to Exit Configuration Mode
Transmit from Gateway Device:
Enclosed within Apostrophes ('), enter:
Packet length (Total number of bytes):17
Router UID: 2 0 0 0
Selectable Command Number: 1
Command Type Serial: 17
Text String:Hello Tiny
Enter text string, then click
Paste String: '17 2 0 0 0 1 17'Hello Tiny
Observe response:
COMMAND RECEIVED AND EXECUTED
Observe:
Text string received in
clear text
Hello Tiny
Observe:
Serial Data packet received by Gateway Device:
SERIAL DATA MESSSAGE
Transmit from Router Device:
Enter text string in clear text, then click
Text String: Hi Meshy
Serial Data Packet
Command Received
and Executed