Introduced `MODEM_CELLULAR_DEFINE_INSTANCE` macro to streamline the definition and initialization of modem cellular instances. This macro enables passing parameters that vary among modems, including: `power_pulse_duration_ms`, `reset_pulse_duration_ms`, `startup_time_ms`, `shutdown_time_ms`, `autostarts`, `init_chat_script`, `dial_chat_script` and `periodic_chat_script`. This will reduce the number of redundant lines in the code, aiming for improved maintainability. Signed-off-by: Pisit Sawangvonganan <pisit@ndrsolution.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| hl7800.c | ||
| Kconfig | ||
| Kconfig.at_shell | ||
| Kconfig.cellular | ||
| Kconfig.hl7800 | ||
| Kconfig.quectel-bg9x | ||
| Kconfig.simcom-sim7080 | ||
| Kconfig.ublox-sara-r4 | ||
| Kconfig.wncm14a2a | ||
| modem_at_shell.c | ||
| modem_cellular.c | ||
| modem_cmd_handler.c | ||
| modem_cmd_handler.h | ||
| modem_context.c | ||
| modem_context.h | ||
| modem_iface_uart_async.c | ||
| modem_iface_uart_interrupt.c | ||
| modem_iface_uart.h | ||
| modem_receiver.c | ||
| modem_receiver.h | ||
| modem_shell.c | ||
| modem_socket.c | ||
| modem_socket.h | ||
| quectel-bg9x.c | ||
| quectel-bg9x.h | ||
| simcom-sim7080.c | ||
| simcom-sim7080.h | ||
| ublox-sara-r4.c | ||
| wncm14a2a.c | ||