codeSyncTime

This commit is contained in:
17792275749
2026-05-19 16:13:31 +08:00
parent c05239e7e2
commit e4404a6b0c
+3
View File
@@ -156,9 +156,12 @@ class LeFuService {
this._connectState = plugin.BLUE_STATE.CONNECTSUCCESS
this._activeProtocol.codeUpdateMTU((mtuRes: any) => {
console.log(TAG, 'codeUpdateMTU:', mtuRes)
this._activeProtocol.codeSyncTime((syncRes: any) => {
console.log(TAG, 'codeSyncTime:', syncRes)
this._onDeviceConnectCb?.()
})
})
})
plugin.bus.subscribe('connectState', (res: string) => {
console.log(TAG, 'bus[connectState]:', res)