This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

CoAP starting process

Hi,

I am trying to implement DALI-104 (IEC-62386:104:2019) on top of openThread protocol.

I am using  Thread: CoAP Client and  Thread: CoAP Server  and want to configure these codes according to DALI-104 standards.

1. According to my application (DALI), devices must support CoAP, CoAPs, and UDP message for transmission and receipt processes. I think it is possible to send and receive these messages with examples of Nordic Thread: CoAP Client and  Thread: CoAP Server. Am I right?

2. Thread: CoAP Client and  Thread: CoAP Server  examples use /provisioning resource for pairing mechanism. In my application, there will be just two resource. One of them is for CoAP and the other one is for CoAPs. The CoAP method is just POST. How to deal with pairing in my application? For example, there will be one client and lots of server in my system. When I add a new device(server) to my system, this device should be connected to client to send and receive CoAP messages. Am I right? How to deal with pairing in my application?

3. What happens in pairing process? I think, a device learn IP address of another device which sends a multicast signal. In Nordic example, it uses multicast CoAP message.   

  • Thanks for reply.

    I understand that both OT and CoAP use different kind of IP adress. 

    Can I ask one more question you?

    I already ask this question but I couldn't take enough answer. I use currently client and server example of Nordic which you mention (press button client and server etc..) I want to add or activate DTLS protocol to this example. My purpose is to send and receive CoAP, CoAPs and UDP type messages. I am a noob. What is the simplest way or starting point to do such a project? 

  • Hi Orkunsengur,

    Please create a new ticket for a new question and keep track of one question on a dedicated ticket.

    Your another two tickets on this question have been replied. You do need some time and effort to implement DTLS on these examples. Good luck!

    Charlie

Related