@@ -45,8 +45,6 @@ static Model models[TOT_MODELS] =
45
45
46
46
#define MAX_LENGTH_OF_ANSWER 63 * 2 + 4 + 1
47
47
48
- // const unsigned char allPartitions[4] = { 0xFF, 0xFF, 0xFF, 0xFF };
49
-
50
48
SatelIntegra::SatelIntegra (const int ID, const std::string &IPAddress, const unsigned short IPPort, const std::string& userCode) :
51
49
m_modelIndex(-1 ),
52
50
m_data32(false ),
@@ -112,7 +110,7 @@ SatelIntegra::SatelIntegra(const int ID, const std::string &IPAddress, const uns
112
110
113
111
SatelIntegra::~SatelIntegra ()
114
112
{
115
- _log.Log (LOG_NORM , " Satel Integra: Destroy instance" );
113
+ _log.Log (LOG_STATUS , " Satel Integra: Destroy instance" );
116
114
}
117
115
118
116
bool SatelIntegra::StartHardware ()
@@ -354,7 +352,7 @@ bool SatelIntegra::GetInfo()
354
352
}
355
353
else
356
354
{
357
- _log.Log (LOG_STATUS , " Satel Integra: unknown version of ETHM-1" );
355
+ _log.Log (LOG_ERROR , " Satel Integra: unknown version of ETHM-1" );
358
356
return false ;
359
357
}
360
358
}
@@ -1088,7 +1086,7 @@ int SatelIntegra::SendCommand(const unsigned char* cmd, const unsigned int cmdLe
1088
1086
1089
1087
if ((ret <= 0 ) || (ret >= MAX_LENGTH_OF_ANSWER))
1090
1088
{
1091
- _log.Log (LOG_STATUS , " Satel Integra: bad data length received" );
1089
+ _log.Log (LOG_ERROR , " Satel Integra: bad data length received" );
1092
1090
return -1 ;
1093
1091
}
1094
1092
@@ -1155,7 +1153,7 @@ int SatelIntegra::SendCommand(const unsigned char* cmd, const unsigned int cmdLe
1155
1153
{
1156
1154
if (buffer[0 ] == 16 )
1157
1155
{
1158
- _log.Log (LOG_STATUS , " Satel Integra: busy" );
1156
+ _log.Log (LOG_ERROR , " Satel Integra: busy" );
1159
1157
return -1 ;
1160
1158
}
1161
1159
else
0 commit comments