Commit Graph

162 Commits

Author SHA1 Message Date
Atis Elsts ad577cf77f Add TSCH stats 2018-09-27 16:00:36 +01:00
Atis Elsts 61f6b704db TSCH: improve the readability of add_link and remove_link messages 2018-09-03 11:38:47 +01:00
Joakim Eriksson e9f0b33b89
Merge branch 'develop' into contrib/tsch-minor 2018-08-11 10:51:33 +02:00
Olav Frengstad f8d004b92f Move LLSEC checks from `tsch-security.h` to `tsch-security.c`
Different part of the stack is pulled in from `contiki-main.c` this has the unintended
side effect of including TSCH headers even when TSCH is not used. When using LLSEC for
CSMA this triggers an error and compilation fails.
2018-06-11 10:48:17 +02:00
Simon Duquennoy 2271fdfd7b TSCH: minor logging fix 2018-05-25 12:52:19 -07:00
Simon Duquennoy 3d88ba35dd TSCH: keep track of max/min observed drift and log it periodically 2018-05-25 12:52:19 -07:00
Rehan MALAK ce22b0b518 warning-- : excess elements in struct initializer
make -C "examples/platform-specific/cc26xx/ble-ipv6" \
        TARGET=srf06-cc26xx BOARD=sensortag/cc2650
2018-05-16 17:11:08 +02:00
Simon Duquennoy 2bf79a98ce TSCH burst mode: remove unnecessary variable burst_tsch_current_channel 2018-05-14 04:20:24 -07:00
Simon Duquennoy 359ae59499 tsch-packet: define constant for frame pending bit offset 2018-05-14 04:20:24 -07:00
Simon Duquennoy 9569519bbe TSCH: burst mode is in the standard, remove custom link option 2018-05-14 04:20:24 -07:00
Simon Duquennoy 0153566b92 TSCH burst mode: fix logging 2018-05-14 04:20:24 -07:00
Simon Duquennoy 2433860441 TSCH burst mode: do not channel hop within burst 2018-05-14 04:20:24 -07:00
Simon Duquennoy 5607308eed Added doxygen for TSCH frame pending bit functions 2018-05-14 04:20:23 -07:00
Simon Duquennoy 3fe846dbad TSCH burst mode: bounded burst lengths 2018-05-14 04:20:23 -07:00
Simon Duquennoy d3b8b80b28 TSCH: add option to run 6TiSCH minimal with burst mode enabled 2018-05-14 04:20:23 -07:00
Simon Duquennoy c41057fc1b TSCH: cleaner logging of burst mode 2018-05-14 04:20:17 -07:00
Simon Duquennoy a5a2a05101 TSCH: implement burst mode 2018-05-14 04:20:17 -07:00
kkrentz 1c54e8d7d7 packetbuf: Removed attribute KEY_SOURCE_BYTES_0_1 2018-05-12 04:00:14 -07:00
George Oikonomou b45d284be2 Merge branch 'release-4.1' into develop 2018-05-09 22:18:01 +01:00
Simon Duquennoy 34ca2c06c1 TSCH: added file descriptions in .h files 2018-04-28 13:02:11 -07:00
Simon Duquennoy 0fdacc86ac
Merge branch 'release-4.1' into fix/remove-leftover-coojaip64 2018-04-22 09:10:11 +02:00
Simon Duquennoy c5e8c2097f Remove leftover COOJA_IP64 flags 2018-04-20 05:24:07 -07:00
Simon Duquennoy 10ada60849 Doxygen for tsch-queue.h 2018-04-18 01:49:07 -07:00
Simon Duquennoy 6dc34c128f Doxygen for tsch-packet.h 2018-04-18 01:49:06 -07:00
Simon Duquennoy 0f41b9d1a6 tsch_packet_update_eb: fix return value to indicate failures 2018-04-17 12:36:43 -07:00
Simon Duquennoy 3728350ad4 Doxygen for tsch-adaptive-sync.h 2018-04-14 13:08:26 -07:00
Simon Duquennoy 5734b32a6f Doxygen for tsch-log.h 2018-04-14 13:08:26 -07:00
Simon Duquennoy eb81487267 Doxygen for tsch-rpl.h 2018-04-14 13:08:25 -07:00
Simon Duquennoy 68ec94e0fb Doxygen for tsch-asn.h 2018-04-14 13:08:25 -07:00
Simon Duquennoy 8be446d0ea Doxygen for tsch-schedule.h 2018-04-14 13:08:25 -07:00
Simon Duquennoy a48bf54668 Doxygen for tsch-slot-operation.h 2018-04-14 12:25:23 -07:00
Simon Duquennoy 533351f4dd Doxygen for tsch-types.h 2018-04-14 12:25:22 -07:00
Simon Duquennoy bacdfcb253 Doxygen for tsch.h 2018-04-14 12:25:22 -07:00
Simon Duquennoy 15a06b85bc Added flag for 802.15.4 default channel 2018-04-13 02:26:48 -07:00
George Oikonomou e1816115be
Merge branch 'develop' into fix/csma 2018-04-05 23:12:52 +01:00
Simon Duquennoy 9dfcb2ebb6 Various logging improvements 2018-04-05 20:47:02 +02:00
Simon Duquennoy c56d11502b CSMA: fix configuration bug 2018-04-05 20:44:04 +02:00
Simon Duquennoy 9630245cda CSMA: reset collision count to 0, not CSMA_MIN_BE 2018-04-05 20:43:51 +02:00
George Oikonomou 46f73b9a8a Remove obsolete Makefile 2018-04-02 23:00:52 +01:00
Yasuyuki Tanaka c7d60bc8a6 sixtop: update to draft-ietf-6tisch-6top-protocol-10
- remove the schedule generation management using GEN field
- add SIGNAL command
- add RC_ERR_SEQNUM
- rename and reorder return codes
2018-03-29 16:19:21 +02:00
Yasuyuki Tanaka 62a93a7e62 sixtop: fix typos in error messages 2018-03-29 16:19:21 +02:00
Simon Duquennoy a3e62befb8 TSCH: rework .h system, now following the same structure as rpl-lite 2018-03-28 10:39:41 -07:00
Simon Duquennoy 146427724a TSCH-RPL: reset link statistics when leaving network 2018-03-25 07:02:32 -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 fc053b15b9 Rename nbr_table_is_register to nbr_table_is_registered 2018-03-19 12:05:32 -07:00
George Oikonomou c250cf93b7
Merge branch 'develop' into feature/ipv6_over_ble 2018-03-12 08:52:25 +00:00
George Oikonomou 8dea154f81
Merge branch 'develop' into bugfix/tsch/slot-scheduling-d 2018-03-02 14:18:19 +00:00
Simon Duquennoy aaa8658e8d tsch-log: fixed alignement of the log fields 2018-03-02 04:14:23 -08:00
Simon Duquennoy a9a972b84a
Merge branch 'develop' into bugfix/tsch/slot-scheduling-d 2018-03-02 13:05:53 +01:00
Simon Duquennoy b2148b8765 Remove uses of obsolete flag CONTIKI_TARGET_COOJA_IP64 2018-03-02 02:42:11 -08:00
Simon Duquennoy 2e3280b5c5
Merge branch 'develop' into contrib/csma-defaults 2018-03-02 10:06:37 +01:00
George Oikonomou 8f08ff1308 Add missing extern keyword
GCC assumes extern, but other toolchains complain about multiple variable definition at files including this header.
2018-02-28 12:51:26 +00:00
George Oikonomou 1f44c1530e
Merge branch 'develop' into contrib/tsch-print-schedule 2018-02-25 18:48:00 +00:00
Simon Duquennoy d526323ce2 CSMA for Cooja motes: increase backoff_period 2018-02-25 06:02:36 -08:00
Simon Duquennoy 61880704b1 CSMA: adopt default values from IEEE for CSMA_MIN_BE and CSMA_MAX_BE 2018-02-25 06:02:36 -08:00
Simon Duquennoy 9596a4285e Use PRI macros for safe printf and logs 2018-02-23 10:58:45 -08:00
Atis Elsts b2eba53df9 TSCH: fix a bug in tsch_schedule_slot_operation scheduling 2018-02-23 14:17:37 +00:00
Simon Duquennoy 8f742a1a62 tsch_schedule_print: use LOG_PRINT instead of printf 2018-02-23 05:56:39 -08:00
Simon Duquennoy f8ddf8c816 Added missing includes for modules that rely on RPL 2018-02-02 08:51:29 -08:00
Simon Duquennoy e1088e59d7 Fix includes for tsch-rpl module 2018-02-02 08:50:17 -08:00
Simon Duquennoy 65cbc45145 Rename routing module flags 2018-02-02 08:50:17 -08:00
Simon Duquennoy 26d51c15d7 Routing API: added more missing functions, homogenize configuration 2018-02-02 08:50:17 -08:00
Simon Duquennoy eaa3b6ad79 Routing API: added link_callback 2018-02-02 08:48:37 -08:00
Simon Duquennoy 53facf941e Routing API: added toplogy repair 2018-02-02 08:48:37 -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 1c0e76025b fixed slip-radio config, added shell to NBR and added parsing to no-framer 2018-01-26 22:59:48 +01:00
spoerk 35c08597e6 BLE L2CAP moved to the other MAC implementations 2018-01-03 14:36:14 +01: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 40e6b4be61 Fix typo in comment 2017-10-13 16:55:59 +02:00
Simon Duquennoy 663d1f121d Autoconfigure Orchestra whenever the module is included 2017-10-12 18:32:19 +02:00
Simon Duquennoy d26e5fb489 TSCH: automatically leave the network when setting as coordinator/node 2017-10-12 17:09:23 +02:00
Simon Duquennoy 9590b21888 TSCH: default Max EB period to 16s 2017-10-12 17:09:07 +02:00
Simon Duquennoy c320717d9a tsch-log: fix autoconfiguration of TSCH_LOG_PER_SLOT 2017-10-12 17:09:01 +02:00
Simon Duquennoy a89df3b279 TSCH-RPL: configure callbacks automatically 2017-10-12 17:08:55 +02:00
Simon Duquennoy 48997bb3ad Use 802.15.4 frames v2 by default only for TSCH, else fall back to v1 2017-10-11 17:26:08 +02:00
Simon Duquennoy df01ebc219 Minor logging fixes 2017-10-11 17:25:07 +02:00
Simon Duquennoy 25d69965a4 Move some readme files to wiki 2017-10-06 16:28:26 +02:00
Simon Duquennoy c851357800 Doxygen fixes 2017-10-06 14:26:59 +02:00
Simon Duquennoy 14779f29f8 Rework Doxygen modules 2017-09-29 22:18:48 +02:00
Simon Duquennoy 543408db68 Re-organzie ip stack implementation 2017-09-22 17:09:54 +02:00
Simon Duquennoy d9f9138ed2 Added NullNet, a network layer for non-IP-enabled cases 2017-09-22 14:34:20 +02:00
Simon Duquennoy 7d262d6d89 Move no-framer from slip-radio to os, now named nullframer 2017-09-22 14:34:20 +02:00
Simon Duquennoy 1a8f04effc TSCH: move platform-specific configuration flags to platform configuration files 2017-09-22 14:34:20 +02:00
Simon Duquennoy 13f014f882 Update TSCH Readme file 2017-09-22 14:34:20 +02:00
Simon Duquennoy 3c9369737e Merge pull request #66 from yatch/pr/etsi-plugtest-2017
Project for ETSI Plugtest 2017
2017-09-16 09:18:02 +02:00
Nicolas Tsiftes 8ae774d413 Merge pull request #71 from simonduq/pr/rename-rpl
Rename old RPL implementation as rpl-legacy (update: rpl-classic)
2017-09-15 14:50:59 +02:00
Yasuyuki Tanaka 78a4d60584 sixtop: log fix 2017-09-14 21:48:08 +09:00
Simon Duquennoy 786cc13a95 Rename old RPL implementation as rpl-classic 2017-09-14 04:55:36 +02:00
Simon Duquennoy af556985a8 Merge pull request #65 from yatch/pr/6p
6top protocol
2017-09-14 03:39:08 +02:00
Yasuyuki Tanaka efd84940d8 sixtop: start transaction timer in its allocation process
While the timer is designed to get started on state transition from
SIXP_TRANS_STATE_INIT, the state transition may not happen in some
erroneous situation. This change makes sure that the timer is started
once it's allocated.
2017-09-13 14:38:06 +09:00
Yasuyuki Tanaka 57263042ae sixtop: use LOG APIs instead of PRINTF from net-debug.h 2017-09-13 14:38:06 +09:00
Yasuyuki Tanaka 7530c560c5 sixtop: support draft-ietf-6tisch-6top-protocol-07 2017-09-13 14:38:06 +09: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 69affad825 framer-802154: suppress src panid and put dest pan id by default 2017-09-13 14:38:05 +09:00
Simon Duquennoy 2817b9212a framer-802154: compress PANID by default 2017-09-13 14:38:05 +09:00