Simon Duquennoy
9596a4285e
Use PRI macros for safe printf and logs
2018-02-23 10:58:45 -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
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
Yasuyuki Tanaka
e9951e9341
framer-802154: do away with "type" of create_frame()
...
The argument, "type", is not used effectively in create_frame(). In
addition, it's confusing because create() calls create_frame() with
FRAME802154_DATAFRAME as "type" though it does not always create a data
frame.
2017-09-13 14:38:05 +09:00
Yasuyuki Tanaka
4ba8b2e684
TSCH: add argument validation in tsch_schedule_add_link()
...
The purpose is to avoid allocating a meaningless link, which could cause
communication issue with a peer.
2017-09-13 14:38:05 +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
Yasuyuki Tanaka
6e8c5906bc
TSCH: remove duplicate code from tsch_packet_create_eack()
...
tsch_packet_create_eack() prepares a frame802154_t data by itself, which
is similar to what framer_802154_setup_params() does. In order to avoid
duplicate code, tsch_packet_create_eack() is going to use
framer_802154_setup_params() to have a ready-to-use frame802154_t data.
2017-09-13 14:38:05 +09:00
Yasuyuki Tanaka
a35c3cad08
framer-802154: introduce framer_802154_setup_params()
2017-09-13 14:37:56 +09:00
Simon Duquennoy
e0edcd9800
Merge pull request #67 from yatch/pr/log-fixes
...
Log Message Fixes
2017-09-11 10:49:15 +02:00
Simon Duquennoy
37b7c2e90b
TSCH: log parsing errors even when security is not enabled
2017-09-11 15:07:17 +09:00
Simon Duquennoy
a11c2f4a1f
TSCH: bugfix in tsch-adaptive-sync
2017-09-11 15:07:17 +09:00