-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
samples: net: aws_iot_mqtt: Add support for hl7800 based boards
Add support for the pinnacle_100_dvk and mg100. With these boards, wait to get on the network before trying to connect to AWS. Signed-off-by: Ryan Erickson <[email protected]>
- Loading branch information
1 parent
db9f3a8
commit 767ac95
Showing
5 changed files
with
33 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
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,11 @@ | ||
# The HL7800 driver gets its IP settings from the cell network | ||
CONFIG_NET_CONFIG_SETTINGS=n | ||
CONFIG_NET_DHCPV4=n | ||
CONFIG_DNS_SERVER_IP_ADDRESSES=n | ||
# 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 | ||
# Wait for the network to be ready | ||
CONFIG_NET_CONNECTION_MANAGER=y | ||
# Don't require device to have time/date | ||
CONFIG_MBEDTLS_HAVE_TIME_DATE=n |
11 changes: 11 additions & 0 deletions
11
samples/net/cloud/aws_iot_mqtt/boards/pinnacle_100_dvk.conf
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,11 @@ | ||
# The HL7800 driver gets its IP settings from the cell network | ||
CONFIG_NET_CONFIG_SETTINGS=n | ||
CONFIG_NET_DHCPV4=n | ||
CONFIG_DNS_SERVER_IP_ADDRESSES=n | ||
# 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 | ||
# Wait for the network to be ready | ||
CONFIG_NET_CONNECTION_MANAGER=y | ||
# Don't require device to have time/date | ||
CONFIG_MBEDTLS_HAVE_TIME_DATE=n |
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