API / D8 / D8 0x01 Query Device Model
D8: Query Device Model
| Symbol | Definition | Remarks |
|---|---|---|
| Start bit | < | The command uses "<" as the start bit |
| Transmit | T | |
| ADDR | 0x00 | |
| SN | 0x00 | |
| CMD | 0x68 | |
| DAT1 | 0x01 | Query Device Model |
| DAT2 | 0x00 | Not used |
| DAT3 | 0x00 | Not used |
| DAT4 | 0x00 | Not used |
| CHKSUM | Check sum = ADDR + SN + CMD + DAT1 + DAT2 + DAT3 + DAT4 | |
| End bit | > | The command uses ">" as the end bit |
Command list
| Query Device Model | Start bit | Instruction Type | Address | SN | Command | Data 1 | Data 2 | Data 3 | Data 4 | Checksum | End bit |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Query | < | T | 00 | 00 | 68 | 01 | 00 | 00 | 00 | 69 | > |
Command readback
| Symbol | Definition | Remarks |
|---|---|---|
| Start bit | < | The command uses "<" as the start bit |
| Transmit | F | |
| ADDR | 0x00 | |
| SN | 0x00 | |
| CMD | 0x68 | |
| DAT1 | 0x01 | Query Device Model |
| DAT2 | High byte of primary device type | |
| DAT3 | Low byte of primary device type | |
| DAT4 | Secondary device type (e.g. hardware revision or feature update); usually 0x00 | |
| CHKSUM | Check sum = ADDR + SN + CMD + DAT1 + DAT2 + DAT3 + DAT4 | |
| End bit | > | The command uses ">" as the end bit |
Application example
| Function | Send & readback | Result |
|---|---|---|
| Query Device Model | <T0000680100000069> | |
| <F00006801261001A0> | Device type: Q2 Gen2 with H.264 preview functionality |
Device Type Reference
| Device | DAT2 DAT3 DAT4 |
|---|---|
| D8 | 62 91 00 |