Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type IModem ¶
type MState ¶
type MState uint8
const ( MSTAT_INIT MState = iota MSTAT_CHECK_IFACENAME_CHANGE MSTAT_QWS_STOP_QUEDTEL MSTAT_QWS_START_QUEDTEL MSTAT_CHECK_ATDEVPATH_CHANGE MSTAT_CLOSE_ATDEV MSTAT_OPEN_ATDEV MSTAT_NOECHO MSTAT_HOTPLUGDETECT MSTAT_CHECK_SIMREADY MSTAT_CHECK_REGISTRATIONM MSTAT_CHECK_IP MSTAT_CHECK_GATEWAY MSTAT_LOOPING MSTAT_SOFTRESET MSTAT_HARDRESET )
type M_qws ¶
type M_qws struct {
Modem
BusType string `json:"busType"`
Quectel string `json:"quectel"`
// contains filtered or unexported fields
}
func (*M_qws) InitWithLogger ¶ added in v0.0.15
type M_qws_ep06 ¶
type M_qws_ep06 struct {
M_qws
}
type M_qws_rm500q ¶
type M_qws_rm500q struct {
M_qws
}
type Modem ¶
type Modem struct {
CfgJsonBytes []byte
Model string `json:"model"`
FindIfaceName string `json:"findIfaceName"`
FindATdevPath string `json:"findATdevPath"`
Name string `json:"name"`
PingTargets []string `json:"pingTargets"`
SimHotplug bool `json:"simHotplug"`
// contains filtered or unexported fields
}
func (*Modem) InitWithLogger ¶ added in v0.0.15
Click to show internal directories.
Click to hide internal directories.