KC868-H8&H32 Comminucation Protocol for Secondary development
Relay Controlling(SET): RELAY-SET-x(1bytepack_num),x(1byterelayserialnumber),x(1byteaction0/1) RETURN: RELAY-SET-x(1bytepack_num),x(1byterelayserialnumber),x(1byteaction0/1),OK/ERROR Relay Status(READ): RELAY-READ-x(1bytepack_num),x(1byterelayserialnumber) RETURN: RELAY-READ-x(1bytepack_num),x(1byterelayserialnumber),x(1bytestatus0/1),OK/ERROR Input Status(GET_INPUT): RELAY-GET_INPUT-x(1bytepack_num) RETURN: RELAY-GET_INPUT-x(1bytepack_num),x(1bytestatus),OK/ERROR Trigger Alarm(ALARM): RELAY-ALARM-x(1bytealarmchannel) BACKSTAGE RETURN: RELAY-ALARM-x(1bytealarmchannel),OK/ERROR Re: Without receiving the RETURN, ALARM will be re-triggered every 3 seconds, totally re-triggered 3 times. Scanning(SCAN_DEVICE): RELAY–SCAN_DEVICE–NOW RETURN: RELAY–SCAN_DEVICE–CHANNEL_8,OK/ERROR Serial Number acquisition(HOST): RELAY-HOST-NOW(under TCP working mode) RETURN: HOST-CHKLIC-97813679bd8cc4c42ddb6c27(return…