This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Is a UDP command line shell based on zephyr Shell for nrf9160 possible?

Hi Devzone,

A couple of conceptual questions about what is possible and a request for ideas for how to best accomplish my goal.

I want to implement a command line shell that hopefully can be build utilizing the zephyr shell module but interfaced through UDP on a modem socket. I am working with the nrf9160DK. 

Is it possible to set up the zephyr shell using a UDP socket for command input/output?

      If not, would it be advisable to implement UDP on top of the shell where the shell is then interfaced with the dummy transport layer parhaps?

I have noticed that the modem is given a private Ip with the IBasis sim that came with the nrf9160DK.

If I want to host a UDP server on the nrf9160 to connect to for interfacing with the command line shell, would I then have to obtain a sim with a dataplan that provides a public static Ip, or is there a way around having to do that?

Hope you can help me. Thanks in advance.

Regards

Mads

Parents Reply
  • Mads said:
    Would it be to look at the examples with the other transports like shell_rtt.h, shell_dummy.h and shell_telnet.h and so on, and create my own shell_udp.h tthat initializes a shell struct that i can use?

    Yes, that would probably be the best way to do it.

Children
No Data
Related