Commit 7927dd7
committed
Disable LTE auto-connect
When LTE_CONNECTIVITY is enabled, LTE_CONNECTIVITY_AUTO_CONNECT is
enabled by default, causing the Connection Manager to automatically call
LTE connect after the network interface has been brought up at boot.
The app also calls lte_lc_init_and_connect_async(lte_handler) manually,
registering an LTE handler that creates/starts the Golioth Client.
However, if the LTE registration completes before the app registers the
LTE handler, the handler will not be called, and the Golioth Client will
not be started.
This commit disables the Connection Manager LTE auto-connect
functionality, allowing the app to call connect and register the handler
manually. This ensures that the handler will be called and the Golioth
Client is started on connect.
Signed-off-by: Chris Wilson <[email protected]>1 parent 52b9f95 commit 7927dd7
File tree
4 files changed
+6
-0
lines changed- boards
4 files changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
20 | 23 | | |
21 | 24 | | |
22 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
0 commit comments