-
Notifications
You must be signed in to change notification settings - Fork 53
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
Wifi screen not coming up #1
Comments
hi @iotechbugs Please log at this line: https://github.com/sunshine-tech/esp_provisioning/blob/0cc3d09ec329a25732d95a113c0ef0a869c83bb0/example/lib/ble_screen/ble_bloc.dart#L25 to see what's happen |
After selecting the following error is coming. Mobile I use is ONEPLUS 6 PLUS, VS code, OS is MAC Which version of flutter you are using. I am able to scan BLE devices only once, If I select provisioning second time no device is visible. Adding logs for your reference. |
The same problem from me. I'm comparing your implementation with ESP-IDF Android one, seem sone problem on encoding securitySession request. The ESP32 logs this:
Checking ESP-IDF source code I think this is the point that goes to error:
ESP_ERR_INVALID_ARG = 0x102 = 258 I try also with the original ESP-IDF Android App and all is ok.
|
Finally, I found a problem.
Now all works! |
Hi, But I am facing same problem which @iotechbugs was facing earlier. I also tried to run example app and Wifi screen is not appearing and getting same error as @iotechbugs got earlier. |
Please help me out with it !! |
Same issue @iotechbugs faced. Any update? |
same issue |
Hi,
This is a very great library and its very handy too.
I see an issue. I found ESP32 device and discovered, but When i click discovered device following error is thrown. Could you help please?
I/flutter (31505): └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
I/flutter (31505): EstablishSession error NoSuchMethodError: The method 'isConnected' was called on null.
I/flutter (31505): Receiver: null
I/flutter (31505): Tried calling: isConnected()
I/flutter (31505): ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
I/flutter (31505): │ #0 WifiBloc._mapLoadToState
package:esp_provisioning_example/wifi_screen/wifi_bloc.dart:32
I/flutter (31505): │
I/flutter (31505): │ #1 WifiBloc.mapEventToState
package:esp_provisioning_example/wifi_screen/wifi_bloc.dart:21
I/flutter (31505): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
I/flutter (31505): │ ⛔ Error conencting to device Exception: Error establishSession
I/flutter (31505): └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
I/flutter (31505): ┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
I/flutter (31505): │ #0 WifiBloc._mapLoadToState
package:esp_provisioning_example/wifi_screen/wifi_bloc.dart:42
I/flutter (31505): │
I/flutter (31505): │ #1 WifiBloc.mapEventToState
package:esp_provisioning_example/wifi_screen/wifi_bloc.dart:21
I/flutter (31505): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
I/flutter (31505): │ ⛔ Error scan WiFi network NoSuchMethodError: The method 'startScanWiFi' was called on null.
I/flutter (31505): │ ⛔ Receiver: null
I/flutter (31505): │ ⛔ Tried calling: startScanWiFi()
I/flutter (31505): └───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
The text was updated successfully, but these errors were encountered: