Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
soplarpet:tcp_communication [2024/09/16 10:12] superuser created |
soplarpet:tcp_communication [2024/09/17 12:43] (current) superuser |
||
|---|---|---|---|
| Line 42: | Line 42: | ||
| - **Description:** Sets the carrier ID to the specified number. This ID will be added to metadata of image. | - **Description:** Sets the carrier ID to the specified number. This ID will be added to metadata of image. | ||
| - **Example:** `carrierID 456` | - **Example:** `carrierID 456` | ||
| + | - **DEPRECATED**: use **meta ** command to set additional metadata | ||
| 5. **mask** | 5. **mask** | ||
| - **Format:** `mask <number>` | - **Format:** `mask <number>` | ||
| - **Description:** Sets the camera mask to the specified number. Allows to disable certain camera trigger. | - **Description:** Sets the camera mask to the specified number. Allows to disable certain camera trigger. | ||
| - | - **Example:** `mask 111110` - will disable camera 6 | + | - **Example:** `mask 5` - will only enable cameras 3 and 1 since 5 = 0b00000101 |
| 6. **meta** | 6. **meta** | ||
| - **Format:** `meta <string>` | - **Format:** `meta <string>` | ||
| - **Description:** Sets additional metadata to an image. The metadata is reset after each trigger, so must be set **BEFORE** trigger. | - **Description:** Sets additional metadata to an image. The metadata is reset after each trigger, so must be set **BEFORE** trigger. | ||
| - | - **Example:** `[S]meta:"some metadata";trigger 123[E]` | + | - **Example:** `[S]meta:"some metadata\nsupports\nmultiple\lines";trigger 123[E]` |
| ===== Example Calls ===== | ===== Example Calls ===== | ||
| Line 66: | Line 66: | ||
| [S]meta:"some metadata";carrierID 456;trigger 123[E] | [S]meta:"some metadata";carrierID 456;trigger 123[E] | ||
| </code> | </code> | ||
| - | - **Description:** Sets metadata to "some metadata"(without quotes), sets carrierID to 456 and triggers camera with the trigger id 123 | + | - **Description:** Sets metadata to "some metadata"(without quotes), sets carrierID to 456 and triggers camera with trigger id 123 |