X_NUCLEO_IDB05A1

Dependencies:   mbed-os-example-ble-Advertising

Revision:
133:1bb8df697f7f
Parent:
132:51056160fa4a
Child:
134:d2f8d5898d04
--- a/source/platform/stm32_bluenrg_ble.cpp	Wed Oct 07 08:39:04 2015 +0200
+++ b/source/platform/stm32_bluenrg_ble.cpp	Wed Oct 07 09:08:22 2015 +0200
@@ -39,6 +39,7 @@
 #include "BlueNRGGap.h"
 #include "BlueNRGDevice.h"
 #include "Utils.h"
+#include "btle.h"
 
 // FIXME: find a better way to get the instance of the BlueNRG device
 extern BlueNRGDevice bluenrgDeviceInstance;
@@ -175,6 +176,18 @@
     bluenrgDeviceInstance.disable_irq();
 }
 
+#ifdef YOTTA_CFG
+/**
+ * Call BTLE callback handler.
+ * @param  None
+ * @retval None
+ */
+void Call_BTLE_Handler(void)
+{
+	minar::Scheduler::postCallback(btle_handler);
+}
+#endif
+
 /**
  * @brief  Clear Pending SPI IRQ.
  * @param  None