Commit Graph

3012 Commits

Author SHA1 Message Date
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 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
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
Simon Duquennoy 3d5ee21d69 Fix a number of compiler warnings 2017-06-21 12:06:57 +02:00
Simon Duquennoy 1c5c8798c7 Removing old/unused libs 2017-06-19 11:41:42 +02:00
Simon Duquennoy 1a0f8ab737 Removing IPv4 stack 2017-06-16 17:32:22 +02:00
Simon Duquennoy d61cb46e59 Removing contki-version.h; now only relying on Makefile.include 2017-05-18 12:57:46 +02:00
Simon Duquennoy 2928e3e440 Remove cooja-ip64 compiler warnings 2017-05-18 10:23:28 +02:00
Simon Duquennoy ea09903d67 Move llsec802154.h to core/net/mac 2017-05-18 09:56:57 +02:00
Simon Duquennoy 78e424200b http-socket as an app 2017-05-18 09:26:44 +02:00
Simon Duquennoy f79aa2174e All MAC layers as distinct modules 2017-05-17 22:00:16 +02:00
Simon Duquennoy 880e69f770 Merging csma and nullrdc 2017-05-17 21:50:33 +02:00
Simon Duquennoy b81e039e34 Added missing include 2017-05-17 15:38:51 +02:00
Simon Duquennoy 2018c18130 Removing unused features of nullrdc 2017-05-17 15:30:17 +02:00
Simon Duquennoy d1641530dd Merge branch 'wip/platform-cleanup' into wip/mac-rdc
Conflicts:
	drivers/dev/cc2520/cc2520.c
	drivers/platform/wismote/Makefile.wismote
	drivers/platform/wismote/contiki-conf.h
	drivers/platform/wismote/contiki-wismote-main.c
	drivers/platform/z1/Makefile.z1
	drivers/platform/z1/contiki-conf.h
	drivers/platform/z1/contiki-z1-main.c
	examples/ipso-objects/cooja-example-ipso-objects.csc
	examples/rssi-scanner/Makefile
2017-05-17 15:13:16 +02:00
Simon Duquennoy aa1191d8f0 Remove RDC layer 2017-05-17 15:09:19 +02:00
Simon Duquennoy bd6f26963a Fix cc2538-common example makefile 2017-05-17 15:09:07 +02:00
Simon Duquennoy 95323b9ce7 Remove channel_check_interval 2017-05-17 14:34:29 +02:00
Simon Duquennoy 682e8f42b9 nullmac: now a MAC that does nothing 2017-05-17 14:27:12 +02:00
Simon Duquennoy 8cc5e082ac Removing more refs to old platforms 2017-05-17 13:56:30 +02:00
Simon Duquennoy 766c0e21dd Removing platform z1 2017-05-17 13:48:01 +02:00
Simon Duquennoy a346959ba4 Removing unused framer 2017-05-16 22:23:05 +02:00
Simon Duquennoy 35a9984122 Removing the need for nullrdc-noframer 2017-05-16 22:12:40 +02:00
Simon Duquennoy 3e07d4a060 Netstack defaults 2017-05-16 22:12:34 +02:00
Simon Duquennoy 8a988396d7 New default: CSMA over 802.15.4 2017-05-16 22:12:29 +02:00
Simon Duquennoy a980593bd6 Added framer sub-directory to core/net/mac 2017-05-16 21:05:21 +02:00
Simon Duquennoy ff29a4a22b Move top-level directory lib to core 2017-05-16 15:20:35 +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
Nicolas Tsiftes 66fe7abf79 Merge pull request #2188 from tonnenpinguin/pr/uninitialized_variables
Fix several uninitialized variables
2017-04-21 17:59:12 +02:00
Bernhard Hackl 848f801460 Fix several uninitialized variables 2017-04-19 01:55:27 -07:00
Nicolas Tsiftes 38b82aeeeb Merge pull request #2189 from tonnenpinguin/pr/unterminated_strings
Fix potentially unterminated strings
2017-04-18 16:39:34 +02:00
Nicolas Tsiftes 52c709bdb7 Merge pull request #2101 from yatch/pr/bugfix-rpl-icmp6
RPL: fix a bug accessing an uninitialized pointer
2017-04-18 16:09:06 +02:00
Bernhard Hackl ae91d6b4b1 Fix potentially unterminated strings 2017-04-14 08:33:40 -07:00
Simon Duquennoy a330f59b8e TSCH readme: update with 802.15.4-2015 and 6TiSCH 2017-04-04 14:15:48 +02:00
Simon Duquennoy 51205eb809 TSCH readme: link to reference paper on implem and eval 2017-04-04 14:12:35 +02:00
Yasuyuki Tanaka faeb71de00 RPL: fix a bug accessing an uninitialized pointer
This bug is uncovered when RPL_WITH_MULTICAST is enabled.
2017-04-03 17:54:25 +09:00
Yasuyuki Tanaka b7b23b712f RPL: fix indentation (rpl-icmp6.c) 2017-04-03 17:52:58 +09:00
Nicolas Tsiftes 7342a3f8a7 Merge pull request #2103 from stringr9/bugfix/non-storing-drop-fix
Don't drop packets bound for outside the RPL mesh in non-storing mode
2017-03-23 14:27:06 +01:00
George Oikonomou 7e6d5c2971 Don't force RPL MOP configuration in contiki-default-conf.h
rpl-private.h handles the default MOP correctly, whereas the block in `contiki-default-conf.h` is not only redundant but also fails to handle situations where RPL multicast is required.
2017-03-17 22:33:17 +00:00
Mohamed Seliem 08b12f2346 fix a macro related to multicast, which are not user configuration
fix a macro related to multicast, which are not user configuration
- RPL_CONF_MULTICAST      -> RPL_WITH_MULTICAST
2017-03-17 20:21:56 +02:00
Nicolas Tsiftes b756841522 Merge pull request #2102 from yatch/pr/rpl-leaf-only-debug-msg
RPL: move a debug message for RPL_LEAF_ONLY to a correct place
2017-03-10 15:11:31 +01:00
Simon Duquennoy a24ac862de Merge pull request #2046 from yatch/pr/ringbufindex-bugfix
Bugfix in ringbufindex
2017-03-09 13:06:33 +01:00
Yasuyuki Tanaka 2d42b91c7b ringbufindex: fix bugs of ringbufindex_peek_{put,get} 2017-03-09 16:47:24 +09:00