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.
Dependents: LinkNode_SimpleChatwithSerial
Fork of BLE_API by
Diff: ble/DiscoveredCharacteristic.h
- Revision:
- 728:997ba5e7b3b6
- Parent:
- 727:1a1f5c5aedfe
- Child:
- 741:d6dceefb844e
diff -r 1a1f5c5aedfe -r 997ba5e7b3b6 ble/DiscoveredCharacteristic.h
--- a/ble/DiscoveredCharacteristic.h Mon Jul 06 10:10:34 2015 +0100
+++ b/ble/DiscoveredCharacteristic.h Mon Jul 06 10:10:34 2015 +0100
@@ -135,14 +135,6 @@
*/
ble_error_t write(uint16_t length, const uint8_t *value) const;
- static void setupOnDataRead(GattClient::ReadCallback_t callback) {
- onDataReadCallback = callback;
- }
-
- static void setupOnDataWrite(GattClient::WriteCallback_t callback) {
- onDataWriteCallback = callback;
- }
-
void setupLongUUID(UUID::LongUUIDBytes_t longUUID) {
uuid.setupLong(longUUID);
}
@@ -182,10 +174,6 @@
GattAttribute::Handle_t valueHandle;
Gap::Handle_t connHandle;
-
-public:
- static GattClient::ReadCallback_t onDataReadCallback;
- static GattClient::WriteCallback_t onDataWriteCallback;
};
#endif /*__DISCOVERED_CHARACTERISTIC_H__*/
\ No newline at end of file
