:orphan: .. title:: MODEM_CMD_HANDLER .. option:: CONFIG_MODEM_CMD_HANDLER *Generic modem command handler* Type: ``bool`` Help ==== This generic command handler uses a modem interface to process incoming data and hand it back to the modem driver via callbacks defined for: - modem responses - unsolicited messages - specified handlers for current operation To configure this layer for use, create a modem_cmd_handler_data object and pass it's reference to modem_cmd_handler_init() along with the modem_cmd_handler reference from your modem_context object. Direct dependencies =================== \ :option:`MODEM_CONTEXT ` && \ :option:`MODEM ` *(Includes any dependencies from ifs and menus.)* Defaults ======== No defaults. Implicitly defaults to ``n``. Symbols selected by this symbol =============================== - \ :option:`NET_BUF ` Symbols that select this symbol =============================== - \ :option:`WIFI_ESP ` - \ :option:`MODEM_UBLOX_SARA ` - \ :option:`MODEM_QUECTEL_BG9X ` - \ :option:`MODEM_GSM_PPP ` Kconfig definition ================== .. highlight:: kconfig At ``drivers/modem/Kconfig:75`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:32`` → ``drivers/Kconfig:82`` Menu path: (Top) → Device Drivers → Modem Drivers → Modem context helper driver [EXPERIMENTAL] .. parsed-literal:: config MODEM_CMD_HANDLER bool "Generic modem command handler" select \ :option:`NET_BUF ` depends on \ :option:`MODEM_CONTEXT ` && \ :option:`MODEM ` help This generic command handler uses a modem interface to process incoming data and hand it back to the modem driver via callbacks defined for: - modem responses - unsolicited messages - specified handlers for current operation To configure this layer for use, create a modem_cmd_handler_data object and pass it's reference to modem_cmd_handler_init() along with the modem_cmd_handler reference from your modem_context object. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*