The data length of the scenario mode sent from the cloud to the gateway is 2 + 26*n, n<=8, which is up to 210 bytes. However, a single message of the Zigbee sub-device cannot exceed 70 bytes, in this case, the scene mode data needs to be compressed. The data length after compression is 2+8*n, n<=8. The maximum length is 66 bytes.