Commit Graph

26 Commits

Author SHA1 Message Date
Toshio Ito 0997932bcb tsch: skip resynchronization when time source has been already changed.
See #712

Plus, now `resynchronize` is a separate function.
2018-10-23 16:31:34 +09:00
Simon Duquennoy b80d113253 Add a common set of portable RTIMER_BUSY_WAIT functions 2018-10-12 09:08:03 +02:00
Simon Duquennoy 7c5977d9f7 tsch_init: check that a timeslot timing template is provided 2018-10-04 13:07:25 +02:00
Simon Duquennoy 3ace2b93f6 tsch_init: added missing return in case of failed initialization 2018-10-04 13:07:25 +02:00
Simon Duquennoy cc0c70c1b3 TSCH: move 10ms and 15ms timeslot timings to separate files 2018-10-04 10:50:10 +02:00
Simon Duquennoy 5497dc1e20 TSCH: timeslot timings as a structure, for flexible configuration 2018-10-04 10:50:09 +02:00
Simon Duquennoy e6dec9ee4a TSCH: before associating on an EB, check that the Rx timestamp is sensible 2018-10-03 13:16:59 +02:00
Simon Duquennoy 17c2158229 TSCH: when scanning, set channel periodically regardless of previous channel 2018-10-03 13:16:19 +02:00
Atis Elsts bc9967dbb0 add TSCH channel selection service 2018-09-27 16:00:36 +01:00
Atis Elsts ad577cf77f Add TSCH stats 2018-09-27 16:00:36 +01:00
Simon Duquennoy 3d88ba35dd TSCH: keep track of max/min observed drift and log it periodically 2018-05-25 12:52:19 -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
Tim van der Lee 5b0c5b7007 Changed keepalive callback to avoid sending immediate keepalive when the network is congested 2018-03-23 11:40:05 +01:00
Simon Duquennoy 26d51c15d7 Routing API: added more missing functions, homogenize configuration 2018-02-02 08:50:17 -08:00
Simon Duquennoy 871ee1e34f Added routing module with only routing.h, now included wherever RPL is used 2018-02-02 08:45:02 -08:00
Joakim Eriksson 1356994795 added support for usage of the transmission count attirbute in uipbuf 2017-12-09 10:22:19 +01:00
Atis Elsts a211cb6e31 Allow to set a different number of MAC retransmissions for different classes of packets 2017-11-17 14:13:20 +00:00
Simon Duquennoy 1a4efcd38d
TSCH: when not sending KA, issue `LOG_ERR` rather than `LOG_INFO` 2017-11-09 16:13:00 +01:00
Michael Karlsson c33c10540a Avoid tsch crash when loosing timesource 2017-11-07 01:43:54 +01:00
George Oikonomou 8de3ffbc2e Don't initialise the queuebuf unconditionally
Currently, it is only used by 6LoWPAN when fragmentation is enabled, by TSCH and by CSMA. Platforms that disable fragmentation and choose a different MAC layer (e.g. NULLMAC) will unnecessarily end up with the module linked in the image, wasting flash and/or RAM space.
2017-10-29 23:18:36 +00:00
Simon Duquennoy d26e5fb489 TSCH: automatically leave the network when setting as coordinator/node 2017-10-12 17:09:23 +02:00
Simon Duquennoy 14779f29f8 Rework Doxygen modules 2017-09-29 22:18:48 +02:00
Yasuyuki Tanaka a5fadb2ebe sixtop: refactoring
- support draft-ietf-6tisch-6top-protocol-03
- maintain a sequence number per neighbor
- rename variables and constants
- reconsider file structure and file names
- make sf-simple part of example
- update sixtop/README.md
- add regression-tests for 6tisch
- apply C-DAC copyright notice
- bugfix + cleanup
2017-09-13 14:38:06 +09:00
Shalu-here cc1c763db9 sixtop: 6top protocol implementation by CDAC
https://github.com/contiki-os/contiki/pull/1898
2017-09-13 14:38:06 +09:00
Yasuyuki Tanaka 4fdaef2694 TSCH: make tsch_packet_create_eb() use NETSTACK_FRAMER.create()
tsch_packet_create_eb() is changed to build an Enhanced Beacon in the
packetbuf directly. Along with this, its signature is updated by
removing buf and buf_size from the argument list.
2017-09-13 14:38:05 +09:00
Niclas Finne 2c86194ef8 Renamed core to os 2017-09-01 15:29:00 +02:00