expo-ble模块测试demo 联调BLE模块 take 3 添加跟多log
This commit is contained in:
@@ -17,6 +17,7 @@ export const FRAME_CONSTANTS = {
|
||||
FOOTER_SIZE: 1,
|
||||
FRAME_INTERVAL: 35,
|
||||
} as const;
|
||||
export type FRAME_HEAD = typeof FRAME_CONSTANTS.HEAD_DEVICE_TO_APP | typeof FRAME_CONSTANTS.HEAD_APP_TO_DEVICE;
|
||||
|
||||
export const COMMAND_TYPES = {
|
||||
ACTIVATION_QUERY: 0x01,
|
||||
@@ -30,6 +31,7 @@ export const COMMAND_TYPES = {
|
||||
DEVICE_INFO_SETTINGS: 0x0d,
|
||||
DEVICE_IDENTITY_CHECK: 0x0e,
|
||||
} as const;
|
||||
export type COMMAND_TYPES = typeof COMMAND_TYPES[keyof typeof COMMAND_TYPES];
|
||||
|
||||
export const RESPONSE_TYPES = {
|
||||
ACTIVATION_STATUS: 0x01,
|
||||
|
||||
Reference in New Issue
Block a user