modified: firmware/main/include/lib.h modified: firmware/main/src/http_client.c modified: firmware/main/src/main.c
23 lines
329 B
C
23 lines
329 B
C
#ifndef HTTP_CLIENT_H
|
|
#define HTTP_CLIENT_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
struct hc_dev_config {
|
|
};
|
|
|
|
void hc_test(void);
|
|
bool hc_check_updates();
|
|
bool hc_register();
|
|
struct hc_dev_config hc_get_dev_conf();
|
|
|
|
bool hc_send_sensor_data(unsigned id, float humidity, float temperature);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|