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:
66:8c8813dd8e79
Parent:
65:f9958b8f2548
--- a/platform/src/btle.cpp	Wed Apr 01 09:02:51 2015 +0000
+++ b/platform/src/btle.cpp	Wed Apr 01 09:48:50 2015 +0000
@@ -281,11 +281,11 @@
                                 //Now Check if data written in Enable or Disable
                                 if((uint16_t)evt->att_data[0]==1) {
                                     //DEBUG("Notify ENABLED\n\r"); 
-                                    BlueNRGGattServer::getInstance().handleEvent(GattServerEvents::GATT_EVENT_UPDATES_ENABLED, evt->attr_handle);
+                                    BlueNRGGattServer::getInstance().HCIEvent(GattServerEvents::GATT_EVENT_UPDATES_ENABLED, evt->attr_handle);
                                 } 
                                 else {
                                     //DEBUG("Notify DISABLED\n\r"); 
-                                    BlueNRGGattServer::getInstance().handleEvent(GattServerEvents::GATT_EVENT_UPDATES_DISABLED, evt->attr_handle);
+                                    BlueNRGGattServer::getInstance().HCIEvent(GattServerEvents::GATT_EVENT_UPDATES_DISABLED, evt->attr_handle);
                                 }
                             }
                             
@@ -302,7 +302,7 @@
                                 #if BLUENRG_MS
                                 writeParams.offset=evt->offset;//Not used in BlueNRG?
                                 #endif
-                                BlueNRGGattServer::getInstance().handleDataWrittenEvent(&writeParams);
+                                BlueNRGGattServer::getInstance().HCIDataWrittenEvent(&writeParams);
 
                                 //BlueNRGGattServer::getInstance().handleEvent(GattServerEvents::GATT_EVENT_DATA_WRITTEN, evt->attr_handle);
                                 //Write the actual Data to the Attr Handle? (uint8_1[])evt->att_data contains the data