Download RP-COM(FIT)GY

Transcript
5. Setup
(9) @RST
Operation
Reset the device.
Used to apply new settings after saving.
Format
@RST CR
Response
OK
Example
=>”@RST” CR Reboot the device.
:
Normal end
<=”OK” CR LF Normal end
(10) @CTB
Operation
Clear any data waiting to be sent.
Format
@CTB CR
Response
Nothing
Example
=>”@CTB” CR Clear send data.
(11) @VER
Operation
Read device version number.
Format
@VER CR
Response
Loader version, Firmware version
Example
=>”@VER” CR
Read version number.
<=”Loader
A loader version is 1.00.
OK
:
Normal end
: 1.00” CR LF
<=”Firmware: 1.00” CR LF
A firmware version is 1.00.
<=”OK” CR LF
Normal end
(12) @TXT
Operation
Send text data to specified device.
The destination device ID can be in the range 0 to 255, where 255 specifies
broadcasting.
The sender device ID can be in the range 0 to 255, where 255 causes the device ID
of this device to be set automatically.
The maximum length of data is 1448 bytes. The end of the data is indicated by a
CR (carriage return).
Format
@TXT(Destination device ID<3 Beams >)(Sender device ID<3 Beams >)(Text
data) CR
Response
Nothing
Example
=>“@TXT002001”, “HELLO” CR Send the 5 characters “HELLO” to device ID
002.
RP-COM(FIT)GY
45