Campbell CELL205 Product Manual page 79

4g lte cellular module
Hide thumbs Also See for CELL205:
Table of Contents

Advertisement

CRBasic Example 3: CELL200 series settings configuration and status retrieval using terminal
Public
modem_previous_month_usage
Units
modem_previous_month_usage = kB
Public
modem_rsrp
Public
modem_rsrq
Public
c modem_rssi
Public
modem_sdc_address
Public
modem_state
Public
modem_is_off
Public
modem_reset_needed
'variables used to parse the strings returned by the modem.
Const
CRLF = CHR(13) & CHR(10)
Public
returned_value
'Temp string to hold the values returned by the modem
'Other variables
Public
battery_voltage
Public
panel_temperature_c
DataTable
(CELL_DIAGNOSTICS, TRUE, -1)
Sample
(1, modem_apn,
Sample
(1, modem_battery_voltage, FP2)
Sample
(1, modem_current_day_usage, IEEE4)
Sample
(1, modem_current_month_usage, IEEE4)
Sample
(1, modem_diversity,
Sample
(1, modem_ecio, FP2)
Sample
(1, modem_ipprotocol,
Sample
(1, modem_mode,
Sample
(1, modem_previous_day_usage, IEEE4)
Sample
(1, modem_previous_month_usage, IEEE4)
Sample
(1, modem_rsrp, FP2)
Sample
(1, modem_rsrq, FP2)
Sample
(1, modem_rssi, FP2)
Sample
(1, modem_sdc_address, FP2)
Sample
(1, modem_state,
Sample
(1, modem_is_off,
Sample
(1, modem_reset_needed,
EndTable
BeginProg
'Setup Campbell Scientific external modem
#If
LoggerType
((
OSVERSION >= 3)
SetSetting
"CellAPN"
(
'Replace *s with APN assigned by cellular provider
functionality
As Long
'Current modem RSRP value (LTE signal Strength)
'Current modem RSRQ value (LTE signal Quality)
'Current modem RSSI value (3G signal strength)
'Modem's current SDC address (CS I/O Port SDC
'Address setting)
As String
* 60
'Current state of the modem (status)
As Boolean
As Boolean
As String
* 70
String
)
String
)
String
String
)
String
)
Boolean
)
Boolean
AND
= CR6
OSVERSION >= 9)
OR LoggerType
= CR300
"****.****"
,
'Previous month's data usage
)
)
OR
LoggerType
(
AND
OSVERSION >= 8))
)
CELL200-Series 4G LTE Cellular Module
AND
= CR1000X
_
Then
66

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cell200 seriesCell210Cell215Cell220Cell225

Table of Contents