Android WiFi-Direct connection issues -
i developing android wifip2p application , attempting create wifip2p group.
i have multiple android devices follows:-
nexus 7 - android 6.0.1 nexus 9 - android 7.1.1 samsung tablet - android 4.4.1 pixel - android 8.0.0
currently application not reliable , succeeds in establishing connection approx 50% of time.
i can connect combination of pixel xl, nexus 7 & 9 no issues of time. automatically connect , majority of time not see dialogs asking me accept connection invite.
however when attempt connect samsung tablet connection fails. samsung displays dialog asking if wish connect , following error message in dialog:-
failed connect via wi-fi direct. other device connected ap via different channel.
if power off devices. restart them start work expected (for short period).
what know is
a). causes above "failed connect via wi-fi...." message on samsung tablet?
b). why other devices automatically connect , not display dialog asking if want accept connection invite?
note: the intermittent dialog gives poor user experience within app.
c). there anyway re initialise wifi hardware on each device (e.g. obtain same state manually power off/restart of entire device)?
Comments
Post a Comment