Qt bluetooth with miss-behaving devices

2015-09-12 Thread Anton Lundin
Hi. I've bin working on connecting the qtbluetooth code with the configure dive computer code. I've noticed that if you work with a miss-behaving device, ei one that never answers, the read call in qt_serial_read never times out and if something bad happens you can get stuck in the while loop

[PATCH 1/3] Lift dis- and connect out from config operations

2015-09-12 Thread Anton Lundin
When working with ostc's via bluetooth, they will reboot and exit bluetooth mode when you send the disconnect command. Thats kinda inconvenient when you would like to read your settings, change something and write it back, you need to start bluetooth mode on your device twice. Signed-off-by:

Re: [PATCH] VPM-B: Calculate ceiling in deepest portion of dive

2015-09-12 Thread Robert C. Helling
Rick, very nice, thank you! Just one question: > On 12 Sep 2015, at 04:10, Rick Walsh > wrote: > > + if ((prefs.deco_mode == VPMB) && (lastdepth.mm > > sample->depth.mm)) { Ah no. I tried three times to formulate a question

[PATCH] Update spanish translation of user-manual to english 0dd32d3

2015-09-12 Thread Salvador Cuñat
Easy access to cloud storage. Signed-off-by: Salvador Cuñat --- Documentation/user-manual_es.txt | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/Documentation/user-manual_es.txt b/Documentation/user-manual_es.txt index

Re[2]: Uemis patch 10-12

2015-09-12 Thread Guido Lerch
Hi Dirk That was actually the next thing I am working on after I have fixed a nasty bug that I found after merging two dives together. Is is Uemis code specific. I realize the code doesn't read nice but wanted something working before looking at cosmetics. Retrospectively this was a bad idea