[riot-devel] Question regarding CCN-lite and RIOT supported platforms
Adeel Mohammad Malik
adeel.mohammad.malik at ericsson.com
Thu Jun 30 12:08:06 CEST 2016
Thanks for your reply Peter and Oleg.
My response inline.
> -----Original Message-----
> From: devel [mailto:devel-bounces at riot-os.org] On Behalf Of Peter
> Sent: Thursday, June 30, 2016 10:01 AM
> To: RIOT OS kernel developers
> Subject: Re: [riot-devel] Question regarding CCN-lite and RIOT supported
> Hi Adeel,
> Am 30.06.2016 um 09:42 schrieb Oleg Hahm:
> > Hi Adeel,
> > On Wed, Jun 29, 2016 at 07:04:43PM +0000, Adeel Mohammad Malik wrote:
> >> Thank you for your reply. It was really helpful. I actually posted
> >> another question on the mailing list about STM32F4Discovery and the
> >> possibility to run CCN-lite over it with 802.15.4. You have answered that
> question too.
> >> I just have a follow up question about how the setup would look like
> >> if I use the Atmel at86rf23x transceiver with STM32F4Discovery. Does
> >> the transceiver hook up directly to the STM32F4Discovery board?
> > For this first question, I'm probably not the best person to answer,
> > so maybe others (Peter, Paco, Kaspar?) can help, but AFAIK a viable
> > way could be to buy an Openlabs adapter  that can be connected over
> > SPI and plug it on the Discovery Board.
> as Oleg already said, the easiest (and cheapest) solution would be an
> openlabs transceiver. Unfortunately the connector configuration is not
> compatible with the STM discovery boards but you could use cables instead.
> The default pin configuration of the RIOT driver can be found here:
> There also exist extension boards by Atmel which should work with RIOT, but
> I assume the problem of incompatible connectors is the same with STM
> boards (cables needed):
> Unfortunately the Microchip MRF24J20 driver is still not in shape but this
> might be a cheap solution in future.
It is good to know that the MRF24J20 is still not supported, it was one of the things I wanted to know. I also looked at the Atmel option you referenced but as you said the problem of incompatible connectors exists. Thanks for that clarification.
> >> Assuming I run CCN-lite directly on 802.15.4, how would I connect the
> >> STM32F4Discovery board to a computer that acts as a gateway to the CCN
> >> network?
> > That's indeed an interesting question. I think the easiest solution would be
> > to either plug an Ethernet module to the Discovery Board or use ethos
> > (ETHernet Over Serial)  to connect to the Gateway that run a CCN-lite
> > client with two interfaces (one with an Ethernet socket pointing to the RIOT
> > node and one with an IP/UDP socket pointing to the rest of the world).
I am a bit confused here. Are you talking about running CCN-lite over Ethernet? And if I was to run CCN-lite over Ethernet would I not need an Ethernet module for which RIOT has a driver? There is an extension board (STM32F4DIS-BB) for the STM32F4Discovery board that provides an Ethernet jack. What I am not sure about though is whether there is driver support in RIOT for the Ethernet interface on STM32F4DIS-BB.
I was also thinking a bit about how easy it would be to do a similar thing but over 802.15.4 and not Ethernet. As Peter and you have pointed out, I could use wires to connect the Atmel at86rf2xx transceiver to the STM32F4Discovery board. The gateway side seems a bit problematic though. I could plug in an 802.15.4 dongle in a gateway device and run CCN-lite (without the RIOT OS) on the gateway. However, then CCN-lite should be able to run over 802.15.4. I assume that CCN-lite does not have support for that.
One thing that could possibly be done here is to use a hardware platform of the scale of a Raspberry Pie that supports the RIOT OS for the gateway. Then I could run the CCN-lite + RIOT OS on that gateway and attach an 802.15.4 transceiver to it to communicate with the STM32F4Discovery board on one hand and interface it via UDP/IP/Ethernet to the network side on the other. But this assumes that RIOT OS support relays nodes (not just end nodes) and can run on dual stack i.e. 802.15.4 on one side and UDP/IP/Ethernet on the other. Also in the list of supported platforms on the RIOT homepage I don’t see a platform (of the scale of Raspberry Pie) that can do this. Is RIOT supported on the Raspberry Pie?
> > In fact, this kind of bridge functionality to translate between different
> > transports for CCN could be also done directly on a RIOT node, assuming
> > (i) the node would have enough resources and (ii) the adaptation to IP
> > addresses in RIOT's CCN-lite package is there.
> > Cheers,
> > Oleg
> >  http://openlabs.co/store/Raspberry-Pi-802.15.4-radio
> >  https://github.com/RIOT-OS/RIOT/tree/master/dist/tools/ethos
> > _______________________________________________
> > devel mailing list
> > devel at riot-os.org
> > https://lists.riot-os.org/mailman/listinfo/devel
> Peter Kietzmann
> Hamburg University of Applied Sciences
> Dept. Informatik, Internet Technologies Group
> Berliner Tor 7, 20099 Hamburg, Germany
> Fon: +49-40-42875-8426
> Web: http://www.haw-hamburg.de/inet
> devel mailing list
> devel at riot-os.org
More information about the devel