Commit Graph

122 Commits

Author SHA1 Message Date
Atis Elsts bc9967dbb0 add TSCH channel selection service 2018-09-27 16:00:36 +01:00
Rehan MALAK cc7c2312ec missing header inttypes.h 2018-09-21 10:15:43 +02:00
Kiril Petrov e19e67b510 Fix get_temp_value for lwm2m-ipso-object example
Signed-off-by: Kiril Petrov <contiki@geomi.org>
2018-08-29 20:30:13 -07:00
carlosgp143@gmail.com 2db8fa80e2 Unified coap_request_state and added status for extra information 2018-06-29 09:33:18 +02:00
Angelos Oikonomopoulos 45b0241f94 Introduce dynamically registered shell command sets
Commands are part of a single array, which means that their definition
is static. However, different apps in the same source tree may
reasonably want to add to the command set (perhaps even shadow existing
commands), which would make for awkward code.

Instead, allow dynamic registration/deregistration of command sets at
runtime. This keeps the data overhead low (two pointers per enabled
command set).
2018-06-11 11:09:24 +00:00
Angelos Oikonomopoulos 1a95aad7a7 Mark shell_commands as const
This enables the compiler to place the array in flash, saving us a bit
of RAM.

Suggested-by: g-oikonomou
2018-06-08 10:44:33 +00:00
Simon Duquennoy 833cf2f87d Fix copyright headers 2018-06-06 15:38:26 +02:00
Simon Duquennoy 9ae283031a Added deployment module 2018-06-06 15:38:26 +02:00
Simon Duquennoy 36deee9618
Merge branch 'develop' into lwm2m-endpoint-fix 2018-05-29 14:19:55 +02:00
George Oikonomou 37f14efad5 Harmonize building of tools from within an example dir 2018-05-26 13:55:02 +01:00
Simon Duquennoy 04c857b683
Merge branch 'develop' into contrib/snprint-rpl-links 2018-05-25 21:07:40 +02:00
Simon Duquennoy 0bec52a76c
Merge branch 'develop' into contrib/simple-energest 2018-05-25 20:14:18 +02:00
Joakim Eriksson bcb4548519 ensured initialization of success variable 2018-05-25 16:23:05 +02:00
Joakim Eriksson fcb246d4bf fixed endpoint name to have Contiki-NG as prefix 2018-05-25 16:23:05 +02:00
Simon Duquennoy f7ab2750a0 Added simple-energest 2018-05-23 12:37:51 -07:00
carlosgp143@gmail.com ec8fe6eb22 Code moved frome lwm2m-engine to lwm2m-queue-mode to have a clearer separation 2018-05-22 15:34:30 +02:00
carlosgp143@gmail.com eba756e340 Code of notification queue simplified 2018-05-22 11:21:10 +02:00
carlosgp143@gmail.com 2e84d2abbe Separated Queue Mode implementation and Queue Mode object. Changes in the naming 2018-05-21 09:44:49 +02:00
carlosgp143@gmail.com 18714f2cad Simplified awake time adaptation with array and other small fixes 2018-05-18 18:39:33 +02:00
carlosgp143@gmail.com 1f8754766a Added macros for defining wake up/sleep behaviour depending on the platform 2018-05-18 18:39:33 +02:00
carlosgp143@gmail.com d744e8306a Added Queue Mode implementation in LwM2M 2018-05-18 18:39:33 +02:00
Simon Duquennoy 96c3bff6a9 Shell rpl-routes command: use uip_sr_link_snprint 2018-05-18 08:43:19 -07:00
George Oikonomou 0903da2fe9
Merge branch 'develop' into contrib/log-snprintf 2018-05-17 22:51:40 +01:00
Simon Duquennoy ff1f57509a Introduce UIPLIB_IPV6_MAX_STR_LEN 2018-05-16 12:25:42 -07:00
Simon Duquennoy e301df9513 Added shell command rpl-nbr 2018-05-16 12:25:42 -07:00
Simon Duquennoy 29061e9885 Rework uiplib_ipaddr_snprint, and use it from logging module and shell 2018-05-16 12:25:41 -07:00
Rehan MALAK 555242c8c2 warning-- : defined but not used
make -C "examples/ip64-router" \
        TARGET=zoul BOARD=orion
2018-05-16 17:11:08 +02:00
Simon Duquennoy 92018b0df0 RPL Native Border Router: fix SLIP bug that may occur whenever there is more bytes left in tx buffer than what we just sent 2018-05-14 14:19:45 -07:00
Simon Duquennoy d22ab9413d Various logging improvements 2018-05-14 03:02:12 -07:00
Simon Duquennoy 3488a605c0 BR MAC: add log 2018-05-13 06:41:48 -07:00
kkrentz 21dd6209ff uip: Support for IEEE 802.15.4 short addresses 2018-05-12 02:29:33 -07:00
George Oikonomou b45d284be2 Merge branch 'release-4.1' into develop 2018-05-09 22:18:01 +01:00
George Oikonomou 684167cd91
Merge branch 'release-4.1' into contrib/shell-refresh-routes-lite 2018-05-04 12:16:56 +01:00
Niclas Finne 3c12738050 lwm2m: shorter log module names for aligned log output 2018-05-04 11:02:43 +02:00
Niclas Finne 641a0d5e45 shell: the rpl-refresh-routes API is currently only provided by rpl-lite 2018-05-04 10:04:25 +02:00
Niclas Finne c176103aae shell: check if a preferred parent exists before showing status 2018-05-04 09:09:15 +02:00
Niclas Finne 274a5daa7d Updated users of SLIP to respect UIP_LLH_LEN 2018-04-27 01:43:19 +02:00
Simon Duquennoy 4da9202d22 Add lrwrap to login and native BR 2018-04-26 03:00:04 -07:00
Simon Duquennoy 3bd6c67e64 RPL native border router: use logging module 2018-04-24 11:37:28 -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 7a96a8f8a9 CoAP: auto-initialize module 2018-04-13 06:51:33 -07:00
Simon Duquennoy ebcb941867 Shell command 'rpl_status': show last DTSN of current parent 2018-04-13 05:44:49 -07:00
Simon Duquennoy 96032fa47b Shell: added ability to trigger a RPL DTSN increment 2018-04-05 20:33:28 +02:00
Simon Duquennoy a3e62befb8 TSCH: rework .h system, now following the same structure as rpl-lite 2018-03-28 10:39:41 -07:00
Yasuyuki Tanaka 4206761ccf shell: add missing UIP_CONF_IPV6_RPL guard 2018-03-27 17:22:52 +02:00
Yasuyuki Tanaka 90248b6dc2 shell: minor fix on shell output message 2018-03-22 17:42:21 +00:00
Yasuyuki Tanaka ecd64846a8 shell: add NULL pointer check 2018-03-22 17:41:54 +00:00
Yasuyuki Tanaka fb5fa58ec3 shell: replace TAB with spaces 2018-03-22 17:37:14 +00:00
Yasuyuki Tanaka 039d5b4c8d shell: increase buffer size for SHELL_OUTPUT() 2018-03-22 17:36:10 +00:00
Niclas Finne 9b37e4b7fb Updated IPSO button to use the button HAL pressed/released events.
Removed support for the optional polarity resource to simplify the code.
2018-03-17 22:48:16 +00:00