This is for Bluetooth World 2018
Dependencies: BLE_API mbed-dev-bin nRF51822
Fork of microbit-dal by
Revision 76:23105cbbad61, committed 2018-08-06
- Comitter:
- krenbluetoothsig
- Date:
- Mon Aug 06 08:39:40 2018 +0000
- Parent:
- 75:ab11cf052de6
- Commit message:
- 1. NEW: Add #include "MicroBitAnimationService.h" to MicroBitBLEManager.h; *; * In MicroBitConfig.h:; * #define MICROBIT_BLE_OPEN 1; * #define MICROBIT_SD_GATT_TABLE_SIZE 0x500
Changed in this revision
diff -r ab11cf052de6 -r 23105cbbad61 inc/bluetooth/MicroBitBLEManager.h --- a/inc/bluetooth/MicroBitBLEManager.h Mon Aug 06 08:24:05 2018 +0000 +++ b/inc/bluetooth/MicroBitBLEManager.h Mon Aug 06 08:39:40 2018 +0000 @@ -60,6 +60,7 @@ #include "ExternalEvents.h" #include "MicroBitButton.h" #include "MicroBitStorage.h" +#include "MicroBitAnimationService.h" #define MICROBIT_BLE_PAIR_REQUEST 0x01 #define MICROBIT_BLE_PAIR_COMPLETE 0x02
diff -r ab11cf052de6 -r 23105cbbad61 inc/core/MicroBitConfig.h --- a/inc/core/MicroBitConfig.h Mon Aug 06 08:24:05 2018 +0000 +++ b/inc/core/MicroBitConfig.h Mon Aug 06 08:39:40 2018 +0000 @@ -101,7 +101,7 @@ // For standard S110 builds, this should be word aligned and in the range 0x300 - 0x700. // Any unused memory will be automatically reclaimed as HEAP memory if both MICROBIT_HEAP_REUSE_SD and MICROBIT_HEAP_ALLOCATOR are enabled. #ifndef MICROBIT_SD_GATT_TABLE_SIZE -#define MICROBIT_SD_GATT_TABLE_SIZE 0x300 +#define MICROBIT_SD_GATT_TABLE_SIZE 0x500 #endif // @@ -187,7 +187,7 @@ // Open BLE links are not secure, but commonly used during the development of BLE services // Set '1' to disable all secuity #ifndef MICROBIT_BLE_OPEN -#define MICROBIT_BLE_OPEN 0 +#define MICROBIT_BLE_OPEN 1 #endif // Configure for open BLE operation if so configured