J Daniel Martinez C
/
C-Conv
PIC to Mbed errors
Diff: ubidots.h
- Revision:
- 0:b329a09583fb
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ubidots.h Fri Sep 01 16:11:35 2017 +0000 @@ -0,0 +1,20 @@ +#ifndef UBIDOTS_H +#define UBIDOTS_H + +#include <stdio.h> +#include <string.h> +#include <stdint.h> + +#define UBIDOTS_SERVER "things.ubidots.com" +#define SIZE_HTTP_BODY 100 +#define SIZE_BUFFER_POST 200 + +#define TOKEN "DihroZdscJDt6ZIBX8TMBr84QZDTM7" +#define VARIABLE_ID "59977324c03M973c345e0527" + +#define VALUE "\"value\": 1.0" + +//const char* ubidotsPOST( const char* token, const char* variable_id, float value); +uint8_t* ubidotsGET(uint8_t* token, uint8_t* variable_id ); + +#endif