From 37a8a241a9f80bf3ec30b746d895fe7a8b6deece Mon Sep 17 00:00:00 2001 From: tholok Date: Wed, 3 Jun 2026 12:48:29 +0200 Subject: [PATCH] document dvl tcp json get_version_info --- docs/dvl/dvl-json-protocol.md | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/docs/dvl/dvl-json-protocol.md b/docs/dvl/dvl-json-protocol.md index c649bfa..36a28a8 100644 --- a/docs/dvl/dvl-json-protocol.md +++ b/docs/dvl/dvl-json-protocol.md @@ -22,7 +22,7 @@ This document describes TCP JSON API version `json_v3.3` (major.minor): | Software release | Ethernet protocol version | Main protocol improvements | | -- | -- | -- | -| 2.7.2 | json_v3.3 | Add TCP JSON time API | +| 2.7.2 | json_v3.3 | Add TCP JSON time API. Add get_version_info command | | 2.7.1 | json_v3.2 | Add water tracking mode and tracking mode field in velocity reports | | 2.6.1 | json_v3.1 | Serial baud rate configurable. Add PD4 format support in serial 'wcp' command. Some serial protocol names [changed](dvl-serial-protocol.md#change-serial-output-protocol-wcp). | | 2.5.2 | json_v3.1 | Add PD4 format support (experimental) @@ -253,6 +253,36 @@ The response will be as follows if the command is accepted. If the queue is full } ``` +### Get version info + +Get version info by issuing the `get_version_info` command. + +``` +{"command":"get_version_info"} +``` + +A successful response looks like this: + +``` +{ + "response_to": "get_version_info", + "success": true, + "error_message": "", + "result": { + "chipid": "0xf1440c09140b04", + "hardware_revision": 4, + "product_id": 21035, + "product_name": "DVL A50", + "variant": "standard", + "version_short": "2.7.2", + "version": "2.7.2 (v2.7.1b-10-g44e26c7.2026-05-29T12:51:02.882778)", + "is_ready": true + }, + "format": "json_v3.3", + "type": "response" +} +``` + ### Time #### Setting NTP configuration