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:
109:9e152b2453bc
Parent:
107:5cc5ac5bfbbb
--- a/BlueNRGGap.h	Wed Sep 02 14:36:42 2015 +0000
+++ b/BlueNRGGap.h	Mon Sep 07 10:35:29 2015 +0000
@@ -105,6 +105,16 @@
     
     //tHalUint8* getAddress();
     bool getIsSetAddress();
+    
+    Timeout getAdvTimeout(void) const {
+        return advTimeout;
+    }
+    uint8_t getAdvToFlag(void) {
+        return AdvToFlag;
+    }
+    void setAdvToFlag(void);
+    
+    void Process(void);
 
 protected:
     virtual ble_error_t startRadioScan(const GapScanningParams &scanningParams);
@@ -128,6 +138,9 @@
     uint8_t AdvLen;
     uint8_t AdvData[ADV_DATA_MAX_SIZE];
     
+    Timeout advTimeout;
+    bool AdvToFlag;
+
     BlueNRGGap() {
         m_connectionHandle = BLE_CONN_HANDLE_INVALID;
         isSetAddress = false;