Microbug / BLE_API

Fork of BLE_API by Bluetooth Low Energy

Revision:
2:ffc5216bd2cc
Parent:
1:fd3ec64b2345
Child:
3:46de446e82ed
--- a/bleservice.h	Wed Dec 04 07:20:24 2013 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,36 +0,0 @@
-#ifndef __BLE_SERVICE_H__
-#define __BLE_SERVICE_H__
-
-#include "blecommon.h"
-#include "uuid.h"
-#include "blecharacteristic.h"
-
-#define BLE_SERVICE_MAX_CHARACTERISTICS (5)
-
-class BLEService
-{
-private:
-
-public:
-    typedef struct
-    {
-        uint16_t    id;
-        uint16_t    lenMin;
-        uint16_t    lenMax;
-        uint8_t     properties;
-        uint8_t     reserved;
-    } serialisedChar_t;
-    
-    BLEService(uint8_t[16]);  /* 128-bit Base UUID */
-    BLEService(uint16_t);     /* 16-bit BLE UUID */
-    virtual ~BLEService(void);
-
-    UUID                primaryServiceID;
-    uint8_t             characteristicCount;
-    serialisedChar_t    characteristics[BLE_SERVICE_MAX_CHARACTERISTICS];
-    uint8_t             index;
-
-    ble_error_t         addCharacteristic(BLECharacteristic &);
-};
-
-#endif