Skip to content

Cellular sample fails to bring back L4 connection after modem restart #90084

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

Open
olalonde opened this issue May 16, 2025 · 1 comment
Open
Labels
area: Modem area: Networking bug The issue is a bug, or the PR is fixing a bug

Comments

@olalonde
Copy link

Describe the bug

After running the cellular sample, I am getting "L4 was not connected in time" after the modem restarts.

To Reproduce

Run the cellular sample.

Expected behavior

L4 should connect again after the modem is restarted.

Logs and console output

I tested with a new driver (a76xx). I tested both with and without a shutdown script.

https://gist.github.com/olalonde/17f56d92015cb9b08371209fb2ebb761#file-modem_cellular_a76xx_shutdown_script-log-L4999

https://gist.github.com/olalonde/2cd36af3502571906fa453942920f050#file-cellular_modem_a76xx-log-L5010

I doubt it's a bug with my driver as it's just a small modification of the existing simcom 7080 driver and it works fine up until the modem is restarted. The init chat script and dial chat scripts complete successfully. The issue is that afterwards nothing happens, whereas the PPP driver should be initiating a new session.

Can anyone try to run the cellular sample and see if L4 connects after the modem restarts?

Environment (please complete the following information):

  • OS: macos
  • Toolchain: west
  • Commit SHA or Version used: 2fc54ae
@olalonde olalonde added the bug The issue is a bug, or the PR is fixing a bug label May 16, 2025
@olalonde
Copy link
Author

olalonde commented May 17, 2025

I was able to fix this issue in this commit: 8628eb6

I am not 100% sure if it's correct but it fixes this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Modem area: Networking bug The issue is a bug, or the PR is fixing a bug
Projects
None yet
Development

No branches or pull requests

2 participants