Command protocol
9-19
?VST[V]
This query command
#LR?VST*
requests the power supply status.
The reply provides the code as follows:
•
0 for battery supply
•
1 for external supply connected and battery charge completed
•
2 for external supply connected and battery under charging
Example of reply:
VST=1
which indicates the external 5V supply is connected and the
battery is fully charged.
Note: it is possible to obtain the information including the description, issuing the command
#LR?VSTV*
Example of reply:
VST=0 (Battery)
?WFI
This query command
#LR?WFI*
requests the status of the Wi-Fi module
The reply is as follows:
•
WFI=OFF
when the module is switched OFF;
•
WFI=BLE
when the Bluetooth LE is active;
•
WFI=ON
SSID :
stringSSID
Signal Strenght :
dBm
Local IP Address :
IPv4_Address:Port
If no IP address has yet been assigned to the unit, or it has not been possible to connect to
the network, Local IP Address shows “waiting for connection”.
Examples of reply:
WFI=ON
SSID : Redmi Note 11
Signal Strenght : -87
Local IP Address : 192.168.0.21:6666
Which means that the unit is connected to the Redmi Note 11 Wi-Fi network. The radio
signal strength is -87 dBm and the assigned IP address is 192.168.0.21. The connection is
through the port 6666.
?WLOG
This query command
#LR?WLOG*
requests the binary Log file via wireless
communication.
NOTE: It works via BLE and Wi-Fi ports only. Please, refer to command ?LOG to download
data via fiber optic or USB connection.
The reply starts with string
LOG_S
and is terminated by the string
LOG_E.
The first 128 bytes (LOG_S included) represent the header; the following data represent the
records of 32 (or 64) bytes each.
Please, refer to the binary Log file paragraph at the end of this chapter for further details
about the binary file.
Summary of Contents for LR-01
Page 72: ...2 12 Installation and use This page has been left blank intentionally...
Page 76: ...3 4 Probes Manager software installation Click Next to proceed installing...
Page 116: ...5 4 Firmware Update This page has been intentionally left blank...
Page 168: ...9 40 Command protocol This page has been left blank intentionally...
Page 192: ...11 4 Service This page has been left blank intentionally...
Page 194: ...Suggerimenti Commenti Note Suggestions Comments Note...