Erick / Mbed 2 deprecated ICE_BLE_TEST

Dependencies:   NaturalTinyShell_ice libmDot-12Sept mbed-rtos mbed

Fork of ICE by Erick

src/CloudDataHandler/CloudDataHandler.cpp

Committer:
jinu
Date:
2016-10-28
Revision:
284:cc72206ea8e0
Parent:
149:950c90425f7c

File content as of revision 284:cc72206ea8e0:

#include "CloudDataHandler.h"
#include "CloudFileReceiver.h"
#include "LogHandler.h"
#include "MTSLog.h"
#include <stdio.h>
#include "mDot.h"
#include <vector>
#include "rtos.h"
#include "global.h"

void CloudDataHandler(void const *args)
{
    int32_t ret;
    bool joined;
    bool sent;

    printf("\r%s has started...\n", __func__);

    while ( true ) {
        sent = LogHandler( false );
        Thread::wait(1000);
    }
}