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
Diff: GattService.h
- Revision:
- 75:d08bdef22500
- Parent:
- 70:d6c0a4cedf46
- Child:
- 91:311bde45b251
diff -r 301042c34cb8 -r d08bdef22500 GattService.h
--- a/GattService.h Fri Jun 06 11:30:56 2014 +0100
+++ b/GattService.h Fri Jun 06 14:14:46 2014 +0100
@@ -37,7 +37,7 @@
GattService(UUID uuid);
virtual ~GattService(void);
- ble_error_t addCharacteristic(GattCharacteristic &);
+ ble_error_t addCharacteristic(GattCharacteristic &);
enum {
UUID_ALERT_NOTIFICATION_SERVICE = 0x1811,
@@ -76,6 +76,7 @@
if (index >= characteristicCount) {
return NULL;
}
+
return characteristics[index];
}
