1.增加SF_4G_MODE_TEST宏开关
This commit is contained in:
parent
1182e8f476
commit
9f3b279232
|
@ -979,6 +979,8 @@
|
|||
#endif
|
||||
#define SF_NO_SD_SEND ENABLE
|
||||
#define SF_SD_LOG_INFO_FILENAME "/tmp/SD.txt"
|
||||
|
||||
#define SF_4G_MODE_TEST DISABLE
|
||||
//////////////////////sf end///////////////////////////////
|
||||
|
||||
/*******************************************************************************************
|
||||
|
|
|
@ -198,14 +198,21 @@
|
|||
#else
|
||||
#define DEFAULT_BOOT_WORK_MODE SF_CAM_MODE_PHOTO//
|
||||
#define DEFAULT_NET_WORK_NEED_SEARCH SF_ON
|
||||
#define DEFAULT_AUTO_OFF_SWITCH SF_ON
|
||||
#define DEFAULT_PIR_SWITCH SF_ON
|
||||
#define DEFAULT_PIR_SENSITIVITY SF_PIR_SENSITIVITY_7
|
||||
#define DEFAULT_TIMELAPSE_SWITCH SF_OFF
|
||||
#if SF_BATTERY_TEST == ENABLE
|
||||
#define DEFAULT_GPRS_SWITCH SF_OFF
|
||||
#else
|
||||
#if SF_4G_MODE_TEST == ENABLE
|
||||
#define DEFAULT_GPRS_SWITCH SF_OFF
|
||||
#define DEFAULT_GPRS_MODE SF_REMOTE_CONTROL_REAL_TIME
|
||||
#define DEFAULT_AUTO_OFF_SWITCH SF_OFF
|
||||
#else
|
||||
#define DEFAULT_GPRS_SWITCH SF_ON
|
||||
#define DEFAULT_GPRS_MODE SF_REMOTE_CONTROL_OFF
|
||||
#define DEFAULT_AUTO_OFF_SWITCH SF_ON
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
@ -217,7 +224,6 @@
|
|||
|
||||
#define DEFAULT_SEND_TYPE SF_SEND_TIMELY
|
||||
#define DEFAULT_PIR_DELAY_SWITCH SF_OFF
|
||||
#define DEFAULT_GPRS_MODE SF_REMOTE_CONTROL_OFF
|
||||
#define DEFAULT_DAILY_REPORT_SWITCH SF_ON
|
||||
#define DEFAULT_GPS_SWITCH SF_ON
|
||||
//#if defined(_MODEL_565_HUNTING_EVB_LINUX_4G_68CS_)
|
||||
|
|
|
@ -646,7 +646,10 @@ unsigned char sf_mcu_reg_set(MCUParam_t attrId, unsigned char val)
|
|||
{
|
||||
//sf_pdp_flg_set(0);
|
||||
}
|
||||
|
||||
#if SF_4G_MODE_TEST == ENABLE
|
||||
temp |= 0x40; /*bit6=1,instant mode*/
|
||||
temp |= 0x80;
|
||||
#endif
|
||||
mcuData[i++] = temp;
|
||||
|
||||
mcuReg[i] = DIGITAL_PIR_SENSITIVITY;
|
||||
|
|
|
@ -986,6 +986,8 @@
|
|||
#define ANR_FUNC ENABLE
|
||||
#endif
|
||||
#define SF_NO_SD_SEND ENABLE
|
||||
#define SF_4G_MODE_TEST DISABLE
|
||||
|
||||
////////////////////sf end////////////////////////////////
|
||||
|
||||
|
||||
|
|
|
@ -198,14 +198,22 @@
|
|||
#else
|
||||
#define DEFAULT_BOOT_WORK_MODE SF_CAM_MODE_PHOTO//
|
||||
#define DEFAULT_NET_WORK_NEED_SEARCH SF_ON
|
||||
#define DEFAULT_AUTO_OFF_SWITCH SF_ON
|
||||
#define DEFAULT_PIR_SWITCH SF_ON
|
||||
#define DEFAULT_PIR_SENSITIVITY SF_PIR_SENSITIVITY_7
|
||||
#define DEFAULT_TIMELAPSE_SWITCH SF_OFF
|
||||
#if SF_BATTERY_TEST == ENABLE
|
||||
#define DEFAULT_GPRS_SWITCH SF_OFF
|
||||
#else
|
||||
#if SF_4G_MODE_TEST == ENABLE
|
||||
#define DEFAULT_GPRS_SWITCH SF_OFF
|
||||
#define DEFAULT_GPRS_MODE SF_REMOTE_CONTROL_REAL_TIME
|
||||
#define DEFAULT_AUTO_OFF_SWITCH SF_OFF
|
||||
#else
|
||||
#define DEFAULT_GPRS_SWITCH SF_ON
|
||||
#define DEFAULT_GPRS_MODE SF_REMOTE_CONTROL_OFF
|
||||
#define DEFAULT_AUTO_OFF_SWITCH SF_ON
|
||||
#endif
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
@ -217,7 +225,6 @@
|
|||
|
||||
#define DEFAULT_SEND_TYPE SF_SEND_TIMELY
|
||||
#define DEFAULT_PIR_DELAY_SWITCH SF_OFF
|
||||
#define DEFAULT_GPRS_MODE SF_REMOTE_CONTROL_OFF
|
||||
#define DEFAULT_DAILY_REPORT_SWITCH SF_ON
|
||||
#define DEFAULT_GPS_SWITCH SF_ON
|
||||
//#if defined(_MODEL_565_HUNTING_EVB_LINUX_4G_68CS_)
|
||||
|
|
Loading…
Reference in New Issue
Block a user