1、封装 usr_le_code 为静态库,并增加 Release 客户包自动生成工具
2、将 BLE 协议实现收敛为 libusr_le_code.a + 公开头文件,应用侧通过 usr_le_api / usr_le_product 对接;新增 package_release.py,按 version.txt 3、生成去除协议源码的客户交付包,开发工程继续保留完整源码。
This commit is contained in:
@@ -34,10 +34,13 @@
|
||||
#define REPORT_DEBOUNCE 2000 /* 变化上报防抖时间(ms) */
|
||||
#define REPORT_PERIOD 600000 /* 定时全量上报周期(ms) */
|
||||
|
||||
/* Device identity: change these values for the target product. */
|
||||
/* Device identity: change these values for the target product.
|
||||
* JB_CATEGORY_CODE: 必须 4 字符 ASCII,供 BLE 广播 prodcode 使用
|
||||
* JB_PRODUCT_CODE : 必须 6 字符 ASCII,供 BLE 广播 pcode 使用
|
||||
*/
|
||||
#define JB_PROTOCOL_VERSION 0x0100 /* V1.0 */
|
||||
#define JB_CATEGORY_CODE "CBXX"
|
||||
#define JB_PRODUCT_CODE "CBXX"
|
||||
#define JB_CATEGORY_CODE "CBC0"
|
||||
#define JB_PRODUCT_CODE "PICBC0"
|
||||
#define JB_DEVICE_SN 0x00
|
||||
#define JB_DEVICE_CAPABILITY 0ULL
|
||||
|
||||
|
||||
Reference in New Issue
Block a user