Hi, i wonder how could i send data from a coap_server to a coap_client with thread, for example a temperature data: what are the main functions to declare and use to do so?
Thansk
Hi, i wonder how could i send data from a coap_server to a coap_client with thread, for example a temperature data: what are the main functions to declare and use to do so?
Thansk
Hi Simon,
One way of doing this is by following this path: Thread device--POST-->CoAP Server--GET-->Mobile CoAP Client App
If the thread device can POST to a CoAP server, then everything is exactly same as solution mentioned in nRF91 simple tracker solution – Nordic Developer Academy (nordicsemi.com). There is CoAP client that can run on mobile phone.
Here is a reference for thread device POST/GET CoAP server: (+) OpenThread COAP Client to a public server over Internet - Nordic Q&A - Nordic DevZone - Nordic DevZone (nordicsemi.com)
Hope this helps.
Best Regards,
Swathy
Hi Simon,
One way of doing this is by following this path: Thread device--POST-->CoAP Server--GET-->Mobile CoAP Client App
If the thread device can POST to a CoAP server, then everything is exactly same as solution mentioned in nRF91 simple tracker solution – Nordic Developer Academy (nordicsemi.com). There is CoAP client that can run on mobile phone.
Here is a reference for thread device POST/GET CoAP server: (+) OpenThread COAP Client to a public server over Internet - Nordic Q&A - Nordic DevZone - Nordic DevZone (nordicsemi.com)
Hope this helps.
Best Regards,
Swathy