expand to tree htu sensors

This commit is contained in:
Harald Pichler 2017-10-19 14:28:10 +02:00
parent 9355f678e3
commit e93083073c
7 changed files with 386 additions and 20 deletions

View file

@ -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_htu21dhum,
RESOURCE(res_dhtahum,
"title=\"Moisture status\";rt=\"Moisture\"",
res_get_handler,
NULL,