Revised to disable BLE for radio communication as needed.

Dependencies:   BLE_API nRF51822 mbed-dev-bin

Dependents:   microbit

Revision:
24:3373f1fb0353
Parent:
23:6055f6c19fa6
Child:
26:493daf8966fd
--- a/source/bluetooth/MicroBitBLEManager.cpp	Wed Jul 13 12:17:56 2016 +0100
+++ b/source/bluetooth/MicroBitBLEManager.cpp	Wed Jul 13 12:17:57 2016 +0100
@@ -278,7 +278,7 @@
     ble->gap().onDisconnection(bleDisconnectionCallback);
     ble->gattServer().onSysAttrMissing(bleSysAttrMissingCallback);
     
-    // generate an event when a Bluetooth connection is lost
+    // generate an event when a Bluetooth connection is established
     ble->gap().onConnection(bleConnectionCallback);
 
     // Configure the stack to hold onto the CPU during critical timing events.