upload rss mode only with 0x1 fixed for door open state
This commit is contained in:
parent
f6fc5b8978
commit
37b1777090
|
@ -247,7 +247,7 @@
|
||||||
|
|
||||||
#define MajorVer 25U
|
#define MajorVer 25U
|
||||||
#define MinorVer 6U
|
#define MinorVer 6U
|
||||||
#define SubMinorVer 16U
|
#define SubMinorVer 17U
|
||||||
#define FirmwareVersion 3U
|
#define FirmwareVersion 3U
|
||||||
|
|
||||||
#define YUNHORN_STS_MAX_NVM_CFG_SIZE 64U
|
#define YUNHORN_STS_MAX_NVM_CFG_SIZE 64U
|
||||||
|
|
|
@ -1053,7 +1053,9 @@ static void SendTxData(void)
|
||||||
AppData.Buffer[i++] = (uint8_t)(sensorData.state_sensor2_on_off)&0xff; //04 Sensor head #2 status reed switch
|
AppData.Buffer[i++] = (uint8_t)(sensorData.state_sensor2_on_off)&0xff; //04 Sensor head #2 status reed switch
|
||||||
} else if (sts_work_mode == STS_RSS_MODE)
|
} else if (sts_work_mode == STS_RSS_MODE)
|
||||||
{
|
{
|
||||||
AppData.Buffer[i++] = (uint8_t)(sensorData.state_sensor1_on_off)&0xff; //03 Sensor head #1 status reed switch
|
// 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)(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.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue