Patched version of nrf51822 FOTA compatible driver, with GPTIO disabled, as it clashed with the mbed definitions...

Fork of nRF51822 by Nordic Semiconductor

Files at this revision

API Documentation at this revision

Comitter:
rgrover1
Date:
Fri May 08 15:33:58 2015 +0100
Parent:
156:8e97c41fd7ab
Child:
158:ad708a3d7ad7
Commit message:
Synchronized with git rev 256f8f89
Author: Rohit Grover
add some defaults to a couple of switches around security modes.

Changed in this revision

btle/custom/custom_helper.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/btle/custom/custom_helper.cpp	Fri May 08 15:33:58 2015 +0100
+++ b/btle/custom/custom_helper.cpp	Fri May 08 15:33:58 2015 +0100
@@ -261,6 +261,8 @@
             case Gap::SECURITY_MODE_SIGNED_WITH_MITM :
                 BLE_GAP_CONN_SEC_MODE_SET_SIGNED_WITH_MITM(&attr_md.read_perm);
                 break;
+            default:
+                break;
         };
     }
 
@@ -281,6 +283,8 @@
             case Gap::SECURITY_MODE_SIGNED_WITH_MITM :
                 BLE_GAP_CONN_SEC_MODE_SET_SIGNED_WITH_MITM(&attr_md.write_perm);
                 break;
+            default:
+                break;
         };
     }