Campbell CELL205 Product Manual page 81

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
EndIf
SerialOut
(ComSDC11,
'Set the SDC address of the modem (7, 8, 10, 11)
SerialIn
(returned_value, ComSDC11, 100,
If
(returned_value =
CHR
Then
  &
(13))
  modem_reset_needed = TRUE
EndIf
SerialOut
(ComSDC11,
'Set the listen port
SerialIn
(returned_value, ComSDC11, 100, CHR(13), 1000)
If
(returned_value =
CHR
Then
(13))
  modem_reset_needed = TRUE
EndIf
SerialOut
(ComSDC11,
'Set day of the month for billing statistics
SerialIn
(returned_value, ComSDC11, 100,
SerialOut (ComSDC11,
'Set the roaming mode of the data logger (Auto or disabled).
SerialIn (returned_value, ComSDC11, 100, CHR (13), 1000)
If (returned_value =
_
  & CHR (13)) Then
  modem_reset_needed = TRUE
EndIf
SerialOut
(ComSDC11,
'Set the IP protocol used on the cellular network (IPv4, IPv6, or
'IPv4/IPv6).
SerialIn
(returned_value, ComSDC11, 100,
If
(returned_value =
required!"
&
  modem_reset_needed = TRUE
EndIf
'other set commands include:
' set ppp user (PPP username in modem)
' set ppp pass (PPP password in modem)
' set comms watch (allows user to sniff/watch a port, usually not used
' programatically)
functionality
"set sdc 7"
"SDC address saved. Cellular module reset required!"
"set listen port 3001"
"Listen port set. Reboot required!"
"set billing 10"
"set roaming auto"
"Roaming set to Auto. Cellular module reset required!"
"set ipprotocol IPv4"
"Protocol set to IPv4. Cellular module reset
CHR
Then
(13))
& CRLF, CRLF, 1, 200)
CHR
(13), 1000)
& CRLF, CRLF, 1, 200)
& CRLF, CRLF, 1, 200)
CHR
(13), 1000)
& CRLF, CRLF, 1, 200)
& CRLF, CRLF, 1, 200)
CHR
(13), 1000)
CELL200-Series 4G LTE Cellular Module
_
& _
_
68

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cell200 seriesCell210Cell215Cell220Cell225

Table of Contents