Ronald Garcia / Mbed 2 deprecated FOTA_TEST

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
--- /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
--- /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
--- /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
--- /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