Skip to content

Separate interface from stack in ESP8266 #2

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 2 commits into from
Jun 28, 2016
Merged

Separate interface from stack in ESP8266 #2

merged 2 commits into from
Jun 28, 2016

Conversation

c1728p9
Copy link
Contributor

@c1728p9 c1728p9 commented Jun 24, 2016

Create separate objects for the interface and stack of the ESP8266.

@geky
Copy link
Contributor

geky commented Jun 24, 2016

Looks good, although is this dependent on ARMmbed/mbed-os#151?

Just wanting to note it that's the case

@c1728p9
Copy link
Contributor Author

c1728p9 commented Jun 24, 2016

Actually the opposite. I'll need this before 151

@geky
Copy link
Contributor

geky commented Jun 24, 2016

Oh, ok. Does this break compatibility with the current API?

@c1728p9
Copy link
Contributor Author

c1728p9 commented Jun 24, 2016

With a non-public network stack as it has now it does

Create separate objects for the interface and stack of the ESP8266.
/** Get the internally stored MAC address
* @return MAC address of the interface
*/
virtual const char *get_mac_address();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: const char* get_mac_address() for return types in this changeset

Move the asterisk so it is closer to the return type on several
functions.
@c1728p9
Copy link
Contributor Author

c1728p9 commented Jun 27, 2016

Actually, forgot the ESP got moved out of mbed-os. This PR can wait until after ARMmbed/mbed-os#151 is merged.

@geky geky merged commit 636af25 into ARMmbed:master Jun 28, 2016
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