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

provInfo has no field sec_ver #74

Open
DMoran28 opened this issue Nov 9, 2022 · 1 comment
Open

provInfo has no field sec_ver #74

DMoran28 opened this issue Nov 9, 2022 · 1 comment

Comments

@DMoran28
Copy link

DMoran28 commented Nov 9, 2022

When provisioning my ESP32 device with QR, if I put in the JSON object "security" : 0, it will not connect. I've checked that the app has deactivated the secure setting. If I do manually, it works fine.

The problem seems that in the function setSecurityTypeFromVersionInfo() in AddDeviceActivity and ManualProvBaseActivity it's looking for a field in the provInfo JSON object called sec_ver. My provInfo JSON object only shows the following fields:

{
    "prov": {
        "ver": "v1.1",
        "cap": ["no_sec", "wifi_scan"]
    }
}

I'm glad to help as far as I can. Seems like the function has some unintentional behaviour.

@KhushbuShah25
Copy link
Contributor

Hi @DMoran28 , thanks for reporting. I will check it an update you soon.

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

2 participants