Fix reconfigure for userAndPassword auth
This commit is contained in:
parent
79dd4d3882
commit
4941470451
@ -75,7 +75,7 @@ Page {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Component.onCompleted: {
|
Component.onCompleted: {
|
||||||
print("Starting setup wizard")
|
print("Starting setup wizard. Create Methods:", root.deviceClass.createMethods, "Setup method:", root.deviceClass.setupMethod)
|
||||||
if (root.deviceClass.createMethods.indexOf("CreateMethodDiscovery") !== -1) {
|
if (root.deviceClass.createMethods.indexOf("CreateMethodDiscovery") !== -1) {
|
||||||
print("CreateMethodDiscovery")
|
print("CreateMethodDiscovery")
|
||||||
if (deviceClass["discoveryParamTypes"].count > 0) {
|
if (deviceClass["discoveryParamTypes"].count > 0) {
|
||||||
@ -115,6 +115,7 @@ Page {
|
|||||||
case 2:
|
case 2:
|
||||||
case 3:
|
case 3:
|
||||||
case 4:
|
case 4:
|
||||||
|
case 5:
|
||||||
print("re-pairing", root.device.id)
|
print("re-pairing", root.device.id)
|
||||||
engine.deviceManager.rePairDevice(root.device.id, []);
|
engine.deviceManager.rePairDevice(root.device.id, []);
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user