Commit Graph

3078 Commits

Author SHA1 Message Date
Simon Duquennoy b81375f638 Shell: added command to set node as root (or unsed) 2017-07-07 15:13:47 +02:00
Simon Duquennoy 75f3a154ad Added shell command to configure log level at runtime 2017-07-07 15:13:43 +02:00
Simon Duquennoy 801fb2373a Added missing LOG in uip-icmp6 2017-07-07 15:13:38 +02:00
Simon Duquennoy 12d976f7b5 Emulate loopback: when sending an IP packet to one of our addresses, process it directly as input 2017-07-07 15:13:37 +02:00
Simon Duquennoy 74ed8bc585 Merge pull request #51 from simonduq/pr/cleanup-config
Some config cleanup
2017-07-07 13:54:17 +02:00
Nicolas Tsiftes dcc33984c2 Merge pull request #52 from simonduq/pr/default-802.15.4-2015
802.15.4-2015 frames v2 as default
2017-07-06 16:59:52 +02:00
Simon Duquennoy dc9e77eaf2 Simplify CSMA configuration 2017-07-06 10:01:56 +02:00
Simon Duquennoy 9a0087faf3 Simplify configuration through more suitable defaults, and removed unused features. Cleanup many configuration files. 2017-07-06 10:01:55 +02:00
Simon Duquennoy 1469268d32 Rework naming and configuration of sicslowpan compression levels 2017-07-05 19:48:42 +02:00
Simon Duquennoy 3acec4a849 6lowpan: added support for paging dispatch, and placeholders for 6lorh 2017-07-05 18:52:06 +02:00
Simon Duquennoy 9143729ded Use 802.15.4-2015 frame v2 by default 2017-07-05 17:46:22 +02:00
Simon Duquennoy 3f6cc0256f Renaming FRAME802154_IEEE802154E_2012 to FRAME802154_IEEE802154_2015 2017-07-05 17:43:00 +02:00
Nicolas Tsiftes 0f5a87645d Merge pull request #47 from simonduq/pr/sent-callback
Refactor packet sent callbacks
2017-07-04 14:41:20 +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
Simon Duquennoy 0d8de26503 Merge pull request #28 from sics-iot/nhc_compression
added NHC compression on ext headers
2017-07-03 08:53:40 +02:00
Joakim Eriksson a02b085fbe code cleanup 2017-07-02 11:01:06 +02:00
Joakim Eriksson 88ed3b82a0 fixed IP64 so that it sets correct UDP length and calculates a correct checksum 2017-07-01 23:19:10 +02:00
Simon Duquennoy ffdbbb3084 Rename NETSTCK_ROUTING_STATE_SIZE to NETSTACK_MAX_ROUTE_ENTRIES, fix rpl-udp example accordingly 2017-06-30 18:03:58 +02:00
Joakim Eriksson 3b5bfadaad fixed bug in compression and moved variables to start of function 2017-06-30 17:44:13 +02:00
Joakim Eriksson 1ca0eda380 added NHC compression on ext headers 2017-06-30 17:43:16 +02:00
Simon Duquennoy 931cae3541 rpl-lite: rework nbr-table policy, now handles ND_AUTOFILL for scenarios where the number of neighbors exceeds the nbr-table size 2017-06-29 19:00:10 +02:00
Simon Duquennoy 2d0e86aa45 rpl-lite: less aggressive probing function: only probe non-fresh neighbors. Default period set to 90s" 2017-06-29 18:59:55 +02:00
Simon Duquennoy d19df3b59d rpl-lite: minor improvements 2017-06-29 18:27:23 +02:00
Simon Duquennoy e7385ab2c0 rpl-lite parent selection: if the preferred parent is still best but no longer fresh, stick to it and use urgent probing to get it fresh again 2017-06-29 18:27:22 +02:00
Simon Duquennoy a791f46002 Link-stats: new option to compute ETX from Tx and ACK count. More stable than EWMA. 2017-06-29 18:27:10 +02:00
Simon Duquennoy ac4558bea0 rpl-lite: minor modifications 2017-06-29 16:53:43 +02:00
Simon Duquennoy 7d2b9c5b63 rpl-lite: reset DOI timer in case of a significant rank update 2017-06-29 16:53:43 +02:00
Simon Duquennoy a0b0ddbbea RPL-lite MRHOF: added time hysteresis 2017-06-29 16:53:43 +02:00
Simon Duquennoy dd85a89fbd rpl-lite: forget all link-statistics when leaving DAG 2017-06-29 16:53:42 +02:00
Simon Duquennoy 5df65382b3 rpl-lite: added state to DAG and only start advertising once reachable, added poisoning and leaving after a delay, improved management of DAG expiration 2017-06-29 16:53:17 +02:00
Simon Duquennoy 0d357a5c84 RPL-MRHOF: when squaring etx, do so only in path/rank calculation, not in link_metric 2017-06-29 16:46:30 +02:00
Simon Duquennoy f25b76bd43 Link-stats: use RSSI to initialize ETX by default 2017-06-29 16:46:30 +02:00
Simon Duquennoy c297c89f8d TSCH: some rework on tsch-queue 2017-06-29 16:46:29 +02:00
Simon Duquennoy bf5bea583e Disable TCP by default, homogenize UDP and TCP connections config 2017-06-29 16:46:29 +02:00
Simon Duquennoy f64ec24c9b Rename CONTIKI_NETWORK_DENSITY and CONTIKI_NETWORK_SIZE to NBR_TABLE_CONF_MAX_NEIGHBORS and NETSTCK_ROUTING_STATE_SIZE 2017-06-29 16:46:23 +02:00
Simon Duquennoy 08ac18b4e9 TSCH and CSMA: consistent seqno handling 2017-06-29 16:46:18 +02:00
Simon Duquennoy 17309e42fc TSCH: remove pending rx packet from ringbuf only after processing it 2017-06-29 16:46:17 +02:00
Simon Duquennoy 8a71f8ac61 TSCH: use default MAX_BE 2017-06-29 16:46:17 +02:00
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