Commit graph

8 commits

Author SHA1 Message Date
Ralf Schlatterbeck e3784fa9c7 Add query parameter to generic resouce macros
Modify all callback functions to use new signature.
ota-update now uses this to pass the partition to some get/put methods.
2017-08-20 15:01:30 +02:00
Ralf Schlatterbeck c6165a3bcf Refactor GENERIC_RESOURCE macro
Now callback functions get the URI of the request, this allows to use a
single resource for multiple different URIs.
The is_json flag is now gone for the to-string function, instead the
macro has an is_str flag. If set this automagically produces quotes
around the string for json output.
Now from-string functions can return an error-code, 0 for success, -1
for error.
2016-02-26 17:13:48 +01:00
Harald Pichler 1e5163cbb3 bugfix remove testcode 2016-02-23 20:31:10 +01:00
Harald Pichler b8c5ee0e2b add Test code 2016-01-28 17:08:56 +01:00
Harald Pichler 681c514a18 add coap resourcen rgb 2016-01-25 20:41:26 +01:00
Harald Pichler 44d4f855c6 add contiki combatibility 2016-01-24 16:04:37 +01:00
Harald Pichler 406d69a27c add RGBdriver 2016-01-23 17:49:51 +01:00
Harald Pichler fce1b561da initial upload 2016-01-22 15:41:55 +01:00