Bluetooth Low Energy based Firmware Over The Air with Mbed. Mbed part is a external processor of the IoT devices and communicate with a Bluetooth module. The Bluetooth module have to support BLE and implement BLE FOTA profile designed by ours. BLE FOTA profile specification is available from our GIT hub wiki(https://github.com/sevencore/BLEFOTA).

Dependencies:   mbed

Fork of mbed_fota by KIM HyoengJun

Bluetooth Low Energy based Firmware Over The Air with Mbed. Mbed part is a external processor of the IoT devices and communicate with a Bluetooth module. The Bluetooth module have to support BLE and implement BLE FOTA profile designed by ours. BLE FOTA profile specification is available from our GIT hub wiki.

Revision:
5:e11b23f9aacc
Parent:
4:60be78a172c2
Child:
6:8dd20294b2aa
--- a/main.cpp	Wed Jun 24 08:50:07 2015 +0000
+++ b/main.cpp	Mon Jul 13 06:32:05 2015 +0000
@@ -9,26 +9,26 @@
 
 using namespace sevencore_fota;
 
-int main() {
+int main() {  
+  
+    hostpc.baud(9600);
     device.baud(115200);
+    device.set_flow_control(device.RTS,p12,p12);
     
-    BleMsgHandler myfota(&device,&hostpc);
-    
+    BleMsgHandler myfota(&device,&hostpc);   
     myfota.PrintTitle();
-    
     app_rst_gap(&myfota);
     
-    for(int i = 0; i < 10; i++)
-    {
+    for(int i = 0; i < 20; i++) {
         myfota.BleReceiveMsg();
         myfota.BleMsgHandle();
     }
     
-    
     while(1) {
         myled = 1;
         wait(0.5);
         myled = 0;
         wait(0.5);
     }
+    
 }