1.修复WiFi和蓝牙设置集中发送
This commit is contained in:
parent
c75b6bee25
commit
38743429cd
|
@ -665,7 +665,7 @@ static signed int sf_blue_command_request_process(U8 *val, unsigned int nval, U8
|
|||
BLU_SLOGI("[BLE_SET_CAMERA_SendType],sendType:%d\n",pMsgStruct->msgBuf.setSendType.sendType);
|
||||
if(puiPara->GprsMode == 0)
|
||||
{
|
||||
puiPara->SendType = pMsgStruct->msgBuf.setSendType.sendType % 3;
|
||||
puiPara->SendType = pMsgStruct->msgBuf.setSendType.sendType % 4;
|
||||
puiPara->TimeSend1.Hour = pMsgStruct->msgBuf.setSendType.sendFirstTimeH % 24;
|
||||
puiPara->TimeSend1.Min = pMsgStruct->msgBuf.setSendType.sendFirstTimeM % 60;
|
||||
puiPara->TimeSend2.Hour = pMsgStruct->msgBuf.setSendType.sendSecondTimeH % 24;
|
||||
|
|
|
@ -1592,7 +1592,7 @@ SINT32 sf_svr_packet_proc(SINT32 fd, UINT8 *pAppData, UINT16 dataLen)
|
|||
MLOGI("[WIFI_SET_CAMERA_SendType],sendType:%d\n",pMsgStruct->msgBuf.setSendType.sendType);
|
||||
if(puiPara->GprsMode == 0)
|
||||
{
|
||||
puiPara->SendType = pMsgStruct->msgBuf.setSendType.sendType % 3;
|
||||
puiPara->SendType = pMsgStruct->msgBuf.setSendType.sendType % 4;
|
||||
puiPara->TimeSend1.Hour = pMsgStruct->msgBuf.setSendType.sendFirstTimeH % 24;
|
||||
puiPara->TimeSend1.Min = pMsgStruct->msgBuf.setSendType.sendFirstTimeM % 60;
|
||||
puiPara->TimeSend2.Hour = pMsgStruct->msgBuf.setSendType.sendSecondTimeH % 24;
|
||||
|
|
Loading…
Reference in New Issue
Block a user