mc3

package
v0.0.0-...-e076539 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 25, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CMD_ERROR_REGEXP   string = "(^ERROR$)"
	CMD_OK_REGEXP      string = "(^OK$)"
	CMD_AT             string = "AT"
	CMD_CMGF           string = "AT+CMGF=1"
	CMD_CMGS           string = "AT+CMGS=\"%s\""
	CMD_CTRL_Z         string = "\x1A"
	CMD_CMGS_RX_REGEXP string = "(^[+]CMGS[:] [0-9]+$)"
	CMD_CMTI_REGEXP    string = "(^[+]CMTI[:] \"SM\",[0-9]+$)"
	CMD_CMTI_RX        string = "+CMTI: \"SM\","
	CMD_CMGR           string = "AT+CMGR=%s"
	CMD_CMGR_REGEXP    string = "(^[+]CMGR[:] .*)"
	CMD_CMGR_RX        string = "+CMGR: "
)

Variables

View Source
var (
	GSM_portOpen bool = false
	GSM_sp       sp_config_t
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL