-
Notifications
You must be signed in to change notification settings - Fork 1.4k
AWS FOTA multi interface support #26344
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
The following west manifest projects have changed revision in this Pull Request:
⛔ DNM label due to: 1 project with PR revision Note: This message is automatically posted and updated by the Manifest GitHub Action. |
CI InformationTo view the history of this post, click the 'edited' button above Inputs:Sources:sdk-nrf: PR head: 912444875dfd6873b8cf6453c1967cdc8010a95d more detailssdk-nrf:
zephyr:
Github labels
List of changed files detected by CI (12)Outputs:ToolchainVersion: 400c6cb4ec Test Spec & Results: ✅ Success; ❌ Failure; 🟠 Queued; 🟡 Progress; ◻️ Skipped;
|
298a475 to
82709df
Compare
|
You can find the documentation preview for this PR here. |
|
FOTA confirmed working on an nRF9160 running the Will test the native flags soon. |
a5e450c to
0627933
Compare
|
Here’s the Discord conversation where all the debugging and testing took place. |
20dae52 to
6e40a2a
Compare
|
@nrfconnect/ncs-cia @nrfconnect/ncs-modem PTAL |
Pull MQTT fix for forcing native TLS with socket dispatcher enabled. Signed-off-by: Robert Lubos <[email protected]>
If socket dispatcher is enabled, we should use ZSOCK_TLS_NATIVE socket option instead of modifying socket type, that way forcing native TLS works also when there are both native and offloaded network interfaces in the system (for example Ethernet and nRF modem). Signed-off-by: Robert Lubos <[email protected]>
Allow the download library instance to be bound to a specific network interface. This allows to use the library in multi-interface setup, where for example it's needed to switch between native/offloaded network interface. Signed-off-by: Robert Lubos <[email protected]>
Allow to specify the interface name that the FOTA download library should use. Signed-off-by: Robert Lubos <[email protected]>
Ensure that the AWS FOTA library uses the same network interface for download as it does for regular MQTT operations. This is especially important in multi-interface scenarios, where the user may choose specific network interface for AWS connections. Signed-off-by: Robert Lubos <[email protected]>
Make it explicit that the interface name pointer should remain valid throughout AWS connection lifetime. Signed-off-by: Robert Lubos <[email protected]>
6e40a2a to
9124448
Compare
Fixes needed to be able to use AWS FOTA library in multi-interface environment.