constructor for GattService should take a constant
This commit is contained in:
parent
76ac2a5291
commit
97e78fc44a
2 changed files with 3 additions and 3 deletions
|
@ -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(),
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue