These are chat archives for dronekit/dronekit-android

3rd
Sep 2016
pablomar13
@pablomar13
Sep 03 2016 02:21
@kellyschrock sounds pretty easy! Thanks! Does the UDP port is by default 14550?
Kelly Schrock
@kellyschrock
Sep 03 2016 02:31
@pablomar13 I think so. Used to have to specify the port, but that's an overloaded method now. If you don't specify them, it's the default which is (I think) 14550.
pablomar13
@pablomar13
Sep 03 2016 04:14
@kellyschrock great, one less thing to worry about I guess...
chaviw
@chaviw
Sep 03 2016 07:34
You can do newUdpConnection() with no parameter which will use port 14550. If you want a different port, just call newUdpConnect(port)
Kelly Schrock
@kellyschrock
Sep 03 2016 14:04
@pablomar13 Yeah, they made it really easy. I use the output from the LinkListener so various components in the app know if the connection drops/restores, and enable/disable controls appropriately. It's pretty cool. Sometimes, I just shut the Solo off and turn it back on so I can watch the app react to that case in a non-stupid way. :-)
pablomar13
@pablomar13
Sep 03 2016 21:09
@kellyschrock That's a good idea... up until now I had to trust the DroneListener...