4. How can a WFD client/enrollee be configured to use PIN or PBC to
connect to the GO?
5. Is there a way to force the GO to be on a specific Wifi Channel
(P2P spec v1.1 section 3.1.4.2.1 allows for a "preferred Operating
Channel"?
6. Is there a way to chose a specific SSID (P2P spec v1.2 section
3.2.1 says "Any byte values allowed for an SSID according to
IEEE802.11-2007 [1] may be included after the string --DIRECT-xy||
(including none)")?
--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To post to this group, send email to android-...@googlegroups.com.
To unsubscribe from this group, send email to android-platfo...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-platform?hl=en.
6. Is there a way to chose a specific SSID (P2P spec v1.2 section
3.2.1 says "Any byte values allowed for an SSID according to
IEEE802.11-2007 [1] may be included after the string --DIRECT-xy||
(including none)")?No
To post to this group, send email to android-platform@googlegroups.com.
To unsubscribe from this group, send email to android-platform+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-platform?hl=en.
--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To post to this group, send email to android-platform@googlegroups.com.
To unsubscribe from this group, send email to android-platform+unsubscribe@googlegroups.com.
To post to this group, send email to android-platform@googlegroups.com.
To unsubscribe from this group, send email to android-platform+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-platform?hl=en.
--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To post to this group, send email to android-platform@googlegroups.com.
To unsubscribe from this group, send email to android-platform+unsubscribe@googlegroups.com.
To post to this group, send email to android-platform@googlegroups.com.
To unsubscribe from this group, send email to android-platform+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-platform?hl=en.
--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To post to this group, send email to android-platform@googlegroups.com.
To unsubscribe from this group, send email to android-platform+unsubscribe@googlegroups.com.
To post to this group, send email to android-platform@googlegroups.com.
To unsubscribe from this group, send email to android-platform+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-platform?hl=en.
--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To post to this group, send email to android-platform@googlegroups.com.
To unsubscribe from this group, send email to android-platform+unsubscribe@googlegroups.com.
I also have been playing with wifi direct but it crashed my phone
really often so I stopped trying. It crashed the Galaxy Nexus with
4.0.1, 4.0.2 and AOSP 4.0.3.
Were there changes in 4.0.4? Should I try again with 4.0.4?
Regards,
Dirk
> --
> You received this message because you are subscribed to the Google Groups "android-platform" group.
> To post to this group, send email to android-...@googlegroups.com.
> To unsubscribe from this group, send email to android-platfo...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/android-platform?hl=en.
>
--
Narseo
Hi,
I have a similar question.
When two devices try to connect through Wi Fi, we get a popup with Accept/Decline.
Is it possible to remove this pop up so that the 2 devices connect automatically ?
thanks.
--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To view this discussion on the web visit https://groups.google.com/d/msg/android-platform/-/ECBT0pXHmEkJ.
To post to this group, send email to android-platform@googlegroups.com.
To unsubscribe from this group, send email to android-platform+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/android-platform/-/G-8wk8YHBzoJ.
To post to this group, send email to android-...@googlegroups.com.
To unsubscribe from this group, send email to android-platfo...@googlegroups.com.
To post to this group, send email to android-...@googlegroups.com.
To unsubscribe from this group, send email to android-platfo...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-platform?hl=en.
I am trying to develop an app which connects two android devices using wi-fi direct. I am referring the sample project in the Android SDK 17 called "WiFiDirectDemo". It establishes a Wi-Fi Direct connection but it does not have PIN authentication. I don't know how to configure the config.wps.setup in the class DeviceDetailFragment. How can I find out the connection request on the other device, is there any callback for that ? I tried adding following lines in the demo code (inside DeviceDetailFragment.java file) but still it connects without showing any dialog : Do i need to modify any thing else apart from these two line ? config.wps.setup = WpsInfo.DISPLAY; config.wps.pin = "0000"; or config.wps.setup = WpsInfo.KEYPAD; config.wps.pin = "0000"; Thanks for any leads. |
/**
* Initiates a connection to a service
* @param service The service to connect to
*/
public void initiateConnectToService(DnsSdService service) {
// Device info of peer to connect to
WifiP2pConfig wifiP2pConfig = new WifiP2pConfig();
wifiP2pConfig.deviceAddress = service.getSrcDevice().deviceAddress;
wifiP2pConfig.wps.setup = WpsInfo.PBC;
// Starts a peer-to-peer connection with a device with the specified configuration
wifiP2pManager.connect(channel, wifiP2pConfig, new WifiP2pManager.ActionListener() {
// The ActionListener only notifies that initiation of connection has succeeded or failed
@Override
public void onSuccess() {
Log.i(TAG, "Initiating connection to service");
}
@Override
public void onFailure(int reason) {
Log.e(TAG, "Failure initiating connection to service: " + FailureReason.fromInteger(reason).toString());
}
});
}