[英]unable to connect LWM2M using wakaama client
I am using Emqx V3.1.1.我使用的是 Emqx V3.1.1。 And I am integrating LwM2M plugins.我正在集成 LwM2M 插件。
For testing the same I installed Wakaama client in the same server and created build using cmake.为了测试相同的内容,我在同一台服务器上安装了 Wakaama 客户端并使用 cmake 创建了构建。 I loaded the plugin now plugin is running.我现在加载了插件插件正在运行。
Which I tried to run the below command我试图运行以下命令
./lwm2mclient -n ep1 -h localhost -p 5783 -4
Trying to bind LWM2M Client to port 56830
LWM2M Client "ep1" started on port 56830
> Opening connection to server at localhost:5783
-> State: STATE_REGISTERING
-> State: STATE_REGISTERING
-> State: STATE_REGISTERING
-> State: STATE_REGISTERING
-> State: STATE_REGISTERING
-> State: STATE_REGISTERING
-> State: STATE_BOOTSTRAP_REQUIRED
lwm2m_step() failed: 0xA3
I have followed the below link我已经按照下面的链接
https://github.com/emqx/emqx-lwm2m https://github.com/emqx/emqx-lwm2m
Change the port to 5683, which is the default port of lwm2m.将端口改为5683,这是lwm2m的默认端口。
Make sure allow_anonymous = true
in the emqx.conf确保allow_anonymous = true
您需要一个引导服务器,请查看eclipse/wakaama git repo 上的examples/bootstrap_server/ 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.