MiEcosystem / mijiaSDK

mijiaSDK新地址:https://github.com/MiEcosystem/MiJiaConnectDemo
102 stars 34 forks source link

WiFi 快联失败 #8

Closed zxcfei closed 6 years ago

zxcfei commented 6 years ago

mijiaClient-3-3-3.arr

1.设置 小米账号信息:

PeopleFactory.createOauthPeople(accessToken, "小米UserId", expiresIn, macKey, macAlgorithm); 显示快联成功页面,设备列表有该设备。 OpenMiotCloudImpl: post url: /device/bind onSucceed: {"code":0,"message":"ok","result":"ok"}

2.设置 小米账号信息:

PeopleFactory.createOauthPeople(accessToken, "空字符串", expiresIn, macKey, macAlgorithm); 显示快联成功页面,设备列表无该设备。 https://openapp.io.mi.com/openapp/device/bind D/OkHttpManager: parseResponse body: {"code":-6,"message":"-1:not permit,bind failed","result":{"ret":-1}} D/OpenMiotCloudImpl: post url: /device/bind onSucceed: {"code":-6,"message":"-1:not permit,bind failed","result":{"ret":-1}}