修改运行时间为每差分1分钟或者跨天时主动上报,防止上报过快或过慢
This commit is contained in:
@@ -33,6 +33,7 @@
|
||||
#define SEND_MAX_NUM 3 /* 最大重传次数 */
|
||||
#define REPORT_DEBOUNCE 2000 /* 变化上报防抖时间(ms) */
|
||||
#define REPORT_PERIOD 600000 /* 定时全量上报周期(ms) */
|
||||
#define JB_RUNREC_DIFF_SEC 60 /* DP18 差分:今天秒数相对上次上报满 1 分钟才带 */
|
||||
|
||||
/* Device identity: 取自 Excel 设备信息表的 ProdtCode / productCode。
|
||||
* JB_CATEGORY_CODE: 必须 4 字符 ASCII,供 BLE 广播 prodcode 使用
|
||||
|
||||
Reference in New Issue
Block a user