-
Notifications
You must be signed in to change notification settings - Fork 3k
Cellular: Add WISE-1570 handling for socket closing URC #10463
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
Cellular: Add WISE-1570 handling for socket closing URC #10463
Conversation
fd22b7c
to
af49acb
Compare
@mirelachirica, thank you for your changes. |
features/cellular/framework/targets/QUECTEL/BC95/QUECTEL_BC95_CellularStack.cpp
Show resolved
Hide resolved
features/cellular/framework/targets/QUECTEL/BC95/QUECTEL_BC95_CellularStack.cpp
Outdated
Show resolved
Hide resolved
af49acb
to
948f8b5
Compare
@AriParkkila Could you please re-review changes? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is simple change so its fine.
WISE-1570 wasn't handling URC for socket closing at all. Now socket closed flag is set on the arriving of such URC. Also, if the socket was closed but closed flag not yet set at the moment a socket sending/receiving was issued, the socket would get stuck waiting for data. To prevent this, socket event is called also when socket close URC arrives.
This would be nice to have in the commit msg itself.
CI started |
Test run: FAILEDSummary: 1 of 11 test jobs failed Failed test jobs:
|
Client was restart, all OK now |
Description
WISE-1570 wasn't handling URC for socket closing at all. Now socket closed flag is set on the arriving of such URC. Also, if the socket was closed but closed flag not yet set at the moment a socket sending/receiving was issued, the socket would get stuck waiting for data. To prevent this, socket event is called also when socket close URC arrives.
Pull request type