Page
10
of
60
©
2019 Radiocrafts AS
MBUS User Manual (ver 2.01)
MBUS USER MANUAL
Command
Parameter
MBUS
3
MBUS
4
S
to
red in
N
V
M
(F
las
h
)
S
to
red in
R
AM
ASCII
hex
‘4’
0x34
Test mode 4
✔
✔
✘
✔
‘7’
0x37
Test mode 7
✘
✔
✘
✔
‘8’
0x38
Test mode 8
✘
✔
✘
✔
‘@RC’ 0x40 0x52 0x43 Reset Configuration to factory defaults
✔
✔
✘
✔
‘@RR’ 0x40 0x52 0x52 Reset Radio
✔
✔
✘
✔
2.3 UART Interface
– Send and receive messages
The module acts as a buffered packet radio, hence all data to be sent is stored in the module before they are
transmitted by the RF circuitry. Likewise, when data is received they are stored in the module before they are sent
to the host. This allows the communication controller to add address information, CRC and encryption during
transmission, and to do error check and decryption of the received data.
In normal data mode, the first byte sent to the module is interpreted as the length field. The module will then read
that number of bytes from the UART, add packet information according to module configuration and transmit. The
maximum length of the message sent to the module is 0xF6, the minimum length is 0x01. The maximum length
corresponds to 255 bytes including the link layer as transmitted on the air.
The length byte values > 0xF6 have been given some special meaning in the RC modules and are referred to as
“softcommands” since they are commands that are sent when the module is in normal data mode and not in
command and configuration mode.
Table 3
– Softcommands.
Length byte /
soft command
MBUS
3
MBUS
4
Set
0x00
✔
✔
Set the module in command and configuration mode
0x01-0xF6
✔
✔
Legal length values
0xF7-0xF9
✔
✔
Illegal length values. Reserved for future use. Module will return to IDLE.
0xFA
✘
✔
Override LBT
0xFB
✘
✔
No response message to be sent, module will go to IDLE mode
0xFC
✘
✔
“Key challenge” transfer from host to module
0xFD
✘
✔
Set module in IDLE mode, enable RF receiver (use after SLEEP)
0xFE
✔
✔
Module will send “empty” message (link layer only, no application layer)
0xFF
✔
✔
Set module in IDLE mode, disable RF receiver (UART only)