Announcement

Collapse
No announcement yet.

Speeding up the wireless programming using Android Studio

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Speeding up the wireless programming using Android Studio

    We are running a Windows 10 PC with the latest version of Android Studio and the Skystone SDK. We have connected our Moto G Play running 6.0.1 to the hotspot on the PC. We are able to successfully run the OpMode to program the RC app on the phone but it takes nearly 2 minutes 30 seconds to finish the process. While this is a definite improvement over continuously plugging and unplugging the phone, it is much slower than going the other direction. When we connect the laptop to the phone's wifi network we get times under a minute. The downside of this method is that the computer is not connected to the internet while connected to the phone and, if we need to switch to an internet connection, when we switch back to the phone's network and try to install again we get an error. To reconnect we have to plug the phone back in to the computer, run "Enable ADB of TCP/IP", disconnect, "Connect to ADB over WiFi Direct" and re-run AS.

    Is there a way to speed up the transfer when the phone is connected to the PC's hotspot?

  • #2
    Well one thing you could try would be to use OpenRC Ultra Turbo which results in a download size 10x smaller than stock.

    Comment


    • #3
      Buy a usb to wifi stick and connect to both networks.

      Comment


      • #4
        Originally posted by 3805Mentor View Post
        Buy a usb to wifi stick and connect to both networks.
        Just to clarify, you're thinking that we could plug one of those dongles into the PC to create a faster hotspot, correct?

        Comment


        • #5
          Originally posted by FTC6382 View Post

          Just to clarify, you're thinking that we could plug one of those dongles into the PC to create a faster hotspot, correct?
          No he's saying to have the internal adapter connected to your internet network, the and the dongle connected to the WiFi direct network of the robot.

          Comment


          • #6
            We purchased some TP-Link "nano" USB WiFi adapters for our Macs to allow us to have them connected to both WiFi Direct on the phones and the internet at the same time, and they work great. You'll need a different model (with 5Ghz) if you're using phones that work in that band. They're a great problem solver at $8/each:

            https://www.amazon.com/dp/B008IFXQFU

            The only hiccup we had to deal with, is to rearrange the network device priority so that the built-in WiFi connected to the internet had preference.

            Comment


            • #7
              We have those and got some phones that also had 5GHz. A ton of trouble figuring out why it worked sometime and not others. Then we set the band (for when we are downloading) to a 2.4Ghz channel and problems went away....

              Comment


              • #8
                Originally posted by markdmatthews View Post
                We purchased some TP-Link "nano" USB WiFi adapters for our Macs to allow us to have them connected to both WiFi Direct on the phones and the internet at the same time, and they work great. You'll need a different model (with 5Ghz) if you're using phones that work in that band. They're a great problem solver at $8/each:

                https://www.amazon.com/dp/B008IFXQFU

                The only hiccup we had to deal with, is to rearrange the network device priority so that the built-in WiFi connected to the internet had preference.
                Just tried this product out. It cut our time to install from 2:45 to 1:15. Thanks for the suggestion!

                Comment

                Working...
                X