7#ifndef ZEPHYR_INCLUDE_DRIVERS_MODEM_GSM_PPP_H_
8#define ZEPHYR_INCLUDE_DRIVERS_MODEM_GSM_PPP_H_
14#define GSM_PPP_MDM_MANUFACTURER_LENGTH 10
15#define GSM_PPP_MDM_MODEL_LENGTH 16
16#define GSM_PPP_MDM_REVISION_LENGTH 64
17#define GSM_PPP_MDM_IMEI_LENGTH 16
18#define GSM_PPP_MDM_IMSI_LENGTH 16
19#define GSM_PPP_MDM_ICCID_LENGTH 32
26#if defined(CONFIG_MODEM_SIM_NUMBERS)
35typedef void (*gsm_modem_power_cb)(
const struct device *,
void *);
37void gsm_ppp_start(
const struct device *dev);
38void gsm_ppp_stop(
const struct device *dev);
52 gsm_modem_power_cb modem_on,
53 gsm_modem_power_cb modem_off,
#define GSM_PPP_MDM_IMEI_LENGTH
Definition: gsm_ppp.h:17
#define GSM_PPP_MDM_ICCID_LENGTH
Definition: gsm_ppp.h:19
#define GSM_PPP_MDM_IMSI_LENGTH
Definition: gsm_ppp.h:18
#define GSM_PPP_MDM_MODEL_LENGTH
Definition: gsm_ppp.h:15
#define GSM_PPP_MDM_MANUFACTURER_LENGTH
Definition: gsm_ppp.h:14
#define GSM_PPP_MDM_REVISION_LENGTH
Definition: gsm_ppp.h:16
void gsm_ppp_register_modem_power_callback(const struct device *dev, gsm_modem_power_cb modem_on, gsm_modem_power_cb modem_off, void *user_data)
Register functions callbacks for power modem on/off.
Runtime device structure (in ROM) per driver instance.
Definition: device.h:399
char mdm_revision[64]
Definition: gsm_ppp.h:24
char mdm_manufacturer[10]
Definition: gsm_ppp.h:22
int mdm_rssi
Definition: gsm_ppp.h:30
char mdm_imei[16]
Definition: gsm_ppp.h:25
char mdm_model[16]
Definition: gsm_ppp.h:23