Commit Graph

1810 Commits

Author SHA1 Message Date
Antonio Iannopollo
51a4960fa8 fixed dht22 driver and example 2018-05-09 19:25:08 -07:00
George Oikonomou
b45d284be2 Merge branch 'release-4.1' into develop 2018-05-09 22:18:01 +01:00
Niclas Finne
fa54354d92 Updated lwm2m-ipso-object server-example for latest RPL/CoAP APIs 2018-05-07 07:01:25 +02:00
Joakim Eriksson
15e51288ec fixed platforms to build for in Makefile 2018-05-04 18:01:18 +02:00
Joakim Eriksson
183ae55bb2
Merge branch 'release-4.1' into contrib/slip-uip-llh-len 2018-04-30 17:53:40 +02:00
George Oikonomou
5fc521af56 Update example README 2018-04-28 15:02:18 +01:00
George Oikonomou
b012392ba4 Remove obsolete macros 2018-04-28 15:02:18 +01:00
George Oikonomou
a343f3b97e Easily switch to IBM Watson platform mode 2018-04-28 15:02:18 +01:00
George Oikonomou
2ba54edaec Tidy-up renode for OS X and enable for all CC2538DK 2018-04-28 15:02:05 +01:00
George Oikonomou
774a9285fd Update the CoAP section of the cc26xx web demo readme 2018-04-27 20:25:31 +01:00
Simon Duquennoy
2ef954b932
Merge branch 'release-4.1' into bugfix/mcast-sensortag 2018-04-27 18:25:03 +02:00
George Oikonomou
08ba4a849d Fix the multicast example for sensortags 2018-04-27 15:56:18 +01:00
Niclas Finne
6b78522ebb Added a periodic timer to the hello-world example 2018-04-27 01:54:00 +02:00
Niclas Finne
274a5daa7d Updated users of SLIP to respect UIP_LLH_LEN 2018-04-27 01:43:19 +02:00
George Oikonomou
484e9521ee Change the default channel
This commit changes the cc26xx web demo to default to channel 26, which is the default everywhere else.
2018-04-26 14:39:30 +01:00
Simon Duquennoy
4555e44618
Merge branch 'develop' into merge/4.1-to-develop 2018-04-24 18:05:22 +02:00
YK
81f337cd77
Update README.md for IBM Watson IoT Platform
Update README.md to show how to enable TLS optional to use IBM Watson IoT Platform for cc26xx-web-demo
2018-04-23 11:16:59 +08:00
YK
d8a08e076b
Add ibm-watson-iot-platform-tls-optional.png to /img for README
Add ibm-watson-iot-platform-tls-optional.png which shows how to set TLS optional on IBM Watson IoT Platform.
2018-04-23 11:14:57 +08:00
Simon Duquennoy
8806fd2aca Discontinue multicast example on platform sky 2018-04-21 23:33:09 -07:00
Simon Duquennoy
f9a1f958e1 Merge remote-tracking branch 'origin/release-4.1' into develop 2018-04-20 08:37:14 -07:00
Simon Duquennoy
d59db9a94d Examples: consistently use PROJECT_CONF_H 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
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
42c2bba036
Merge branch 'release-4.1' into contrib/example-lwm2m 2018-04-14 10:38:33 +02:00
George Oikonomou
362641007a
Merge branch 'develop' into contrib/15.4-default-channel 2018-04-13 16:10:19 +01:00
Simon Duquennoy
5d350182d5 CoAP example: remove unnecessary commented-out config flags 2018-04-13 08:06:03 -07:00
Simon Duquennoy
87bb684bb4 Fix rpl-udp-sky.csc 2018-04-13 08:06:03 -07:00
Simon Duquennoy
f933767b4c Remove now unnecessary pintouts of 802.15.4 panid and channel 2018-04-13 08:06:03 -07:00
Simon Duquennoy
d8cdc5f802 Adopt IEEE802154_DEFAULT_CHANNEL in examples that use it 2018-04-13 08:06:03 -07:00
Simon Duquennoy
2359cdb7c0 jn516x: use IEEE802154_DEFAULT_CHANNEL 2018-04-13 08:06:02 -07:00
Simon Duquennoy
8bc3a7388e cc26xx and cc13xx: use IEEE802154_DEFAULT_CHANNEL 2018-04-13 08:06:02 -07:00
Simon Duquennoy
7a96a8f8a9 CoAP: auto-initialize module 2018-04-13 06:51:33 -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
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
George Oikonomou
f88b195de4 Delete trailing whitespaces (examples/) 2018-04-07 14:49:19 +01:00
Simon Duquennoy
9dfcb2ebb6 Various logging improvements 2018-04-05 20:47:02 +02:00
Xenofon (Fontas) Fafoutis
9d471821a9 updated cc26xx-web-demo to new ext-flash api 2018-04-04 12:26:58 +01:00
Simon Duquennoy
1884fe9b0e
Merge branch 'develop' into contrib/jn516x/leftover-br 2018-04-03 14:22:57 +02:00
George Oikonomou
fab1dcc96c Add native support to the button HAL example 2018-04-02 22:14:56 +01:00
George Oikonomou
75491b2213 Add native support to the GPIO HAL example 2018-04-02 22:14:56 +01:00
George Oikonomou
908641f324 Use correct format specifier for gpio_hal_pin_mask_t 2018-04-02 22:14:56 +01:00
George Oikonomou
024586c21a Allow the MQTT client example for platform native 2018-04-02 22:14:55 +01:00
George Oikonomou
a025a9020f Allow the MQTT client to build & work without platform-specific extensions 2018-04-01 16:53:12 +01:00
George Oikonomou
8fb2b2074e Delete jn516x-specific BR example
#132 deleted other jn516x-specific BR examples, but this one was missed. This pull deletes the leftover example.

This is the only place where we are still using the obsolete `SLIP_BRIDGE_CONF_NO_PUTCHAR` define (all others were removed by #135). This pull removes that too.
2018-03-30 15:21:52 +01:00
George Oikonomou
613ac9aa78
Merge branch 'develop' into pr/6top-protocol-draft-10 2018-03-29 15:35:03 +01:00
Yasuyuki Tanaka
c7d60bc8a6 sixtop: update to draft-ietf-6tisch-6top-protocol-10
- remove the schedule generation management using GEN field
- add SIGNAL command
- add RC_ERR_SEQNUM
- rename and reorder return codes
2018-03-29 16:19:21 +02:00
Atis Elsts
94db704b44 change project-conf.f for cc26xx-web-demo to make it link with the new stack region size on cc26xx 2018-03-29 14:15:47 +01:00
Simon Duquennoy
a3e62befb8 TSCH: rework .h system, now following the same structure as rpl-lite 2018-03-28 10:39:41 -07:00
Simon Duquennoy
20ac537def Fix nullnet-unicast.csc file 2018-03-26 11:00:09 -07:00
George Oikonomou
22b4a40dd6 Cross-platform MQTT client example 2018-03-23 22:35:28 +00:00
George Oikonomou
a8c9931257 Add a function to retrieve a button by index 2018-03-18 12:50:37 +00:00
George Oikonomou
180a52b4ff Add a way to retrieve device button count 2018-03-18 12:50:37 +00:00
George Oikonomou
4882077a75 Add button HAL example 2018-03-14 09:34:47 +00:00
George Oikonomou
155e2c9b0a Support both old and new button API in common examples
This change is temporary so travis can pass until all platforms have been migrated to the new API
2018-03-14 09:34:47 +00:00
George Oikonomou
13c18011c7 Change the GPIO HAL example to use the new button API 2018-03-14 09:34:46 +00:00
George Oikonomou
25afb83209 Change CC2538 MQTT demo to use the button HAL 2018-03-14 09:34:46 +00:00
George Oikonomou
0445275825 Change Zoul examples to use the button HAL 2018-03-14 09:34:46 +00:00
George Oikonomou
5f190be6c9 Change the CC26xx web demo to use the button HAL 2018-03-14 09:34:45 +00:00
George Oikonomou
70dc73ff9d Change the CC26xx very sleepy demo to use the button HAL 2018-03-14 09:34:45 +00:00
George Oikonomou
4fd90e1b68 Change the CC26xx demo to use the button HAL 2018-03-14 09:34:45 +00:00
George Oikonomou
de975bbabe Move BLE readme to the corresponding example dir 2018-03-13 22:47:45 +00:00
George Oikonomou
b20f493e09 Move BLE example to platform-specific/cc26xx
This commit moves the BLE/IPv6 example to the platform-specific directory, since we only support one platform currently. The pull also tidies up the example Makefile a bit: We no longer need to specify the name for project-conf.h so we remove this. We add PLATFORMS_ONLY and BOARDS_ONLY
2018-03-13 22:47:45 +00:00
Simon Duquennoy
7fe4d913b7
Merge branch 'develop' into contrib/build-all 2018-03-12 14:22:34 +01:00
George Oikonomou
c250cf93b7
Merge branch 'develop' into feature/ipv6_over_ble 2018-03-12 08:52:25 +00:00
dongdongbh
4b173ce01f add cfs support for srf06-cc26xx 2018-03-11 02:07:46 +08:00
Atis Elsts
ec98c4f9b3 RGB led example: only for Zoul at the moment 2018-03-09 16:29:07 +00:00
Simon Duquennoy
0ce25338af Fix typo in CONTIKI_PROJECT 2018-03-09 16:29:07 +00:00
Atis Elsts
a0707dfcb6 Orion: do not auto-enable IP64 as this causes compilation issues on many examples. Orion examples enable IP64 explicitly 2018-03-09 16:29:07 +00:00
Simon Duquennoy
c55304bbc6 Multicast example for Zoul: get more RAM through LPM1 2018-03-09 16:29:07 +00:00
Simon Duquennoy
ed6b38d8c6 Example orion/client: use the same LPM configuration as in orion/ip64-router 2018-03-09 16:29:06 +00:00
Simon Duquennoy
6871c5417c Example orion/client: enable TCP 2018-03-09 16:29:06 +00:00
Simon Duquennoy
4a757a0e82 Restrict RTCC example to Zoul boards that have an RTCC 2018-03-09 16:29:06 +00:00
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