reverse door state 0 as no one, 1 occupied
This commit is contained in:
parent
37b1777090
commit
db4200b575
|
@ -1055,7 +1055,7 @@ static void SendTxData(void)
|
|||
{
|
||||
// 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)(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
|
||||
}
|
||||
else if (sts_work_mode == STS_DUAL_MODE)
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue