Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MHXiaomiBLE.loginXiaoMiBLE返回------登陆失败------{"message":"login timeout.","code":404} #156

Open
RideShi opened this issue Feb 18, 2019 · 0 comments

Comments

@RideShi
Copy link

RideShi commented Feb 18, 2019

MHXiaomiBLE.loginXiaoMiBLE返回------登陆失败------{"message":"login timeout.","code":404}

尝试过重启蓝牙、退出插件重新进入方法皆无效
MHXiaomiBLE.loginXiaoMiBLE(MHPluginSDK.deviceId, mac, 10, (error, result) => {
if (error) {
console.log('------登陆失败------' + JSON.stringify(error));
} else {
console.log('------登陆成功------');
this.connectErrorNum = 0;
this.state.device = result.device;
// this.show_AlertIOS(JSON.stringify(result.device));
this._initDevice();
this.isConnect = true;
this.startConnect = false;
}
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant