I have a HID keyboard based on nrf51,i looking for a way to connect it to my apple watch.
How can i connect it to my apple watch?
Thanks.
You cannot connect a keyboard to your watch.
Related
I have paired my iPhone with a specific Bluetooth headset. I would like to programmatically connect and disconnect from the headset but cannot seem to find the API to accomplish this.
Am I simply missing something?
Thanks!
Unfortunately, there is no API to interact with Bluetooth headsets.
There are APIs for connecting to Bluetooth LE devices, called CoreBluetooth. But these APIs cannot be used to connect to bluetooth headsets. Users have to use the settings application to connect to them.
I am doing preliminary design of an iPhone app so that my app is connecting to non iOS handsfree device or a music system through bluetooth and play songs on it. We registered for the MFi program with Apple and are waiting for confirmation.
If it's possible could you kindly provide few guides to look into it?
Are you want to connect tv etc device with Iphone/Ipad to remotely control the device and volume? If yes then check the following links, perhaps these will help you.
http://www.youtube.com/watch?v=s-TC5uh4j7M
http://thinkflood.com/products/redeye/
http://itunes.apple.com/us/app/redeye/id315598320?mt=8
Not sure what your question is - can you clarify.
You don't need MFi if you are doing standard bluetooth - like streaming music, if the music player supports bluetooth A2DP - the iPhone can connect to it and stream music to it out of the box.
I show a pop-up when no connection is available. When pressing on OK button of this pop-up I would like to open WI-FI Networks native Controller (Settings). How can I do that?
Thx!
On a non-jailbroken device, I do not believe that this is possible because you cannot open another application or execute any code that is not part of your application. If your application requires that the user be connected to WiFi, you can set the UIRequiresPersistentWiFi key in your Info.plist. This will leave it up to iOS to present the user with anything required to connect to a WiFi network.
I'm new to bluetooth. Is there a way through an API call or callback to get some event from a device that's connected via BT to the iphone? That is, without using the apple authentication chip?
A simple example would be an accessory that acts as a doorbell. My device would send "something" to the iphone to tell it someone pressed the doorbell button.
No - your accessory has to be MFi compliant
I found some private (undocumented) APIs but Apple does not allow apps to use private frameworks. So does anyone know how to do this using Apple official packages?
like: when youtube app prompts you to the push notification: "Select a Wi-fi network"
Thanks in advance.
If you set the UIRequiresPersistentWiFi setting in your info.plist file, the iPhone OS will know that your app needs Wifi and pop up the message for you.
As far as I know, no app actually manually displays the wifi selection alert.
Thats wrong check this app out
http://itunes.apple.com/us/app/ihome-connect-setup-app-for/id450241802?mt=8
It shows available wifi networks
The best you can do in iOS, currently, is display the network the user is currently connected to. iOS doesn't allow you to access a wifi scan from within an app. I've been wrestling with this inability for some time now.
If designing an accessory that has WiFi, where you're trying to pass the user's WiFi network SSID and password, it will be up to the accessory to give the app that wifi scan list. The app can then display the list the accessory gave it to the user.
(I bet that's how the app #zaid pointed out in his answer, "iHome Connect", is doing it.)
Another approach is you could have a screen that prompts the user to enter the password to the wifi network they're connected to already, and then once the accessory is connected to the app, pass those details without the need for a wifi network list. I think that approach has a better user experience.
Plenty of stackoverflow questions that answer how to get the current wifi network, here's a couple:
Getting OSX Connected Wi-Fi Network Name
How do I get the current wifi network name after Yosemite in Swift?