CoAP Server
Antwort
05.06.19 16:08

Hello,

I'm having issues configuring my XDK as A CoAP server. I run the example code and I'm not having any response... In CoAP Client section there is mentioned that we have to enable the implementation in the serval stack library (I will live that cote down bellow). So, do I have to enable something else to implement the CoAP Server on XDK?

 

Thank you,

Best regards,

Pedro Silva

0 (0 Stimmen)
RE: CoAP Server
Antwort
07.06.19 12:54 als Antwort auf Pedro Silva.

Hello Pedro,

Please ensure SERVAL_ENABLE_COAP_SERVER is enabled in application.mk. If not, enable -> clean -> build -> flash.

Coap server is started at 5683 by default. Please ensure the client communicates with that server port.

May i know, which client is used for XDK as server applicaiton ?

Thank you,

Padmapriya G.

+1 (1 Stimme)
RE: CoAP Server
Antwort
07.06.19 14:59 als Antwort auf Padmapriya G.

Hello Padmapriya,

Thanks for your reply!

To enable that implementation I need to write: "-D SERVAL_ENABLE_COAP_SERVER=1\", right?

Take a look on my application.mk file down bellow, please!

I'm using a client application implemented with python in a windows10 PC. And I configured the port to the 5683.

 

Thank you,

Pedro Silva

0 (0 Stimmen)