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

Changed onConnection and onDisconnection to accept object/methods and… #72

Merged
merged 1 commit into from
Sep 21, 2015
Merged

Changed onConnection and onDisconnection to accept object/methods and… #72

merged 1 commit into from
Sep 21, 2015

Conversation

marcuschangarm
Copy link
Contributor

… merged them with the addTo-callchain. All calls to onConnection and onDisconnection will now be added to a call chain.

@@ -1150,6 +1150,11 @@ class BLE
gap().onConnection(connectionCallback);
}

template<typename T>
Copy link
Contributor

Choose a reason for hiding this comment

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

Hi, can we not do this for BLE.h (because that's deprecated space)? let's limit it to Gap.h, shall we?
thanks.

@rgrover
Copy link
Contributor

rgrover commented Sep 17, 2015

i'm satisfied with this except for the minor changes I've recommended. And do we need the inclusion of mbed.h?
thanks.

… merged them with the addTo-callchain. All calls to onConnection and onDisconnection will now be added to a call chain.
rgrover added a commit that referenced this pull request Sep 21, 2015
Changed onConnection and onDisconnection to accept object/methods and…
@rgrover rgrover merged commit 7bbdbd0 into ARMmbed:develop Sep 21, 2015
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.

2 participants