Commit Graph

133 Commits

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