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
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.
Diff: main.cpp
- Revision:
- 1:5cf3a6c969be
- Parent:
- 0:a1f6b1ba8a1e
- Child:
- 3:1e70387e1337
diff -r a1f6b1ba8a1e -r 5cf3a6c969be main.cpp --- a/main.cpp Mon Jun 22 07:19:59 2015 +0000 +++ b/main.cpp Mon Jun 22 07:36:06 2015 +0000 @@ -1,14 +1,17 @@ #include "mbed.h" +#include "BleMsgHandler.h" Serial hostpc(USBTX,USBRX); Serial device(p13,p14); DigitalOut myled(LED1); +using namespace sevencore_fota; + int main() { - BleMsgHandler MYFOTA(&device,&hostpc); + BleMsgHandler myfota(&device,&hostpc); - MYFOTA.PrintTitle(); + myfota.PrintTitle(); while(1) {