-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Programmatic shell access #4967
Copy link
Copy link
Closed
Labels
State: staleState: The issue / PR has no activity for >185 daysState: The issue / PR has no activity for >185 daysType: questionThe issue poses a question regarding usage of RIOTThe issue poses a question regarding usage of RIOT
Description
It would be useful to be able to execute shell commands programmatically. For example, my app might want to change radio channel, add an IP address, start RPL etc. There are many such tasks that are trivial to do via the shell, but often quite complex to do via the underlying commands.
With a bit of care to concurrent access, I believe this can be done by exporting the handle_input_line symbol that is currently static in the shell handling code. Before I do the work to make a pull request though, I wanted to ask how other people have been solving this problem. How have people been making nodes that "come up" configured automatically? Perhaps I am going about this the complete wrong way?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
State: staleState: The issue / PR has no activity for >185 daysState: The issue / PR has no activity for >185 daysType: questionThe issue poses a question regarding usage of RIOTThe issue poses a question regarding usage of RIOT