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

changue jung ckjung1987 at gmail.com
Mon Jun 1 09:49:13 CEST 2015


Oh, Thank you! :)

Actually i already posted my question but,
At first i wanted to use 'Ethernet' with 'EthernetShield + Ethernet Cable'
But i saw an mailinglist that current RIOT doesn't support Ethernet..  is
it available now?

If not, can you recommend me some candidate of transceiver for
Arduino-mega2560 ? I'm a newbie of this field ^^;
Thank you very much!

Sincerely,
Changue

2015-06-01 16:39 GMT+09:00 Ludwig Ortmann <ludwig.ortmann at fu-berlin.de>:

> Hi,
>
> The board you are using does not feature a transceiver.
> In order to use the network stack you need to configure a transceiver
> externally.  Which transceiver do you want to use?
>
> Cheers,
> Ludwig
>
> Am 1. Juni 2015 06:34:55 MESZ, schrieb changue jung <ckjung1987 at gmail.com
> >:
> >Hello, everyone.
> >
> >I'm trying to play with CCN-lite with real hardware board
> >(Arduino-mega2560)
> >so, i followed the tutorial
> >
> >[RIOT] cd examples/ccn-lite-client
> >
> >then,
> >
> ># make BOARD=arduino-mega2560 flash
> >
> >as tutorial says...
> >
> >Below is the result of that command.
> >
> >What's wrong with it? and how could i fix it?
> >
> >Thanks in advance
> >
> >Changue
> >
>
> >------------------------------------------------------------------------------------------------------------------
> >
> >root at comnet-Lenovo-IdeaPad-S400
> :/home/comnet/RIOT/examples/ccn-lite-client#
> >BOARD=arduino-mega2560 make all flash
> >
> >There are unsatisfied feature requirements: transceiver
> >
> >EXPECT ERRORS!
> >
> >Building application "ccn-lite-client" for "arduino-mega2560" with MCU
> >"atmega2560".
> >
> >In file included from /home/comnet/RIOT/sys/include/transceiver.h:26:0,
> >
> >from /home/comnet/RIOT/examples/ccn-lite-client/main.c:31:
> >
> >/home/comnet/RIOT/sys/include/radio/types.h:79:5: error: unknown type
> >name
> >‘radio_packet_length_t’
> >
> >radio_packet_length_t length; ///< Length of payload
> >
> >^
> >
> >/home/comnet/RIOT/examples/ccn-lite-client/main.c: In function
> >‘riot_ccn_register_prefix’:
> >
> >/home/comnet/RIOT/examples/ccn-lite-client/main.c:123:9: warning:
> >unused
> >variable ‘content_len’ [-Wunused-variable]
> >
> >int content_len = ccnl_riot_client_publish(_relay_pid, small_buf,
> >faceid,
> >type, big_buf);
> >
> >^
> >
> >In file included from
> >/home/comnet/RIOT/examples/ccn-lite-client/main.c:39:0:
> >
> >/home/comnet/RIOT/examples/ccn-lite-client/main.c: In function
> >‘riot_ccn_transceiver_start’:
> >
> >/home/comnet/RIOT/sys/net/include/ccn_lite/ccnl-riot.h:45:21: error:
> >‘TRANSCEIVER_DEFAULT’ undeclared (first use in this function)
> >
> >#define TRANSCEIVER TRANSCEIVER_DEFAULT
> >
> >^
> >
> >/home/comnet/RIOT/examples/ccn-lite-client/main.c:152:22: note: in
> >expansion of macro ‘TRANSCEIVER’
> >
> >transceiver_init(TRANSCEIVER);
> >
> >^
> >
> >/home/comnet/RIOT/sys/net/include/ccn_lite/ccnl-riot.h:45:21: note:
> >each
> >undeclared identifier is reported only once for each function it
> >appears in
> >
> >#define TRANSCEIVER TRANSCEIVER_DEFAULT
> >
> >^
> >
> >/home/comnet/RIOT/examples/ccn-lite-client/main.c:152:22: note: in
> >expansion of macro ‘TRANSCEIVER’
> >
> >transceiver_init(TRANSCEIVER);
> >
> >^
> >
> >/home/comnet/RIOT/examples/ccn-lite-client/main.c: In function
> >‘riot_ccn_relay_config’:
> >
> >/home/comnet/RIOT/examples/ccn-lite-client/main.c:148:1: warning:
> >control
> >reaches end of non-void function [-Wreturn-type]
> >
> >}
> >
> >^
> >
> >make[1]: ***
>
> >[/home/comnet/RIOT/examples/ccn-lite-client/bin/arduino-mega2560/ccn-lite-client/main.o]
> >Error 1
> >
> >make: *** [all] Error 2
> >
> >root at comnet-Lenovo-IdeaPad-S400
> :/home/comnet/RIOT/examples/ccn-lite-client#
> >
> >
> >------------------------------------------------------------------------
> >
> >_______________________________________________
> >users mailing list
> >users at riot-os.org
> >http://lists.riot-os.org/mailman/listinfo/users
>
> _______________________________________________
> 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/20150601/0569ebff/attachment-0001.html>


More information about the users mailing list