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

Ensure modem echo is off before sending other AT commands #11719

Merged
merged 1 commit into from
Nov 4, 2019

Conversation

wajahat-abbas
Copy link
Member

Description

Currently three AT commands are sent together and response for OK is checked only for last command. This means that there can be a case where modem echo remains on as it sent OK to AT+CFUN=1 command but did not receive first two commands (reason being not fully powered up yet).
This can affect the functionality of cellular APIs and test cases. It is better to first ensure that modem is responding to ATE0 command and then send other commands.

Pull request type

[X] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Docs update
[ ] Test update
[ ] Breaking change

Reviewers

Release Notes

@ciarmcom ciarmcom requested review from a team October 21, 2019 11:00
@ciarmcom
Copy link
Member

@wajahat-ublox, thank you for your changes.
@ARMmbed/mbed-os-wan @ARMmbed/mbed-os-maintainers please review.

@fahimalavi
Copy link
Contributor

@MarceloSalazar it has fixed random failure in cellular integration test introduced recently. Please update us if you want something to change !

Added @RobMeades

@wajahat-abbas
Copy link
Member Author

logs.txt

@0xc0170
Copy link
Contributor

0xc0170 commented Nov 4, 2019

CI started

@mbed-ci
Copy link

mbed-ci commented Nov 4, 2019

Test run: SUCCESS

Summary: 11 of 11 test jobs passed
Build number : 1
Build artifacts

@0xc0170 0xc0170 merged commit 18d4adf into ARMmbed:master Nov 4, 2019
@wajahat-abbas wajahat-abbas deleted the echo_fix branch November 5, 2019 05:11
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