Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed-rtos mbed mbed_fota_fan_control
Fork of mbed_fota_lamp_control by
Diff: ext_fota/BleMsgHandler.cpp
- Revision:
- 0:a1f6b1ba8a1e
- Child:
- 1:5cf3a6c969be
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ext_fota/BleMsgHandler.cpp Mon Jun 22 07:19:59 2015 +0000 @@ -0,0 +1,24 @@ +#include "BleMsgHandler.h" + +namespace sevencore_fota{ + +BleMsgHandler::BleMsgHandler(Serial *_device) +{ + print_flag = 0; + device = _device; +} + +BleMsgHandler::BleMsgHandler(Serial *_device, Serial *_hostpc) +{ + print_flag = 1; + device = _device; + hostpc = _hostpc; +} + +void BleMsgHandler::PrintTitle(void) +{ + if( print_flag == 1 ) + hostpc->printf("Sevencore Fota : BleMsg Handler Start\n"); +} + +}//namespace