This library provides data update method to Fastsensing.

Dependents:   SCP1000_Fastsensing

Fastsensing.h

Committer:
AkiraK
Date:
2017-04-04
Revision:
3:d0d34327ea79
Parent:
0:f26c02be48f9
Child:
8:21b39074c0f5

File content as of revision 3:d0d34327ea79:

#ifndef FASTSENSING_H
#define FASTSENSING_H

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

class Fastsensing{
private :
    EthernetInterface eth;  //eth instance is created from EthernetInterface
    HTTPClient http;        //http instance is created from HTTPClient
public:
    int updateData(char *deviceId, char *channelId, double data);
    int updateDataAll(char *deviceId, char *channelId[3], float data[3]);
    void ethConnect();
    void ethDisconnect();
};

#endif