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.cpp
- Revision:
- 69:2fd349295d2c
- Parent:
- 67:0fac4e99f29b
- Child:
- 90:f245e2d96aa0
diff -r dcadab8a56dd -r 2fd349295d2c GattService.cpp
--- a/GattService.cpp Thu Jun 05 08:52:20 2014 +0100
+++ b/GattService.cpp Thu Jun 05 10:36:50 2014 +0100
@@ -36,8 +36,8 @@
@endcode
*/
/**************************************************************************/
-GattService::GattService(const LongUUID_t base_uuid) :
- primaryServiceID(base_uuid),
+GattService::GattService(UUID uuid) :
+ primaryServiceID(uuid),
characteristicCount(0),
characteristics(),
handle(0)
@@ -47,29 +47,6 @@
/**************************************************************************/
/*!
- @brief Creates a new GattService using the specified 16-bit BLE UUID
-
- @param[in] ble_uuid
- The standardised 16-bit (2 byte) BLE UUID to use for this
- characteristic
-
- @section EXAMPLE
-
- @code
-
- @endcode
-*/
-/**************************************************************************/
-GattService::GattService(uint16_t ble_uuid) :
- primaryServiceID(ble_uuid),
- characteristicCount(0),
- characteristics(),
- handle(0)
-{
-}
-
-/**************************************************************************/
-/*!
@brief Destructor
*/
/**************************************************************************/
