Contiki-OS : CoAP protocol and CoRE link implementation

0 votes
So, I have a question concerning the implementation of CoAP protocol and CoRE link format, in Contiki-OS.

Consider a Contiki device shares several sensors such as temperature, humidity, solar panel voltage, battery voltage, etc.

A client can access these resources with their respective URLs and the maximum number allowed observers by default is 3 which can obviously be increased by creating an observer for each resource separately.

But my question is if there is a better way to do this like a mechanism enabling combining several periodic resources in one observer?

Any help is appreciated.

Thanks in advance.
Jan 21 in IoT (Internet of Things) by Shubham
• 12,270 points

edited Jan 21 by Shubham 66 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

I don't think there's a standard way to do this. You could add another URL returning all the sensors but that's a terrible solution as well. What you could do actually, is simply override the default maximum observers setting. As a matter of fact, the observe draft doesn't say anything about a maximum number of observers, you can set one to be sure that your device doesn't crash due to memory allocation.

answered Jan 21 by Upasana
• 7,680 points

Related Questions In IoT (Internet of Things)

0 votes
1 answer

MQTT and CoAP Sensors and Actuators

For CoAP: Every 6LowPAN sensor mote has ...READ MORE

answered Oct 1, 2018 in IoT (Internet of Things) by Annie97
• 2,190 points
66 views
0 votes
1 answer

Why are oBIX and CoAP required together?

In IOT, CoAP is used as a ...READ MORE

answered Oct 9, 2018 in IoT (Internet of Things) by Annie97
• 2,190 points
43 views
0 votes
1 answer
0 votes
0 answers

Eclipse Californium CoAP wildcard as url path

I'm working on a CoAP app using ...READ MORE

Jul 19, 2018 in IoT (Internet of Things) by Matt
• 2,260 points
35 views
0 votes
1 answer

Sending CoAP requests using Python

It can be done using a library ...READ MORE

answered Aug 24, 2018 in IoT (Internet of Things) by nirvana
• 3,040 points
220 views
0 votes
1 answer

integrating CoAP and DTLS

Tested with development version 9184a75a21; $ git clone https://github.com/obgm/libcoap ...READ MORE

answered Sep 5, 2018 in IoT (Internet of Things) by lady technopath

edited Sep 5, 2018 by Vardhan 84 views
0 votes
1 answer

Differenciation between HTTP and COAP?

The industry plan is to improve HTTP ...READ MORE

answered Sep 5, 2018 in IoT (Internet of Things) by Annie97
• 2,190 points
38 views
0 votes
1 answer

comparision between OPC UA protocol and MQTT protocol

This is the first time I'm seeing ...READ MORE

answered Sep 4, 2018 in IoT (Internet of Things) by Upasana
• 7,680 points
898 views
0 votes
1 answer

Difference between MQTT and Apache- kafka

MQTT is a standard protocol (with many ...READ MORE

answered Aug 31, 2018 in IoT (Internet of Things) by Upasana
• 7,680 points
286 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.