PelionIoT / pelion-client-lite

Pelion Device Management Client Lite library
https://www.pelion.com/docs/pelion-client-lite/latest/introduction/index.html
Apache License 2.0
3 stars 4 forks source link

Failed to switch from bootstarp to register server in non-secure connection #9

Closed krunalchauhan637 closed 3 years ago

krunalchauhan637 commented 3 years ago

Setup: Board: NUCLEO_F429ZI

scenario1_bootstrap_register_with_log.txt) First I done configuration on pelion client for NUCLEO_F429ZI.

scenario2.txt) Using same pelion-client-lite, I want to perform bootstap & register on our leshan server But in this case I am using non secure connection. In this case bootstarp is done but it is not redirect for registartion.

Que: Is this library test for non secure ?? Que: What dependency or changes required for non scure connection Que: Why it is not redirect for register flow

teetak01 commented 3 years ago

Hi, Client LITE does not currently support such features, it only supports secure connections with Pelion. If you want to test with Leshan, I would recommend to use Pelion Device Management Client library instead.

https://github.com/PelionIoT/mbed-cloud-client

https://developer.pelion.com/docs/device-management/current/connecting/device-management-client-tutorials.html

krunalchauhan637 commented 3 years ago

Thanks @teetak01 for quick reply.

teetak01 commented 3 years ago

I'll close this as this is not something we plan to change.

krunalchauhan637 commented 3 years ago

By using pelion-client-lite, Is it possible to connect on leshan with secure connection ?? By just replacing leshan cradential in mbed_cloud_dev_credentials.c ??