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.

Committer:
dudnwjs
Date:
Mon Jun 22 07:19:59 2015 +0000
Revision:
0:a1f6b1ba8a1e
Child:
1:5cf3a6c969be
Sevencore Fota Basic Program;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
dudnwjs 0:a1f6b1ba8a1e 1 #include "mbed.h"
dudnwjs 0:a1f6b1ba8a1e 2
dudnwjs 0:a1f6b1ba8a1e 3 Serial hostpc(USBTX,USBRX);
dudnwjs 0:a1f6b1ba8a1e 4 Serial device(p13,p14);
dudnwjs 0:a1f6b1ba8a1e 5
dudnwjs 0:a1f6b1ba8a1e 6 DigitalOut myled(LED1);
dudnwjs 0:a1f6b1ba8a1e 7
dudnwjs 0:a1f6b1ba8a1e 8 int main() {
dudnwjs 0:a1f6b1ba8a1e 9 BleMsgHandler MYFOTA(&device,&hostpc);
dudnwjs 0:a1f6b1ba8a1e 10
dudnwjs 0:a1f6b1ba8a1e 11 MYFOTA.PrintTitle();
dudnwjs 0:a1f6b1ba8a1e 12
dudnwjs 0:a1f6b1ba8a1e 13
dudnwjs 0:a1f6b1ba8a1e 14 while(1) {
dudnwjs 0:a1f6b1ba8a1e 15 myled = 1;
dudnwjs 0:a1f6b1ba8a1e 16 wait(0.5);
dudnwjs 0:a1f6b1ba8a1e 17 myled = 0;
dudnwjs 0:a1f6b1ba8a1e 18 wait(0.5);
dudnwjs 0:a1f6b1ba8a1e 19 }
dudnwjs 0:a1f6b1ba8a1e 20 }