testing fota on nRF51 DK

Dependencies:   BLE_API mbed nRF51822

Files at this revision

API Documentation at this revision

Comitter:
rgbetanco
Date:
Fri Mar 24 04:49:51 2017 +0000
Commit message:
testing fota for nRF51 DK

Changed in this revision

BLE_API.lib Show annotated file Show diff for this revision Revisions of this file
mail.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
nRF51822.lib Show annotated file Show diff for this revision Revisions of this file
diff -r 000000000000 -r c54bb1176cf5 BLE_API.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/BLE_API.lib	Fri Mar 24 04:49:51 2017 +0000
@@ -0,0 +1,1 @@
+https://mbed.org/teams/Bluetooth-Low-Energy/code/BLE_API/#65474dc93927
diff -r 000000000000 -r c54bb1176cf5 mail.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mail.cpp	Fri Mar 24 04:49:51 2017 +0000
@@ -0,0 +1,13 @@
+#include "mbed.h"
+#include "BLE.h"
+
+BLEDevice  ble;
+
+int main(void){
+    ble.init();
+    ble.setAdvertisingInterval(1000); /* 100ms; in multiples of 0.625ms. */
+    ble.startAdvertising();
+    while(true){
+        ble.waitForEvent();
+    }    
+}
\ No newline at end of file
diff -r 000000000000 -r c54bb1176cf5 mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Fri Mar 24 04:49:51 2017 +0000
@@ -0,0 +1,1 @@
+https://mbed.org/users/mbed_official/code/mbed/builds/093f2bd7b9eb
\ No newline at end of file
diff -r 000000000000 -r c54bb1176cf5 nRF51822.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nRF51822.lib	Fri Mar 24 04:49:51 2017 +0000
@@ -0,0 +1,1 @@
+https://mbed.org/teams/Nordic-Semiconductor/code/nRF51822/#c90ae1400bf2