I want to create a command line interface (CLI) to operate on the target device. I want it to be accessible from the ethernet. I’m using the lwIP stack for the ethernet, and it works.
I generally understand how to CLI works (creating the command, registering it and so on), but I cannot find any information how to ‘bind’ the CLI to the Ethernet connection.
How can I make the CLI to recieve and send the output over TCP? (actually even UDP should be fine)
Suprisingly I cannot find any documentation covering this specific topic.
Thanks a lot for your answer!