Skip to content

fix(usbh_modem): accept roaming registration status#714

Open
Talha-Babar wants to merge 1 commit into
espressif:masterfrom
Talha-Babar:fix/usbh-modem-cereg-roaming
Open

fix(usbh_modem): accept roaming registration status#714
Talha-Babar wants to merge 1 commit into
espressif:masterfrom
Talha-Babar:fix/usbh-modem-cereg-roaming

Conversation

@Talha-Babar
Copy link
Copy Markdown

Problem

The USB modem stack only accepted stat == 1 (home) as a valid
network registration status in STAGE_START_PPP. Devices registered
as stat == 5 (roaming) per 3GPP TS 27.007 were rejected, causing
"Modem network registration not ready!" and PPP never coming up.

Fix

Accept both stat == 1 (home) and stat == 5 (roaming) in the
registration check in usbh_modem.c.

Note

The release_versions pre-commit hook fails on Windows with a
UnicodeDecodeError (cp1252 can't decode README.md). This is
unrelated to this fix. Suggested fix: open README with encoding="utf-8".

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented May 7, 2026

CLA assistant check
All committers have signed the CLA.

@Talha-Babar Talha-Babar force-pushed the fix/usbh-modem-cereg-roaming branch from d954a31 to 857a46b Compare May 11, 2026 06:21
@Talha-Babar
Copy link
Copy Markdown
Author

Rebased onto latest master, conflict resolved. PR is ready for review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants