Skip to content
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

samples: net: cellular_modem: fine tuning #69288

Merged

Conversation

tomi-font
Copy link
Collaborator

@tomi-font tomi-font commented Feb 21, 2024

See details in commit messages.

@tomi-font tomi-font requested a review from anangl as a code owner February 21, 2024 11:38
@tomi-font tomi-font changed the title Modem fine tuning modem: fine tuning Feb 21, 2024
@tomi-font tomi-font changed the title modem: fine tuning drivers: modem_cellular: fine tuning Feb 21, 2024
@tomi-font tomi-font changed the title drivers: modem_cellular: fine tuning samples: net: cellular_modem: fine tuning Feb 21, 2024
@tomi-font tomi-font force-pushed the modem_fine_tuning branch 3 times, most recently from 898f898 to 5218ac5 Compare February 22, 2024 12:58
tomi-font added a commit to tomi-font/ncs-zephyr that referenced this pull request Feb 22, 2024
…ropped

Upstream PR: zephyrproject-rtos/zephyr#69288

When a receive buffer overrun happens.

Signed-off-by: Tomi Fontanilles <[email protected]>
tomi-font added a commit to tomi-font/ncs-zephyr that referenced this pull request Feb 22, 2024
Upstream PR: zephyrproject-rtos/zephyr#69288

A shutdown lasting more than 5 seconds was experienced.

Signed-off-by: Tomi Fontanilles <[email protected]>
tomi-font added a commit to tomi-font/ncs-zephyr that referenced this pull request Feb 22, 2024
Upstream PR: zephyrproject-rtos/zephyr#69288

- A small delay is added after the post-restart L4_CONNECTED event
  is received to prevent trying to send packets too quickly. Otherwise
  the first packet would not get sent and the sample would hang on recv().
- Some logs and function parameters are fixed.

Signed-off-by: Tomi Fontanilles <[email protected]>
tomi-font added a commit to tomi-font/ncs-zephyr that referenced this pull request Feb 22, 2024
Upstream PR: zephyrproject-rtos/zephyr#69288

The added configuration files allow the sample to be run
on the nRF52840 present on the nRF9160 DK with the nRF9160
(running SLM) being the modem and communication happening
through pins that are routed internally between the two.

Signed-off-by: Tomi Fontanilles <[email protected]>
Copy link
Collaborator

@bjarki-andreasen bjarki-andreasen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work, tested locally with a BG95 as well :)

rlubos pushed a commit to nrfconnect/sdk-zephyr that referenced this pull request Feb 23, 2024
…ropped

Upstream PR: zephyrproject-rtos/zephyr#69288

When a receive buffer overrun happens.

Signed-off-by: Tomi Fontanilles <[email protected]>
rlubos pushed a commit to nrfconnect/sdk-zephyr that referenced this pull request Feb 23, 2024
Upstream PR: zephyrproject-rtos/zephyr#69288

A shutdown lasting more than 5 seconds was experienced.

Signed-off-by: Tomi Fontanilles <[email protected]>
rlubos pushed a commit to nrfconnect/sdk-zephyr that referenced this pull request Feb 23, 2024
Upstream PR: zephyrproject-rtos/zephyr#69288

The added configuration files allow the sample to be run
on the nRF52840 present on the nRF9160 DK with the nRF9160
(running SLM) being the modem and communication happening
through pins that are routed internally between the two.

Signed-off-by: Tomi Fontanilles <[email protected]>
jukkar
jukkar previously approved these changes Feb 26, 2024
kartben
kartben previously approved these changes Feb 26, 2024
@@ -18,7 +18,7 @@ Notes

This sample uses the devicetree alias modem to identify
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit

Suggested change
This sample uses the devicetree alias modem to identify
This sample uses the devicetree alias ``modem`` to identify

When a receive buffer overrun happens.

Signed-off-by: Tomi Fontanilles <[email protected]>
A shutdown lasting more than 5 seconds was experienced.

Signed-off-by: Tomi Fontanilles <[email protected]>
- A small delay is added after the post-restart L4_CONNECTED event
  is received to prevent trying to send packets too quickly. Otherwise
  the first packet would not get sent and the sample would hang on recv().
- Some logs and function parameters are fixed.

Signed-off-by: Tomi Fontanilles <[email protected]>
@tomi-font tomi-font dismissed stale reviews from kartben, jukkar, and bjarki-andreasen via cad4cf3 March 4, 2024 07:40
@tomi-font tomi-font force-pushed the modem_fine_tuning branch from 5218ac5 to cad4cf3 Compare March 4, 2024 07:40
The added configuration files allow the sample to be run
on the nRF52840 present on the nRF9160 DK with the nRF9160
(running SLM) being the modem and communication happening
through pins that are routed internally between the two.

Signed-off-by: Tomi Fontanilles <[email protected]>
@tomi-font tomi-font force-pushed the modem_fine_tuning branch from cad4cf3 to f76b9f6 Compare March 4, 2024 08:54
@tomi-font
Copy link
Collaborator Author

Applied Benjamin's suggestion, rebased, and fixed a warning.

@henrikbrixandersen henrikbrixandersen merged commit 7f9ed86 into zephyrproject-rtos:main Mar 4, 2024
21 checks passed
jfischer-no pushed a commit to nrfconnect/sdk-zephyr that referenced this pull request Mar 8, 2024
…ropped

Upstream PR: zephyrproject-rtos/zephyr#69288

When a receive buffer overrun happens.

Signed-off-by: Tomi Fontanilles <[email protected]>
(cherry picked from commit 73c4577)
jfischer-no pushed a commit to nrfconnect/sdk-zephyr that referenced this pull request Mar 8, 2024
Upstream PR: zephyrproject-rtos/zephyr#69288

A shutdown lasting more than 5 seconds was experienced.

Signed-off-by: Tomi Fontanilles <[email protected]>
(cherry picked from commit f7718c3)
jfischer-no pushed a commit to nrfconnect/sdk-zephyr that referenced this pull request Mar 8, 2024
Upstream PR: zephyrproject-rtos/zephyr#69288

- A small delay is added after the post-restart L4_CONNECTED event
  is received to prevent trying to send packets too quickly. Otherwise
  the first packet would not get sent and the sample would hang on recv().
- Some logs and function parameters are fixed.

Signed-off-by: Tomi Fontanilles <[email protected]>
(cherry picked from commit 86d6106)
jfischer-no pushed a commit to nrfconnect/sdk-zephyr that referenced this pull request Mar 8, 2024
Upstream PR: zephyrproject-rtos/zephyr#69288

The added configuration files allow the sample to be run
on the nRF52840 present on the nRF9160 DK with the nRF9160
(running SLM) being the modem and communication happening
through pins that are routed internally between the two.

Signed-off-by: Tomi Fontanilles <[email protected]>
(cherry picked from commit 40a1478)
rlubos pushed a commit to rlubos/sdk-zephyr that referenced this pull request Mar 14, 2024
Upstream PR: zephyrproject-rtos/zephyr#69288

A shutdown lasting more than 5 seconds was experienced.

Signed-off-by: Tomi Fontanilles <[email protected]>
(cherry picked from commit f7718c3)
(cherry picked from commit 4c36459)
Signed-off-by: Robert Lubos <[email protected]>
rlubos pushed a commit to rlubos/sdk-zephyr that referenced this pull request Mar 21, 2024
Upstream PR: zephyrproject-rtos/zephyr#69288

A shutdown lasting more than 5 seconds was experienced.

Signed-off-by: Tomi Fontanilles <[email protected]>
(cherry picked from commit f7718c3)
(cherry picked from commit 4c36459)
Signed-off-by: Robert Lubos <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants