|
|
|
@ -1556,7 +1556,10 @@ bool CPhoneDevice::TakePhotoWithNetCamera(IDevice::PHOTO_INFO& localPhotoInfo, c
|
|
|
|
|
if (netHandle == 0)
|
|
|
|
|
{
|
|
|
|
|
// timeout
|
|
|
|
|
XYLOG(XYLOG_SEVERITY_ERROR, "Ethernet not existing CH=%u PR=%X PHOTOID=%u", (uint32_t)localPhotoInfo.channel, (uint32_t)localPhotoInfo.preset, localPhotoInfo.photoId);
|
|
|
|
|
std::string pwrStatus = powerCtrlPtr->GetStatus();
|
|
|
|
|
pwrStatus += ethernetPowerCtrl->GetStatus();
|
|
|
|
|
XYLOG(XYLOG_SEVERITY_ERROR, "Ethernet Not Existing CH=%u PR=%X PHOTOID=%u PWR:%s",
|
|
|
|
|
(uint32_t)localPhotoInfo.channel, (uint32_t)localPhotoInfo.preset, localPhotoInfo.photoId, pwrStatus.c_str());
|
|
|
|
|
TakePhotoCb(0, localPhotoInfo, "", 0);
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|