yet another 18B20 Temperature sensor. variable number of sensors working in parasite mode, serial 16x2 display with diagnostic output and post to a rest web service

Dependencies:   EthernetInterface HTTPClient NTPClient mbed-rtos mbed

collector_proxy.h

Committer:
wkinkeldei
Date:
2013-01-03
Revision:
1:9e88b2508768
Parent:
0:53f05303850a

File content as of revision 1:9e88b2508768:

#ifndef COLLECTOR_PROXY_H
#define COLLECTOR_PROXY_H

#include "mbed.h"
#include "HTTPClient.h"

class CollectorProxy {
public:
    CollectorProxy(const char *url);
    int send_measure(char *path_part, int value); // result 1:OK, 0:fail

private:
    const char *base_url;
};

#endif