|
86 | 86 | "description": "0: Disable, 1: Enable." |
87 | 87 | } |
88 | 88 | ] |
| 89 | + }, |
| 90 | + "set_oss_profile_configuration": { |
| 91 | + "id": 1007, |
| 92 | + "description": "Set the profile output configuration. (Open source firmware only)", |
| 93 | + "payload": [ |
| 94 | + { |
| 95 | + "name": "number_of_points", |
| 96 | + "type": "u16", |
| 97 | + "description:": "Total number of points sent from sonar to host computer in the profile message." |
| 98 | + }, |
| 99 | + { |
| 100 | + "name": "normalization_enabled", |
| 101 | + "type": "u8", |
| 102 | + "description": "If enabled, the profile data is scaled so that the maximum value aligns with the upper limit of 255. (0: Disabled, 1: Enabled)" |
| 103 | + }, |
| 104 | + { |
| 105 | + "name": "enhance_enabled", |
| 106 | + "type": "u8", |
| 107 | + "description": "If enabled, the profile data will be unevenly scaled to enhance peak values. (0: Disabled, 1: Enabled)" |
| 108 | + } |
| 109 | + ] |
89 | 110 | } |
90 | 111 | }, |
91 | 112 | "get": { |
|
409 | 430 | "description": "An array of return strength measurements taken at regular intervals across the scan region. The first element is the closest measurement to the sensor, and the last element is the farthest measurement in the scanned range." |
410 | 431 | } |
411 | 432 | ] |
| 433 | + }, |
| 434 | + "oss_profile_configuration": { |
| 435 | + "id": 1301, |
| 436 | + "description": "Get the profile output configuration. (Open source firmware only)", |
| 437 | + "payload": [ |
| 438 | + { |
| 439 | + "name": "number_of_points", |
| 440 | + "type": "u16", |
| 441 | + "description:": "Total number of points sent from sonar to host computer in the profile message." |
| 442 | + }, |
| 443 | + { |
| 444 | + "name": "normalization_enabled", |
| 445 | + "type": "u8", |
| 446 | + "description": "If enabled, the profile data is scaled so that the maximum value aligns with the upper limit of 255. (0: Disabled, 1: Enabled)" |
| 447 | + }, |
| 448 | + { |
| 449 | + "name": "enhance_enabled", |
| 450 | + "type": "u8", |
| 451 | + "description": "If enabled, the profile data will be unevenly scaled to enhance peak values. (0: Disabled, 1: Enabled)" |
| 452 | + } |
| 453 | + ] |
412 | 454 | } |
413 | 455 | }, |
414 | 456 | "control": { |
|
0 commit comments