High level Bluetooth Low Energy API and radio abstraction layer

Dependencies:   nRF51822

Dependents:   LinkNode_LIS3DH

Fork of BLE_API by Bluetooth Low Energy

Revision:
23:f19c60478e1b
Parent:
19:a6f33421746c
--- a/hw/bleradio.h	Tue Jan 07 10:54:02 2014 +0000
+++ b/hw/bleradio.h	Tue Jan 07 19:58:06 2014 +0000
@@ -35,14 +35,15 @@
         } radioEvent_t;
         
         uint8_t serviceCount;
-        
+        uint8_t characteristicCount;
+
         /* ToDo: Force constructor with event handler callback */
 
         /* These functions must be defined in the sub-class */
         virtual ble_error_t setAdvertising(GapAdvertisingParams &, GapAdvertisingData &, GapAdvertisingData &) = 0;
         virtual ble_error_t addService(GattService &) = 0;
-        virtual ble_error_t readCharacteristic(GattService &, GattCharacteristic &, uint8_t[], uint16_t) = 0;
-        virtual ble_error_t writeCharacteristic(GattService &, GattCharacteristic &, uint8_t[], uint16_t) = 0;
+        virtual ble_error_t readCharacteristic(uint8_t, uint8_t[], uint16_t) = 0;
+        virtual ble_error_t writeCharacteristic(uint8_t, uint8_t[], uint16_t) = 0;
         virtual ble_error_t start(void) = 0;
         virtual ble_error_t stop(void) = 0;
         virtual ble_error_t reset(void) = 0;