I am working with the following setup: I have an SBC running Ubuntu 18. The board is installed on an outdoor device. The board generates a wireless hotspot and runs a python script which streams UDP packets to the mobile devices that are connected to the hotspot, using the socket module. An Android app receives the packets and displays the contents.

Now, when I test the system indoors, everything works fine. The packets are correctly received and processed. However, when I test it outdoors, with the device operating at about 20cm from the ground, I have many timeout exceptions waiting for the UDP packets. The problem disappears if I lift the device from the ground. In any case, the WiFi signal is strong (I get the same problem even when the mobile device is very close to the board).

How can I diagnose the problem? Is there a way to fix it?

  • \$\begingroup\$ Look for a place where the device operates with acceptable performance, connect a better antenna to your SBC, or move the Access Point. \$\endgroup\$
    – StarCat
    Jul 2, 2020 at 16:46
  • \$\begingroup\$ You could try running wireshark on your SBC to get a better idea what is happening with your packets in your outdoor scenario. What kind of antenna are you using? And what is "ground" here? Is it just like regular earth and grass, or is there something unusual laying on the ground or under it that may be affecting your wireless propagation environment? \$\endgroup\$ Jul 3, 2020 at 16:55


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.