Commit Graph

1589 Commits

Author SHA1 Message Date
Simon Duquennoy
30d12fd994 Fix potential compilation error for example multicast 2018-02-02 08:51:29 -08:00
Simon Duquennoy
123105ab20 Move source routing state management from RPL Lite and RPL Classic to uip. 2018-02-02 08:51:29 -08:00
Simon Duquennoy
f8ddf8c816 Added missing includes for modules that rely on RPL 2018-02-02 08:51:29 -08:00
Simon Duquennoy
627cb3de9c Homogenize access to RPL non-storing links from external modules 2018-02-02 08:50:17 -08:00
Simon Duquennoy
65cbc45145 Rename routing module flags 2018-02-02 08:50:17 -08:00
Simon Duquennoy
0fc93b6d37 Fix udp-client example, now using NETSTACK_ROUTING 2018-02-02 08:50:17 -08:00
Simon Duquennoy
7adfb92b63 Routing module configuration through netstack.h 2018-02-02 08:50:17 -08:00
Simon Duquennoy
26d51c15d7 Routing API: added more missing functions, homogenize configuration 2018-02-02 08:50:17 -08:00
Simon Duquennoy
52b10b6389 RPL border router Web server cleanup 2018-02-02 08:47:46 -08:00
Simon Duquennoy
bc73bb3284 Added root_start to routing driver 2018-02-02 08:47:46 -08:00
Simon Duquennoy
83e9414a71 Add root_set_prefix to routing driver 2018-02-02 08:47:21 -08:00
Simon Duquennoy
14ccd337c9 rpl_dag_root module simplification 2018-02-02 08:47:21 -08:00
Simon Duquennoy
3a39b51056 JN516x examples: remove obsolte RPL tools 2018-02-02 08:47:21 -08:00
Simon Duquennoy
871ee1e34f Added routing module with only routing.h, now included wherever RPL is used 2018-02-02 08:45:02 -08:00
Piotr Zierhoffer
840fee1494 Renode: fix vector table offset in the script.
The cc2538-node.resc script was vulnerable to changing the position of
the vector table.
It also had a wrong hardcoded value. Now it will automatically verify
the position of the `vectors` symbol and set the vtor position
accordingly.
2018-02-01 17:31:42 +01:00
Simon Duquennoy
0a4b072973 Cooja .csc files: do not load collect-view 2018-02-01 05:03:55 -08:00
George Oikonomou
63a96752c8
Merge branch 'develop' into contrib/coap-lwm2m-dtls 2018-02-01 00:17:38 +00:00
Joakim Eriksson
50642b3e49 removed unused code and sensors on Sky slip-radio 2018-01-27 14:52:14 +01:00
Joakim Eriksson
1c0e76025b fixed slip-radio config, added shell to NBR and added parsing to no-framer 2018-01-26 22:59:48 +01:00
wirstrom
2122ffdeeb Fixed alignment bug for msp430 2018-01-26 11:54:01 +01:00
Niclas Finne
7d5fe004f0
Merge branch 'develop' into contrib/coap-lwm2m-dtls 2018-01-19 18:21:38 +01:00
Simon Duquennoy
41312917f8 NullNet examples: check paylaod size before reading it 2018-01-12 09:18:34 -08:00
Niclas Finne
3c52d6727c The CoAP example no longer fits in the limited ROM in Tmote Sky.
Added a compile warning and documented the limitation in the README.
2018-01-12 18:04:40 +01:00
Niclas Finne
5dfaa5267b Moved the LWM2M standalone example to external repository 2018-01-12 01:20:53 +01:00
Niclas Finne
ca827938ee Updated LWM2M example to use the logging module 2018-01-12 01:20:53 +01:00
Niclas Finne
c9d255b847 Updated LWM2M to use the logging module 2018-01-12 01:20:53 +01:00
Niclas Finne
49d38e6d06 Added LWM2M runtime log level to the logging module 2018-01-12 01:20:53 +01:00
Niclas Finne
4c56184a9b Updated CoAP to use the logging module 2018-01-12 01:20:53 +01:00
Niclas Finne
21d464952b Added CoAP runtime log level to the logging module 2018-01-12 01:20:53 +01:00
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