Skip to content

Fix unnecessary PPP pipe release on Linux+CMUX case#226

Merged
trantanen merged 2 commits into
nrfconnect:mainfrom
SeppoTakalo:SM-273
Mar 24, 2026
Merged

Fix unnecessary PPP pipe release on Linux+CMUX case#226
trantanen merged 2 commits into
nrfconnect:mainfrom
SeppoTakalo:SM-273

Conversation

@SeppoTakalo
Copy link
Copy Markdown
Contributor

Fix issue SM-273 where PPP pipe was released when AT#XPPP=0 was issued, and followed by AT#XPPP=1.

This was a regression caused by #224

Another minor issue found when urc_send_to() is used while AT command is executing longer than 1s.
This causes URC messages to enter the pipe before OK

The idle timer is not necessary enough to detect whether AT command
is still progressing, so add an extra flag for that.

Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no>
On the AT#XPPP=0, we should still keep the pipe on certain cases.
Mostly, when PPP is running on DLC 2.

So leave the channel release to AT+CGDATA command, or CMUX module.

Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no>
@MarkusLassila
Copy link
Copy Markdown
Contributor

Another minor issue found when urc_send_to() is used while AT command is executing longer than 1s.
This causes URC messages to enter the pipe before OK

Would categorize this as major issue though.

@trantanen trantanen merged commit 255f38a into nrfconnect:main Mar 24, 2026
3 checks passed
@SeppoTakalo SeppoTakalo deleted the SM-273 branch March 24, 2026 13:01
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.

3 participants