更新 ble/protocol/Constants.ts
This commit is contained in:
@@ -14,7 +14,7 @@ export const FRAME_CONSTANTS = {
|
||||
MAX_DATA_SIZE: 496,
|
||||
HEADER_SIZE: 8,
|
||||
FOOTER_SIZE: 1,
|
||||
FRAME_INTERVAL: 35, // package transfer idle interval in ms, set 35 ms for ble device have enough time to process data
|
||||
FRAME_INTERVAL: 200, // package transfer idle interval in ms, set 35 ms for ble device have enough time to process data
|
||||
} as const;
|
||||
|
||||
export type FRAME_HEAD = typeof FRAME_CONSTANTS.HEAD_DEVICE_TO_APP | typeof FRAME_CONSTANTS.HEAD_APP_TO_DEVICE;
|
||||
|
||||
Reference in New Issue
Block a user