Skip to content

ESP8266: Fixes AT-layer socket_open-functions #9284

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

Merged
merged 1 commit into from
Jan 9, 2019
Merged

ESP8266: Fixes AT-layer socket_open-functions #9284

merged 1 commit into from
Jan 9, 2019

Conversation

VeijoPesonen
Copy link
Contributor

Description

When a socket open fails it musn't be treated as fatal error. Returning
a device error which is then handled by an application is the correct
solution. Assumed recovery action is to disconnect and then reconnect on the used Wi-Fi base station.

Pull request type

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

Reviewers

@SeppoTakalo
@teetak01

@ciarmcom ciarmcom requested review from SeppoTakalo, teetak01 and a team January 8, 2019 08:00
@ciarmcom
Copy link
Member

ciarmcom commented Jan 8, 2019

@VeijoPesonen, thank you for your changes.
@SeppoTakalo @teetak01 @ARMmbed/mbed-os-ipcore @ARMmbed/mbed-os-maintainers please review.

@0xc0170 0xc0170 changed the title [ESP8266] Fixes AT-layer socket_open-functions ESP8266: Fixes AT-layer socket_open-functions Jan 8, 2019
@0xc0170
Copy link
Contributor

0xc0170 commented Jan 9, 2019

Can you rebase? We fixed Travis failures on master hours ago, and this change should be propagated here via rebase. We will start CI right after travis fix.

I can rebase this later today if not yet done.

When a socket open fails it musn't be treated as fatal error. Returning
a device error which is then handled by an application is the correct
solution
@VeijoPesonen
Copy link
Contributor Author

@0xc0170, rebased

@0xc0170
Copy link
Contributor

0xc0170 commented Jan 9, 2019

CI started

@mbed-ci
Copy link

mbed-ci commented Jan 9, 2019

Test run: SUCCESS

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

@cmonr cmonr merged commit b9d5dce into ARMmbed:master Jan 9, 2019
@VeijoPesonen VeijoPesonen deleted the bugfix-esp8266_socket_close branch January 10, 2019 08:43
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