-
Notifications
You must be signed in to change notification settings - Fork 6.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
samples: net: http_get: add support for hl7800 modem
Add overlay and small adjustments for using the hl7800 modem. Works out of the box with pinnacle_100_dvk and mg100. Signed-off-by: Ryan Erickson <ryan.erickson@ezurio.com>
- Loading branch information
1 parent
490e675
commit b91c741
Showing
5 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# | ||
# Copyright (c) 2025 Ezurio | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
|
||
config NET_SAMPLE_COMMON_WAIT_DNS_SERVER_ADDITION | ||
bool "Wait DNS server addition before considering connection to be up" | ||
depends on MODEM_HL7800 && !DNS_SERVER_IP_ADDRESSES | ||
help | ||
Make sure we get DNS server addresses from the network | ||
before considering the connection to be up. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# | ||
# Copyright (c) 2025 Ezurio | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
|
||
source "samples/net/common/Kconfig" | ||
source "Kconfig.zephyr" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# The HL7800 driver gets its IP settings from the cell network | ||
CONFIG_DNS_SERVER_IP_ADDRESSES=n | ||
CONFIG_NET_CONFIG_SETTINGS=n | ||
# Wait for the network to be ready | ||
CONFIG_NET_CONNECTION_MANAGER=y | ||
CONFIG_NET_SAMPLE_COMMON_WAIT_DNS_SERVER_ADDITION=y | ||
# NB-IoT has large latency, so increase timeouts. It is ok to use this for Cat-M1 as well. | ||
CONFIG_NET_SOCKETS_DNS_TIMEOUT=12000 | ||
CONFIG_NET_SOCKETS_CONNECT_TIMEOUT=15000 | ||
|
||
# CONFIG_MODEM_LOG_LEVEL_DBG=y | ||
# CONFIG_LOG_PROCESS_THREAD_SLEEP_MS=1 | ||
# CONFIG_LOG_BUFFER_SIZE=20000 | ||
# CONFIG_MODEM_HL7800_SET_APN_NAME_ON_STARTUP=y | ||
# CONFIG_MODEM_HL7800_APN_NAME="VZWINTERNET" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters