Commit Graph

13759 Commits

Author SHA1 Message Date
Simon Duquennoy
d59db9a94d Examples: consistently use PROJECT_CONF_H 2018-04-20 06:46:02 -07:00
Simon Duquennoy
99acfc1ab3 CI: added tests for examples under examples/coap 2018-04-20 06:46:02 -07:00
Simon Duquennoy
4f4db3d252 CoAP examples: split in example-server, example-client and plugtest-server 2018-04-20 06:46:02 -07:00
Simon Duquennoy
22da490345 Code style 2018-04-20 06:46:02 -07:00
Simon Duquennoy
0d07edf700 CoAP example: tidy up makefile 2018-04-20 06:46:02 -07:00
George Oikonomou
5111b97304
Merge pull request #443 from simonduq/fix/cc26xx-6lbr-client-example
Fixing cc26xx 6lbr client example
2018-04-18 22:43:26 +01:00
Simon Duquennoy
95e02300f3 cc26xx web demo example: add compile test with RPL Classic, in order to build 6lbr client 2018-04-18 12:03:50 -07:00
Simon Duquennoy
dcb248500f cc26xx 6lbr client example: fix compilation with RPL Classic 2018-04-18 12:03:09 -07:00
Simon Duquennoy
32d4a72716 cc26xx 6lbr client example: use only whith RPL Classic 2018-04-18 12:02:28 -07:00
Simon Duquennoy
f6f081b67f
Merge pull request #423 from simonduq/contrib/example-lwm2m
Reworking examples directory structure
2018-04-14 11:27:10 +02:00
Simon Duquennoy
42c2bba036
Merge branch 'release-4.1' into contrib/example-lwm2m 2018-04-14 10:38:33 +02:00
Simon Duquennoy
b97f7af3b6
Merge pull request #428 from simonduq/fix/rpl-max-rank-16bit
RPL Lite: fix handling of max rank on 16-bit platforms
2018-04-14 10:38:18 +02:00
Simon Duquennoy
61a7a377a3
Merge branch 'release-4.1' into fix/rpl-max-rank-16bit 2018-04-14 09:56:10 +02:00
Simon Duquennoy
ebd34a3c81
Merge pull request #418 from simonduq/fix/rpl-various
A variety of minor RPL enhancements
2018-04-14 09:55:59 +02:00
Simon Duquennoy
2adf8544b2
Merge branch 'release-4.1' into fix/rpl-various 2018-04-13 18:07:39 +02:00
Simon Duquennoy
71b48c2c98
Merge pull request #430 from nfi/contrib/coap-block2-offset
Added check for block offset overflow in CoAP block2 requests.
2018-04-13 18:07:08 +02:00
Simon Duquennoy
5e753f73d0
Merge branch 'release-4.1' into contrib/coap-block2-offset 2018-04-13 16:52:25 +02:00
Simon Duquennoy
b5017d5405
Merge pull request #372 from simonduq/contrib/root-old-version-reset-trickle
RPL Lite: reset trickle when hearing old versions from the root
2018-04-13 16:52:08 +02:00
Simon Duquennoy
36bb007b19
Merge branch 'release-4.1' into contrib/root-old-version-reset-trickle 2018-04-13 15:52:25 +02:00
Simon Duquennoy
472e119c5c
Merge pull request #411 from simonduq/fix/coap_get_payload
CoAP: enable calling coap_get_payload with a NULL pointer
2018-04-13 15:49:47 +02:00
Simon Duquennoy
ebcb941867 Shell command 'rpl_status': show last DTSN of current parent 2018-04-13 05:44:49 -07:00
Simon Duquennoy
a49a5dc675 RPL handle_proving_timer: fix defensive programming check 2018-04-13 05:44:49 -07:00
Simon Duquennoy
dd8bf5d60a RPL DTSN increment log: fix format, promote from INFO to WARN 2018-04-13 05:44:49 -07:00
Simon Duquennoy
86ac0fba68 RPL global repair: stop all timers before re-initializing 2018-04-13 05:44:49 -07:00
Simon Duquennoy
cdca6959eb RPL global repair: log new version rather than old one. Re-init DTSN instead of incrementing it. Log format fixes. 2018-04-13 05:44:36 -07:00
Simon Duquennoy
d3c37eb61b rpl_refresh_routes: log new DTSN rather than old one 2018-04-13 05:44:36 -07:00
Simon Duquennoy
6022585ad0
Merge branch 'release-4.1' into fix/coap_get_payload 2018-04-13 14:39:39 +02:00
Simon Duquennoy
eb20fb4f56
Merge pull request #427 from simonduq/contrib/sicslowpan-checkbuf-release-4-1
6LoWPAN avoid buffer overflow in case of IPv6 header larger than packetbuf
2018-04-13 14:39:02 +02:00
Simon Duquennoy
0df3c4fb90 CoAP: enable calling coap_get_payload with a NULL pointer 2018-04-13 05:37:10 -07:00
Joakim Eriksson
fc8619608a
fixed typo in comment. 2018-04-13 14:27:01 +02:00
Niclas Finne
24e24b8edc coap: added check for block offset overflow in block2 requests.
The block offset is stored in a signed variable in calls to CoAP handlers and
too large block offsets will overflow into negative values.

Thanks to Bruno Melo for reporting this issue.
2018-04-13 14:18:21 +02:00
Joakim Eriksson
0990c417d1
Merge branch 'release-4.1' into contrib/sicslowpan-checkbuf-release-4-1 2018-04-13 14:17:52 +02:00
Simon Duquennoy
9c1b8448e8
Merge pull request #398 from g-oikonomou/contrib/native/button-hal
Implement the new HALs for platform native
2018-04-11 21:19:53 +02:00
Simon Duquennoy
8f3376691f RPL Lite: fix handling of max rank on 16-bit platforms 2018-04-11 11:46:54 -07:00
Simon Duquennoy
6fa97286b3
Merge branch 'release-4.1' into contrib/native/button-hal 2018-04-11 20:41:46 +02:00
Simon Duquennoy
eae1e7eb5a sicslowpan: abort fragmentation in case the header does not fit the first fragment 2018-04-11 04:19:03 -07:00
Simon Duquennoy
0c9d2b4049 sicslowpan: when compressing, make sure never to overflow packetbuf with headers 2018-04-11 02:07:25 -07:00
Simon Duquennoy
9454191b84 Renamd http-socket example to websocket 2018-04-10 00:37:47 -07:00
Simon Duquennoy
f5ae6b641e Move ipv6-hooks examples to libs directory 2018-04-10 00:37:47 -07:00
Simon Duquennoy
8b95d22589 Update lwm2m-ipso-example Readme 2018-04-07 09:26:41 -07:00
Simon Duquennoy
72890cc818 Rename example ipso-objects to lwm2m-ipso-objects 2018-04-07 09:26:21 -07:00
Simon Duquennoy
418faf5084
Merge pull request #422 from g-oikonomou/contrib/trailing-ws
Remove trailing whitespaces and other code style fixes
2018-04-07 17:46:36 +02:00
George Oikonomou
9b2fbdcae8 Update top-level README 2018-04-07 14:49:40 +01:00
George Oikonomou
3299780bbe Delete trailing whitespaces (arch/cpu/) 2018-04-07 14:49:40 +01:00
George Oikonomou
f254d22bf3 Delete trailing whitespaces (various leds-arch.c files) 2018-04-07 14:49:40 +01:00
George Oikonomou
f6bd7ba47a Fix code style 2018-04-07 14:49:40 +01:00
George Oikonomou
f88b195de4 Delete trailing whitespaces (examples/) 2018-04-07 14:49:19 +01:00
George Oikonomou
58261ad53e Delete trailing whitespaces (tests/) 2018-04-07 14:49:19 +01:00
Simon Duquennoy
fe0b245962
Merge pull request #400 from g-oikonomou/contrib/native/interrupt-emulation
Emulate interrupt manipulation on native
2018-04-07 15:00:57 +02:00
Simon Duquennoy
c48173eb5b RPL Lite: whenever hearing an old version from the root, reset DIO timer to let the root know about the current version 2018-04-07 14:00:16 +02:00