Commit Graph

1560 Commits

Author SHA1 Message Date
Joakim Eriksson
c86b763e5d renamed coap packet to coap message - for naming closer to RFC 2018-01-12 01:20:53 +01:00
Niclas Finne
a866fcbfad CoAP: replaced coap_send_message() with coap_sendto() that returns
number of bytes sent or error.
2018-01-12 01:20:52 +01:00
Niclas Finne
b117a8bba8 CoAP: Various minor updates in CoAP example 2018-01-12 01:20:52 +01:00
Niclas Finne
4a82bda543 Various updates in LWM2M standalone example
* Use LWM2M security object as DTLS keystore by default
* Mark endpoint as secure regardless if DTLS peer exists or not
* Somewhat less debug output by default
2018-01-12 01:18:41 +01:00
Joakim Eriksson
6fe4026686 COAP: adapted CoAP examples to new API 2018-01-12 01:18:41 +01:00
Niclas Finne
082f4b920c ipso-objects: updated IPSO objects sensor/controllers to latest LWM2M API.
Added macros to setup IPSO sensor and control template data structs.
2018-01-12 01:18:41 +01:00
Niclas Finne
ebb329de5c CoAP: added make option to specify CoAP DTLS keystore to use by default.
The currently available options are:

* none   - No keystore registered.
* simple - Keystore using fixed PSK credentials.
* lwm2m  - Keystore based on LWM2M security objects

If an application wants to provide its own keystore, it selects 'none'
and registers its own at startup.
2018-01-12 01:18:41 +01:00
Niclas Finne
e7edd147a9 Imported LWM2M standalone example from lwm2m-contiki at https://github.com/sics-iot/lwm2m-contiki 2018-01-12 01:18:41 +01:00
Niclas Finne
83446e3f58 Imported ipso-objects from lwm2m-contiki at https://github.com/sics-iot/lwm2m-contiki 2018-01-12 01:18:41 +01:00
Johan Liseborn
862198c79a Include strings.h to access strncasecmp 2018-01-11 08:17:47 +01:00
Simon Duquennoy
6de6e15ce7 Move RPL border router from example to os/services 2017-12-22 05:21:39 -08:00
Simon Duquennoy
89c4f5e509 RPL BR: rework such as the main .c file defines its own process 2017-12-22 05:21:39 -08:00
Simon Duquennoy
070b493391 Automatically include module-macros.h when provided by modules 2017-12-22 05:21:39 -08:00
Simon Duquennoy
cf262c57c8 RPL BR and slip-radio: use c flag '-imacros' to include module-specific defines 2017-12-22 05:21:39 -08:00
Simon Duquennoy
e63d428a91 RPL BR: more rafactoring: move project-conf and sky module to project top-level 2017-12-22 05:21:39 -08:00
Simon Duquennoy
81d1b1bd80 PROJECTDIR now turned into modules via MODULES_REL 2017-12-22 05:21:39 -08:00
Simon Duquennoy
a0961ac2a1 Build system: automatically include Makefiles from PROJECTDIRS 2017-12-22 05:21:39 -08:00
Simon Duquennoy
c2d301a434 Remove unnecessary '-' before inclusion of Makefile.identify-target 2017-12-22 05:21:39 -08:00
Simon Duquennoy
e744f0a505 Refactor rpl-border-router makefile 2017-12-22 05:21:39 -08:00
Simon Duquennoy
2fd6fa1fd6 Automatically compile .c files from PROJECTDIRS 2017-12-22 05:21:39 -08:00
George Oikonomou
c3d2b095b6 Add example demonstrating the data structure libraries 2017-12-13 16:38:50 +00:00
Simon Duquennoy
e048348f6d RPL border router: disable Web server on platform sky 2017-12-09 05:36:11 -08:00
Simon Duquennoy
b339c42a09 RPL border router: re-enable Web-server-free compilation 2017-12-09 05:36:11 -08:00
Joakim Eriksson
1356994795 added support for usage of the transmission count attirbute in uipbuf 2017-12-09 10:22:19 +01:00
Simon Duquennoy
e795517750
Merge branch 'develop' into contrib/stack-guard 2017-12-05 15:16:54 +01:00
George Oikonomou
29662d4e6d Clarify sensniff doc: It is also distributed as part of Contiki-NG 2017-12-05 00:44:20 +00:00
Atis Elsts
f9516eae73 Add stack check library and example 2017-12-01 13:35:06 +00:00
George Oikonomou
38df9fdfb2 Change slip_write return type and use it where possible 2017-11-24 12:31:20 +00:00
Joakim Eriksson
5c9997519b
Merge branch 'develop' into contrib/project-conf-fix 2017-11-17 15:54:03 +01:00
Simon Duquennoy
87d8f1854e sixtop example: remove unnecessary defines from project-conf.h 2017-11-11 15:35:11 +01:00
Simon Duquennoy
af4d2a943f 6tisch example: remove unnecessary define from project-conf.h 2017-11-11 15:34:47 +01:00
Simon Duquennoy
4307744f22 etsi-plugtest-2017 example: remove unnecessary define from project-conf.h 2017-11-11 15:34:29 +01:00
Simon Duquennoy
3572ab1f4f Platform cooja: disable TCPIP annotations by default 2017-11-10 23:46:51 +01:00
George Oikonomou
0adc6bfbad Merge Release v4.0 into develop 2017-11-06 15:13:17 +00:00
Simon Duquennoy
e63de9271c
Merge pull request #155 from yatch/pr/bugfix-in-sixtop-example
sixtop: bugfix adding a missing 'static' modifier
2017-11-05 10:15:21 +01:00
Yasuyuki Tanaka
669a646f19 sixtop: bugfix adding a missing 'static' modifier 2017-11-05 11:30:44 +09:00
Simon Duquennoy
a5eb7b6164 Update rpl-udp example README.md 2017-11-03 17:05:44 +01:00
Piotr Zierhoffer
2e687fe389 Update readme of rpl-udp example to mention Renode 2017-11-02 23:10:07 +01:00
Piotr Zierhoffer
6a70bbe013 Add renode target in rpl-udp Makefile
To run Renode with the rpl-udp demo, run the following command:

make renode TARGET=cc2538dk SCRIPT=rpl-udp
2017-11-02 17:02:35 +01:00
Piotr Zierhoffer
da2f84db19 Add sample Renode scripts for rpl-udp example
This sample allows to run two connected TI CC23538DK nodes, connected
via radio, in the Renode Framework. The emulation loads the compiled
binaries for client and server nodes. It also fetches a precompiled
bootloader.
2017-11-02 17:02:35 +01:00
George Oikonomou
77f4e75acf
Merge pull request #146 from simonduq/pr/border-router-common
Move more border router code to common directory
2017-11-02 13:10:28 +00:00
George Oikonomou
517031f673 Improve code style and remove obsolete lines 2017-11-02 09:49:01 +01:00
Niclas Finne
18d8008264 Added simple energest example 2017-11-02 00:09:53 +01:00
Simon Duquennoy
71ed11cdea Border router: removed unused variable 'prefix' 2017-11-01 20:32:45 +01:00
George Oikonomou
a0fcec6f02
Merge pull request #142 from simonduq/pr/examples-readme
More README.md work for the examples
2017-11-01 16:01:00 +00:00
Simon Duquennoy
50f060477c RPL border router: move more shared functionality to common directory 2017-11-01 16:07:46 +01:00
Simon Duquennoy
2d2b60fe5b RPL border router: move webserver code to common directory 2017-11-01 16:07:46 +01:00
Simon Duquennoy
575966a63e
Merge pull request #145 from simonduq/pr/border-router-enhancement
Border-router: move border-router.c to top level for cleaner compilation
2017-11-01 15:34:09 +01:00
Joakim Eriksson
7e9c95f031
Merge pull request #143 from simonduq/pr/coap-example-rename
Move 'examples/coap-example' to 'examples/coap'
2017-11-01 14:43:01 +01:00
Simon Duquennoy
3a3a30cb69 Border-router: move border-router.c to top level for cleaner compilation 2017-11-01 14:40:18 +01:00