27 lines
372 B
C
27 lines
372 B
C
#ifndef HTTP_CLIENT_H
|
|
#define HTTP_CLIENT_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
struct hc_reg_res {
|
|
unsigned device_id;
|
|
};
|
|
|
|
struct hc_dev_config {
|
|
};
|
|
|
|
void hc_test(void);
|
|
bool hc_check_updates();
|
|
struct hc_reg_res hc_reg_dev();
|
|
struct hc_dev_config hc_get_dev_conf();
|
|
|
|
void hc_send_sensor_data(int humidity, int temperature);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|