Jef Driesen 2d7d5152b4 Detect the model number using the hardware type
The model number is stored in the final block of each dive. But for an
efficient implementation of the fingerprint feature, the devinfo event
should be emitted before downloading the manifests or the dives. Thus
reporting the correct model number is problematic.

Currently the model number is simply hardcoded to the value of the
Petrel. This is sufficient for the parser, because there the model
number is only used to distinguish the Predator from all the other
models. Now, because the petrel backend doesn't support the Predator,
and the predator backend (which supports both the Predator and Petrel)
can obtain the correct model number from the final block, the hardcoded
value works fine. Except of course for identifying the actual model!

Allthough there doesn't seems to be a command to retrieve the model
number directly, we can retrieve the hardware type and map that to the
model number.
2017-11-19 19:48:55 +01:00
..
2014-12-21 14:52:12 +01:00
2014-12-21 14:52:12 +01:00
2012-06-21 21:39:24 +02:00
2014-03-19 09:16:07 +01:00
2014-03-19 09:16:07 +01:00
2017-08-18 23:26:45 +02:00
2017-08-18 23:26:45 +02:00
2017-04-22 09:11:41 +02:00
2014-03-14 09:44:10 +01:00
2013-08-22 09:15:55 +02:00
2012-06-21 21:42:37 +02:00
2017-04-24 13:05:20 +02:00
2017-08-18 23:26:45 +02:00
2017-02-16 21:04:59 +01:00
2017-06-28 15:32:39 +02:00
2014-03-19 09:16:07 +01:00
2014-03-19 09:16:07 +01:00
2017-02-16 21:04:59 +01:00
2017-09-11 08:25:51 +02:00
2017-08-18 23:26:45 +02:00
2017-04-24 13:05:20 +02:00
2017-10-09 14:35:36 +02:00