codeSyncTime
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user