Hi Alessandro,

> Am 26.08.2016 um 17:26 schrieb ALESSANDRO NICOLI 
> <alessandro.nic...@studenti.unipr.it 
> <mailto:alessandro.nic...@studenti.unipr.it>>:
> 
> Hi all,
> 
> I'm trying to build my CoAP environment where i should have 2 CoAP servers 
> and a collector, all 3 these nodes are based on SAMR21-XPRO board and the 
> "microcoap_server" example on the RIOT repo.
> 
> I would like that these nodes could talk using CoAP, so, how can i perform a 
> CoAP request from an other microCoAP server or similar?
> 

By default, microcoap does not offer you the ability to build CoAP requests. 
You can cobble them together manually as a quick fix (as an example on how to 
you this, you could have a look at 
https://github.com/watr-li/nodes/blob/master/plant_node/coap_ext.c 
<https://github.com/watr-li/nodes/blob/master/plant_node/coap_ext.c> ), or you 
could use libcoap, which offers this functionality out of the box (as far as I 
know).

Cheers,
Lotte

> Thanks a lot!
> 
> best regards, 
> Alessandro
> _______________________________________________
> devel mailing list
> devel@riot-os.org <mailto:devel@riot-os.org>
> https://lists.riot-os.org/mailman/listinfo/devel

_______________________________________________
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel

Reply via email to