Commit Graph

1815 Commits

Author SHA1 Message Date
giomba f83deb08a3 First commit as given by Francesca Righetti 2019-03-19 13:01:02 +01:00
firmwareguru 2879492799 fix mqtt string lengths greater than 255 and incorrect example keep-alive 2019-02-22 07:46:48 -07:00
Simon Duquennoy 2611d979fa
Merge branch 'develop' into contrib/default-prefix-as-variable 2019-02-18 15:22:53 +01:00
Joakim Eriksson afa6f0b60b
Merge branch 'develop' into coap-example-periodic-resource-interval-fix 2019-02-09 09:58:33 +01:00
George Oikonomou eb03db9fa4
Merge branch 'develop' into contrib/msp430-platforms 2019-01-24 11:26:57 +00:00
firmwareguru 284b52c8b6 Fix cc26x0-cc13x0 example not building 2019-01-14 19:23:13 -07:00
Atis Elsts b955dbe9a1 TSCH simple node: also set coordinator id node_id == 1 on Z1 2019-01-14 14:55:34 +00:00
Atis Elsts bc09e10578 add back sensniff config for Zolertia z1 2019-01-14 14:55:34 +00:00
Atis Elsts 313802dcbd Exclude z1 from some Makefiles: not all examples can be built on z1 due to limited memory 2019-01-14 14:55:34 +00:00
Zhitao He 67e3b455cd correct time intervals of example CoAP periodic resources: one second = 1000 x 1 ms coap timer ticks, not CLOCK_SECOND ticks 2019-01-14 15:27:43 +01:00
George Oikonomou 54ea6d59aa
Merge branch 'develop' into feature/application-level-timesync 2018-12-19 03:30:29 +00:00
Atis Elsts de3c154f48 UDP example code cleanup 2018-12-18 16:52:40 +00:00
Atis Elsts 99a68e84f1 add the TSCH application-level timesync example 2018-12-18 16:50:09 +00:00
George Oikonomou 4243836e85
Merge branch 'develop' into contrib/default-prefix-as-variable 2018-11-25 02:43:45 +00:00
Simon Duquennoy a9aad29617 Add missing inclusions of <inttypes.h> 2018-11-22 15:04:10 +01:00
Niclas Finne 962aa01d30 Combined the functions for registering LWM2M server and bootstrap
server into a single function for simpler API.

Updated the LWM2M example to register to a single server by default
but with a configuration option to use multiple servers.
2018-11-19 18:27:15 +01:00
carlosgp143@gmail.com be71b5fc1d Added support for multiple server session in LwM2M 2018-11-19 18:27:15 +01:00
George Oikonomou e706c3ee72
Merge branch 'develop' into contrib/nightly-plot-DAG-join 2018-11-12 15:34:43 +00:00
George Oikonomou 0b9e3c3561 Remove obsolete header 2018-11-12 12:35:53 +00:00
Simon Duquennoy 67ed46944f Nightly runs: keep track of DAG joining events 2018-11-12 11:38:17 +01:00
George Oikonomou 15f6e1d7a3 Change the way of accessing the default v6 prefix
This commit changes the method of accessing the default v6 prefix. Instead of always using `UIP_DS6_DEFAULT_PREFIX`, we store the default prefix in a variable. We subsequently retrieve the prefix by calling `uip_ds6_default_prefix()`.

`uip_ds6_init()` will set this variable to the value of `UIP_DS6_DEFAULT_PREFIX`, but only if the startup code has not set a different default prefix before `uip_ds6_init()` gets called.

This approach has the following benefits:

* It allows us to change the default prefix at run time.
* It allows the startup code to set a prefix different than the one specified by `UIP_DS6_DEFAULT_PREFIX`, which can be useful if the default prefix comes from a different source (e.g. the command line for native, or a configuration stored on a node's flash)
* In many places the current code assumes that the prefix contains 6 bytes of zeros (e.g. `FDxx::/64`). Changing to a different prefix (e.g. `FD00:ABCD::`) would need extensive code changes. This change here makes it easy to use a prefix of any length.
2018-11-11 18:30:54 +00:00
Simon Duquennoy 4ea5d41d52 Merge branch release-4.2 back into develop 2018-11-09 17:04:31 +01:00
Simon Duquennoy bda7c329ba
Merge branch 'develop' into contrib/csma-llsec 2018-11-02 01:13:14 +01:00
Joakim Eriksson 16ac869645 removed some no longer needed hard-coded calculations in the sicslowpan code 2018-10-31 23:02:14 +01:00
Joakim Eriksson 42dfc81af2 added LLSEC attributes form packetbuf to uipbuf when receiving IP packet, and a few other minor fixes 2018-10-30 16:06:11 +01:00
Simon Duquennoy a2b7b996e4
Merge branch 'develop' into contrib/uip-cleanup 2018-10-29 10:18:10 +01:00
Yasuyuki Tanaka 8ef5c8b8c6 uip-ds6-nbr: make ds6_neighbors a local variable
All the nbr_table API calls with ds6_neighbors are replaced with
uip_ds6_nbr APIs accordingly.
2018-10-24 07:01:57 -07:00
Yasuyuki Tanaka 0bcdd39cc6 Rename 'arch/cpu/cc26xx-cc13xx' to 'arch/cpu/cc26x0-cc13x0' 2018-10-23 13:32:03 -07:00
Yasuyuki Tanaka 7a6cbff5f6 Rename srf06/{cc26xx,cc13xx} to srf06/{cc26x0,cc13x0} 2018-10-23 13:09:02 -07:00
Yasuyuki Tanaka 61fba4dcde Rename srf06-cc26xx to cc26x0-cc13x0 2018-10-23 13:04:32 -07:00
Joakim Eriksson 0a3b890080 fixed rpl-udp example 2018-10-23 07:50:15 +02:00
George Oikonomou 6d4cddeec1 Make the MQTT client example a little more configurable and verbose
Suitable for native run testing
2018-10-21 17:13:17 +01:00
Joakim Eriksson 3542fa8d85 added back more textual representation of messages in rpl-udp example - good for debugging LLSEC encryption 2018-10-20 22:27:02 +02:00
Simon Duquennoy 1df85a12a4
Merge branch 'develop' into bugfix/gpio/64bit 2018-10-19 14:08:05 +02:00
Alex Raimondi 9bb648f922 Fixed all-timers example application 2018-10-19 12:15:51 +01:00
Simon Duquennoy ff825daaea Merge remote-tracking branch 'origin/develop' into wip/uip6-cleanup 2018-10-18 20:28:00 +02:00
Simon Duquennoy ea32ab0f12 Removed UIP_LLH_LEN 2018-10-18 20:26:12 +02:00
Simon Duquennoy d4bc09e002 Move function for clearing uip_buf to uipbuf module 2018-10-18 15:50:54 +02:00
Simon Duquennoy caa02ae51e Define UIP_IP_BUF globally in uip.h 2018-10-17 11:18:32 +02:00
Atis Elsts cb65f31d48 Remove BOARDS_EXCLUDE for TSCH examples: now they can be built for CC13xx boards 2018-10-13 14:07:10 +01:00
George Oikonomou 4a0c9d8894 Change define to reflect current chip family name 2018-10-12 13:47:01 +01:00
George Oikonomou d5f1bd2d4c
Merge branch 'develop' into bugfix/gpio/64bit 2018-10-11 16:44:22 +01:00
Simon Duquennoy b7c9cae60c Platform Zoul: move generic cc2538 defines from contiki-conf.h to cc2538-def.h 2018-10-10 17:01:11 +02:00
Simon Duquennoy ddde2aebdc jn516x example: compute sample_count on current timeslot timings rather than defaults 2018-10-04 10:50:09 +02:00
Simon Duquennoy cad068d5e8 sixtop example: remove obsolete z1 configuration 2018-10-03 12:27:01 +02:00
George Oikonomou b4db7aa4e7 GPIO HAL example fix 64-bit support 2018-09-30 20:21:17 +01:00
Atis Elsts 3ccf4c78bb Add TSCH stats example 2018-09-27 16:00:36 +01:00
Atis Elsts df733e409a add TSCH channel selection example 2018-09-27 16:00:36 +01:00
Atis Elsts ad577cf77f Add TSCH stats 2018-09-27 16:00:36 +01:00
George Oikonomou 36e1a8f82d
Merge branch 'develop' into missing-header 2018-09-23 13:49:17 +03:00