HW layer for the Nucleo board, it only work with old BLE_API

Dependents:   Hello_BLE F446RE-BLE

Fork of X_NUCLEO_IDB0XA1 by ST

Revision:
41:95b8d531628c
Parent:
33:96724af256a5
Child:
55:0e4db6804c8d
--- a/BlueNRGGap.h	Wed Aug 27 06:45:31 2014 +0000
+++ b/BlueNRGGap.h	Wed Aug 27 11:52:07 2014 +0000
@@ -25,6 +25,7 @@
 #include "public/Gap.h"
 
 #define BLE_CONN_HANDLE_INVALID 0x0
+#define BDADDR_SIZE 6
 
 /**************************************************************************/
 /*!
@@ -54,9 +55,14 @@
 
     void     setConnectionHandle(uint16_t con_handle);
     uint16_t getConnectionHandle(void);
+    
+    tHalUint8* getAddress();
+    bool getIsSetAddress();
 
 private:
     uint16_t m_connectionHandle;
+    tHalUint8 bdaddr[BDADDR_SIZE];
+    bool isSetAddress;
     tBleStatus ret;
   
     //const char local_name[];// = {AD_TYPE_COMPLETE_LOCAL_NAME,'B','l','u','e','N','R','G'};
@@ -64,6 +70,7 @@
     //uint8_t *device_name;
     BlueNRGGap() {
         m_connectionHandle = BLE_CONN_HANDLE_INVALID;
+        isSetAddress = false;
         //local_name[] = {AD_TYPE_COMPLETE_LOCAL_NAME,'B','l','u','e','N','R','G'};
         
     }