-
Notifications
You must be signed in to change notification settings - Fork 0
Rayence FPD command protocol
Alex edited this page Sep 23, 2019
·
2 revisions
Page with description Rayence Protocol
Table 1. Protocol Transport description
Description | Socket Type | Port |
---|---|---|
Control Task | TCP | 20000 |
Send Task | TCP | 20001 |
Table 2. Protocol packet structure
Byte position | Value |
---|---|
0:3 | Command ID |
4:131 | Payload |
Table 3. Command type decoding
Command type | Command ID sended in device | Command ID received from device |
---|---|---|
AUX | x | x ∧ 0x1000 |
BAK | x | x ∧ 0x2000 |
Table 4. AUX Command list
VADAV Command ID(PC -> TFT) | Davinchy Command ID(TFT -> PC) | R/W type | Data count sended to detector | Data count received from detector | Payload | Description |
---|---|---|---|---|---|---|
0x10000 | 0x11000 | R | 132 | 132 | 4:131 | AUX_DEF_STAT |
0x10001 | 0x11001 | R | 132 | 132 | 4:131 | AUX_LED_STAT |
0x10002 | N/A | W | 132 | N/A | 4:131 | AUX_SET_TIME |
0x10003 | 0x11003 | R | 132 | 132 | 4:131 | AUX_GCAL |
0x10010 | 0x11010 | R | 132 | 132 | 4:131 | AUX_VER_FIRM |
0x10011 | 0x11011 | R | 132 | 132 | 4:131 | AUX_VER_FPGA |
0x10012 | 0x11012 | R | 132 | 132 | 4:131 | AUX_VER_MAIN |
0x10013 | 0x11013 | R | 132 | 132 | 4:131 | AUX_VER_TFTP |
0x10014 | 0x11014 | R | 132 | 132 | 4:131 | AUX_VER_CSIS |
0x10015 | 0x11015 | R | 132 | 132 | 4:131 | AUX_VER_LICENSE |
0x10016 | 0x11016 | R | 132 | 132 | 4:131 | AUX_VER_IP |
0x10017 | 0x11017 | R | 132 | 132 | 4:131 | AUX_VER_MAC |
0x10020 | 0x11020 | R | 132 | 132 | 4:131 | AUX_SELF_ELST |
0x10021 | 0x11021 | R | 132 | 132 | 4:131 | AUX_SELF_ELAM |
0x10023 | 0x11023 | R | 132 | 132 | 4:131 | AUX_SELF_PLST |
0x10024 | 0x11024 | R | 132 | 132 | 4:131 | AUX_SELF_XTST |
0x10025 | 0x11025 | R | 132 | 132 | 4:131 | AUX_DETE_STAT |
0x10026 | 0x11026 | R | 132 | 132 | 4:131 | AUX_FRAME_NUM |
0x10027 | 0x11027 | R | 132 | 132 | 4:131 | AUX_FRAME_LOAD |
0x10028 | 0x11028 | R | 132 | 132 | 4:131 | AUX_REMAIN_FRAME_LOAD |
0x10029 | 0x11029 | R | 132 | 132 | 4:131 | AUX_REMAIN_FRAME_REMOVE |
0x10030 | 0x11030 | R | 132 | 132 | 4:131 | AUX_TEST_PATTERN_START |
0x10040 | 0x11040 | R | 132 | 132 | 4:131 | AUX_RST_HARD |
0x10050 | 0x11050 | R | 132 | 132 | 4:131 | AUX_XIMG_RSND |
0x10060 | 0x11060 | R | 132 | 132 | 4:131 | AUX_GET_COUNT |
0x10070 | 0x11070 | R | 132 | 132 | 4:131 | AUX_CHECK_FIRM |
0x10080 | 0x11080 | R | 132 | 132 | 4:131 | AUX_SLEEP |
0x10081 | 0x11081 | R | 132 | 132 | 4:131 | AUX_WAKEUP |
0x10082 | 0x11082 | R | 132 | 132 | 4:131 | AUX_BATTERY |
Table 5. BAK Command list
VADAV Command ID(PC -> TFT) | Davinchy Command ID(TFT -> PC) | R/W type | Data count sended to detector | Data count received from detector | Payload | Description |
---|---|---|---|---|---|---|
0x20000 | N/A | W | 132 | 132 | 4:26 = "enter backup mode..." | BAK_ENTER_BACKUP_MODE |
0x20012 | 0x22012 | W | 132 | 132 | 4:131 | BAK_WR_WMBD |
0x20014 | 0x22014 | W | 132 | 132 | 4:131 | BAK_WR_VPNL |
0x20016 | 0x22016 | W | 132 | 132 | 4:131 | BAK_WR_VCSI |
0x20021 | 0x22021 | R | 132 | 132 | 4:131 | BAK_RD_ELAD |
0x20022 | 0x22022 | W | 132 | 132 | 4:131 | BAK_WR_ELAD |
0x20023 | 0x22023 | R | 132 | 132 | 4:131 | BAK_RD_ELAF |
0x20024 | 0x22024 | W | 132 | 132 | 4:131 | BAK_WR_ELAF |
Table 6. CAPTURE Command list
VADAV Command ID(PC -> TFT) | Davinchy Command ID(TFT -> PC) | R/W type | Data count sended to detector | Data count received from detector | Payload | Description |
---|---|---|---|---|---|---|
0x7 | N/A | R | 132 | 0 | 0 | CAPTURE_READYIN |
N/A | 0x1 | R | 0 | 132 | 0 | CAPTURE_SHOCK_DETECTING |
N/A | 0x5 | R | 0 | 132 | 4:131 | CAPTURE_RECV_PERCENTS |
0x1 | 0x11 | R | 0 | 132 | 0 | CAPTURE_INITIALISATION_DONE |
0x2 | 0x12 | R | 0 | 132 | 0 | CAPTURE_START_DONE |
0x3 | 0x13 | R | 0 | 132 | 0 | CAPTURE_ABORT_DONE |
N/A | 0x14 | R | 0 | 132 | 0 | CAPTURE_ELSET_DONE |
N/A | 0x17 | R | 0 | 132 | 0 | CAPTURE_READY_DONE |
N/A | 0x19 | R | 0 | 132 | 0 | CAPTURE_BATERY_REMAIN |
N/A | 0x1A | R | 0 | 132 | 0 | CAPTURE_WLAN_RSSI |
0xB | 0x1B | R | 0 | 132 | 0 | CAPTURE_SHUTDOWN |
N/A | 0x20 | R | 0 | 132 | 0 | CAPTURE_REDARK_DONE |
N/A | 0x21 | R | 0 | 132 | 0 | CAPTURE_XRAY_START |
N/A | 0x22 | R | 0 | 132 | 0 | CAPTURE_XRAY_STOP |
N/A | 0x23 | R | 0 | 132 | 0 | CAPTURE_READY_ON |
N/A | 0x24 | R | 0 | 132 | 0 | CAPTURE_READY_OFF |
N/A | 0x31 | R | 0 | 132 | 4:131 | CAPTURE_THERMAL_INFO |
N/A | 0x51 | R | 0 | 132 | 4:131 | CAPTURE_AT_INFO |
N/A | 0x52 | R | 0 | 132 | 0 | CAPTURE_AT_READY |
N/A | 0x53 | R | 0 | 132 | 0 | CAPTURE_MSG_AT_MODE |
N/A | 0x54 | R | 0 | 132 | 0 | CAPTURE_DO_SAT |
N/A | 0x55 | R | 0 | 132 | 0 | CAPTURE_DO_SHIFT |
N/A | 0x56 | R | 0 | 132 | 0 | CAPTURE_REDARK |
N/A | 0x57 | R | 0 | 132 | 0 | CAPTURE_AT_WAIT |
N/A | 0x58 | R | 0 | 132 | 0 | CAPTURE_NO_REMAIN_FRAME |
N/A | 0x59 | R | 0 | 132 | 4:131 | CAPTURE_AXIS_INFO |
N/A | 0x60 | R | 0 | 132 | 0 | CAPTURE_GAIN_BINING_FRAME_SYMPTOME |
N/A | 0xFF | R | 0 | 132 | 0 | CAPTURE_FRAME_DONE |
Table 7. CONFIG Command list
VADAV Command ID(PC -> TFT) | Davinchy Command ID(TFT -> PC) | R/W type | Data count sended to detector | Data count received from detector | Payload | Description |
---|---|---|---|---|---|---|
0x5 | 0x15 | R | 132 | 132 | 4:131 | CONFIG_INIT_UP_DONE |
0x6 | 0x16 | R | 132 | 132 | 4:131 | CONFIG_ELSET_UP_DONE |
0xC | 0x1 | W | 132 | 132 | 4:131 | CONFIG_INIT_SAVE |
0xD | 0x1 | W | 132 | 132 | 4:131 | CONFIG_ELSET_SAVE |
0x32 | 0x1 | W | 132 | 132 | 4:131 | CONFIG_ELSET2_SAVE |
0x33 | 0x1 | W | 132 | 132 | 4:131 | CONFIG_ELSET3_SAVE |
0x34 | 0x44 | R | 132 | 132 | 4:131 | CONFIG_ELSET_UP2_DONE |
0x35 | 0x45 | R | 132 | 132 | 4:131 | CONFIG_ELSET_UP3_DONE |