Post

Replies

Boosts

Views

Activity

Reply to TCP connection in with Wi-Fi aware framework never reaches ".ready" state
Dear Quinn, Yes I have managed to reproduced the issue even with the sample app. How I reproduced the issue: Step 1: Open app on both devices, device 1 selects "Host simulation", device 2 selects "view simulation" now pair both devices. Step 2: Close app on both devices and start app again Step 3: device 1 selects "Host simulation", device 2 selects "view simulation" Step 4: Device 1 taps "advertise" and device 2 taps "discover & connect" both at the same time, and than you press the (+) sign as soon as possible on device 2. (leave the modal open for a few seconds). Result: Stuck in connecting. Killing the app and starting the app again (on both devices) does not resolve it the connecting issue. I only got it to work again after closing the app on both devices and leave the devices for a couple of minutes in idle. (I think NAN will close its underlying connection because its not being used for a while) Also Device 1 will occasionally give a a error: "Listener Error" "Timed out. Tap Advertise to restart" Also tapping advertise again does not resolve it. I added a recording (SampleCodeIssueReproduced.mp4) of how I reproduced the issue in the github repo: https://github.com/DeveloperNiels/WAIssue In the first try I think I opened the pairing screen to soon, and you can see that the app worked as expected. in the 2nd attempted I did manage to reproduce and they never connect. Than I also closed the app and just try to get it working correctly again but even after closing the app they still don't manage to connect.
1d
Reply to TCP connection in with Wi-Fi aware framework never reaches ".ready" state
Hi Quinn, I just created the bug report, I hope I did it correctly and provided the necessary information. Ticket: FB23509767
Replies
Boosts
Views
Activity
5h
Reply to TCP connection in with Wi-Fi aware framework never reaches ".ready" state
Dear Quinn, Yes I have managed to reproduced the issue even with the sample app. How I reproduced the issue: Step 1: Open app on both devices, device 1 selects "Host simulation", device 2 selects "view simulation" now pair both devices. Step 2: Close app on both devices and start app again Step 3: device 1 selects "Host simulation", device 2 selects "view simulation" Step 4: Device 1 taps "advertise" and device 2 taps "discover & connect" both at the same time, and than you press the (+) sign as soon as possible on device 2. (leave the modal open for a few seconds). Result: Stuck in connecting. Killing the app and starting the app again (on both devices) does not resolve it the connecting issue. I only got it to work again after closing the app on both devices and leave the devices for a couple of minutes in idle. (I think NAN will close its underlying connection because its not being used for a while) Also Device 1 will occasionally give a a error: "Listener Error" "Timed out. Tap Advertise to restart" Also tapping advertise again does not resolve it. I added a recording (SampleCodeIssueReproduced.mp4) of how I reproduced the issue in the github repo: https://github.com/DeveloperNiels/WAIssue In the first try I think I opened the pairing screen to soon, and you can see that the app worked as expected. in the 2nd attempted I did manage to reproduce and they never connect. Than I also closed the app and just try to get it working correctly again but even after closing the app they still don't manage to connect.
Replies
Boosts
Views
Activity
1d