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 09:43:13 2015 +0000
Revision:
2:dba344c91bce
Parent:
1:5cf3a6c969be
Child:
3:1e70387e1337
Add Serial Manager;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
dudnwjs 0:a1f6b1ba8a1e 1 #ifndef BLEMSGHANDLER_H
dudnwjs 0:a1f6b1ba8a1e 2 #define BLEMSGHANDLER_H
dudnwjs 0:a1f6b1ba8a1e 3
dudnwjs 0:a1f6b1ba8a1e 4 #include "mbed.h"
dudnwjs 0:a1f6b1ba8a1e 5 #include "MsgQueue.h"
dudnwjs 2:dba344c91bce 6 #include "SerialManager.h"
dudnwjs 0:a1f6b1ba8a1e 7
dudnwjs 0:a1f6b1ba8a1e 8 namespace sevencore_fota{
dudnwjs 0:a1f6b1ba8a1e 9
dudnwjs 1:5cf3a6c969be 10 class BleMsgHandler
dudnwjs 0:a1f6b1ba8a1e 11 {
dudnwjs 0:a1f6b1ba8a1e 12 public:
dudnwjs 1:5cf3a6c969be 13 BleMsgHandler(Serial* _device);
dudnwjs 1:5cf3a6c969be 14 BleMsgHandler(Serial* _device, Serial* _hostpc);
dudnwjs 1:5cf3a6c969be 15 ~BleMsgHandler(void);
dudnwjs 0:a1f6b1ba8a1e 16 void PrintTitle(void);
dudnwjs 0:a1f6b1ba8a1e 17
dudnwjs 0:a1f6b1ba8a1e 18
dudnwjs 0:a1f6b1ba8a1e 19 private:
dudnwjs 0:a1f6b1ba8a1e 20 bool print_flag;
dudnwjs 0:a1f6b1ba8a1e 21 Serial* device;
dudnwjs 0:a1f6b1ba8a1e 22 Serial* hostpc;
dudnwjs 2:dba344c91bce 23 SerialManager* SerialM;
dudnwjs 1:5cf3a6c969be 24 };
dudnwjs 0:a1f6b1ba8a1e 25
dudnwjs 0:a1f6b1ba8a1e 26 }//namespace
dudnwjs 0:a1f6b1ba8a1e 27
dudnwjs 1:5cf3a6c969be 28 #endif //BLEMSGHANDLER_H