[riot-devel] Exchange CoAP messages between 2 boards

ALESSANDRO NICOLI alessandro.nicoli at studenti.unipr.it
Sat Aug 27 15:56:48 CEST 2016


Thanks all for the reply!
Lotte, i think that i'll try to use the code that you linked me, thanks a
lot!

*best regards, *
*Alessandro*

2016-08-27 12:00 GMT+02:00 <devel-request at riot-os.org>:

> Send devel mailing list submissions to
>         devel at riot-os.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://lists.riot-os.org/mailman/listinfo/devel
> or, via email, send a message with subject or body 'help' to
>         devel-request at riot-os.org
>
> You can reach the person managing the list at
>         devel-owner at riot-os.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of devel digest..."
>
>
> Today's Topics:
>
>    1. Exchange CoAP messages between 2 boards (ALESSANDRO NICOLI)
>    2. Re: Exchange CoAP messages between 2 boards (Lotte Steenbrink)
>    3. Re: Exchange CoAP messages between 2 boards (Carsten Bormann)
>    4. Re: Exchange CoAP messages between 2 boards (Ken Bannister)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 26 Aug 2016 17:26:13 +0200
> From: ALESSANDRO NICOLI <alessandro.nicoli at studenti.unipr.it>
> To: RIoT Dev List <devel at riot-os.org>
> Subject: [riot-devel] Exchange CoAP messages between 2 boards
> Message-ID:
>         <CAFsA-_0jQ+N1NcpcqWnf0tRN75q3KkEUh_J5JZ6ReMpmLYt4dA at mail.gmail.
> com>
> Content-Type: text/plain; charset="utf-8"
>
> 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?
>
> Thanks a lot!
>
> *best regards, *
> *Alessandro*
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.riot-os.org/pipermail/devel/attachments/
> 20160826/7c86c90f/attachment-0001.html>
>
> ------------------------------
>
> Message: 2
> Date: Fri, 26 Aug 2016 17:57:23 +0200
> From: Lotte Steenbrink <lotte.steenbrink at haw-hamburg.de>
> To: RIOT OS kernel developers <devel at riot-os.org>
> Subject: Re: [riot-devel] Exchange CoAP messages between 2 boards
> Message-ID: <EAF8DECB-554B-4895-971D-EACCCBC6827D at haw-hamburg.de>
> Content-Type: text/plain; charset="utf-8"
>
> Hi Alessandro,
>
> > Am 26.08.2016 um 17:26 schrieb ALESSANDRO NICOLI <
> alessandro.nicoli at studenti.unipr.it <mailto:alessandro.nicoli@
> 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 at riot-os.org <mailto:devel at riot-os.org>
> > https://lists.riot-os.org/mailman/listinfo/devel
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.riot-os.org/pipermail/devel/attachments/
> 20160826/54f4400d/attachment-0001.html>
>
> ------------------------------
>
> Message: 3
> Date: Fri, 26 Aug 2016 18:21:04 +0200
> From: Carsten Bormann <cabo at tzi.org>
> To: RIOT OS kernel developers <devel at riot-os.org>
> Cc: RIoT Dev List <devel at riot-os.org>
> Subject: Re: [riot-devel] Exchange CoAP messages between 2 boards
> Message-ID: <1a25e0c3-1551-4056-85c2-00b209397b42 at roku>
> Content-Type: text/plain; charset="utf-8"
>
> Hi ALESSANDRO,
>
> In Berlin we talked about a number of CoAP implementations, including a
> new one specifically for riot called gcoap. Cant dig out the references
> right now, but Google for t2trg and riot.
>
> Grüße, Carsten
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.riot-os.org/pipermail/devel/attachments/
> 20160826/9d60539d/attachment-0001.html>
>
> ------------------------------
>
> Message: 4
> Date: Fri, 26 Aug 2016 16:33:04 +0000
> From: Ken Bannister <kb2ma at runbox.com>
> To: devel at riot-os.org
> Subject: Re: [riot-devel] Exchange CoAP messages between 2 boards
> Message-ID: <57C06F40.3000004 at runbox.com>
> Content-Type: text/plain; charset="utf-8"; Format="flowed"
>
> Thanks for the mention, Carsten. gcoap still is a work in progress.
> However, source code is source code if that helps. See PR #5598. Also,
> notice the link in there for Kaspar's small server-only implementation,
> nanocoap.
>
> Ken
>
> On 08/26/2016 04:21 PM, Carsten Bormann wrote:
> > Hi ALESSANDRO,
> >
> > In Berlin we talked about a number of CoAP implementations, including
> > a new one specifically for riot called gcoap. Cant dig out the
> > references right now, but Google for t2trg and riot.
> >
> > Grüße, Carsten
> >
> > On 26 Aug 2016 17:26, ALESSANDRO NICOLI wrote:
> >
> >> 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?
> >>
> >> Thanks a lot!
> >>
> >> /best regards, /
> >> /Alessandro/
> >
> >
> > _______________________________________________
> > devel mailing list
> > devel at riot-os.org
> > https://lists.riot-os.org/mailman/listinfo/devel
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.riot-os.org/pipermail/devel/attachments/
> 20160826/ba705651/attachment-0001.html>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> devel mailing list
> devel at riot-os.org
> https://lists.riot-os.org/mailman/listinfo/devel
>
>
> ------------------------------
>
> End of devel Digest, Vol 42, Issue 40
> *************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/devel/attachments/20160827/2797cfa6/attachment.html>


More information about the devel mailing list