Using the serial port: characters appear twice while you're typing

As your docs point out, when using the serial connection to the board characters appear twice while you're typing, just ignore this for now, can you advise how commands should be entered? Trying to delete the double characters does not do anything, and entering a command containing the double characters causes the board to hang as below:

✔ Select a serial port to open · /dev/tty.usbmodem143303
Opening serial port: /dev/tty.usbmodem143303 echo: true
Connecting to WiFi network failed (-3011)

Type AT+HELP to see a list of commands.



An additional pain point, is that you cannot ctrl+c and reconnect to the board, as the screen session is still active in the background. My workaround is to kill the terminal session, physically unplug and replug the board, and retry. Can you advise on a better solution?

@robmarkcole This is due to the way the serialport application works. It echo’s all characters back, which is not standard behavior (but the serialport application is very easy to set up, which is why I recommended it in the tutorial). I see that you’re on macOS so you can use screen instead which doesn’t have this behavior. Try:

screen /dev/tty.usbmodem143303 115200

Then… to exit the application (yes, I don’t understand why this is so hard either :wink: ), press CTRL+A, then type :quit and press ENTER.

FYI I’m using which gives a better experience on Mac.

Ah yes, I have used screen before, reliable but also has its quirks! I can confirm this resolves the usability issue for me

Great @robmarkcole, thanks for reporting back.

1 Like

You can also quit screen using CTRL+A and then hitting the k key :slight_smile:

1 Like