BLE_API_Tiny_BLE
Fork of BLE_API by
Diff: GattService.cpp
- Revision:
- 69:2fd349295d2c
- Parent:
- 67:0fac4e99f29b
- Child:
- 90:f245e2d96aa0
--- 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 */ /**************************************************************************/