Skip to content

Add Cressi Raffaello (model 6) to the Goa family - #134

Open
mikeller wants to merge 1 commit into
subsurface:Subsurface-DS9from
mikeller:feat/cressi-raffaello
Open

Add Cressi Raffaello (model 6) to the Goa family#134
mikeller wants to merge 1 commit into
subsurface:Subsurface-DS9from
mikeller:feat/cressi-raffaello

Conversation

@mikeller

Copy link
Copy Markdown
Member

The Raffaello identifies itself as model 6 via the CMD_VERSION response.
It is fully compatible with the existing Goa BLE protocol and parser;
firmware 3.09 maps to format version 5 via the existing firmware-range
logic.

Add a descriptor entry and include model 6 in the BLE filter so the
Raffaello can be selected directly by name and auto-detected via its
'6_' BLE advertisement prefix.

The Raffaello identifies itself as model 6 via the CMD_VERSION response.
It is fully compatible with the existing Goa BLE protocol and parser;
firmware 3.09 maps to format version 5 via the existing firmware-range
logic.

Add a descriptor entry and include model 6 in the BLE filter so the
Raffaello can be selected directly by name and auto-detected via its
'6_<hex>' BLE advertisement prefix.

Tested against a Cressi Raffaello (firmware 3.09, hardware 2.09) with
the Cressi KS881000 Bluetooth interface on macOS; all 24 dives downloaded
successfully.

// AI-generated (Claude)

Signed-off-by: Michael Keller <github@ike.ch>
Copilot AI lite review requested due to automatic review settings September 10, 2026 19:09

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The functional changes are minimal and consistent with existing Goa-family handling, with only a minor table formatting nit noted.

Pull request overview

Adds support for the Cressi Raffaello as part of the existing Cressi Goa device family so it can be selected by name and auto-detected over BLE using the existing Cressi BLE matching logic.

Changes:

  • Add a new dc_descriptor_t entry for Cressi Raffaello (model 6) under DC_FAMILY_CRESSI_GOA.
  • Include model 6 in the Cressi BLE model filter list so BLE auto-detection recognizes the 6_<hex> advertisement prefix.
File summaries
File Description
src/descriptor.c Adds the Raffaello descriptor (model 6) and includes model 6 in the Cressi BLE filter list for Goa-family auto-detection.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread src/descriptor.c
{"Cressi", "Leonardo 2.0", DC_FAMILY_CRESSI_GOA, 3, DC_TRANSPORT_SERIAL | DC_TRANSPORT_BLE, dc_filter_cressi},
{"Cressi", "Donatello", DC_FAMILY_CRESSI_GOA, 4, DC_TRANSPORT_SERIAL | DC_TRANSPORT_BLE, dc_filter_cressi},
{"Cressi", "Michelangelo", DC_FAMILY_CRESSI_GOA, 5, DC_TRANSPORT_SERIAL | DC_TRANSPORT_BLE, dc_filter_cressi},
{"Cressi", "Raffaello", DC_FAMILY_CRESSI_GOA, 6, DC_TRANSPORT_SERIAL | DC_TRANSPORT_BLE, dc_filter_cressi},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants