WIRELESS CONNECTIVITY & SENSORS
ANR022 - Radio module cross migration guide
4.2.2.2 Command mode
As described above, in command mode hexadecimal commands are used to control the radio
module. Both, the
sub-GHz proprietary module
and the Thyone-I, use a similar command
structure, whereas the Thyone-I uses a 2-byte length field and the
sub-GHz proprietary mod-
ule
uses a 1-byte length field:
Start signal
Command
Length
Payload
CS
0x02
1 Byte
2 Bytes
Length Bytes
1 Byte
Table 4: Command structure of the Thyone-I
Start signal
Command
Length
Payload
CS
0x02
1 Byte
1 Byte
Length Bytes
1 Byte
Table 5: Command structure of the
sub-GHz proprietary module
Furthermore, the commands themselves differ. See the
CMD_DATA_IND
command for example,
that outputs the radio data on the UART:
Start signal
Command
Length
Src Addr
RSSI
Payload
CS
0x02
0x84
2 Bytes
4 Bytes
1 Byte
(Length - 5) Bytes
1 Byte
Table 6:
CMD_DATA_IND
command of the Thyone-I
Start signal
Command
Length
Payload
RSSI
CS
0x02
0x81
1 Byte
(Length - 1) Bytes
1 Byte
1 Byte
Table 7:
CMD_DATA_IND
command of the
sub-GHz proprietary module
Besides the length of the Length field as already described, the Command byte itself (
0x81
vs.
0x84
) as well as the location of the remaining fields changed.
As consequence of this all commands must be updated to the new commands.
Please note that the Wireless Connectivity SDK [1, 2] implements all these
commands. Thus, only the driver of the
sub-GHz proprietary module
must be
replaced by the Thyone-I driver to update the application to the new commands.
4.2.3 Radio interface
4.2.3.1 Network and mesh
Both, the
sub-GHz proprietary module
and Thyone-I, provide several network topologies.
Data can be transmitted from point to point (unicast), point to a sub net (multicast) or point to
19
Version 1.1, July 2023