Commit Graph

2613 Commits

Author SHA1 Message Date
George Oikonomou
fd379cd50b Add missing case statement 2018-05-12 15:19:33 +01:00
George Oikonomou
b45d284be2 Merge branch 'release-4.1' into develop 2018-05-09 22:18:01 +01:00
Simon Duquennoy
181cb57057 Dockerfile: minor fix 2018-04-30 03:16:21 -07:00
Simon Duquennoy
650a278e72 Dockerfile: add Renode 2018-04-30 03:16:19 -07:00
Simon Duquennoy
2996569585 Dockerfile: added Mosquitto 2018-04-27 11:59:46 -07:00
Simon Duquennoy
4da9202d22 Add lrwrap to login and native BR 2018-04-26 03:00:04 -07:00
Simon Duquennoy
a099bda058 Added jool-start.sh script 2018-04-26 00:47:30 -07:00
Simon Duquennoy
15a06b85bc Added flag for 802.15.4 default channel 2018-04-13 02:26:48 -07:00
Simon Duquennoy
02aebac0d7 Viewconf: moving PANID up 2018-04-13 02:23:49 -07:00
Simon Duquennoy
a3e62befb8 TSCH: rework .h system, now following the same structure as rpl-lite 2018-03-28 10:39:41 -07:00
Rémy Léone
5364f81f5a Add Vagrant support 2018-03-19 10:39:29 +01:00
Simon Duquennoy
b909fb2878 Docker: enable IPv6 automatically in container 2018-03-02 08:45:53 -08:00
Simon Duquennoy
19467c5d9e Fix typo in viewconf.c 2018-02-27 10:40:56 -08:00
Niclas Finne
309745780e Removed the remaining Contiki Interface declaration macros (CCIF/CLIF) 2018-02-21 01:14:10 +01:00
Simon Duquennoy
26d51c15d7 Routing API: added more missing functions, homogenize configuration 2018-02-02 08:50:17 -08:00
Simon Duquennoy
376f72559a Updating Cooja to latest 2018-02-01 07:38:12 -08:00
Simon Duquennoy
0a4b072973 Cooja .csc files: do not load collect-view 2018-02-01 05:03:55 -08:00
Simon Duquennoy
88ae175c9a Tools: remove collect-view 2018-02-01 05:01:43 -08:00
Niclas Finne
7bbbbbab9a Excluded the optional tinyDTLS module from Doxygen 2018-01-12 01:20:53 +01:00
Niclas Finne
49d38e6d06 Added LWM2M runtime log level to the logging module 2018-01-12 01:20:53 +01:00
Niclas Finne
21d464952b Added CoAP runtime log level to the logging module 2018-01-12 01:20:53 +01:00
George Oikonomou
da33b56778
Merge branch 'develop' into contrib/br-as-a-module 2017-12-22 15:26:14 +02:00
Simon Duquennoy
81d1b1bd80 PROJECTDIR now turned into modules via MODULES_REL 2017-12-22 05:21:39 -08:00
Simon Duquennoy
6339b64064 Update Cooja submodule 2017-12-20 01:12:14 -08:00
George Oikonomou
9df8b9aee5 Don't define doxygen groups for CPUs and platforms in the modules.txt
These will be define in new doxygen-group.txt files within the respective platform/CPU dir.
2017-12-02 23:39:22 +00:00
George Oikonomou
e84eb8247b Remove doxygen groups for obsolete CPUs and platforms 2017-12-02 23:30:47 +00:00
George Oikonomou
0b345d2846 Separate CPU and Device driver doxygen groups 2017-12-02 23:30:47 +00:00
Simon Duquennoy
1cc148c4b4 Dockerfile: install coap-cli 2017-11-29 08:39:23 -08:00
Simon Duquennoy
acb80082d4 Dockerfile: enable node programming from container 2017-11-23 07:07:55 -08:00
Simon Duquennoy
1eb728806e Added Dockerfile 2017-11-23 07:07:55 -08:00
Simon Duquennoy
f1413b6e00 CI: added compile test for jn516x folder 2017-11-23 06:53:24 -08:00
Simon Duquennoy
0243d57912 Removing unused tools 2017-11-23 06:53:24 -08:00
Simon Duquennoy
223039d802 Tools makefile: remove unrelated clean commands 2017-11-23 06:53:24 -08:00
Simon Duquennoy
3933fd30df CI: tool compilation: clean before building 2017-11-23 06:53:24 -08:00
Simon Duquennoy
cfb895923a Tools: add -Wall -Werror and fix tunslip6 warnings 2017-11-23 06:53:24 -08:00
Simon Duquennoy
24aa8fd8f8 Tools makefile: build tunslip6 rather than tunslip 2017-11-23 06:53:24 -08:00
Simon Duquennoy
b7dd8b8709
Merge branch 'develop' into contrib/update-cooja 2017-11-17 21:45:47 +01:00
Simon Duquennoy
5cf3aefe4a Update cooja to latest 2017-11-17 08:14:46 -08:00
Simon Duquennoy
0952960b91 Removing multi-threading support 2017-11-11 15:28:11 +01:00
Niclas Finne
b7862c2fb5 Update submodule Cooja to latest version 2017-11-03 10:02:25 +01:00
Niclas Finne
36362a49d3 Added energest configuration to viewconf 2017-11-02 00:10:56 +01:00
George Oikonomou
73544572cf Change all calls to adhere to new prototype 2017-10-31 21:56:38 +00:00
George Oikonomou
e1df7be496 Change slip_arch_init prototype
All current platforms ignore the ubr argument, so we remove it
2017-10-31 21:56:38 +00:00
Simon Duquennoy
0cd779f878
Merge pull request #130 from g-oikonomou/contrib/sensniff-submodule-update
Update the sensniff submodule to the latest version
2017-10-30 09:31:06 +01:00
Simon Duquennoy
24e7787219
Merge pull request #127 from g-oikonomou/contrib/update-cc2538bsl
Update cc2538-bsl submodule to latest version
2017-10-30 09:30:30 +01:00
George Oikonomou
ba75dca7a4 Extend viewconf to support LOG_LEVEL_MAIN 2017-10-29 23:18:38 +00:00
George Oikonomou
8307fb5267 Update the sensniff submodule to the latest version 2017-10-29 23:12:49 +00:00
George Oikonomou
dd0fb26db4 Update cc2538-bsl submodule to latest version 2017-10-29 18:26:55 +00:00
Simon Duquennoy
a33e5eddcb Doxygen: fix path to hello-world example 2017-10-29 13:44:16 +01:00
Simon Duquennoy
189ed6e79b Update Doxygen mainpage 2017-10-29 13:33:11 +01:00
Simon Duquennoy
f40492ade9 Moving /doc to /tools/doxygen 2017-10-29 13:33:09 +01:00
Simon Duquennoy
9d1463fac5 Viewconf: distinguish set from unset flags 2017-10-26 17:37:46 +02:00
Simon Duquennoy
bb5ca12003 Minor fix to viewconf.c 2017-10-26 16:30:01 +02:00
Simon Duquennoy
70e948f693 Updating cooja submodule path and commit 2017-10-26 11:46:04 +02:00
Niclas Finne
4c16ce9a4e Added submodule for Cooja 2017-10-23 13:48:43 +02:00
Niclas Finne
e4ae215f16 Removed COOJA 2017-10-18 20:40:13 +02:00
Niclas Finne
6957924940 Removed the MSPSim submodule 2017-10-18 20:40:13 +02:00
Simon Duquennoy
f35c15cf90 Make viewconf more TSCH-friendly 2017-10-12 17:09:16 +02:00
Simon Duquennoy
78dd665db6 Remove some flags from viewconf.c 2017-10-11 20:55:42 +02:00
Simon Duquennoy
d88f0b157e Viewconf: now show config flags after module-specific .h file inclusion, i.e., show final values rather than _CONF_ flags 2017-10-11 17:27:31 +02:00
Simon Duquennoy
3117296ffc Make viewconf: pretty printing 2017-10-10 21:05:48 +02:00
Simon Duquennoy
11de95efea Added make target 'viewconf' to ease debugging of configuration flags 2017-10-10 21:04:38 +02:00
Simon Duquennoy
20559fd308 Auto-include project-conf.h whenever found 2017-10-07 09:45:38 +02:00
Simon Duquennoy
543408db68 Re-organzie ip stack implementation 2017-09-22 17:09:54 +02:00
Simon Duquennoy
0aa44c3c22 Homogenize NET layer config with MAC 2017-09-22 14:34:20 +02:00
Niclas Finne
2d1d366bce wpcapslip: core has been renamed to os 2017-09-01 15:45:40 +02:00
Niclas Finne
2c86194ef8 Renamed core to os 2017-09-01 15:29:00 +02:00
Simon Duquennoy
9ddae0c90f Update serialdump-linux binaries 2017-07-07 15:13:45 +02:00
Simon Duquennoy
dc35fcd557 Update mspsim to latest 2017-07-06 21:59:51 +02:00
Simon Duquennoy
c3ec92dc2c Refactor how packet sent callbacks are handled for TSCH, RPL, 6lowpan and DS6 2017-07-04 10:15:05 +02:00
Nicolas Tsiftes
9bb51087bf Renamed the drivers directory to arch to reflect that this is the main place for architecture-dependent functionality. 2017-06-28 16:20:43 +02:00
Simon Duquennoy
1a0f8ab737 Removing IPv4 stack 2017-06-16 17:32:22 +02:00
Simon Duquennoy
766c0e21dd Removing platform z1 2017-05-17 13:48:01 +02:00
Simon Duquennoy
54d6756815 Move cpu, dev and platform into a new top-level directory: drivers 2017-05-16 09:04:52 +02:00
Simon Duquennoy
6220aea14a Removing Rime, old platforms, old MAC layers, LLSEC (as a layer), some examples and apps 2017-05-14 01:14:05 +02:00
Oliver Schmidt
91beb8670f Added SLIP support to retro platforms.
The cc65 tool chain comes with V.24 drivers so it seems reasonable to use the existing Contiki SLIP driver to implement network access via SLIP as alternative to Ethernet.

Some notes:
- The Ethernet configuration was simplified in order to allow share it with SLIP.
- The Contiki SLIP driver presumes an interrupt driven serial receiver to write into the SLIP buffer. However the cc65 V.24 drivers aren't up to that. Therefore the main loops were extended to pull received data from the V.24 buffers and push it into the SLIP buffer.
- As far as I understand the serial sender is supposed to block until the data is sent. Therefore a loop calls the non-blocking V.24 driver until the data is sent.

On all platforms there's only one V.24 driver available. Therefore V.24 drivers are always loaded statically.

On the Apple][ the mouse driver is now loaded statically - independently from SLIP vs. Ethernet. After all there's only one mouse driver available. However there's a major benefit with SLIP: Here all drivers are loaded statically. Therefore the dynamic module loader isn't necessary at all. And without the loader the heap manager isn't necessary at all. This allows for a reduction in code size roughly compensating for the size of the SLIP buffer.
2017-02-15 23:43:28 +01:00
Oliver Schmidt
6463c91a4f Removed artifacts of former uip_appdata handling.
Adam Dunkels writes on 2/5/2017 on the Contiki mailing list:
[...] the original idea was that the application could just point the uip_appdata pointer to wherever the data was, but we then changed it so that the data actually had to be copied into the uip_aligned_buf buffer. So, yes, the network device driver should only need to read from this buffer. [...]

This change removes comments on the possibility of uip_appdata pointing somewhere outside the uip_aligned_buf. And it removes code in the SLIP drivers not necessary anymore.

Additionally it makes code in a SLIP driver optional that takes care of the Microsoft-specific CLIENT / SERVER / CLIENTSERVER chat.
2017-02-05 23:20:39 +01:00
Oliver Schmidt
a6472c8dd9 Revert to static Ethernet driver for the ATARI.
After all there's no momentum for a W5100-based Ethernet solution on the ATARI. So I revert to static linkage of the CS8900A driver as this improves program load times.
2017-01-27 00:18:25 +01:00
Antonio Lignan
10d54f228b Orion: update motelist string
Updates the expected motelist string
2017-01-12 11:23:20 +01:00
George Oikonomou
960b81d484 Merge pull request #2024 from alignan/pull/eth-gw
Zolertia Orion ethernet router with active POE support
2017-01-09 21:03:45 +00:00
Antonio Lignan
6e07fd7019 Merge pull request #2001 from joakimeriksson/cooja-quick-ui-fix
fixed so that Cooja can run in quick mode when having UI
2017-01-03 10:26:52 +01:00
Antonio Lignan
579620ce0e Added Zolertia Orion ethernet router with active POE support 2016-12-29 13:07:53 +01:00
Antonio Lignan
2464cdadc9 Merge pull request #1973 from g-oikonomou/contrib/sensniff-submodule
Add sensniff as a submodule
2016-12-25 19:42:18 +01:00
Joakim Eriksson
f069cef73a fixed so that Cooja can run in quick mode when having UI 2016-12-15 13:52:05 +01:00
Simon Duquennoy
bba5a973ba Merge pull request #1987 from joakimeriksson/cooja-fix
Fixed COOJA to avoid using UI based message list when not using UI.
2016-12-15 08:40:03 +01:00
Niclas Finne
a02481bc99 Fixed more MessageListUI to respect visualized in Cooja 2016-12-14 10:10:25 +01:00
Nicolas Tsiftes
8fca9ced8e Merge pull request #1976 from yatch/pr/missing-single-quote
Resolve  "unmatched single quote" error in Travis CI failed tests
2016-12-12 17:06:16 +01:00
Joakim Eriksson
2a3edc9136 Fixed so that COOJA sends in isVisible instead of quick as visibility parameter to plugins to get compile info back into COOJA - and fixed CoreComm to use MessageList text if no UI 2016-12-11 20:52:03 +01:00
Yasuyuki Tanaka
f5d6b7ed0f ContikiMoteType: add a missing single quote in a log message
This resolves the error of "unmatched single quote" by xargs seen in a
failed log of Travis CI.
2016-12-05 18:07:39 +01:00
George Oikonomou
11877b4b6b Add sensniff as a submodule 2016-12-04 18:43:17 +00:00
Antonio Lignan
af4f1e1c30 Merge pull request #1866 from yschroeder/pull-req/serialdump
Improved serialdump.c
2016-12-04 13:17:39 +01:00
Simon Duquennoy
728e417e04 Merge pull request #1502 from yatch/pr-radiologger
Fix timestamps of packets recorded in pcap files
2016-11-27 11:58:03 +01:00
Simon Duquennoy
ecd1d57eec Merge pull request #1661 from yatch/pr-tsch-cooja-mote
TSCH on Cooja mote
2016-11-23 11:59:29 +01:00
Oliver Schmidt
72cc19c680 Fixed ProDOS 800kB image.
The 800kB file claimed to be a 32MB image. Now the logical size and pysical size match.
2016-10-11 11:18:23 +02:00
Niclas Finne
e648373677 Cooja now supports Wismote and Z1 motes when exporting simulations as
executable JAR.
2016-09-22 10:56:56 +02:00
Yannic Schröder
d524211c2a Clean exit of serialdump when hitting Ctrl-C
Ctrl-C is the best way to close serialdump after using make login.
With a clean exit it will signal to make that the make run was successful.
2016-09-20 14:18:21 +02:00
Yannic Schröder
9e080e8aa5 Terminate serialdump when serial device disconnects
The running serialdump does not recover from a disconnected device but
runs indefinitely with outputting anything. This makes it quit with a
proper error message.
2016-09-20 14:16:40 +02:00
Yannic Schröder
2974b796d1 Initialize serialdump termios properly
termios i_flags were not initialized and could be set to arbitrary values
this resulted in unpredicted behaviour of the output like additional
newlines
2016-09-20 14:14:14 +02:00
Yasuyuki Tanaka
6d51c5f58e Reimplement Rtimer of Cooja mote as a microsecond resolution timer 2016-09-06 15:14:10 +02:00
Yasuyuki Tanaka
33e86042e5 Support RADIO_PARAM_LAST_PACKET_TIMESTAMP with get_object() 2016-09-06 15:14:10 +02:00