<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mjb/altos/altosdroid/src/org, branch tmarble-trng</title>
<subtitle>AltOS - the operating system for Altus Metrum products
</subtitle>
<id>https://git.ethernal.org/mjb/altos/atom?h=tmarble-trng</id>
<link rel='self' href='https://git.ethernal.org/mjb/altos/atom?h=tmarble-trng'/>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/'/>
<updated>2015-03-07T18:18:57+00:00</updated>
<entry>
<title>altosdroid: Deal with bluetooth connection failures better</title>
<updated>2015-03-07T18:18:57+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2015-03-07T18:18:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=cdd7ad469728fde178c69b9c99d70d6e0ab3f12d'/>
<id>urn:sha1:cdd7ad469728fde178c69b9c99d70d6e0ab3f12d</id>
<content type='text'>
Remember when we've closed the bluetooth connection so that we stop
operations, including reporting connection status messages or even
starting a connection attempt.

Pass the AltosBluetooth object back in connection status messages so
that TelemetryService can tell when messages from closed objects get
delivered. There's a queue between the two, so the above fix catches
most of these instances, but not all of them.

Stick a delay during reconnect -- if the TeleBT device is getting
power-cycled, it will need a few seconds to reconfigure the device at
startup, if AltosDroid manages to connect during that time, the
configuration commands will be ignored.

Unlock the AltosBluetooth device while we connect so that cancel
calls will actually work.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altosdroid: Ignore automatic tab changing while activity is saved</title>
<updated>2015-02-17T06:22:37+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2015-02-17T06:22:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=106b16b4d5d024543d7ad8c4b4762151e253f3c4'/>
<id>urn:sha1:106b16b4d5d024543d7ad8c4b4762151e253f3c4</id>
<content type='text'>
When the activity state is saved (after onSaveInstanceState()), we
can't update the UI until the activity is restarted or restored; that
means any UI changes we make, like switching tabs, must deal with this
by allowing those changes to be ignored, using commitAllowingStateLoss
instead of commit.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altosdroid: Missing file: DeviceAddress.java</title>
<updated>2015-02-17T05:35:34+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2015-02-17T05:35:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=e6630ac41ca0d8563cf9a0df5d4acba8192e9624'/>
<id>urn:sha1:e6630ac41ca0d8563cf9a0df5d4acba8192e9624</id>
<content type='text'>
Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altosdroid: Only speak when GUI is running</title>
<updated>2015-02-17T05:32:54+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2015-02-17T05:32:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=8f2d82461f3cf5da157b23ea45a2fa60d56b196b'/>
<id>urn:sha1:8f2d82461f3cf5da157b23ea45a2fa60d56b196b</id>
<content type='text'>
Create voice in onStart, stop it in onStop. This way, if some other
application is in use, the voice won't be annoying you.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altosdroid: Explicitly disconnect BT on termination or 'disconnect'</title>
<updated>2015-02-17T05:19:09+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2015-02-17T05:19:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=877609a60a9f2c61c1efad8285b2a3c22f59be28'/>
<id>urn:sha1:877609a60a9f2c61c1efad8285b2a3c22f59be28</id>
<content type='text'>
This adds an explicit message to the telemetry service telling it when
to stop trying to talk to the bluetooth device. Until this message is
received, the service will reconnect to the specified BT device.

That message is sent when you 'quit' the application, or when you 'disconnect'.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altosdroid: Lots of bluetooth connection changes</title>
<updated>2015-02-17T04:57:11+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2015-02-17T04:57:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=c51d39c7ea1153cd2d0dc02c47824a9f35b22fb9'/>
<id>urn:sha1:c51d39c7ea1153cd2d0dc02c47824a9f35b22fb9</id>
<content type='text'>
Appears to more reliably abort in-progress connection attempts so you
can switch TBT devices without having the previous device in
operation.

Shows which device the connection is being attempted for.

Eliminate the 10-second timer and just disable the service when the GUI
shuts down while no BT connection is running.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>Bump java library versions</title>
<updated>2015-02-08T04:42:15+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2015-02-08T04:42:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=4231d68bae69d9a7d1f52205002db452cd5f986d'/>
<id>urn:sha1:4231d68bae69d9a7d1f52205002db452cd5f986d</id>
<content type='text'>
Lots of minor API/ABI changes; make sure people can install both 1.5
and 1.6 at the same time.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altosdroid: East and West were flipped in all GPS output</title>
<updated>2014-11-16T21:17:55+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2014-11-16T21:17:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=47956ac01397c0a7fafc6b0a4840113186924b2e'/>
<id>urn:sha1:47956ac01397c0a7fafc6b0a4840113186924b2e</id>
<content type='text'>
East is positive, West is negative

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altosdroid: Save AltosState and restore at startup</title>
<updated>2014-11-16T06:52:42+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2014-11-16T06:52:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=5aae1446026a08bf8f09c56b960545eff30a8bd1'/>
<id>urn:sha1:5aae1446026a08bf8f09c56b960545eff30a8bd1</id>
<content type='text'>
Instead of re-parsing the old logfile, save the current state in the
preferences database and restore at restart of the
TelemetryService. This makes the state get restored even before the BT
connection is recovered.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altosdroid: TabMap needs to expose () constructor</title>
<updated>2014-11-16T06:49:06+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2014-11-16T06:49:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=a488da3ca72fe0778b2d79a8cac935621d1d789d'/>
<id>urn:sha1:a488da3ca72fe0778b2d79a8cac935621d1d789d</id>
<content type='text'>
Otherwise we get an exception at startup time for some reason.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
</feed>
