handle++;
if (handle == MAX_HANDLE) {
- ERR("Handles of client %s are full", get_client_name());
+ _E("Handles of client %s are full", get_client_name());
return MAX_HANDLE_REACHED;
}
auto it_handle = m_sensor_handle_infos.find(handle);
if (it_handle == m_sensor_handle_infos.end()) {
- ERR("Handle[%d] is not found for client %s", handle, get_client_name());
+ _E("Handle[%d] is not found for client %s", handle, get_client_name());
return false;
}
auto it_handle = m_sensor_handle_infos.find(handle);
if (it_handle == m_sensor_handle_infos.end()) {
- ERR("Handle[%d] is not found for client %s", handle, get_client_name());
+ _E("Handle[%d] is not found for client %s", handle, get_client_name());
return false;
}
auto it_handle = m_sensor_handle_infos.find(handle);
if (it_handle == m_sensor_handle_infos.end()) {
- ERR("Handle[%d] is not found for client %s", handle, get_client_name());
+ _E("Handle[%d] is not found for client %s", handle, get_client_name());
return false;
}
auto it_handle = m_sensor_handle_infos.find(handle);
if (it_handle == m_sensor_handle_infos.end()) {
- ERR("Handle[%d] is not found for client %s", handle, get_client_name());
+ _E("Handle[%d] is not found for client %s", handle, get_client_name());
return false;
}
auto it_handle = m_sensor_handle_infos.find(handle);
if (it_handle == m_sensor_handle_infos.end()) {
- ERR("Handle[%d] is not found for client %s", handle, get_client_name());
+ _E("Handle[%d] is not found for client %s", handle, get_client_name());
return false;
}
auto it_handle = m_sensor_handle_infos.find(handle);
if (it_handle == m_sensor_handle_infos.end()) {
- ERR("Handle[%d] is not found for client %s", handle, get_client_name());
+ _E("Handle[%d] is not found for client %s", handle, get_client_name());
return false;
}
auto it_handle = m_sensor_handle_infos.find(handle);
if (it_handle == m_sensor_handle_infos.end()) {
- ERR("Handle[%d] is not found for client %s", handle, get_client_name());
+ _E("Handle[%d] is not found for client %s", handle, get_client_name());
return false;
}
auto it_handle = m_sensor_handle_infos.find(handle);
if (it_handle == m_sensor_handle_infos.end()) {
- ERR("Handle[%d] is not found for client %s", handle, get_client_name());
+ _E("Handle[%d] is not found for client %s", handle, get_client_name());
return false;
}
auto it_handle = m_sensor_handle_infos.find(handle);
if (it_handle == m_sensor_handle_infos.end()) {
- ERR("Handle[%d] is not found for client %s", handle, get_client_name());
+ _E("Handle[%d] is not found for client %s", handle, get_client_name());
return false;
}
auto it_handle = m_sensor_handle_infos.find(handle);
if (it_handle == m_sensor_handle_infos.end()) {
- ERR("Handle[%d] is not found for client %s", handle, get_client_name());
+ _E("Handle[%d] is not found for client %s", handle, get_client_name());
return false;
}
auto it_handle = m_sensor_handle_infos.find(handle);
if (it_handle == m_sensor_handle_infos.end()) {
- ERR("Handle[%d] is not found for client %s", handle, get_client_name());
+ _E("Handle[%d] is not found for client %s", handle, get_client_name());
return false;
}
auto it_handle = m_sensor_handle_infos.find(handle);
if (it_handle == m_sensor_handle_infos.end()) {
- ERR("Handle[%d] is not found for client %s", handle, get_client_name());
+ _E("Handle[%d] is not found for client %s", handle, get_client_name());
return false;
}
auto it_handle = m_sensor_handle_infos.find(handle);
if (it_handle == m_sensor_handle_infos.end()) {
- ERR("Handle[%d] is not found for client %s", handle, get_client_name());
+ _E("Handle[%d] is not found for client %s", handle, get_client_name());
return false;
}
auto it_handle = m_sensor_handle_infos.find(handle);
if (it_handle == m_sensor_handle_infos.end()) {
- ERR("Handle[%d] is not found for client %s", handle, get_client_name());
+ _E("Handle[%d] is not found for client %s", handle, get_client_name());
return false;
}
auto it_channel = m_command_channels.find(sensor);
if (it_channel != m_command_channels.end()) {
- ERR("%s alreay has command_channel for %s", get_client_name(), get_sensor_name(sensor));
+ _E("%s alreay has command_channel for %s", get_client_name(), get_sensor_name(sensor));
return false;
}
auto it_channel = m_command_channels.find(sensor);
if (it_channel == m_command_channels.end()) {
- ERR("%s doesn't have command_channel for %s", get_client_name(), get_sensor_name(sensor));
+ _E("%s doesn't have command_channel for %s", get_client_name(), get_sensor_name(sensor));
return false;
}
auto it_channel = m_command_channels.find(sensor_id);
if (it_channel == m_command_channels.end()) {
- ERR("%s doesn't have command_channel for %s", get_client_name(), get_sensor_name(sensor_id));
+ _E("%s doesn't have command_channel for %s", get_client_name(), get_sensor_name(sensor_id));
return false;
}
}
if (!active_sensor_found) {
- DBG("Active sensor[0x%llx] is not found for client %s", sensor, get_client_name());
+ _D("Active sensor[0x%llx] is not found for client %s", sensor, get_client_name());
return false;
}
}
if (!active_sensor_found)
- DBG("Active sensor[0x%llx] is not found for client %s", sensor, get_client_name());
+ _D("Active sensor[0x%llx] is not found for client %s", sensor, get_client_name());
return active_option;
}
auto it_handle = m_sensor_handle_infos.find(handle);
if (it_handle == m_sensor_handle_infos.end()) {
- ERR("Handle[%d] is not found for client %s", handle, get_client_name());
+ _E("Handle[%d] is not found for client %s", handle, get_client_name());
return false;
}
auto it_handle = m_sensor_handle_infos.find(handle);
if (it_handle == m_sensor_handle_infos.end()) {
- ERR("Handle[%d] is not found for client %s", handle, get_client_name());
+ _E("Handle[%d] is not found for client %s", handle, get_client_name());
return false;
}
auto it_handle = m_sensor_handle_infos.find(handle);
if (it_handle == m_sensor_handle_infos.end()) {
- ERR("Handle[%d] is not found for client %s", handle, get_client_name());
+ _E("Handle[%d] is not found for client %s", handle, get_client_name());
return false;
}
auto it_handle = m_sensor_handle_infos.find(handle);
if (it_handle == m_sensor_handle_infos.end()) {
- ERR("Handle[%d] is not found for client %s", handle, get_client_name());
+ _E("Handle[%d] is not found for client %s", handle, get_client_name());
return false;
}