Campbell CR300 Series Product Manual page 212

Compact datalogger
Hide thumbs Also See for CR300 Series:
Table of Contents

Advertisement

CRBasic Example 3: Settings configuration and status retrieval
'antenna in the cellular module. 0 = OFF. 1 = ON.
cell_ip_address =
Scan
(1,Sec,0,0)
PanelTemp
(panel_temperature_c,60)
Battery
(battery_voltage)
CallTable
TEST_DATA
NextScan
SlowSequence
Scan
(10, Min, 0, 0)
cell_rssi = Settings.CellRSSI
'read RSSI (signal strength) from tower connected to
cell_todays_usage = Settings.CellUsageToday
cell_yesterdays_usage = Settings.CellUsageYesterday
cell_this_months_usage = Settings.CellUsageMonth
cell_last_months_usage = Settings.CellUsageLastMonth
cell_info = Settings.CellInfo
'Cell Info. Same information that shows in the
'DevConfig Cellular Network Status field
cell_status = Settings.CellStatus
'Status of the cellular modem.
cell_state = Settings.CellState
'State that the modem is in. "Network ready." lets me
'know my modem is good to go.
'CellState can be the following (but not limited to):
'"Power off.",
'"Powering up.",
'"Powered up.",
'"SIM authorized.",
'"Setting baud rate.",
'"Waiting for baud rate.",
'"Baud rate set.",
'"Baud rate failure.",
'"Power off. Waiting for retry.",
'"Powered up. SIM auth failure.",
'"Querying modem.",
'"Waiting for network registration.",
'"Configuring modem.",
'"Dialing.",
'"Dialing (retry).",
'"Dialed.",
'"PPP negotiation.",
'"Network ready.",
'"PPP closing.",
'"PPP paused.",
PPPOpen
()
'Just make sure we are ready to go!
Appendix A. Configure cellular settings and retrieve status information with SetSetting()
'usage reported in KB
'usage reported in KB
'usage reported in KB
'usage reported in KB
199

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cr300Cr310

Table of Contents