Reputation: 882
I want my watch app to be identified by my paired iPhone.I am using CoreBluetooth Framework to implement this. I am transmitting bluetooth signals from my watch app and trying to receive the signal in my iPhone app. I am using the same concept as apple has shown in its sample code (https://developer.apple.com/library/ios/samplecode/BTLE_Transfer/Introduction/Intro.html#//apple_ref/doc/uid/DTS40012927) , the only difference is that my transmitter is the watch app.
Issue I am unable to detect watch app in my iPhone. I have made sure that all of my hardwares are configured properly and I am configuring the Core bluetooth delegate methods properly. I also suspect if this method will be feasible with iPhone and apple watch.
All suggestions are appreciated. Thanks in advance
Upvotes: 1
Views: 2325
Reputation: 8328
Please note, since watchOS 6 it's possible to use CoreBluetooth
on watchOS.
Check for more informations this link "Creating Independent watchOS Apps"
Be aware there are still some limitations using CoreBluetooth
in watchOS for example:
Maybe this will change when watchOS 7 is out.
Upvotes: 0
Reputation: 17
Access to Core Bluetooth on Apple Watch lets your apps bypass the phone and connect directly with the Bluetooth in Apple Watch. Access Core Bluetooth to connect directly with accessories. And with Apple Watch Series 3, your apps can take advantage of built-in cellular and altimeter capabilities.
Upvotes: 0
Reputation: 5536
This is not possible because your WatchKit app runs as an extension on your iPhone and therefore all Core Bluetooth bluetooth signals are sent from the iPhone itself to itself.
Upvotes: 6