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

Fork of BLE_BlueNRG by Mridupawan Das

Revision:
5:31dedfa19a12
Parent:
2:a2b623661316
Child:
6:08cfc94b5f49
diff -r fa5b5693c1b5 -r 31dedfa19a12 BlueNRGGattServer.h
--- a/BlueNRGGattServer.h	Tue Jul 22 09:20:20 2014 +0000
+++ b/BlueNRGGattServer.h	Fri Jul 25 06:56:02 2014 +0000
@@ -19,7 +19,7 @@
 
 #include "mbed.h"
 #include "blecommon.h"
-//#include "ble.h" /* nordic ble */
+#include "btle.h"
 #include "GattService.h"
 #include "hw/GattServer.h"
 
@@ -46,6 +46,7 @@
 
     uint8_t serviceCount;
     uint8_t characteristicCount;
+    tHalUint16 hrmServHandle, hrmCharHandle;
     
     GattCharacteristic *p_characteristics[BLE_TOTAL_CHARACTERISTICS];
     //ble_gatts_char_handles_t nrfCharacteristicHandles[BLE_TOTAL_CHARACTERISTICS];