Why might you want to connect to a goTenna via USB?
I’m trying to debug pairing problems, but you might just be curious. I have no idea what you can accomplish via the serial console.
How do you do it?
These instructions are for a Mac. From the terminal, you can either use screen or cu. I couldn’t get the screen to align properly with either of them. Each line started farther to the right than the one above it.
- Use the USB cable to plug the goTenna into your Mac
- use ls to find your goTenna device “ls /dev/cu*”
3a) Connect via screen “screen -L /dev/cu.usbmodem621 -L”
3b) Connect via cu “sudo cu -l /dev/cu.usbmodem621” - type “log” or you won’t see any output. If this works, you will see “Logs enabled”
- type “?” to get a list of commands
6a) Use Ctrl + A and then Ctrl + K to exit screen
6b) Use ~. to exit cu
It may help to restart your goTenna immediately prior to step 3.
Of course screen and cu both have man pages which might have solutions for #2 below. I should read them. Instead I read:
screen https://software.intel.com/en-us/setting-up-serial-terminal-on-system-with-mac-os-x
cu https://apple.stackexchange.com/questions/32834/is-there-an-os-x-terminal-program-that-can-access-serial-ports
Open questions:
- What goTenna hardware/software versions support connecting via serial console?
- How do you align the text output?
- What is the equivalent for other platforms (Windows, Linux, etc…)
- What can you do with this?
- Is there a better way to do this? (Kermit?)
- Is there good documentation for this anywhere?