A client for the SmartREST protocol from Cumulocity.
Dependencies: HTTPClient SmartRest
MbedClient.cpp
- Committer:
- vwochnik
- Date:
- 2014-01-24
- Revision:
- 3:ce2f116369bd
- Child:
- 5:ab909221d22d
File content as of revision 3:ce2f116369bd:
#include "MbedClient.h" MbedClient::MbedClient(const char* url, const char* username, const char* password) : _url(url), _username(username), _password(password) { _state = 0; } uint8_t MbedClient::beginRequest() { } uint8_t MbedClient::sendIdentifier(const char*) { } uint8_t MbedClient::sendData(DataGenerator& generator) { } uint8_t MbedClient::endRequest() { } uint8_t MbedClient::awaitResponse() { } AbstractDataSource& MbedClient::receiveData() { return _buffer; } void MbedClient::stop() { _buffer.writeReset(); }