Status Commands - Campbell CELL205 Product Manual

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
'Send a CRLF and wait CELL2xx prompt before continuing on.
SerialOut
(ComSDC11,
'put the modem into low power mode
SerialIn
(returned_value, ComSDC11, 100,
If
(returned_value =
 modem_is_off = TRUE
 returned_value =
EndIf
Loop
EndIf
If
((TimeIsBetween(0, 10, 60, Min)
AND
modem_is_off
'turn the modem on at the top of the hour in a 10 minute windows
'PPPOpen'Uncomment line for CR1000, CR800 series, and CR3000.
Do Until
(modem_is_off = FALSE)
SerialFlush
'clean out any garbage characters that might have come in.
SerialOut
(ComSDC11, CRLF ,
'Send a CRLF and wait CELL2xx prompt before continuing on.
SerialOut
(ComSDC11,
'bring the modem fully back online
SerialIn
(returned_value, ComSDC11, 100,
If
(returned_value =
modem_is_off = FALSE
returned_value =
EndIf
Loop
EndIf
Loop
EndSequence
EndProg
C.2 Status commands
Status commands show current values of the information being requested. Some correspond to
settings and others are tied to diagnostic information. All values returned are strings. Not all
modems return all values. Values returned are also dependent on the network the device is
connected to.
show apn
Displays the APN (Access Point Name) currently used by the cellular module. Corresponds with
the APN setting in the web interface of the cellular module.
"deep sleep"
"Sleep enabled."
""
<>
Then
FALSE)
(ComSDC11)
"CELL2xx>"
"wakeup"
"Sleep disabled."
""
functionality
& CRLF, CRLF, 1, 200)
CHR
(13), 1000)
CHR
&
(13))
OR TimeIsBetween
, 1, 200)
& CRLF, CRLF, 1, 200)
CHR
(13), 1000)
&
CHR
(13))
CELL200-Series 4G LTE Cellular Module
Then
(58, 60, 60, Min)) _
Then
72

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cell200 seriesCell210Cell215Cell220Cell225

Table of Contents