[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [leshan-dev] Problem in connecting leshan client to bootstrap server
|
Did you set the "needBootstrap" flag in the device? Look at the parameter options you got when starting the client application.
/Joakim
Skickat från min Samsung Galaxy-smartphone.
-------- Originalmeddelande --------
Från: Waris Khan <wariskhan4119@xxxxxxxxx>
Datum: 2017-01-18 07:05 (GMT+01:00)
Till: leshan-dev@xxxxxxxxxxx
Rubrik: Re: [leshan-dev] Problem in connecting leshan client to bootstrap server
Hi,
I started the bootstrap server, LWM2M server and leshan client in 3 different machine
1. In bootstrap server i added the Add new client bootstrap config. with endpoint names and secure mode(PSK),
2. then created Boostrap data for secure example using DTLS in data.json,
3. posted the data.json to boostrap server and getting it displayed over there with correct conversion of Id from hex to text but getting some different hex values in secret,
LeshanClientDemo |
coaps://[ip]:5684/
security mode : PSK
Id : identity0
secret : 746F7073656372657430
|
coaps://[ip]:5684/
security mode : PSK
Id : identity
secret : 746F70736563726574
|
Now I want to connect the client with bootstrap server and getting the errors as mailed previously.
Thanks,
Waris