Commit Graph

1665 Commits

Author SHA1 Message Date
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
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