Any Simulatore available for BLE devices - ios7

Is there any BLE simulator available ?
Apart from that also want to know how can I send commands from BLE device to iOS and wake my iOS app if iPhone is already paired with the iOS
Thanks in advance :)

Related

Core bluetooth in WatchKit in apple watch?

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
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.
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.
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:
The minimum connection interval is 30ms instead of 15ms (for iOS devices).
The Apple watch can only operate as a central device.
The Apple watch can only be connected to two peripherals at one Time
The peripheral gets disconnected when the app goes into the background.
Maybe this will change when watchOS 7 is out.

How can I transfer data via bluetooth from an iOS device to a Mac?

I want to be able to transfer basic information (strings and such) from an iOS device to a Mac, and vice versa, via apps installed on each device. I've been trying to get bluetooth on the iOS device, but it seems to only want to connect to other iOS devices.
Bluetooth access on the ios is very limited. As a matter of fact you can only access it through the GameKit.
http://developer.apple.com/library/ios/#DOCUMENTATION/NetworkingInternet/Conceptual/GameKit_Guide/Introduction/Introduction.html
So if you want to share information with a Mac you would have to make the mac appear as an iOS device. I however ignore how you could do this.

Check iPod Touch hardware performance programatically

I stuck with a weird problem . I am having two iPod touch devices for testing purpose both are having same platform i.e. iPod touch 4G but different performance in terms of speed.
To check device platform i have used following link : Determine device (iPhone, iPod Touch) with iPhone SDK
My app is working perfectly for both the iPod touch but for one iPod touch it is crashing because of device performance issue. I want to distinguish between iPod Touch device of same platform but different performance so that I can make changes to my app as per device performance.
Is there any way to check iPod Touch device
hardware performance programatically.
Thanking you in advance..

Device name of a Bluetooth device in Xcode

Can i get the name of an connected Bluetooth device on the iPad in my application developed in Xcode ? is this possible ? and how do you do this ?
You can find a tutorial here:
http://www.touchthatfruit.com/ios-bluetooth-development-tutorial-using-game
And some information here:
Bluetooth Apple Documentation

Printing the data

i am developing an ipad app where i need to print to a bluetooth printer. The printer does not have any other mechanism like wi-fi , it only has bluetooth.
i guess the ipads dont have bluetooth. it only has wi-fi. is there an app which prints to bluetooth printers?
Can ios4.2 detect bluetooth enabled printers?
Thanks in advance.
The iPad has bluetooth, however, AirPrint currently only works via WiFi.