https://github.com/WebBluetoothCG/demos/pull/42
Dependencies: BLE_API mbed-dev-bin nRF51822
Fork of microbit-dal by
Revision 74:04376b21995b, committed 2016-07-21
- Comitter:
- fbeaufort
- Date:
- Thu Jul 21 07:19:19 2016 +0000
- Parent:
- 73:eb91bba49623
- Commit message:
- First commit
Changed in this revision
inc/core/MicroBitConfig.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/inc/core/MicroBitConfig.h Wed Jul 13 14:32:54 2016 +0000 +++ b/inc/core/MicroBitConfig.h Thu Jul 21 07:19:19 2016 +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 0x700 #endif // @@ -173,7 +173,7 @@ // Enable/Disable BLE pairing mode mode at power up. // Set '1' to enable. #ifndef MICROBIT_BLE_PAIRING_MODE -#define MICROBIT_BLE_PAIRING_MODE 1 +#define MICROBIT_BLE_PAIRING_MODE 0 #endif // Enable/Disable the use of private resolvable addresses. @@ -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 @@ -234,21 +234,21 @@ // This allows over the air programming during normal operation. // Set '1' to enable. #ifndef MICROBIT_BLE_DFU_SERVICE -#define MICROBIT_BLE_DFU_SERVICE 1 +#define MICROBIT_BLE_DFU_SERVICE 0 #endif // Enable/Disable BLE Service: MicroBitEventService // This allows routing of events from the micro:bit message bus over BLE. // Set '1' to enable. #ifndef MICROBIT_BLE_EVENT_SERVICE -#define MICROBIT_BLE_EVENT_SERVICE 1 +#define MICROBIT_BLE_EVENT_SERVICE 0 #endif // Enable/Disable BLE Service: MicroBitDeviceInformationService // This enables the standard BLE device information service. // Set '1' to enable. #ifndef MICROBIT_BLE_DEVICE_INFORMATION_SERVICE -#define MICROBIT_BLE_DEVICE_INFORMATION_SERVICE 1 +#define MICROBIT_BLE_DEVICE_INFORMATION_SERVICE 0 #endif //