Commit Graph

1739 Commits

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