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 50 of 86
2016 Tiny Mesh AS
Radiocrafts
Embedded Wireless Solutions
Module Configuration
Module configuration settings may be changed in-circuit from a host MCU during operation, at the time
of installation of the equipment, at the manufacturing test, or as wireless configuration commands issued
by the Gateway device in a live mesh network.
Configuration Commands
Tinymesh™ modules may be configured during normal operation in an operating mesh network, by
using the
SET CONFIGURATION COMMAND.
Routers as well as Gateway Devices may be configured
using this method.
RF CHANNEL
,
RF DATA RATE
,
UNIQUE_ID
and
SYSTEM_ID
may be changed by the
SET
CONFIGURATION COMMAND
while the
SYSTEM_ID
is set to the factory default value (0 0 0 1).
After the
SYSTEM_ID
has been changed to a value different from the default setting, the above
parameters will be locked for configuration, to avoid losing contact with an operating module in a live
network.
It is possible to override the configuration locking
10
by setting the
CONFIGURATION LOCK OVERRIDE
= 1.
After setting the desired parameters, it is advisable to reset the
CONFIGURATION LOCK OVERRIDE
parameter to its default setting = 0.
Gateway Devices in
PACKET MODE OPERATION
may be forced to enter
CONFIGURATION MODE
by
issuing a
SET GATEWAY IN CONFIG MODE
command over the UART, as an alternate means to
asserting the
CONFIG
input low.
Configuration Mode
Tinymesh™ modules will enter Configuration Mode by pulling the
CONFIG
pin low, for direct UART
configuration of the module. The Configuration Mode allows a local MCU full control for reconfiguration
on the fly, and is highly useful for system development and test.
In Configuration Mode, the module will signal response to commands by sending a ‘>’ prompt on the
TXD pin. The prompt indicates that the module is ready to receive new commands.
The
CONFIG
pin may then be de-asserted.
Note that the
CONFIG
pin must be de-asserted
before
the Exit command (‘X’) is sent to the module, in
order to return to normal operation.
After a command has been executed, the module responds with the ‘>’ prompt character, indicating it is
ready for a new command. New commands must not be entered before the ‘>’ prompt has been
received. The time required to execute a command may vary depending on the command (see the
Timing Information section). There is no ‘>’ prompt after the ‘X’ exit command.
Function
Code
ASCII
(Hex)
Argument
Response
Note
Get RSSI
‘S’ (0x53)
No Argument. Single byte RF signal
strength
See
RSSI READING (S-
Command)
Get
Temperature
‘U’ (0x55)
No Argument. Single byte device
temperature.
See TEMPERATURE READING (U-
COMMAND)
Get Voltage
‘V’ (0x56)
No Argument. Single byte device
supply voltage.
See
POWER SUPPLY VOLTAGE
READING (V- COMMAND)
Read
Configuration
Memory
‘Y’ (0x59)
Address
0x00 – 0x7F
Single byte
configuration memory
value.
Return single byte value from the
configuration memory.
Write
Configuration
Memory
‘M’
(
0x4D)
Pairs of
address and
data bytes.
No Response
See SET CONFIGURATION MEMORY
(M- COMMAND)
Reset Memory
‘@TM'
(0x40 0x54
0x4D)
No argument
No Response
Restores configuration memory to
factory default values.
Exit
‘X’ (0x58)
No argument
No Response
Exit to normal operation mode. All