Bosch IoT Cloud
Risposta
04/07/19 9.44

Hello Community,

right now i am trying to connect the XDK with the Bosch IoT Cloud to send some data over LWM2M protocoll. Unfortunately i am facing some issues i can't solve on my own.

As an introduction to the topics i followed the following insctruction guide online:

https://www.bosch-iot-suite.com/tutorials/cross-domain-development-kit-xdk-cloud-connectivity/

I modified the config.txt file with my WiFi credentials and flashed the project to the XDK.

The WiFi connection works without any problem. The connection to the LWM2M server seems not to work at all. I get the following console output:

 INFO | XDK DEVICE 1: LWM2M server resolved: coaps://0.0.0.0://lwm2m.eu-1.bosch-iot-suite.com:5684
 INFO | XDK DEVICE 1: WLAN: connect status: --- online ---
 INFO | XDK DEVICE 1: Try refresh registration ENABLED (18 sec)
 INFO | XDK DEVICE 1: ==> registration retry
 INFO | XDK DEVICE 1: ==> send registration failed 1 M=0x01, E=0x0C, S=0x0 (0x010C)
 INFO | XDK DEVICE 1: ==> Registration expired 1!
 INFO | XDK DEVICE 1: LWM2M server resolve started: coaps://coaps://lwm2m.eu-1.bosch-iot-suite.com:5684
 INFO | XDK DEVICE 1: DNS lookup coaps://coaps://lwm2m.eu-1.bosch-iot-suite.com:5684
 INFO | XDK DEVICE 1: DNS resolved coaps://165.165.165.165://lwm2m.eu-1.bosch-iot-suite.com:5684, time 5099 ms
 INFO | XDK DEVICE 1: LWM2M server resolved: coaps://165.165.165.165://lwm2m.eu-1.bosch-iot-suite.com:5684
 INFO | XDK DEVICE 1:    ENABLED (since 20 sec, lifetime 240 sec)
 INFO | XDK DEVICE 1:    DNS RESOLVED (since 19 sec)

and after some time:

 INFO | XDK DEVICE 1: ==> registration retry
 INFO | XDK DEVICE 1: ==> send registration failed 2 M=0x1A, E=0x19, S=0x3 (0x1AD9)
 INFO | XDK DEVICE 1: Fatal Error in ServalPAL package.
 INFO | XDK DEVICE 1:     Package ID: 30    Module ID: 7    Severity code: 1    Error code: 72

I would really appreciate some help here. Thanks in advance.

Best regards,

Christian

0 (0 Voti)
RE: Bosch IoT Cloud
Risposta
09/07/19 8.36 come risposta a Christian Köhler.

Hi Christian

Are you using sdcard to store the config.txt file?

If you are using SD Card then add port exception in your PC for the 5684  port (Udp exception). That can be the reason for registration failure.

Let me know if it works

Thanks

Priyashi

0 (0 Voti)
RE: Bosch IoT Cloud
Risposta
10/07/19 11.45 come risposta a Priyashi Yadav.

Hello Priyashi,

thanks a lot for the reply.

I added Port 5684 as an UDP Exception to my firewall.

Unfortunately it seems not that anything changed. I still get the same printout on the console like before.

Best regards,

Christian

0 (0 Voti)
RE: Bosch IoT Cloud
Risposta
11/07/19 8.22 come risposta a Christian Köhler.

Hi Christian

After adding exception did you restart your PC ?

If not then please do that.

If this also doesnt work try disabling the firewall and try .

Attach the scrrenshot of your configuration if issue exists.

Thanks

Priyashi

0 (0 Voti)