![](/media/cache/profiles/ed694cc68f923d122da813f86fa5c91f.jpg.50x50_q85.jpg)
BLE FOTA with mbed external processor.
ext_fota/BleMsgHandler.h@0:a1f6b1ba8a1e, 2015-06-22 (annotated)
- Committer:
- dudnwjs
- Date:
- Mon Jun 22 07:19:59 2015 +0000
- Revision:
- 0:a1f6b1ba8a1e
Sevencore Fota Basic Program;
Who changed what in which revision?
User | Revision | Line number | New 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 | 0:a1f6b1ba8a1e | 6 | |
dudnwjs | 0:a1f6b1ba8a1e | 7 | namespace sevencore_fota{ |
dudnwjs | 0:a1f6b1ba8a1e | 8 | |
dudnwjs | 0:a1f6b1ba8a1e | 9 | public BleMsg_Handler |
dudnwjs | 0:a1f6b1ba8a1e | 10 | { |
dudnwjs | 0:a1f6b1ba8a1e | 11 | public: |
dudnwjs | 0:a1f6b1ba8a1e | 12 | BleMsg_Handler(Serial* _device); |
dudnwjs | 0:a1f6b1ba8a1e | 13 | ~BleMsg_Handler(Serial* _device, Serial* _hostpc); |
dudnwjs | 0:a1f6b1ba8a1e | 14 | void PrintTitle(void); |
dudnwjs | 0:a1f6b1ba8a1e | 15 | |
dudnwjs | 0:a1f6b1ba8a1e | 16 | |
dudnwjs | 0:a1f6b1ba8a1e | 17 | private: |
dudnwjs | 0:a1f6b1ba8a1e | 18 | bool print_flag; |
dudnwjs | 0:a1f6b1ba8a1e | 19 | Serial* device; |
dudnwjs | 0:a1f6b1ba8a1e | 20 | Serial* hostpc; |
dudnwjs | 0:a1f6b1ba8a1e | 21 | } |
dudnwjs | 0:a1f6b1ba8a1e | 22 | |
dudnwjs | 0:a1f6b1ba8a1e | 23 | }//namespace |
dudnwjs | 0:a1f6b1ba8a1e | 24 | |
dudnwjs | 0:a1f6b1ba8a1e | 25 | #endif //BLEMSG_HANDLER_H |