Commit Graph

14620 Commits

Author SHA1 Message Date
George Oikonomou
1a43e255f8
Merge pull request #730 from cperezpenichet/cc2420_carrier
Unmodulated carrier transmission for cc2538 & cc2420
2018-11-05 23:00:09 +00:00
George Oikonomou
cf9be4e7f8
Merge branch 'develop' into cc2420_carrier 2018-11-05 21:45:27 +00:00
Niclas Finne
f24be610f5
Merge pull request #558 from joakimeriksson/contrib/csma-llsec
Add back link layer security for CSMA
2018-11-02 18:21:18 +01:00
Joakim Eriksson
ecb214bb2d clear uipbuf including its attributes before creating a packet 2018-11-02 15:44:45 +01:00
Niclas Finne
93c7aae49e
Update os/services/shell/shell-commands.c
Co-Authored-By: joakimeriksson <joakime@sics.se>
2018-11-02 15:20:07 +01:00
Niclas Finne
ef9b1f32ba
Update os/services/shell/shell-commands.c
Co-Authored-By: joakimeriksson <joakime@sics.se>
2018-11-02 15:19:27 +01:00
Simon Duquennoy
bda7c329ba
Merge branch 'develop' into contrib/csma-llsec 2018-11-02 01:13:14 +01:00
Joakim Eriksson
16ac869645 removed some no longer needed hard-coded calculations in the sicslowpan code 2018-10-31 23:02:14 +01:00
Joakim Eriksson
35123e9dd8 fixed better packet size assumptions 2018-10-30 16:36:55 +01:00
Joakim Eriksson
42dfc81af2 added LLSEC attributes form packetbuf to uipbuf when receiving IP packet, and a few other minor fixes 2018-10-30 16:06:11 +01:00
Carlos Pérez Penichet
2d2d6b3ad6 Fixed code style issues 2018-10-29 11:15:40 +01:00
Simon Duquennoy
2b0c2d5e4a
Merge pull request #714 from simonduq/contrib/uip-cleanup
Safer uIP6 buffer handling
2018-10-29 11:09:54 +01:00
Simon Duquennoy
a2b7b996e4
Merge branch 'develop' into contrib/uip-cleanup 2018-10-29 10:18:10 +01:00
George Oikonomou
c174d7ddcc
Merge pull request #733 from kkrentz/init-pr
Fix to queuebuf initialization
2018-10-27 15:49:49 +01:00
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
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
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
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
Simon Duquennoy
531253772c
Merge branch 'develop' into tsch-resync-target 2018-10-23 17:17:35 +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
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
George Oikonomou
81d6218ebc Don't try to build cooja from inside test makefiles 2018-10-21 20:32:48 +01:00
George Oikonomou
7427a861a3 Only build cooja for tests that actually use it 2018-10-21 19:47:34 +01:00
George Oikonomou
c2ceaab13b Add MQTT client execution test 2018-10-21 17:14:17 +01:00
George Oikonomou
6d4cddeec1 Make the MQTT client example a little more configurable and verbose
Suitable for native run testing
2018-10-21 17:13:17 +01:00
Joakim Eriksson
a2eec4c985 fixed csma-security debug output 2018-10-20 22:41:02 +02:00
Joakim Eriksson
d3c95c9a6e added llsec shell commands 2018-10-20 22:27:19 +02:00
Joakim Eriksson
3542fa8d85 added back more textual representation of messages in rpl-udp example - good for debugging LLSEC encryption 2018-10-20 22:27:02 +02:00
Joakim Eriksson
c42fae82da added uipbuf attributes for llsec level and key and added payloadlen in mac 2018-10-20 22:25:55 +02:00
Simon Duquennoy
543ab20333
Merge pull request #711 from debug-ito/tsch-handle-prepare-error
tsch: handle failure in prepare()
2018-10-20 08:53:34 +02:00