Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of BLE_API by
Revision 377:5044c245e996, committed 2015-05-13
- Comitter:
- rgrover1
- Date:
- Wed May 13 08:51:07 2015 +0100
- Parent:
- 376:47ff130c1d74
- Child:
- 378:a8b035d877a8
- Commit message:
- Synchronized with git rev fdd37dfa
Author: Rohit Grover
white space diffs.
Changed in this revision
| public/GattServer.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/public/GattServer.h Wed May 13 08:51:06 2015 +0100
+++ b/public/GattServer.h Wed May 13 08:51:07 2015 +0100
@@ -93,8 +93,8 @@
onDataRead.add(objPtr, memberPtr);
return BLE_ERROR_NONE;
}
- void setOnUpdatesEnabled(EventCallback_t callback) {onUpdatesEnabled = callback;}
- void setOnUpdatesDisabled(EventCallback_t callback) {onUpdatesDisabled = callback;}
+ void setOnUpdatesEnabled(EventCallback_t callback) {onUpdatesEnabled = callback;}
+ void setOnUpdatesDisabled(EventCallback_t callback) {onUpdatesDisabled = callback;}
void setOnConfirmationReceived(EventCallback_t callback) {onConfirmationReceived = callback;}
protected:
@@ -143,12 +143,12 @@
uint8_t characteristicCount;
private:
- CallChainOfFunctionPointersWithContext<unsigned> onDataSent;
+ CallChainOfFunctionPointersWithContext<unsigned> onDataSent;
CallChainOfFunctionPointersWithContext<const GattCharacteristicWriteCBParams *> onDataWritten;
- CallChainOfFunctionPointersWithContext<const GattCharacteristicReadCBParams *> onDataRead;
- EventCallback_t onUpdatesEnabled;
- EventCallback_t onUpdatesDisabled;
- EventCallback_t onConfirmationReceived;
+ CallChainOfFunctionPointersWithContext<const GattCharacteristicReadCBParams *> onDataRead;
+ EventCallback_t onUpdatesEnabled;
+ EventCallback_t onUpdatesDisabled;
+ EventCallback_t onConfirmationReceived;
private:
/* disallow copy and assignment */
