Re: Testing Core Bluetooth Applications in the iOS Simulator on OSX 10.8.1
Hi Gabriele, as far as I understood, and this is underpinned by Apple documentation (https://developer.apple.com/library/ios/technotes/tn2295/_index.html#//apple...), you cannot actually use the built in BLE with the simulator. For some architectural reason, the OS always clamps on it and it's not accessible by the simulator any more. However, you can use the built-in BLE to develop MacOS applications. I have done that and works Ok. I'm saying Ok because there seem to be a serious interference between the WiFi and the BLE connection. If I have a BLE connection set up and use the WiFi for any reason, the BLE connection is going to break. My 2 cents, Andras 2012/8/29 Gabriele Merlonghi <megabri@megabri.com>:
Hi Michael, YES, in the case that you haven't the BLE peripheral inside the Mac, you are right: you cannot use it for the simulator… and also in the case that you have it (like me) it's not very clear how you can use it with iOS 6 simulator.
I started to see the iOS 6 videos of WWDC 2012 related to Core Bluetooth: 1) Session 703 - Core Bluetooth 101 2) Session 705 - Advanced Core Bluetooth
In the Session 703 video, is reported that now iOS 6 Simulator can be used as Core Bluetooth Platforms, but not specify in the deep how this can be possible… I suppose with a Mac that have already a BT LE inside at minimum, the speaker specify literally that this is made to do at developers opportunity to develop all ecosystem BT LE "in house" without necessary of any other BT LE from hardware manufacturing. Again I suppose that at minimum you need a Mac and an iPhone 4S.
However in the Session 705 there is no mention of iOS 6 Simulator, but it's clearly that with iOS 6 you can use you iPhone 4S as a BLE Peripheral, this is new in CoreBluetooth Framework in iOS6. So, with an application Central on a Mac side and an application Peripheral on a iPhone 4S side, you can develop and test entire system.
If someone have more information about how to use the iOS 6 simulator like a BLE device, is welcome.
Gabriele Merlonghi
Il giorno 28/ago/2012, alle ore 22:14, Michael Kroll <m.kroll@mac.com> ha scritto:
Hi, and how should this work on an iMac 27-inch, Mid 2011 without such an USB dongle ?
Regards, Michael.
On Aug 28, 2012, at 4:06 AM, Gabriele Merlonghi <megabri@megabri.com> wrote:
Hi, you know that you can use the new iOS 6 simulator without usb btle dongle to test a btle application ?
Gabriele Merlonghi Blog: http://www.megabri.com
Sent from my iPad
Il giorno 28/ago/2012, alle ore 03:44, Mark Palatucci <markmp@gmail.com> ha scritto:
I use the Cirago dongle with no problems on 10.7.3 (Lion) - but unfortunately it doesn't appear to work with Mountain Lion (10.8)
On Thu, Aug 23, 2012 at 9:50 AM, Michael Kroll <m.kroll@mac.com> wrote:
The cirago USB dongle.
Kind Regards/Mit freundlichen Grüssen, Dr. Michael Kroll --- Blog: http://www.mkroll.mobi Forum: http://forum.mkroll.mobi
On 23.08.2012, at 18:50, Njection Gmail <njection@gmail.com> wrote:
Which usb ble dongle did you use?
Sent from my iPhone
On Aug 23, 2012, at 9:32 AM, Michael Kroll <m.kroll@mac.com> wrote:
Hi, I tested the procedure described in the document: https://developer.apple.com/library/ios/#technotes/tn2295/_index.html#//appl... OSX10.8.1 without success.
So it seems that the problem persists :-(
Regards, Michael. _______________________________________________ Do not post admin requests to the list. They will be ignored. Bluetooth-dev mailing list (Bluetooth-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/bluetooth-dev/njection%40gmail.com
This email sent to njection@gmail.com
_______________________________________________ Do not post admin requests to the list. They will be ignored. Bluetooth-dev mailing list (Bluetooth-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/bluetooth-dev/markmp%40gmail.com
This email sent to markmp@gmail.com
_______________________________________________ Do not post admin requests to the list. They will be ignored. Bluetooth-dev mailing list (Bluetooth-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/bluetooth-dev/megabri%40megabri.com
This email sent to megabri@megabri.com
_______________________________________________ Do not post admin requests to the list. They will be ignored. Bluetooth-dev mailing list (Bluetooth-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/bluetooth-dev/akovi%40myringguard.co...
This email sent to akovi@myringguard.com
_______________________________________________ Do not post admin requests to the list. They will be ignored. Bluetooth-dev mailing list (Bluetooth-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/bluetooth-dev/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com
participants (1)
-
András Kövi