This commit is contained in:
zhangsheng 2025-04-29 21:54:18 +08:00
parent 2c82180a5e
commit 83379035a5
2 changed files with 2 additions and 2 deletions

View File

@ -449,7 +449,7 @@ int Uart::DealWaveCompress(const char *pData,uint16_t ushortAdd){
sprintf(errorInfo, "No RSSI %s", sensor_rssi);
zlog_error(zct, errorInfo);
} else {
char tableName[100] = {0x00};
char tableName[100] = {0x00};
char whereCon[100] = {0};
char updateSql[100] = {0};
sprintf(whereCon, "zigbeeShortAddr='%02x%02x'", UINT16_HIGH(ushortAdd),UINT16_LOW(ushortAdd));

View File

@ -633,7 +633,7 @@ int Uart::WaveResp(uint16_t shortAddr){
sendData[2] = 0xAA;
sendData[3] = (shortAddr >> 8) & 0xFF;
sendData[4] = shortAddr & 0xFF;
sendData[5] = 0x11;
sendData[5] = 0x12;
sendData[6] = 0x00;
unsigned char tmp = 0x00;
for (int k = 0; k < 7; k++) {