¿ªÔÆÌåÓý

Remote Connection via USB over TCP/IP?


 

I'm planning an experiment with my TinySA Ultra and wonder if anyone here has already tried this??
?
I want to physically connect my TSA-U to an inexpensive dedicated hardware USB 3 to TCP/IP server at a remote location, on an existing campus network, and virtually connect to it across the Internet with a Win10 machine running TinySA-App. It will likely need to cross firewalls. Eventually, I would like to do this with multiple TinySA units at multiple locations.
?
My TCP/IP skills are not worthless but are limited. I prefer to use off-the-shelf commercial products and not mess around with Raspberry Pi or other DIY gadgets that make some customers nervous. I already have a specific server product in mind but welcome the experience of others before I proceed.
?
Please comment if you have experience with this sort of thing. Especially if you can save me $ and aggravation. I will deeply appreciate it!


 

(re-posting with better resolution pictures)

This is what I have done for a simple WIFI wireless connection (see photos).
I used an old cell phone (no SIM) which connects to my home WIFI network, and am using it as a simple 'dedicated TCP/IP server'.? I connect it via USB to the TinySA, and then connect TinySA-app (on the same local network) to the TCP/IP server address and port, as shown in the photo.?
Very simple, works fine, even with the auto-update on the screenshot.? For the phone, the USB connection requires an OTG adaptor (micro-B to A), to make the phone switch to the proper usb mode.? If you use a phone with usb-c, a c-to-c cable may work, but will require you to set the right connection option in your phone's usb connection settings.

Network considerations: The simple TCPUART bridge app I am using on the phone allows me to choose the port, so if you had firewalls, you would need to use a port that the firewall allows to pass (80 or 8080 will probably pass most default firewall setups). If you are trying to remote off of the local network, via the internet, you will need to establish a static IP address, or another way to connect through a NAT/firewall (just like for remote gaming, etc.) - this requires a bit of networking savvy, but is entirely independent of TinySA and TinySA-app.


 

Sorry about the poor quality photos in my prior post - groups.io is resizing them.? Let me know if you need better resolution and I can send it directly.


 

On 22/06/2024 00:22, Stan Dye via groups.io wrote:
This is what I have done for a simple WIFI wireless connection (see photos).
I used an old cell phone (no SIM) which connects to my home WIFI network, and
am using it as a simple 'dedicated TCP/IP server'.? I connect it via USB to the
TinySA, and then connect TinySA-app (on the same local network) to the TCP/IP
server address and port, as shown in the photo.
Very simple, works fine, even with the auto-update on the screenshot.? For the
phone, the USB connection requires an OTG adaptor (micro-B to A), to make the
phone switch to the proper usb mode.? If you use a phone with usb-c, a c-to-c
cable may work, but will require you to set the right connection option in your
phone's usb connection settings.
Thanks for posting that, Stan, a really neat way of doing things, not to
mention re-using an old phone!

BTW: if you "attach" the images rather than inline you /may/ get better quality
results, but some groups simply limit the image size.

Cheers,
David
--
SatSignal Software - Quality software for you
Web:
Email: davidtaylor@...
Twitter: @gm8arv


 


So I gather the discussion in the NanoVNA group holds similar here "Question on remote use of NanoVNA"? and thanks again Stan.
I did find this useful and was able to use an old Samsung Galaxy S4, TCPUART, OTG, and used both of my home routers and a TP-Link TL-WR902AC travel router - to the NanoVNA-app.? I had no firewall issues.? I was using Win 10.

Andy


 

Thank you for the info.?

I will be using hardwired ethernet with a dedicated commercial USB server.

Since TinySA is serial over USB, will it function correctly on a USB 2.0 port?? 2.0 servers are far less expensive than 3.0.


 

The communication is at low speed, not needing USB 3.
Make sure the USB port can supply the required current otherwise the battery will deplete. If needed you can insert a USB bridge with own power supply.
--
Designer of the tinySA
For more info go to