Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
modem_cellular_data Struct Reference

Runtime data for a cellular modem driver instance. More...

#include <zephyr/drivers/modem/modem_cellular.h>

Data Fields

uint8_tchat_delimiter
 Command delimiter used by the modem, as a NULL-terminated string.
uint8_tchat_filter
 Characters filtered from modem responses, as a NULL-terminated string.
struct modem_ppp * ppp
 PPP context used for the modem data connection.

Detailed Description

Runtime data for a cellular modem driver instance.

Define one zero-initialized object per device instance. The object and all referenced configuration data must remain valid for the lifetime of the device. Set the documented configuration members before passing the object to MODEM_CELLULAR_DEFINE_INSTANCE(). The cellular modem implementation owns and updates all other members after device initialization.

Field Documentation

◆ chat_delimiter

uint8_t* modem_cellular_data::chat_delimiter

Command delimiter used by the modem, as a NULL-terminated string.

Must not be NULL and must remain valid for the lifetime of the device.

◆ chat_filter

uint8_t* modem_cellular_data::chat_filter

Characters filtered from modem responses, as a NULL-terminated string.

May be NULL to disable filtering. A non-NULL string must remain valid for the lifetime of the device.

◆ ppp

struct modem_ppp* modem_cellular_data::ppp

PPP context used for the modem data connection.

Must not be NULL.


The documentation for this struct was generated from the following file: