Commit Graph

14838 Commits

Author SHA1 Message Date
kkrentz
468a14b528 moved initialization of queuebuf to contikimac-main.c 2018-10-27 07:13:36 -07:00
Carlos Pérez Penichet
a906f03a25 cc2420 return to last state when disabling carrier
Made cc2420 follow the same logic as cc2538 when
disabling the unmodulated carrier. Now they both
return to the state they were in before the carrier
was enabled.
2018-10-26 16:28:20 +02:00
Carlos Pérez Penichet
c6770112af Fixed code style and removed forgotten pritf's 2018-10-25 11:49:20 +02:00
Carlos Pérez Penichet
79a4fe33a6 Unmodulated carrier transmission for cc2538
Modified the cc2538 driver to enable the radio test
mode to emit unmodulated carriers (tones).
A carrier can be enabled using the normal radio driver
API:
NETSTACK_CONF_RADIO.set_value(
RADIO_PARAM_POWER_MODE,
RADIO_POWER_MODE_CARRIER_ON);

Once enabled, the carrier can be disabled like this:
NETSTACK_CONF_RADIO.set_value(
RADIO_PARAM_POWER_MODE,
RADIO_POWER_MODE_CARRIER_OFF);
2018-10-25 11:24:44 +02:00
Simon Duquennoy
189fd594d3
Merge pull request #401 from yatch/pr/nbr-multi-ipv6-addrs
Introduce UIP_DS6_NBR_MULTI_IPV6_ADDRS
2018-10-24 16:48:45 +02:00
Yasuyuki Tanaka
4d8bb2f550 uip-ds6-nbr: check memb availability before adding an nbr_table entry 2018-10-24 07:03:10 -07:00
Yasuyuki Tanaka
54a2889614 test/10-ipv6-nbr: add 01-test-nbr-multi-addrs 2018-10-24 07:03:10 -07:00
Yasuyuki Tanaka
319b70345a uip-ds6-nbr: introduce UIP_DS6_NBR_MAX_6ADDRS_PER_NBR 2018-10-24 07:01:57 -07:00
Yasuyuki Tanaka
17aa75f0cf uip-ds6-nbr: add doxygen comments (and re-order some functions) 2018-10-24 07:01:57 -07:00
Yasuyuki Tanaka
ee452b5287 uip-ds6-nbr: introduce UIP_DS6_NBR_MULTI_IPV6_ADDRS
This feature, which is disabled by default, extends the neighbor cache
management in order to have multiple IPv6 address associated with a
single link-layer address as neighbor caches.

To use this feature, set 1 to UIP_DS6_NBR_CONF_MAX_NEIGHBOR_CACHES.
2018-10-24 07:01:57 -07:00
Yasuyuki Tanaka
8ef5c8b8c6 uip-ds6-nbr: make ds6_neighbors a local variable
All the nbr_table API calls with ds6_neighbors are replaced with
uip_ds6_nbr APIs accordingly.
2018-10-24 07:01:57 -07:00
Yasuyuki Tanaka
e29093efec tests/09-ipv6: add tests for UIP_DS6_NBR_MULTI_IPV6_ADDRS feature 2018-10-24 06:59:42 -07:00
Carlos Pérez Penichet
feb1513b46 Unmodulated carrier transmission for cc2420
Modified the cc2420 driver to enable the radio test
mode to emit unmodulated carriers (tones).
A carrier can be enabled using the normal radio driver
API:
NETSTACK_CONF_RADIO.set_value(
    RADIO_PARAM_POWER_MODE,
    RADIO_POWER_MODE_CARRIER_ON);

Once enabled, the carrier can be disabled like this:
NETSTACK_CONF_RADIO.set_value(
    RADIO_PARAM_POWER_MODE,
    RADIO_POWER_MODE_CARRIER_OFF);
2018-10-24 15:26:40 +02:00
Simon Duquennoy
42436cc486
Merge pull request #703 from simonduq/fix/json-buffer-overflows
Json library: fix a number of potential buffer overflows
2018-10-24 12:16:38 +02:00
Simon Duquennoy
37e9027807
Merge pull request #729 from debug-ito/tsch-resync-target
tsch: skip re-synchronization when time source has been already changed
2018-10-24 11:46:42 +02:00
Simon Duquennoy
ab1e2f8d28
Merge branch 'release-4.2' into fix/json-buffer-overflows 2018-10-24 10:49:37 +02:00
Simon Duquennoy
470ee43644
Merge pull request #717 from g-oikonomou/contrib/tests/out-of-tree
Add out of tree build tests
2018-10-24 10:48:55 +02:00
Simon Duquennoy
4dc465c16f
Merge branch 'develop' into tsch-resync-target 2018-10-24 10:06:48 +02:00
Simon Duquennoy
2ffe42c069
Merge pull request #387 from yatch/pr/rename-srf06-cc26xx
Rename srf06-cc26xx to cc26x0-cc13x0
2018-10-24 10:04:51 +02:00
Simon Duquennoy
3b9394d9ad
Merge branch 'release-4.2' into contrib/tests/out-of-tree 2018-10-24 10:02:35 +02:00
Simon Duquennoy
dea14f7799
Merge pull request #698 from g-oikonomou/contrib/build/dirs
Change build output dir structure and filenames
2018-10-24 10:02:10 +02:00
Yasuyuki Tanaka
2af3665b04 simplelink: correct a comment in Makefile.cc13xx-cc26xx 2018-10-23 13:32:55 -07:00
Yasuyuki Tanaka
0bcdd39cc6 Rename 'arch/cpu/cc26xx-cc13xx' to 'arch/cpu/cc26x0-cc13x0' 2018-10-23 13:32:03 -07:00
Yasuyuki Tanaka
7a6cbff5f6 Rename srf06/{cc26xx,cc13xx} to srf06/{cc26x0,cc13x0} 2018-10-23 13:09:02 -07:00
Yasuyuki Tanaka
61fba4dcde Rename srf06-cc26xx to cc26x0-cc13x0 2018-10-23 13:04:32 -07:00
George Oikonomou
1dc0249836 Adjust the jn516x build system to the new build output dir structure 2018-10-23 17:54:35 +01:00
George Oikonomou
14eeeccebc Always create example.$(TARGET) under build/ and then copy to . 2018-10-23 17:47:32 +01:00
George Oikonomou
d89cca83ac Don't generate an error if build/ does not exist 2018-10-23 17:47:32 +01:00
George Oikonomou
0622889add Allow users to specify build configurations 2018-10-23 17:47:31 +01:00
George Oikonomou
44d3f78b9c Adjust the Cooja build system to the new build output dir structure 2018-10-23 17:47:31 +01:00
George Oikonomou
8121383950 Update the Cooja submodule to the latest version 2018-10-23 17:47:31 +01:00
George Oikonomou
6f2f4b4b23 Fix the .upload target 2018-10-23 17:47:31 +01:00
George Oikonomou
1b85bc6124 Ignore the new build output dir 2018-10-23 17:47:31 +01:00
George Oikonomou
f8ea68c3eb Change build output dir structure and filenames 2018-10-23 17:47:30 +01:00
George Oikonomou
ab5d5ba33c Extend build verbosity control
Apply verbosity control for mkdir, cp, srec_cat, objcopy, objdump
2018-10-23 17:47:30 +01:00
Simon Duquennoy
6f50961c0c
Merge branch 'release-4.2' into contrib/tests/out-of-tree 2018-10-23 17:24:36 +02:00
George Oikonomou
1841aadf6a Reduce makefile code duplication 2018-10-23 16:23:14 +01:00
Simon Duquennoy
531253772c
Merge branch 'develop' into tsch-resync-target 2018-10-23 17:17:35 +02:00
Simon Duquennoy
9280046c43
Merge pull request #720 from g-oikonomou/contrib/tools/docker-build-verbosity
Reduce docker image build verbosity
2018-10-23 17:16:36 +02:00
George Oikonomou
a2c9f75e46 Add out of tree build tests 2018-10-23 15:51:03 +01:00
jeppenodgaard
b8db93665b
Merge branch 'develop' into fix/global/ip-addr/removed 2018-10-23 11:06:34 +02:00
Simon Duquennoy
64101b9091
Merge pull request #723 from g-oikonomou/contrib/tests/mqtt-native
Add MQTT client execution test
2018-10-23 10:10:32 +02:00
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
Joakim Eriksson
008cffe81a fixed compilation issues 2018-10-23 08:12:55 +02:00
Joakim Eriksson
0a3b890080 fixed rpl-udp example 2018-10-23 07:50:15 +02:00
Simon Duquennoy
aba1aa9c93
Merge branch 'develop' into contrib/tests/mqtt-native 2018-10-22 15:28:33 +02:00
jeppenodgaard
e7c57e410c
Merge branch 'develop' into fix/global/ip-addr/removed 2018-10-22 14:01:24 +02:00
Simon Duquennoy
cc6398dd3c
Merge pull request #725 from g-oikonomou/contrib/tests/build-cooja-conditionally
Only build cooja for tests that actually use it
2018-10-22 10:55:04 +02:00
Jeppe Odgaard
e135bf277e Added test to reproduce issue, and proposed fix in rpl-dag, where dag is only freed if dag_id is different. 2018-10-22 10:37:56 +02:00
George Oikonomou
81d6218ebc Don't try to build cooja from inside test makefiles 2018-10-21 20:32:48 +01:00