Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [leshan-dev] Issues in Leshan Server and Client version 1.0.0-M13 with pre-shared key using DTLS1.2

Hi,
 
  It is strongly recommended to use stable version of Leshan and not milestones one (like M13...)

  Leshan 1.x (which is the current stable version) only support CoAP over UDP and CoAPs over DTLS 1.2.
  Maybe one day Leshan 2.x (which is in development,  meaning no stable version released) could support CoAP over TCP  and CoAPs over TLS 1.2 but not at short term.

HTH

Le 15/03/2021 à 15:25, Khurana, Sarthak a écrit :

Hello,
I am working with leshan 1.0.0-M13, I am trying to establish communication between LeshanServerDemo and LeshanClientDemo with pre-shared key using DTLS1.2. On both the sides, I have seen configurations for UDP only. The following are the changes that I made on the code:

  1. I have added the client security configurations on server.
  2. I have passed thes options -i leshan -p 1234 -n client1234

 

I am able to see the client using coaps URI to connect with server.But, in the wireshark captures I am getting TCP packets and TLSv1.3. I have these following queries:

  1. Which transport does it support TCP or UDP?
  2. If it is UDP, does it support DTLS?
  3. If it supports DTLS, which version of DTLS is supported? Is it 1.0 or 1.2?

 

Please resolve these queries asap.

BR,
Sarthak.

 

 


_______________________________________________
leshan-dev mailing list
leshan-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/leshan-dev

Back to the top