Commit Graph

145 Commits

Author SHA1 Message Date
George Oikonomou
3af022f6da
Merge branch 'develop' into contrib/shell-no-ipv6 2019-01-12 16:44:28 +00:00
Simon Duquennoy
5c206691a3 Shell: group IPv6 and RPL-Lite commands 2019-01-11 21:22:16 +01:00
Simon Duquennoy
36ee548b51 Shell: add mac-addr command 2019-01-11 21:16:48 +01:00
Simon Duquennoy
d850fff673 Make it possible to use shell without IPv6 2019-01-11 21:16:48 +01:00
Atis Elsts
08cbbe224b minor shell update: extend the tsch-status command 2018-12-18 16:40:18 +00:00
Niclas Finne
82b7b74165 Removed the incomplete feature in LWM2M RD client to "guess" a LWM2M
server if none has been specified. This does not belong in the LWM2M
RD client and does not work well with multiple server support.
2018-11-19 18:27:15 +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
2e4984f671 Change help messages to specify the -v argument as non-optional
This commit changes the help messages of `tunslip6` and native border router such thaty they stop specifying the `level` argument of `-v` as optional.
2018-11-11 16:51:18 +00:00
Simon Duquennoy
4ea5d41d52 Merge branch release-4.2 back into develop 2018-11-09 17:04:31 +01:00
Simon Duquennoy
5d8fda2af4 Native border router: clearer error messages 2018-11-05 16:04:02 +01:00
Simon Duquennoy
07915ac580 Shell: skip empty lines 2018-11-05 16:03:21 +01:00
Niclas Finne
93c7aae49e
Update os/services/shell/shell-commands.c
Co-Authored-By: joakimeriksson <joakime@sics.se>
2018-11-02 15:20:07 +01:00
Niclas Finne
ef9b1f32ba
Update os/services/shell/shell-commands.c
Co-Authored-By: joakimeriksson <joakime@sics.se>
2018-11-02 15:19:27 +01:00
Simon Duquennoy
bda7c329ba
Merge branch 'develop' into contrib/csma-llsec 2018-11-02 01:13: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
Joakim Eriksson
008cffe81a fixed compilation issues 2018-10-23 08:12:55 +02:00
Joakim Eriksson
d3c95c9a6e added llsec shell commands 2018-10-20 22:27:19 +02:00
Joakim Eriksson
c42fae82da added uipbuf attributes for llsec level and key and added payloadlen in mac 2018-10-20 22:25:55 +02:00
Simon Duquennoy
8456c544d8 Simplify uip.h definitions 2018-10-18 20:26:12 +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
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