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

fix(wifi_iot): connect API fails in Android 12 #283

Closed
wants to merge 3 commits into from

Conversation

daadu
Copy link
Member

@daadu daadu commented May 16, 2022

Closes #273

Test this PR with:

wifi_iot:
  git: 
    url: https://github.com/daadu/WiFiFlutter.git
    ref: wifi_iot/fix-android-12
    path: packages/wifi_iot

…ng APIs; minor code cleanup

- [pubpsec] upgrade min flutter version to v1.12.0
@daadu daadu changed the title fix(wifi_iot): support Android 12 fix(wifi_iot): connect API fails in Android 12 May 16, 2022
@kbessemer
Copy link

Tested on Pixel 6/Android 12 and it is having the same behavior as before.

I/flutter (19607): SocketException: Software caused connection abort (OS Error: Software caused connection abort, errno = 103), address = 192.168.187.241, port = 36662
I/OpenGLRenderer(19607): Davey! duration=86870ms; Flags=1, FrameTimelineVsyncId=27502, IntendedVsync=1958135391659, Vsync=1958135391659, InputEventId=0, HandleInputStart=1958135623431, AnimationStart=1958135624896, PerformTraversalsStart=1958135625100, DrawStart=1958136039610, FrameDeadline=1958163102770, FrameInterval=1958135619199, FrameStartTime=11111111, SyncQueued=1958136534239, SyncStart=1958136884255, IssueDrawCommandsStart=1958137243793, SwapBuffers=1958150251646, FrameCompleted=2045005873677, DequeueBufferDuration=843180, QueueBufferDuration=580119, GpuCompleted=2045005873677, SwapBuffersCompleted=1958150867450, DisplayPresentTime=0,

@daadu
Copy link
Member Author

daadu commented May 17, 2022

Closing this, not correct solution for the fix.

@daadu daadu closed this May 17, 2022
@daadu
Copy link
Member Author

daadu commented May 17, 2022

Some observation,

I got Software caused connection abort, when the IoT device reboots (because of brownout - low power) after connection is made and device tries to make network request.

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

Successfully merging this pull request may close these issues.

[wifi_iot] WiFi Connection not working on Pixel 6 Android 12
2 participants