Commit Graph

14695 Commits

Author SHA1 Message Date
George Oikonomou
8014524dd1
Merge branch 'develop' into contrib/cc13xx-tsch 2018-10-18 15:36:50 +01:00
Simon Duquennoy
aaf06754ea uipbuf_set_len_field 2018-10-18 15:50:54 +02:00
Simon Duquennoy
4018b31123 Removed need for global uip_ext_opt_offset 2018-10-18 15:50:54 +02:00
Simon Duquennoy
d4bc09e002 Move function for clearing uip_buf to uipbuf module 2018-10-18 15:50:54 +02:00
Simon Duquennoy
b4d45d7f56 Removed comment that was no longer necessary 2018-10-18 15:50:54 +02:00
Simon Duquennoy
22f4a19994 Clean up usage of uip_ext_len 2018-10-18 15:50:34 +02:00
Olav Frengstad
df130952c7 Ensure correct setup LLSEC for CSMA
* Add `LLSEC_KEY_INDEX` for switching between implicit/explicit keys
 * Add missing `LLSEC_CONF_*
 * Conditionally include required CSMA setup for IPv6 (enable security
   when calculating frame length)
 * Setup default key
 * Always export `csma_security_set_key/2`
2018-10-18 11:28:58 +02:00
Joakim Eriksson
c5d59843c4 added linklayer security for CSMA 2018-10-18 11:28:58 +02:00
Toshio Ito
fc8ccac560 tsch: report MAC_TX_ERR if prepare() fails
Before this fix, uninitialized mac_tx_status was reported in this case.
2018-10-18 16:05:45 +09:00
Simon Duquennoy
56b85b6475 uip.h: clarify comment 2018-10-17 17:47:57 +02:00
Simon Duquennoy
3384de64b7 Rework buffer access in roll-tm.c 2018-10-17 17:37:12 +02:00
Simon Duquennoy
0531c555e8 Minor enhancements to uip6.c 2018-10-17 17:25:04 +02:00
Simon Duquennoy
bbb641a450 Rework uip-nd6 buffer access 2018-10-17 17:24:53 +02:00
Simon Duquennoy
01b795a4c2 Rework uIP6 extension header options access 2018-10-17 17:07:17 +02:00
Simon Duquennoy
8152342c11 Rework uIP6 extension header access 2018-10-17 16:33:48 +02:00
Simon Duquennoy
4035d840dd Rework uip.h buffer definitions 2018-10-17 16:25:17 +02:00
Simon Duquennoy
a528395eb2 roll-tm.c: removing unused define 2018-10-17 16:20:34 +02:00
Simon Duquennoy
59852d33f2 Use global uip.h buffer definitions in a number of other modules 2018-10-17 16:20:34 +02:00
Simon Duquennoy
86e9790e6e Minor improvement to uip.h 2018-10-17 16:20:15 +02:00
Simon Duquennoy
2f9b60215e Removing tcpip and udpip data strcutures, unsafe in cases with IPv6 extension headers 2018-10-17 11:22:05 +02:00
Simon Duquennoy
1bd9ac781b Define ICMP, UDP, and TCP buffer pointers globally in uip.h 2018-10-17 11:18:32 +02:00
Simon Duquennoy
caa02ae51e Define UIP_IP_BUF globally in uip.h 2018-10-17 11:18:32 +02:00
Simon Duquennoy
ee5b722c65 uip.h: removed unused define 2018-10-17 11:18:32 +02:00
Simon Duquennoy
b56ff259dc uIP: remove leftover IPv4 code 2018-10-17 11:18:20 +02:00
George Oikonomou
cc5d75f677
Merge pull request #702 from simonduq/fix/mqtt-buffer-overflow
MQTT buffer overflow fix
2018-10-17 09:11:42 +01:00
George Oikonomou
5b58f6980e
Merge branch 'develop' into fix/mqtt-buffer-overflow 2018-10-16 22:09:10 +01:00
George Oikonomou
95cebf10bc Change platform zoul to use the new motelist 2018-10-16 22:03:59 +01:00
George Oikonomou
470ac26c4e Add the motelist-all target - common for all embedded platforms 2018-10-16 22:03:59 +01:00
George Oikonomou
5ec9063314 Add board search strings for Zolertia devices 2018-10-16 22:03:59 +01:00
George Oikonomou
882bfd083d Delete the zolertia-specific motelist 2018-10-16 22:03:59 +01:00
George Oikonomou
1cdd4ffb12 Move the help and usage targets to a separate Makefile 2018-10-16 22:03:59 +01:00
George Oikonomou
75b5c88992
Merge pull request #672 from g-oikonomou/contrib/cortex-link
Harmonise link rule for all cortex CPUs
2018-10-16 21:41:53 +01:00
George Oikonomou
c4deaa70cd
Merge branch 'develop' into contrib/cortex-link 2018-10-16 17:33:26 +01:00
George Oikonomou
ca679be00d
Merge pull request #709 from simonduq/contrib/tsch-log-test
Add CI compile test for TSCH with logging
2018-10-16 17:28:16 +01:00
George Oikonomou
85214f2d9e
Merge branch 'develop' into contrib/tsch-log-test 2018-10-16 14:59:14 +01:00
George Oikonomou
0f5913ec3b
Merge pull request #708 from simonduq/fix/tsch-timing-template-extern
Added missing 'extern' qualifier to tsch_timing_us
2018-10-16 14:58:53 +01:00
Simon Duquennoy
d45ee85867 Add CI compile test for TSCH with logging 2018-10-16 15:19:59 +02:00
Simon Duquennoy
7ab140c55e Added missing 'extern' qualifier to tsch_timing_us 2018-10-16 15:17:54 +02:00
Simon Duquennoy
5d43741699
Merge pull request #706 from simonduq/fix/tsch-cc2538
Fix TSCH on cc2528dk and openmote-cc2538
2018-10-16 14:02:12 +02:00
Simon Duquennoy
5717fedc13 Add CI compile tests for 6tisch on platforms openmote-cc2538, cc2538dk, and sky 2018-10-16 09:33:50 +02:00
Simon Duquennoy
f9134b1198 Add mising TSCH constants for platforms openmote-cc2528 and cc2538dk 2018-10-16 09:23:54 +02:00
Simon Duquennoy
963c2d57aa Json library: fix a number of potential buffer overflows 2018-10-15 16:36:10 +02:00
Simon Duquennoy
bcebd3afcf MQTT parse_publish_vhdr: added missing check of topic length 2018-10-15 14:27:35 +02:00
Simon Duquennoy
3b5369cf2a MQTT parse_publish_vhdr: added missing initialization of topic_pos 2018-10-15 14:11:59 +02:00
Atis Elsts
7f860318de
Merge branch 'develop' into contrib/cortex-link 2018-10-15 11:33:51 +01:00
Atis Elsts
0039fde747
Merge pull request #700 from g-oikonomou/contrib/tests/build-all-board-detection
Detect boards automatically in the build-all script
2018-10-15 11:32:44 +01:00
George Oikonomou
6a7deb9fc1 Detect boards automatically in the build-all script 2018-10-14 21:23:31 +01:00
George Oikonomou
b59fd77c92
Merge pull request #676 from atiselsts/contrib/native-optimization
Add optimization flags for native builds
2018-10-14 16:00:37 +01:00
George Oikonomou
6a315cba8e
Merge branch 'develop' into contrib/native-optimization 2018-10-14 14:59:35 +01:00
George Oikonomou
968c597529
Merge pull request #697 from g-oikonomou/bugfix/build/board-string
Make sure CONTIKI_BOARD_xyz and CONTIKI_BOARD_STRING are defined
2018-10-14 14:52:29 +01:00