Own fork of MbedSmartRestMain

Dependencies:   C027_Support C12832 LM75B MMA7660 MbedSmartRest mbed-rtos mbed

Fork of MbedSmartRestMain by Cumulocity Official

DeviceBootstrap.h

Committer:
xinlei
Date:
2015-05-15
Revision:
112:3872569be2af
Parent:
109:b7a403dbceb6
Child:
116:5de54f09f754

File content as of revision 112:3872569be2af:

#ifndef DEVICEBOOTSTRAP_H
#define DEVICEBOOTSTRAP_H

#include <stddef.h>
#include "AbstractSmartRest.h"
#include "DeviceInfo.h"


class DeviceBootstrap
{
public:
    DeviceBootstrap(AbstractSmartRest&, DeviceInfo&);
    bool bootstrap();

protected:
    bool obtainFromPlatform();

private:
    AbstractSmartRest& _client;
    DeviceInfo& _deviceInfo;
};

#endif