mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-15 20:54:54 +03:00
removed auto-generated attribute "obs"
This commit is contained in:
1 parent
e35a1216f8
commit
48bbed7aab
1 file changed
-1
@@ -286,7 +286,6 @@ init_resources(coap_context_t *ctx) {
|
||||
coap_add_attr(r, (unsigned char *)"ct", 2, (unsigned char *)"0", 1);
|
||||
coap_add_attr(r, (unsigned char *)"title", 5, (unsigned char *)"\"Internal Clock\"", 16);
|
||||
coap_add_attr(r, (unsigned char *)"rt", 2, (unsigned char *)"\"Ticks\"", 7);
|
||||
coap_add_attr(r, (unsigned char *)"obs", 3, NULL, 0);
|
||||
r->observeable = 1;
|
||||
coap_add_attr(r, (unsigned char *)"if", 2, (unsigned char *)"\"clock\"", 7);
|
||||
|
||||
|
||||
Reference in new issue
Block a user