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.

ext_fota/BleMsgHandler.h

Committer:
dudnwjs
Date:
2015-06-22
Revision:
1:5cf3a6c969be
Parent:
0:a1f6b1ba8a1e
Child:
2:dba344c91bce

File content as of revision 1:5cf3a6c969be:

#ifndef BLEMSGHANDLER_H
#define BLEMSGHANDLER_H

#include "mbed.h"
#include "MsgQueue.h"

namespace sevencore_fota{
    
class BleMsgHandler
{
public:
    BleMsgHandler(Serial* _device);
    BleMsgHandler(Serial* _device, Serial* _hostpc);
    ~BleMsgHandler(void);
    void PrintTitle(void);
    
    
private:
    bool print_flag;
    Serial* device;
    Serial* hostpc;
};

}//namespace

#endif //BLEMSGHANDLER_H