On 18/05/17 14:22, Stuart Longland wrote: > Now I'm aware that the CC2538 is alleged to have "basic" support, am I > getting this message because link-layer encryption is one of the missing > pieces, or is there something I have missed?
Okay, I've just tried pulling the latest git HEAD, and re-building, still get the same thing: >> main(): This is RIOT! (Version: 2017.04-devel-1063-gfb041-rikishi) > Welcome to RIOT! >> ifconfig 4 set key 0123456789abcdef0123456789abcdef > > ifconfig 4 set key 0123456789abcdef0123456789abcdef > > > Notice: setting 128 bit key.error: unable to set encryption key >> > >> ifconfig 4 set encrypt on > ifconfig 4 set encrypt on > > error: unable to set encryption >> Last commit is: > commit fb0412097bd5e2fd5421e98a2670a0496a36ea5c > Merge: 9ab62b9 11d2677 > Author: Alexandre Abadie <[email protected]> > Date: Thu May 18 18:01:33 2017 +0200 > > Merge pull request #7075 from > haukepetersen/fix_minibit_programmerflashtoolvarname > > boards: s/FLASHTOOL/PROGRAMMER/ I am using the ARM GNU GCC toolchain, 6-2017-q1-update: > $ arm-none-eabi-gcc --version > arm-none-eabi-gcc (GNU Tools for ARM Embedded Processors 6-2017-q1-update) > 6.3.1 20170215 (release) [ARM/embedded-6-branch revision 245512] > Copyright (C) 2016 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Host here is Gentoo Linux. If there is something I've neglected to supply here, please tell me… I don't expect you all to be mind readers, but I am not one myself. About the only clue I seem to have is in sys/shell/commands/sc_netif.c there's this code (lines 869-874): > else if (strcmp("encrypt", key) == 0) { > return _netif_set_encrypt(dev, NETOPT_ENCRYPTION, value); > } > else if (strcmp("key", key) == 0) { > return _netif_set_encrypt_key(dev, NETOPT_ENCRYPTION_KEY, value); > } The only reference I see to this is here: > $ grep -Rl NETOPT_ENCRYPTION * > drivers/xbee/xbee.c > sys/include/net/netopt.h > sys/net/crosslayer/netopt/netopt.c > sys/shell/commands/sc_netif.c Am I to understand then by this that IEEE 802.15.4 link-layer encryption is only supported on XBee hardware? Regards, -- _ ___ Stuart Longland - Systems Engineer \ /|_) | T: +61 7 3535 9619 \/ | \ | 38b Douglas Street F: +61 7 3535 9699 SYSTEMS Milton QLD 4064 http://www.vrt.com.au _______________________________________________ users mailing list [email protected] https://lists.riot-os.org/mailman/listinfo/users
