Added support for obtaining BLE device name by parsing advertising data.

Fork of BLE_BlueNRG by Mridupawan Das

Revision:
6:08cfc94b5f49
Parent:
5:31dedfa19a12
--- a/BlueNRGGattServer.h	Fri Jul 25 06:56:02 2014 +0000
+++ b/BlueNRGGattServer.h	Fri Jul 25 09:09:13 2014 +0000
@@ -38,9 +38,9 @@
     virtual ble_error_t readValue(uint16_t handle, uint8_t buffer[], uint16_t *const lengthP);
     virtual ble_error_t updateValue(uint16_t, uint8_t[], uint16_t, bool localOnly = false);
 
-    /* nRF51 Functions */
+    /* BlueNRG Functions */
     void eventCallback(void);
-    //void hwCallback(ble_evt_t *p_ble_evt);
+    //void hwCallback(void *pckt);
 
 private:
 
@@ -49,7 +49,7 @@
     tHalUint16 hrmServHandle, hrmCharHandle;
     
     GattCharacteristic *p_characteristics[BLE_TOTAL_CHARACTERISTICS];
-    //ble_gatts_char_handles_t nrfCharacteristicHandles[BLE_TOTAL_CHARACTERISTICS];
+    //uint16_t bleCharacteristicHandles[BLE_TOTAL_CHARACTERISTICS];
 
     BlueNRGGattServer() {
         serviceCount = 0;