espressif / esp-idf-provisioning-ios

Apache License 2.0
134 stars 64 forks source link

Fails to provision with security scheme 0 #59

Open reinhardbluelab opened 2 years ago

reinhardbluelab commented 2 years ago

Description

Fails to provision with security scheme 0 (i.e. unsecured). It is working when I use the Android app (when scanning for the BLE device and using security scheme 0).

To Reproduce Steps to reproduce the behavior:

  1. Change firmware example to use security scheme 0 and re-flash firmware to ESP device.
  2. Open the mobile app and go to 'settings'.
  3. Disable security scheme 1 (i.e. it should now be unsecured).
  4. Attempt to provision the ESP device with BLE.

Frequency Seems to be happening every time.

Expected behavior Would expect provisioning to work irrespective of security scheme (assuming the ESP firmware matches the selected security scheme). It is working with the default security scheme 1 (and the appropriate firmware).

Screenshots IMG_E51AA8944668-1

ESP Device Information:

iOS information:

Provisioning information:

Additional context Provisioning works with security scheme 0 (unsecured) on Android (when scanning for the BLE device). We want to test our communication with security disabled initially.