Skip to content

Expose the network-socket API through mbed.h #2375

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
Aug 5, 2016
Merged

Conversation

geky
Copy link
Contributor

@geky geky commented Aug 4, 2016

Currently this uses the same mechanism used by the rtos to conditionally include the network-socket API. Perhaps this should be builtin to the config system?

Note: this does require that the bug-compatible inclusion of mbed.h be removed to avoid include-order issues, this may cause issues with existing examples. I will look into how this impacts mbed-os-example-client.

cc @sg-

Currently this uses the same mechanism used by the rtos to conditionally
include the network-socket API. Perhaps this should be builtin to the
config system?

Note: this does require that the bug-compatible inclusion of mbed.h
be removed to avoid include-order issues.

per @sg-
@geky geky changed the title Exposed the network-socket API through mbed.h Expose the network-socket API through mbed.h Aug 4, 2016
@geky
Copy link
Contributor Author

geky commented Aug 4, 2016

/morph test

@geky
Copy link
Contributor Author

geky commented Aug 4, 2016

@mbed-bot: TEST

HOST_OSES=windows
BUILD_TOOLCHAINS=GCC_ARM,ARM,IAR
TARGETS=K64F,NRF51_DK,NUCLEO_F411RE,K22F

@mbed-bot
Copy link

mbed-bot commented Aug 4, 2016

Result: FAILURE

Your command has finished executing! Here's what you wrote!

/morph test

Output

mbed Build Number: 606

Build failed!

Before:
m2mconnectionhandlerpimpl.cpp -> Socket.h -> mbed.h

Now:
m2mconnectionhandlerpimpl.cpp -> mbed.h
@geky
Copy link
Contributor Author

geky commented Aug 4, 2016

/morph test

@geky
Copy link
Contributor Author

geky commented Aug 4, 2016

@mbed-bot: TEST

HOST_OSES=windows
BUILD_TOOLCHAINS=GCC_ARM,ARM,IAR
TARGETS=K64F,NRF51_DK,NUCLEO_F411RE,K22F

@mbed-bot
Copy link

mbed-bot commented Aug 4, 2016

[Build 774]
SUCCESS: Building succeeded and tests were run! Be sure to check the test results

@mbed-bot
Copy link

mbed-bot commented Aug 4, 2016

[Build 775]
SUCCESS: Building succeeded and tests were run! Be sure to check the test results

@mbed-bot
Copy link

mbed-bot commented Aug 5, 2016

Result: SUCCESS

Your command has finished executing! Here's what you wrote!

/morph test

Output

mbed Build Number: 607

All builds and test passed!

@sg- sg- merged commit 150fd07 into ARMmbed:master Aug 5, 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