4

I want to 'Observe' resources in a CoAP server. But What I've noticed is that after I register to observe a few resources in the server, an additional resources I try to 'Observe' throw a message saying 'Too Many Observers'

I'm using Copper (Firefox) to connect to the servers.

Is there a limit of resources that can be observed with a CoAP server? Google isn't helping me out much here. Am I doing something wrong myself?

Thanks.

Srihari S
  • 111
  • 1
  • 2
  • 10
  • Interesting question I never got into thta trouble but I only added a few observers. Interested to see solution for this. – Noitidart Jul 23 '15 at 15:10
  • I don't know if anyone else has ever had this issue. I'm just using COOJA though, in a VM. Would that be the issue at hand here? – Srihari S Jul 30 '15 at 11:24
  • I'm not sure what cooja, copper or coap are :( – Noitidart Jul 30 '15 at 14:12
  • 1
    @Noitidart I'm so sorry for the horribly late reply. Simply put, Cooja is a network-simulator. CoAP is a communication protocol and Copper is a tool in firefox to help follow and visualize the communication between two machines which use CoAP. – Srihari S Sep 08 '15 at 05:20
  • Interesting! Thanks for the share man – Noitidart Sep 08 '15 at 08:00

1 Answers1

3

Coap observe draft doesn't set any limits to the numbers of observers. It just adds a design note about the maximum notification rate. It is just up to the device resources.

As you can see in this coap implementation it replies "Too many observers" because the device has no more memory to allocate.

Community
  • 1
  • 1
Jiloc
  • 3,338
  • 3
  • 24
  • 38