expand to tree htu sensors
This commit is contained in:
parent
9355f678e3
commit
e93083073c
7 changed files with 386 additions and 20 deletions
|
@ -45,7 +45,7 @@
|
|||
static void res_get_handler(void *request, void *response, uint8_t *buffer, uint16_t preferred_size, int32_t *offset);
|
||||
|
||||
/* A simple getter example. Returns the reading from the sensor with a simple etag */
|
||||
RESOURCE(res_htu21dtemp,
|
||||
RESOURCE(res_dhtatemp,
|
||||
"title=\"Temperature status\";rt=\"Temperatur\"",
|
||||
res_get_handler,
|
||||
NULL,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue