altoslib: Improve configuration performance over remote link
authorKeith Packard <keithp@keithp.com>
Sun, 23 Aug 2020 17:51:00 +0000 (10:51 -0700)
committerKeith Packard <keithp@keithp.com>
Sun, 23 Aug 2020 17:51:00 +0000 (10:51 -0700)
commit10a10667a28f82c24d895e44617e68c7c1848c45
treec4865e0f2f60daa38fedfa501b6112d6ff2d5b3c
parentb3297909e58a2709d340f65181c22ef82341afb9
altoslib: Improve configuration performance over remote link

Avoid re-setting dongle radio parameters when they haven't changed
during device configuration setting. This avoids flipping back and
forth from remote to local mode three times during config save.

Wait for remote end to say 'Saved' before dropping radio link. This
ensures that the remote end actually gets the save command before the
link is terminated.

Signed-off-by: Keith Packard <keithp@keithp.com>
altoslib/AltosConfigData.java