Uwe Ohse / available software / The mosquitotools package / mosquitotools demonstration

mosquitoget demonstration

How to get the dive data

Assuming your dive computer is attached to "/dev/tty9", then mosquitoget -d /dev/tty9 will create a number of files. If your dive computer cannot get the air usage information, and you want to save bottle volume, start and end bottle pressure for later use, then you can say
mosquitoget -d /dev/tty9 --volume 10 \
  --pressure-at-start 200 --pressure-at-end 50
or, much shorter,
mosquitoget -d /dev/tty9 -V 10 -s 200 -e 50
mosquitoget creates one output file per dive named yyyy-mm-ddThh:mm-x.dive (or .freedive). The files contains ascii text and may be changed using any text editor, allowing you to enter additional information and comments later on.

mosquitoget will usually stop as soon as it detects the first dive profile already existing on the file system. The --all option makes it continue to read dive profiles from the computer.

Getting a snapshot of the computers configuration

mosquitoget -d /dev/ttyS9 --config-only
prints the dive computers configuration to the standard output as a memory dump of the configuration followed by a textual representation.
#conf
*config0
R0000 0e e6 80 a0 01 a0 54 fa 02 7b 1e 00 00 00 00 00 
R0010 00 00 00 00 11 93 00 01 a7 74 00 00 00 00 5a 78 
[...]
R0070 00 
:conf-type Mosquito
:conf-max-depth 55.15
:conf-total-dive-time 1528
:conf-total-dives 29
:conf-user Suunto Diver
[...]

Getting a snapshot of the computers memory

To to see 128 bytes of the computers memory starting from Position 256 use this:
mosquitoget -d /dev/ttyS9 --get-mem 256:128
The output is something like this:
uwe@ranan suuntolink $ ./mosquitoget --get-mem 256:256
#mem-256-128
*mem
% off 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f
R0100 00 00 ff ff fc 7d 80 17 17 00 00 00 00 0f 02 43 
R0110 00 00 00 16 03 06 0c 12 21 07 01 01 00 00 01 00 
[...]
Note that you do not have to care about the dive computers transfer block size limits.