API / mini Series API / 0x0105 Streaming Control
Start/Stop Streaming
🚨
1. These 0xE0 commands apply to streaming functions on mini series devices.
2. For clarity, the first 19 bytes are displayed as text, and the data block is displayed in JSON format.
3. No checksum verification is performed on this command data block.
Applicable Devices : mini-pro, mini-pro V3, mini v3, mini-ISO, mini-mx, mini-edge
📢 Set the UDP port to 1001 when using this command.
| Symbol | Definition | Remarks |
|---|---|---|
| Start bit | < | The command uses "<" as the start bit |
| Transmit | T | |
| ADDR | 0x00 | |
| SN | 0x00 | |
| CMD | 0xE0 | |
| DAT1 | 0x01 | |
| DAT2 | 0x05 | |
| DAT3 | 0x00 | Data block length (LSB) |
| DAT4 | 0x00 | Data block length (MSB) |
| CHKSUM | Check sum = ADDR + SN + CMD + DAT1 + DAT2 + DAT3 + DAT4 | |
| End bit | > | The command uses ">" as the end bit |
Command Example (Send)
<T0000e001051d0003>{"ispush":true,"language":1}
Command Example (Response)
<F0000e001053d0023>{"code":0,"deviceUuid":"0122477JPRTA69000001","msg":"成功"}
Sent Data Block Description
| Parameter | Required | Type | Description |
|---|---|---|---|
ispush | * | Boolean | true: start streaming false: turn off streaming |