Commit Graph

12375 Commits

Author SHA1 Message Date
Simon Duquennoy
b6e24d9966 TSCH: logging fixes 2017-06-29 16:46:16 +02:00
Simon Duquennoy
207d166ce6 TSCH: logging, and code style fixes 2017-06-29 16:46:16 +02:00
Simon Duquennoy
eadc38ac1f TSCH: time-source recovery in case of failed keep-alive 2017-06-29 16:46:15 +02:00
Simon Duquennoy
89cbf87eee TSCH: be more picky in incoming frame filtering 2017-06-29 16:46:15 +02:00
Simon Duquennoy
bde0123f49 Rework logging module 2017-06-29 16:46:14 +02:00
Simon Duquennoy
076817faec rpl-lite: enable DAO-ACK by default. Various other improvements 2017-06-29 16:46:14 +02:00
Simon Duquennoy
821590c4b5 Logging: added feature for compact address logging (last 16 bits). Cleanup more logs in MAC layers, IPv6 and RPL 2017-06-29 16:46:13 +02:00
Simon Duquennoy
a78b4e32e9 Logging system: print the module name only on newlines 2017-06-29 16:46:12 +02:00
Simon Duquennoy
395e6dc819 RPL-lite: use logging module 2017-06-29 16:46:11 +02:00
Simon Duquennoy
250707c2d7 Use full include path for rpl and rpl-lite .h files, in core 2017-06-29 16:46:11 +02:00
Simon Duquennoy
7e9d68a2ef Fix tcpip.c next hop selection 2017-06-29 16:46:10 +02:00
Simon Duquennoy
0449187163 rpl-lite: fix variable name 2017-06-29 16:46:09 +02:00
Simon Duquennoy
c0cb4b8b45 rpl-lite: leave DAG on DAO NACK instead of attempting a repair, not useful in non-storing mode 2017-06-29 16:46:09 +02:00
Simon Duquennoy
03d703f188 rpl-lite: tailor rpl_icmp6_dao_output to non-storing mode 2017-06-29 16:46:09 +02:00
Simon Duquennoy
d4e08fafa6 rpl-lite: terminology: use 'neighbor' instead of 'parent', and distinguish candidate neighbors from parent set as per RFC 6550 2017-06-29 16:46:08 +02:00
Simon Duquennoy
a6643a9835 Added RPL-lite, a lightweight implementation of RPL. This is the new default. 2017-06-29 16:46:07 +02:00
Simon Duquennoy
ebd0196539 Merge pull request #48 from nvt/rename-drivers
Renamed drivers directory to arch
2017-06-29 16:21:47 +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
28670c4ec6 Merge pull request #46 from simonduq/pr/no-rime
Remove old references to Rime
2017-06-23 08:50:16 +02:00
Simon Duquennoy
fcc1778dc0 Remove all references to Rime 2017-06-22 18:31:13 +02:00
Simon Duquennoy
b4f9f9cb28 Merge pull request #31 from nvt/add-heapmem-module
Added a generic heap memory module similar to malloc.
2017-06-22 16:52:46 +02:00
Nicolas Tsiftes
620edd1ab6 Added some Doxygen documentation for the heapmem module. 2017-06-22 14:49:20 +02:00
Nicolas Tsiftes
88144ced73 Added a generic heap memory module similar to malloc. 2017-06-22 14:30:46 +02:00
Nicolas Tsiftes
278edea32b Merge pull request #40 from simonduq/pr/ipv4-cleanup
Cleanup core/net/ip
2017-06-21 17:56:15 +02:00
Nicolas Tsiftes
5853121329 Merge pull request #38 from simonduq/pr/log-levels
Logging module
2017-06-21 17:52:14 +02:00
Simon Duquennoy
1b64155c8d Log.h code style 2017-06-21 17:14:05 +02:00
Simon Duquennoy
830ac8a2da Logging fixes 2017-06-21 17:11:20 +02:00
Simon Duquennoy
9231d9f82d Logging module naming: LOG_MODULE_STR becomes LOG_MODULE 2017-06-21 17:09:39 +02:00
Simon Duquennoy
07765f8e70 Cleanup CSMA logging 2017-06-21 17:09:38 +02:00
Simon Duquennoy
1dcba2a700 Added logging example for regression testing with all logs enabled 2017-06-21 17:09:38 +02:00
Simon Duquennoy
4c68f68b07 Logging fixes 2017-06-21 17:09:37 +02:00
Simon Duquennoy
661f4c5023 Use logging module for MAC layers 2017-06-21 17:09:37 +02:00
Simon Duquennoy
9f0177570d Use logging module for IPv6 2017-06-21 17:09:36 +02:00
Simon Duquennoy
b9bd08c4a9 Added new logging module, used in tcpip and sicslowpan 2017-06-21 17:09:36 +02:00
Simon Duquennoy
272933d2d4 Remove old log library 2017-06-21 17:09:35 +02:00
Simon Duquennoy
c65d060669 Merge pull request #33 from simonduq/pr/nd6-autofill
ND6 autofill
2017-06-21 17:09:13 +02:00
Simon Duquennoy
145223181c Cleanup core/net/ip 2017-06-21 17:00:05 +02:00
Simon Duquennoy
265af96a55 Added new nbr-table reason for ND6 AUTOFILL 2017-06-21 16:53:53 +02:00
Simon Duquennoy
2031edb607 More comments on UIP_CONF_ND6_AUTOFILL_NBR_CACHE 2017-06-21 16:53:36 +02:00
Simon Duquennoy
0d0e065456 uIP ND6: added option to automatically fill the neighbor cache assuming autoconfigured IPv6 addresses 2017-06-21 16:53:29 +02:00
Nicolas Tsiftes
30bb899f7c Merge pull request #32 from simonduq/pr/refactor_tcpip
Refactor tcpip
2017-06-21 16:35:37 +02:00
Simon Duquennoy
66bad374fc Fix cooja platform config file bug 2017-06-21 16:10:45 +02:00
Billy Kozak
0b66f4e274 Refactor tcpip.c to reduce code size
- memset listenports to clear at tcpip_process init
- add setup_appstate function to initilize app state structs
2017-06-21 16:02:45 +02:00
Billy Kozak
6b40fcc125 refactored tcpip_ipv6_output
- brought out several sections of code into seperate helper functions
- reduced conditional nesting by adding new function exit points
- use gotos to eliminate some code duplication (the main goal here
  is to reduce code size so as to avoid compilation problems on some
  platforms).

Conflicts:
	core/net/ip/tcpip.c
2017-06-21 16:02:44 +02:00
Simon Duquennoy
d4a608cdad Merge pull request #39 from simonduq/pr/werror
Enable -Wall -Werror by default
2017-06-21 16:00:16 +02:00
Joakim Eriksson
795f646787 Merge pull request #34 from simonduq/pr/no-ipv4
Removing IPv4 stack
2017-06-21 14:31:58 +02:00
Nicolas Tsiftes
a5a830beb1 Merge pull request #37 from simonduq/pr/rm-libs
Removing old/unused libs
2017-06-21 14:30:15 +02:00
Simon Duquennoy
3d5ee21d69 Fix a number of compiler warnings 2017-06-21 12:06:57 +02:00
Simon Duquennoy
75c17e15ca Consistently enable -Wall and -Werror. Have WERROR set by default 2017-06-21 11:11:09 +02:00
Simon Duquennoy
3d0a5afb92 Removing unused CPU code 2017-06-21 11:09:11 +02:00