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
Revision 54:7014517e2d60, committed 2014-05-29
- Comitter:
- Rohit Grover
- Date:
- Thu May 29 08:17:36 2014 +0100
- Parent:
- 53:a1bec483c8e3
- Child:
- 55:8f7ca1ae50d7
- Commit message:
- constructor for GattService should take a constant
Changed in this revision
| GattService.cpp | Show annotated file Show diff for this revision Revisions of this file |
| GattService.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/GattService.cpp Thu May 29 08:16:31 2014 +0100
+++ b/GattService.cpp Thu May 29 08:17:36 2014 +0100
@@ -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(),
--- a/GattService.h Thu May 29 08:16:31 2014 +0100
+++ b/GattService.h Thu May 29 08:17:36 2014 +0100
@@ -34,8 +34,8 @@
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;
