-
Notifications
You must be signed in to change notification settings - Fork 3k
[ESP8266] Adds support for controlling HW reset of the modem from the… #8959
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
[ESP8266] Adds support for controlling HW reset of the modem from the… #8959
Conversation
@kjbracey-arm, @SeppoTakalo, @marcuschangarm, @karsev please review. |
@VeijoPesonen Please review travis failures (related) |
@dlfryar, @marcuschangarm please try this PR when you have time. |
@0xc0170 Seems to be some kind of an build environment issue:
|
@michalpasztamobica please review |
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.
Looks good, just a minor optional suggestion if the task is not urgent.
Adding @c1728p9 @VeijoPesonen I didn't get a chance to test this today. A quick look at the code seems like this is a big hammer approach to getting the module operational. Unless I misinterpreted the change or perhaps there's a change elsewhere, this does not handle a simple disconnect from the AP or the case where a watchdog timer reset the ESP. My assumptions are if the ESP is doing I/O and the stack gets an OOB message from the ESP then checks the IP which returns 0.0.0.0 the driver/stack should do an initialize() again with the AP parameters. If that does not succeed then I'd expect the big hammer approach with the reset signal. An OOB status of busy from the ESP is another case where reset would not be unobtrusive action. |
Already handled by PR's ARMmbed/esp8266-driver#103 and #8853 |
Would be worth of another PR, I would like to leave this one intact. |
Powering down the modem on disconnect and in destructor added. Please re-review. |
@VeijoPesonen There have been an uptick on those Travis CI is aware, and the most that we can do right now is restart the job. For now, I've restarted the two erroneous Travis CI jobs. |
Fixed a namespace collision, please re-review. |
@kjbracey-arm @karsev are you guys happy with this now ? |
CI started |
Test run: FAILEDSummary: 1 of 11 test jobs failed Failed test jobs:
|
Restarting Lone failure appears to be QSPI frequency setting test (test may need a refactor). |
Damn it. Figures that bringing in a 5.11.1 PR that was ready would cause an RC3 PR to need a rebase... @VeijoPesonen Rebase to resolve the conflict when you can. |
CI job stopped: |
… driver While connecting will run HW reset for the modem if reset wire is attached to a know pin.
@cmonr rebased |
CI restarted (also one travis job) |
Test run: FAILEDSummary: 1 of 11 test jobs failed Failed test jobs:
|
Exporter restarted |
… driver
While connecting will run HW reset for the modem if reset wire is attached to a know pin.
Description
Brings possibility to use a known HW pin to attach the ESP8266 HW reset wire and to control it from the driver. Current implementation forces HW reset on each connect-call.
Pull request type