简体   繁体   中英

unable to connect LWM2M using wakaama client

I am using Emqx V3.1.1. And I am integrating LwM2M plugins.

For testing the same I installed Wakaama client in the same server and created build using 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

  1. Change the port to 5683, which is the default port of lwm2m.

  2. Make sure allow_anonymous = true in the emqx.conf

您需要一个引导服务器,请查看eclipse/wakaama git repo 上的examples/bootstrap_server/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM