Commit Graph

1682 Commits

Author SHA1 Message Date
Simon Duquennoy 0bffd12283 Multicast example: exclude nrf52dk, which does not support routing 2018-03-09 16:29:06 +00:00
Simon Duquennoy 74764af9b9 RPL BR: do not compile for nrf52dk, which does not support SLIP 2018-03-09 16:29:06 +00:00
Simon Duquennoy cf7150cfdd Replace leftover MAKE_ROUTING_NONE with MAKE_ROUTING_NULLROUTING 2018-03-09 16:29:06 +00:00
Atis Elsts dacab090fd restrict Zoul examples to specific boards 2018-03-09 16:29:06 +00:00
Simon Duquennoy b0b71f6624 Do not attempt to compile SLIP for nrf52dk 2018-03-09 16:29:06 +00:00
Simon Duquennoy 89c5adc0e4 IP64-router examples: only for Zoul/Orion 2018-03-09 16:29:06 +00:00
Simon Duquennoy 5cbf6f26fe Do not build TSCH examples for cc13xx boards 2018-03-09 16:29:06 +00:00
Simon Duquennoy 206b5dfe45 Example slip-radio: do not compile for native 2018-03-09 16:29:06 +00:00
Simon Duquennoy 164a8b218b Example ip64-router: only meant for platform Zoul/Orion 2018-03-09 16:29:06 +00:00
Atis Elsts dab9ea0817 nrf52dk: move the build error when building without IPv6 from Makefile to C header file to enable PLATFORMS_EXCLUDE syntax in Makefiles 2018-03-09 16:29:06 +00:00
Atis Elsts 3d2788d4c6 Reorganize the nrf52dk/coap-demo example to make it compatible with the new build system 2018-03-09 16:29:06 +00:00
Atis Elsts 074b797e88 Update Makefiles to be compatible with the new build system and restrict them to specific platforms where needed 2018-03-09 16:29:06 +00:00
Atis Elsts 9eadf9feaa Allow to compile the leds example for platforms with LEDS_LEGACY_API 2018-03-09 14:47:45 +00:00
Joakim Eriksson 66917d94af coap-example: made endpoint static in process 2018-03-05 16:35:45 +01:00
George Oikonomou be307bf004 Add RGB LED example and tests 2018-03-01 15:29:31 +00:00
George Oikonomou 92ab28bc8f Add LED HAL example and tests 2018-03-01 15:29:31 +00:00
George Oikonomou 40ca7d0443 Migrate to LED HAL (Zoul examples) 2018-03-01 15:29:31 +00:00
George Oikonomou ad32bdd070 Migrate to LED HAL (GPIO HAL example) 2018-03-01 15:29:31 +00:00
George Oikonomou a1b9ba2630 Migrate to LED HAL (IPSO Objects) 2018-03-01 15:29:30 +00:00
George Oikonomou db058b166c Migrate to LED HAL (CoAP example) 2018-03-01 15:29:30 +00:00
George Oikonomou 21151279c2 Remove LED use from examples that don't really need them 2018-03-01 15:29:30 +00:00
George Oikonomou bd73649eac Update Zoul rev-b Makefile to specify the BOARD
The examples in this directory are only meant for BOARD remote-revb
2018-03-01 15:05:18 +00:00
George Oikonomou f22b54ae9f Update Zoul/Orion example Makefile.target to specify the board 2018-03-01 15:05:18 +00:00
George Oikonomou c4f7d0f147 Fix Zoul at-test example
Add missing include and fix the CONTIKI path in the makefile
2018-03-01 13:34:32 +00:00
Simon Duquennoy b321e3e11a Zoul at-test example: added missing include 2018-03-01 13:34:32 +00:00
Atis Elsts b2063a9815 Zoul: test-servo.c was defined as project multiple times 2018-03-01 13:34:32 +00:00
Atis Elsts 3a1b830f92 MQTT demo: add missing include 2018-03-01 13:34:32 +00:00
Atis Elsts 6ced7e506f IPSO objects: include dev/leds.h 2018-03-01 13:34:31 +00:00
Simon Duquennoy 0290692815 ipv6-hooks example: added missing include 2018-03-01 13:34:31 +00:00
Simon Duquennoy bfb4f9537b 6p-packet example: use MAC address instead of node_id to hardcode coordinator 2018-03-01 13:34:31 +00:00
George Oikonomou 1f44c1530e
Merge branch 'develop' into contrib/tsch-print-schedule 2018-02-25 18:48:00 +00:00
Simon Duquennoy e30423f6cc
Merge branch 'develop' into contrib/gpio-hal 2018-02-25 18:17:32 +01:00
Simon Duquennoy 16c4b2fe6c Removing obsolete flag RPL_NS_LINK_NUM 2018-02-24 15:27:40 -08:00
George Oikonomou b9a321d602 Add GPIO HAL example 2018-02-24 12:50:02 +00:00
Simon Duquennoy 9596a4285e Use PRI macros for safe printf and logs 2018-02-23 10:58:45 -08:00
Simon Duquennoy 539d717263 Fix simple-node example configuration 2018-02-23 05:56:39 -08:00
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
spoerk 604e846ff1 Merge branch 'develop' of github.com:contiki-ng/contiki-ng into feature/ipv6_over_ble 2018-01-03 15:27:42 +01:00
spoerk 40a9822225 Cleanup of the hardware specific values 2018-01-03 15:22:50 +01:00
spoerk 2a49608af6 link layer problem fixed 2018-01-03 14:51:23 +01:00
spoerk 35c08597e6 BLE L2CAP moved to the other MAC implementations 2018-01-03 14:36:14 +01:00
spoerk 5a28133452 IPv6-over-BLE client example moved 2018-01-03 13:28:11 +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
spoerk fd0f0ca4b6 Merge branch 'develop' of github.com:contiki-ng/contiki-ng into feature/ipv6_over_ble 2017-12-15 11:41:27 +01:00
spoerk 7a7c4e0015 added support for IPv6 over BLE communication 2017-12-15 11:20:44 +01: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