reverse door state 0 as no one, 1 occupied

This commit is contained in:
Yunhorn 2025-06-17 17:16:59 +08:00
parent 37b1777090
commit db4200b575
4 changed files with 1 additions and 1 deletions

View File

@ -1055,7 +1055,7 @@ static void SendTxData(void)
{ {
// 2025-06-17, eliminate reed switch state upload // 2025-06-17, eliminate reed switch state upload
//AppData.Buffer[i++] = (uint8_t)(sensorData.state_sensor1_on_off)&0xff; //03 Sensor head #1 status reed switch //AppData.Buffer[i++] = (uint8_t)(sensorData.state_sensor1_on_off)&0xff; //03 Sensor head #1 status reed switch
AppData.Buffer[i++] = (uint8_t)(0x01)&0xff; //03 Sensor head #1 status reed switch keep to 0x01 door open AppData.Buffer[i++] = (uint8_t)(0x00)&0xff; //03 Sensor head #1 status reed switch keep to 0x00 NO OCCUPY
AppData.Buffer[i++] = (uint8_t)(sensorData.state_sensor3_on_off)&0xff; //04 Sensor head #3 status RSS motion AppData.Buffer[i++] = (uint8_t)(sensorData.state_sensor3_on_off)&0xff; //04 Sensor head #3 status RSS motion
} }
else if (sts_work_mode == STS_DUAL_MODE) else if (sts_work_mode == STS_DUAL_MODE)

Binary file not shown.

Binary file not shown.