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.
Fork of X_NUCLEO_IDB0XA1 by
Diff: source/bluenrg-hci/hci/hci.c
- Revision:
- 162:667f97a4db7f
- Parent:
- 140:0cd922dca83c
- Child:
- 163:4c008b1089e9
diff -r 7eb0eb7adbe6 -r 667f97a4db7f source/bluenrg-hci/hci/hci.c --- a/source/bluenrg-hci/hci/hci.c Thu Oct 29 15:24:04 2015 +0100 +++ b/source/bluenrg-hci/hci/hci.c Fri Oct 30 09:08:25 2015 +0100 @@ -32,7 +32,7 @@ #define HCI_LOG_ON 0 -#define HCI_READ_PACKET_NUM_MAX (5) +#define HCI_READ_PACKET_NUM_MAX (15) #define MIN(a,b) ((a) < (b) )? (a) : (b) #define MAX(a,b) ((a) > (b) )? (a) : (b) @@ -156,6 +156,9 @@ } else{ // HCI Read Packet Pool is empty, wait for a free packet. +#ifdef AST_FOR_MBED_OS + Call_BTLE_Handler(); +#endif readPacketListFull = TRUE; Clear_SPI_EXTI_Flag(); return;