
OPERATION GUIDE
OG_STD-601B_v40e
Circuit Design, Inc.
15
10. Commands and responses
10.1 Control commands & responses
Control command basic format
Prefix (
'@')
+ command name + value + [CR]
Prefix:
'@' = 40h
, a code that indicates the start of the command string.
Command name: An ASCII code of one character.
Value: An ASCII code of two characters corresponding to each command.
Control response basic format
Prefix (
'*')
+ command name + value + [CR] + [LF]
Prefix:
'*'=2Ah
, a code that indicates the start of the response string.
Command name: An ASCII code of one character corresponding to the received
command.
Value: An ASCII code of two characters corresponding to each command.
* When issuing commands, unless otherwise stated, make sure that neither TXSEL nor RXSEL is
selected.
*When issuing the default setting commands ('@D','@G','@H', '@O'), confirm that the power supply is
stable. Turning off the power during the command issue may damage the data to be stored.
10.2 "@C"
Frequency channel setting
Sets the channel to be used.
Specify the channel following
'@C'
with the ASCII code of two characters.
The default setting is 4Ach (434.0MHz). The default channel can be changed with the "@D" command.
Value: '0''0' - '8''8' (ASCII codes indicating the channel numbers of 0 to 136)
Example: Change the channel to
0Fh.
Control command: @C0F
Control response: *C0F
10.3 "@D" Default frequency channel setting
Changes
the current and default frequency channel.
Specify the channel following
'@D'
with the ASCII code of two characters.
The default setting is enabled when the power is turned on again.
Value: '0''0' - '8''8' (ASCII codes indicating the channel numbers of 0 to 136)
Example: Change the current and default channel to
4Dh.
Control command: @D4D
Control response: *D4D