From 4e163f5c9ae7aa7df550b4e4672fbae75f39dbae Mon Sep 17 00:00:00 2001 From: Steven Dotts Date: Wed, 22 Jul 2026 15:08:02 -0500 Subject: [PATCH 1/2] feat: add set_sync_channel_number message to OmniScan450 - Message ID 170 - Sets the channel number for device synchronization --- src/definitions/omniscan450.json | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/definitions/omniscan450.json b/src/definitions/omniscan450.json index 04b3a159..8f376036 100644 --- a/src/definitions/omniscan450.json +++ b/src/definitions/omniscan450.json @@ -113,6 +113,17 @@ "default": 0 } ] + }, + "set_sync_channel_number": { + "id": 170, + "description": "Set the channel number of the OS.", + "payload": [ + { + "name": "channel_number", + "type": "u8", + "description": "channel number assigned to this device" + } + ] } }, "get": { From d794205d65d713c3cfaa44ff70792ea787e51cba Mon Sep 17 00:00:00 2001 From: Steven Dotts Date: Wed, 22 Jul 2026 16:51:04 -0500 Subject: [PATCH 2/2] Corrected set_sync_channel_number 170 to have correct structure Added Getter for sync_channel_number ID 169 --- src/definitions/omniscan450.json | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/src/definitions/omniscan450.json b/src/definitions/omniscan450.json index 8f376036..418aa7c9 100644 --- a/src/definitions/omniscan450.json +++ b/src/definitions/omniscan450.json @@ -122,11 +122,32 @@ "name": "channel_number", "type": "u8", "description": "channel number assigned to this device" + }, + { + "name": "number_of_channels", + "type": "u8", + "description": "number of sonars to be synchronized" } ] } }, "get": { + "sync_channel_number": { + "id": 169, + "description": "Get the current channel number of the OS.", + "payload": [ + { + "name": "channel_number", + "type": "u8", + "description": "channel number assigned to this device" + }, + { + "name": "number_of_channels", + "type": "u8", + "description": "number of sonars to be synchronized" + } + ] + }, "os_mono_profile": { "id": 2198, "description": "A profile produced from a single acoustic measurement. The data returned is an array of response strength, in dB, at even intervals across the scan region. The scan region is defined as the region between and millimeters away from the transducer. Note that the amplitude of the results are in dB. This is just to keep high dynamic range in the u16 sized data elements. Normally these are converted back to linear power or signal levels.",