Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

setting up iPhone P2P only over bluetooth and without GKPeerPickerController

I want to use a custom interface to connect with other iDevices in a p2p game. I know I can either use GKSession and GKSessionDelegate or use the lower level Bonjour browsing. But both of them will search for devices both over bluetooth AND wifi.

I want to list only bluetooth devices. I know this was answered in the past as impossible, but the Flight Control app seems to be able to do it.

like image 789
Marco Mustapic Avatar asked Sep 06 '10 14:09

Marco Mustapic


People also ask

Where is advanced Bluetooth settings on iPhone?

How to access Bluetooth controls from Control Center in iOS 13. Swipe up from the bottom of your iPhone screen, or down from the upper-right corner of an iPhone X or later. Long press on the section of Control Center with wireless controls like Airplane Mode, Bluetooth, and Wi-Fi to open the broader wireless controls.

What happens if I turn off Bluetooth on iPhone?

If Bluetooth is turned off, you won't be able to connect your iOS or iPadOS device to your Bluetooth accessories until: You turn on Bluetooth in Control Center. You connect to a Bluetooth accessory in Settings > Bluetooth, or by tapping the AirPlay icon or and selecting a bluetooth accessory.

Should Bluetooth be on or off on iPhone?

For that reason, the agency advises the public to turn off Bluetooth when they're not using it; this will help prevent hackers from spoofing other devices that have already been paired with your iPhone, which would give them access to your handset.

What is discovery mode on iPhone?

Bluetooth starts up, and the status becomes ON. The iPhone immediately begins searching for Bluetooth devices. You also see the status Now Discoverable, which means that other Bluetooth devices can discover the iPhone. Put the other device in Discoverable mode.


1 Answers

I thought I would answer to let you know that YOU ARE NOT ALONE, I am trying to do the same thing and it is kicking my butt! This link might help you: http://www.iphonedevsdk.com/forum/iphone-sdk-development/40710-gamekit-api.html I am trying to setup a server/client relationship and that requires me to use my own custom interface too.

like image 99
Monoxgas Avatar answered Sep 25 '22 21:09

Monoxgas