Skip to content

Commit d728379

Browse files
committed
Add HL78XX Modem Driver Implementation Using Modem Chat Framework
This pull request introduces the initial draft implementation of the HL78XX modem driver, built on the `modem_chat` framework. The current version establishes the core structure and essential functionality required to support the HL78XX modem series. The primary objective at this stage is to review and align on the overall design and integration approach. Following this, development will continue with additional features such as: * Power saving mode support * User pipe connection handling * Other modem-specific enhancements * Verified compatibility and correct operation with the following sample applications: * `aws_mqtt` * `dns_resolve` * `big_http_download` * `lwm2m` Feedback on both structure and test approach is welcome.
1 parent fb1161a commit d728379

File tree

14 files changed

+4236
-13
lines changed

14 files changed

+4236
-13
lines changed

drivers/modem/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,7 @@ if (CONFIG_MODEM_SIM7080)
3535
zephyr_library_sources(simcom-sim7080.c)
3636
endif()
3737

38+
add_subdirectory_ifdef(CONFIG_MODEM_HL78XX hl78xx)
39+
3840
zephyr_library_sources_ifdef(CONFIG_MODEM_CELLULAR modem_cellular.c)
3941
zephyr_library_sources_ifdef(CONFIG_MODEM_AT_SHELL modem_at_shell.c)

drivers/modem/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ source "drivers/modem/Kconfig.cellular"
194194
source "drivers/modem/Kconfig.at_shell"
195195

196196
source "drivers/modem/Kconfig.hl7800"
197+
source "drivers/modem/hl78xx/Kconfig.hl78xx"
197198
source "drivers/modem/Kconfig.simcom-sim7080"
198199

199200
endif # MODEM

drivers/modem/hl78xx/CMakeLists.txt

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#
2+
# Copyright (c) 2018 Analog Devices Inc.
3+
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
6+
zephyr_library()
7+
8+
zephyr_library_sources(
9+
hl78xx.c
10+
hl78xx_sockets.c
11+
hl78xx_utility.c
12+
13+
)
14+
15+
zephyr_library_include_directories(${ZEPHYR_BASE}/subsys/net/ip)
16+
zephyr_library_include_directories(${ZEPHYR_BASE}/subsys/net/lib/sockets)

0 commit comments

Comments
 (0)