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:
125:2e468f07a94f
Parent:
121:f00e26745564
Child:
126:32039585a969
--- a/platform/src/btle.cpp	Mon Sep 14 10:14:37 2015 +0200
+++ b/platform/src/btle.cpp	Thu Sep 17 08:23:17 2015 +0000
@@ -375,8 +375,8 @@
                                 //Write the actual Data to the Attr Handle? (uint8_1[])evt->att_data contains the data
                                 if ((p_char->getValueAttribute().getValuePtr() != NULL) && (p_char->getValueAttribute().getInitialLength() > 0)) {
                                     BlueNRGGattServer::getInstance().write(p_char->getValueAttribute().getHandle(),
-                                                                            p_char->getValueAttribute().getValuePtr(),
-                                                                            p_char->getValueAttribute().getInitialLength(),
+                                                                            (uint8_t*)evt->att_data,
+                                                                            evt->data_length,
                                                                             false /* localOnly */);
                                 }
                             }