Appendix B. Configuring
settings and retrieving status
information with the CRBasic
program
B.1 Using the SetSetting() instruction
NOTE:
This functionality is available in the CR1000X, CR300-series, and CR6 dataloggers only.
This
example
shows
how
to
set
up
the
cellular
module
using
the
SetSetting()
instruction.
It
also
illustrates
how
to
retrieve
status
information
from
the
module
in
the
CRBasic
program.
This
program
can
be
downloaded
from
/miscellaneous/CELL2XX-SetSettings.dld
.
CRBasic Example 2: Settings configuration and status retrieval
'CR300 Series
Public
battery_voltage
Public
panel_temperature_c
'cell modem diagnostic information
Public
cell_todays_usage
:
Units
cell_todays_usage = KB
Public
cell_yesterdays_usage :
Units
cell_yesterdays_usage = KB
Public
cell_this_months_usage :
Units
cell_this_months_usage = KB
Public
cell_last_months_usage :
Units
cell_last_months_usage = KB
Public
cell_rssi
As Long
:
Units
cell_rssi = DB
Public
cell_info
As String
* 400
Public
cell_ip_address
As String
* 40
Public
cell_rsrp
As Long
Public
cell_rsrq
Public
cell_ecio
Public
cell_status
As String
* 300
Public
cell_state
As String
* 100
CELL200-Series 4G LTE Cellular Module
60