Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BLE_API mbed nRF51822
Revision 0:c54bb1176cf5, committed 2017-03-24
- Comitter:
- rgbetanco
- Date:
- Fri Mar 24 04:49:51 2017 +0000
- Commit message:
- testing fota for nRF51 DK
Changed in this revision
--- /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