Replies: 2 comments
-
Hm, is this up to date? Maybe relevant
Re: "Applications can send data according to their needs to desired network interface" -- how does this work, I don't see code for this in the MQTT example? Edit: |
Beta Was this translation helpful? Give feedback.
-
Bump. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am reading through the source code in the NRF Connect sample here, which is based on Zephyr:
https://github.com/nrfconnect/sdk-nrf/tree/main/samples/net/mqtt
The connection manager docs mention this:
https://docs.zephyrproject.org/latest/connectivity/networking/conn_mgr/main.html#connectivity-control
However I have a few questions.
How does the MQTT sample code know to use the connection manager? I was unable to find any link between the MQTT part and the connection manager itself.
Does the use-case of LTE + WiFi on the same board simultaneously currently work? The sample seems to imply that only one or the other works, but the Zephyr docs imply that interfaces may work simultaneously.
How does Zephyr track priority of network interfaces when making connections. For example, if both LTE and WiFi are available, how does it know to use WiFi instead of pushing MQTT over a metered network? Is this configurable? Where are the docs?
Does the connection manager support a 3-way or N-ways fallback scenario, for example Ethernet > WiFi > Cellular.
Filtering interfaces based on actual connectivity to the internet, perhaps using a ping server - how? Example use case would be to fall back to Cellular if the WiFi connection stops being able to connect to the internet for some reason. This would allow the device to receive MQTT updates for new WiFi configurations rather than getting bricked.
I know it's a lot of questions but if you know answers to any one question or all the questions would love to hear from you.
Thanks. 😄
Beta Was this translation helpful? Give feedback.
All reactions