[riot-users] CCN-lite with Arduino-mega2560

changue jung ckjung1987 at gmail.com
Wed Jun 3 09:52:54 CEST 2015


Thank you very much, Oleg!

and sorry for late response
I'll try as you suggested :)


Sincerely,
Changue


2015-06-02 17:24 GMT+09:00 Oleg Hahm <oliver.hahm at inria.fr>:

> Hi Changue!
>
> > Regarding your answer, if i use CC1100 or CC2420 transceiver with
> > Arduino-mega2560, could i test CCN-lite in real environment?
>
> In theory yes, in practise, you would have to implement either a
> SPI-wrapper
> to run the old cc1100 or cc2420 driver on the new periph code for the
> mega2560
> or adapt the driver code itself for the mega2560.
>
> Actually, I think it is *not* more difficult and much more future-proof to
> adapt ccn-lite to the new netdev interface.
> I guess you will only have to change two files:
>
> https://github.com/RIOT-OS/RIOT/blob/master/sys/net/ccn_lite/ccnl-riot-compat.c
> and
>
> https://github.com/RIOT-OS/RIOT/blob/master/sys/net/ccn_lite/ccn-lite-relay.c
>
> I've recently implemented a very simple (and very undocumented ;-))
> application that does some link-layer forwarding against netdev in
> https://github.com/OlegHahm/miniature-dangerzone/tree/master/l2_routing
>
> Maybe this could help (in addition to
> https://github.com/RIOT-OS/RIOT/tree/master/tests/driver_at86rf2xx) as a
> blueprint how to code against netdev. Basically, you have to replace calls
> and
> IPC-messages against the transceiver module.
>
> Cheers,
> Oleg
> --
> printk(" Speed now 1x");        /* Pull my finger! */
>         linux-2.6.6/drivers/cdrom/mcd.c
>
> _______________________________________________
> users mailing list
> users at riot-os.org
> http://lists.riot-os.org/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/users/attachments/20150603/1918362e/attachment.html>


More information about the users mailing list