I’m currently experimenting with a HereLink 1.1 system and trying to get access to a device which is connected to the ethernet port of the air unit. My goal is to have a custom app running on the GCS that is able to communicate with the device connected to the ethernet port of the air unit via network.
I have set up the GCS so that it is paired with the air unit and I already managed to use adb to access the air unit (PC → GCS via WiFi → air unit) and verify that the bridge network adapter is there and that I can reach the endpoints (192.168.144.10 and 192.168.144.11).
My setup on the air unit side looks like this:
air unit → USB to ethernet adapter → Laptop
The Laptop is disconnected from all other networks (e.g. WiFi) except the USB adapter. The adapter network show up as being connected and the adapter itself has both LEDs (connection and traffic) lighting up, so I assume my cable is working.
Now I would have expected the local IP of the Laptop to be in the range of the bridge network (192.168.144.x), but it gets an auto-assigned IP (via DHCP) in the range of 169.254.41.x. I also cannot manually set an IP address.
I tried scanning the network to find the air unit, but I wasn’t able to. And now I’m kind of stuck with the following questions:
How can I access the air unit from the Laptop?
More importantly, how can I access the Laptop from the GCS?
We’re experimenting with this for a while now with multiple people involved and are pretty much stuck. We were trying to establish a connection a) between the laptop and the air unit via the makeshift ethernet cable + USB adapter and b) between the laptop and the GCS via the ethernet bridge. Neither is working so far.
We setup the network for a) in a way that both ends have their dedicated fixed local IP address (192.168.145.x/24) but both devices still were not able to ping each other (Laptop <-> air unit).
I’ve tried the same setup with the laptop and another PC to make absolutely sure the USB adapter does work in that scenario: I directly connected the laptop with the other PC via the USB adapter and a normal ethernet cable, set the local IPs and tadaa… it worked flawlessly.
So now there are two possibilities:
My makeshift network cable doesn’t work (which is unlikely because the LEDs on the adapter are lighting up and the network monitor shows packages being sent and received).
The air unit blocks traffic or somehow needs some extra configuration.
there is no dhcp provided by the herelinks, you need to manual set an ip address inside the range
eg 192.168.144.50 subnet mask 255.255.255.0
this will put you within the ip range of the airunit and gcs unit, so they are accessible from the airunit ethernet port
Im working is something similar, connecting an IP camera to the Eth Air unit port. I have setup the camera in the HereLink RC, and I can see the video. But I still have a problem. If I share connection with the HereLink using wifi and connect my computer, I can ping the x.x.x.10 and x.x.x.11 ips, (Air unit and Rc), but not the ip camera. Why is that? I need to see the camera on the computer to setup the best video configuration.
Hope this can help
WiFi method, the wifi hotspot from the HL
PC just connected to the HL vía wifi
PC can ping air unit and herelink (192.168.144.10 and 192.168.144.11)
A little update, yesterday we have try a Siyi IP camera, and the video was very bad (good quality,but like 5FPS) but in the computer was ok. Today we have try another IP camera, ViewSheen cameras, and the result was the same…
…an update for the problem. while im seeing a lagged video on the HereLink screen, I start recording video the Herelink, in ground control, and the video recorded has not the delay, looks great.