constructor for GattService should take a constant

This commit is contained in:
Rohit Grover 2014-05-29 08:17:36 +01:00
parent 76ac2a5291
commit 97e78fc44a
2 changed files with 3 additions and 3 deletions

View file

@ -36,7 +36,7 @@
@endcode
*/
/**************************************************************************/
GattService::GattService(uint8_t base_uuid[16]) :
GattService::GattService(const uint8_t base_uuid[16]) :
primaryServiceID(base_uuid),
characteristicCount(0),
characteristics(),

View file

@ -34,8 +34,8 @@ class GattService
private:
public:
GattService(uint8_t[16]); /* 128-bit Base UUID */
GattService(uint16_t); /* 16-bit BLE UUID */
GattService(const uint8_t[16]); /* 128-bit Base UUID */
GattService(uint16_t); /* 16-bit BLE UUID */
virtual ~GattService(void);
UUID primaryServiceID;