V1.1
This commit is contained in:
parent
762d9d9b51
commit
0c89787e77
|
@ -2,7 +2,7 @@
|
||||||
* @Author: mbw
|
* @Author: mbw
|
||||||
* @Date: 2024-10-23 17:14:16
|
* @Date: 2024-10-23 17:14:16
|
||||||
* @LastEditors: mbw && 1600520629@qq.com
|
* @LastEditors: mbw && 1600520629@qq.com
|
||||||
* @LastEditTime: 2025-02-21 14:45:55
|
* @LastEditTime: 2025-02-21 15:41:41
|
||||||
* @FilePath: \ble_bjq_ch303rct6_ml307\applications\main.c
|
* @FilePath: \ble_bjq_ch303rct6_ml307\applications\main.c
|
||||||
* @Descrt_thread_
|
* @Descrt_thread_
|
||||||
*
|
*
|
||||||
|
|
|
@ -18,12 +18,12 @@
|
||||||
#define MAX_EXPIRATION_DAYS (uint16_t)(365 * 5 + 30 * 3)
|
#define MAX_EXPIRATION_DAYS (uint16_t)(365 * 5 + 30 * 3)
|
||||||
|
|
||||||
|
|
||||||
#define SYS_HW_VERSION (0X10U)
|
#define SYS_HW_VERSION (0X11U)
|
||||||
#define SYS_SW_VERSION (0X11U)
|
#define SYS_SW_VERSION (0X11U)
|
||||||
#define SYS_IOT_UPLOAD_CYCLE_MIN (0X003CU) // 高位在后,低位在前
|
#define SYS_IOT_UPLOAD_CYCLE_MIN (0X003CU) // 高位在后,低位在前
|
||||||
#define SYS_IOT_RETRY (0X03U)
|
#define SYS_IOT_RETRY (0X03U)
|
||||||
#define SYS_TEMP_ALARM_THRESHOLD (0X32U)
|
#define SYS_TEMP_ALARM_THRESHOLD (0X32U)
|
||||||
#define SYS_ALARM_VALVE (0x0640U)
|
#define SYS_ALARM_VALVE (0x0640U)//1600
|
||||||
#define SYS_EMV_SWITCH (0X04U)
|
#define SYS_EMV_SWITCH (0X04U)
|
||||||
#define SYS_RELAY_SWITCH (0X04U)
|
#define SYS_RELAY_SWITCH (0X04U)
|
||||||
#define SYS_ALARM_VALVE_MAX (0X30U)
|
#define SYS_ALARM_VALVE_MAX (0X30U)
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
#define SYS_IOT_URL ("8.130.122.162")
|
#define SYS_IOT_URL ("8.130.122.162")
|
||||||
#define SYS_IOT_PORT ("7153")
|
#define SYS_IOT_PORT ("7153")
|
||||||
|
|
||||||
#define K (3 * 1000)
|
#define K (5 * 1000)
|
||||||
|
|
||||||
// 定义宏来打印编译时间和日期
|
// 定义宏来打印编译时间和日期
|
||||||
#define COMPILE_TIME \
|
#define COMPILE_TIME \
|
||||||
|
|
|
@ -725,8 +725,8 @@ void Flash_SetProductTimeLimit(rt_uint16_t year, rt_uint8_t mon, rt_uint8_t day,
|
||||||
|
|
||||||
Flash_Write_ConfigInfo(page_buf);
|
Flash_Write_ConfigInfo(page_buf);
|
||||||
|
|
||||||
TuFlashProductTimeLimitFrame ReadLimitTime;
|
// TuFlashProductTimeLimitFrame ReadLimitTime;
|
||||||
Flash_GetProductTimeLimit(&ReadLimitTime, id);
|
// Flash_GetProductTimeLimit(&ReadLimitTime, id);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Set_ExpirationTime(rt_uint16_t days)
|
void Set_ExpirationTime(rt_uint16_t days)
|
||||||
|
|
Loading…
Reference in New Issue