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

Ludwig Ortmann ludwig.ortmann at fu-berlin.de
Mon Jun 1 09:39:38 CEST 2015


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



More information about the users mailing list