CoAP观察员太多了 [英] CoAP Too many observers

查看:251
本文介绍了CoAP观察员太多了的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在CoAP服务器中观察资源。但是我注意到,当我注册了服务器的一些资源后,我尝试观察的附加资源会发出一条消息,提示太多观察者。

我使用铜(Firefox)连接到服务器。

CoAP服务器可以观察到的资源是否有限制? Google在这里帮不了我的忙。
我自己做错了什么?

谢谢。

解决方案

Coap观察草案没有对观察人数设置任何限制。它只是增加了关于最大通知率的设计说明。这只是设备资源。



正如您在这个coap实现它回答太多观察者,因为设备没有更多内存分配。


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.

解决方案

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.

这篇关于CoAP观察员太多了的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆