Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: source/platform/stm32_bluenrg_ble.cpp
- Revision:
- 133:1bb8df697f7f
- Parent:
- 132:51056160fa4a
- Child:
- 134:d2f8d5898d04
diff -r 51056160fa4a -r 1bb8df697f7f source/platform/stm32_bluenrg_ble.cpp --- 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