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
96c3bff6a9
Shell rpl-routes command: use uip_sr_link_snprint
2018-05-18 08:43:19 -07: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
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
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
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
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
26d51c15d7
Routing API: added more missing functions, homogenize configuration
2018-02-02 08:50:17 -08:00
Simon Duquennoy
b01c2d9802
Fix shell-commands.c
2018-02-02 08:48:37 -08:00
Simon Duquennoy
53facf941e
Routing API: added toplogy repair
2018-02-02 08:48:37 -08:00
Simon Duquennoy
4cab396d48
Shell: explicitly include rpl-ns.h when needed
2018-02-02 08:47:46 -08:00
Simon Duquennoy
bc73bb3284
Added root_start to routing driver
2018-02-02 08:47:46 -08:00
Simon Duquennoy
83e9414a71
Add root_set_prefix to routing driver
2018-02-02 08:47:21 -08:00
Simon Duquennoy
14ccd337c9
rpl_dag_root module simplification
2018-02-02 08:47:21 -08:00
Simon Duquennoy
871ee1e34f
Added routing module with only routing.h, now included wherever RPL is used
2018-02-02 08:45:02 -08:00
Simon Duquennoy
8f7c4fb977
Shell: do not disable logging at init
2018-01-27 11:35:37 -08:00
Simon Duquennoy
81fe587574
Shell-commands: RPL commands are only compatible with rpl-lite. Disable them when rpl-lite is not used.
2017-10-12 17:09:29 +02:00
Simon Duquennoy
623fdf4a96
Shell tsch-set-coordinator: enable setting security
2017-10-12 17:09:26 +02:00
Simon Duquennoy
741a1d5816
Shell: stop tsch_log at init
2017-10-12 17:09:13 +02:00
Simon Duquennoy
f14d6d4afe
Shell: added command tsch-set-coordinator
2017-10-12 17:09:10 +02:00
Simon Duquennoy
27e0357595
Shell: do not use tsch-logs when not enabled
2017-10-12 17:08:58 +02:00
Simon Duquennoy
a1f74d6568
Shell: start automatically whenver the module is included
2017-10-12 17:08:42 +02:00
Simon Duquennoy
77cae0f45c
Shell: prefix all lines with '#'
2017-10-11 17:43:26 +02:00
Simon Duquennoy
4c7d2a4bfc
Minor changes to shell-commands
2017-10-11 17:26:39 +02:00
Simon Duquennoy
14779f29f8
Rework Doxygen modules
2017-09-29 22:18:48 +02:00
Simon Duquennoy
543408db68
Re-organzie ip stack implementation
2017-09-22 17:09:54 +02:00
Simon Duquennoy
3c9369737e
Merge pull request #66 from yatch/pr/etsi-plugtest-2017
...
Project for ETSI Plugtest 2017
2017-09-16 09:18:02 +02:00
Nicolas Tsiftes
8ae774d413
Merge pull request #71 from simonduq/pr/rename-rpl
...
Rename old RPL implementation as rpl-legacy (update: rpl-classic)
2017-09-15 14:50:59 +02:00
Yasuyuki Tanaka
514a0365fe
shell: add 6top command
2017-09-14 21:48:08 +09:00
Simon Duquennoy
786cc13a95
Rename old RPL implementation as rpl-classic
2017-09-14 04:55:36 +02:00
Yasuyuki Tanaka
58f37fe72e
shell: add reboot command which causes reset by watchdog_reboot()
2017-09-11 15:08:19 +09:00
Simon Duquennoy
192f8ee582
Move shell from apps to os/services
2017-09-01 15:39:39 +02:00