Commit Graph

3069 Commits

Author SHA1 Message Date
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
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
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
fcc1778dc0 Remove all references to Rime 2017-06-22 18:31:13 +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
Simon Duquennoy
1b64155c8d Log.h code style 2017-06-21 17:14:05 +02:00