I am relatively new to iOS. I am working developing an app using CoreBluetooth conmunicating with a BLE device. but I failed to test my app on iphone simulator on Mac mini.
My Mac mini has OS Lion,and it has bluetooth4.0.but in iPhone simulator, I cannot open Bluetooth.
The simulator isn't exactly what i would call a good tool since it misses many components of the real device and its behaviour (especially the UI) is way too buggy to give reliable informations.
As for the BT: It could be that your Bluetooth is already used by the OS, so one thing you can try is
$ sudo nvram bluetoothHostControllerSwitchBehavior="never"
and reboot.
Related
I've configured iPhone 4s as a iBeacon Transmitter and I've received data from my Android application. Now I want to configure my bluetooth 4.0 device in windows. Is that possible? I've googled it but I couldn't find anything.
Does your computer support Bluetooth smart ? Mobile operating systems including iOS, Android, Windows Phone and BlackBerry, as well as OS X, Linux, and Windows 8, natively support Bluetooth Smart.
EDIT
Unfortunately it's not currently supported under Windows 8.1.
check this link Beacon Windows
The managed C# library WinBeacon can be used for this purpose. It implements a simple HCI layer that talks directly to the BT4.0 dongle through a WinUSB driver (instead of the default Bluetooth driver).
I am tasked to develop applications on a iPhone 5. However due to some office workspace restriction, we are not allowed to insert a sim card into a iPhone 5. (we will be using wifi for development)
Is there any difference in terms of software development (certain api restriction, or computability issues) that a developer may face if he/she is to develop a iPhone 5 application on a iPod touch. I'm trying to justify reasons to get a iPhone 5 :P
I've noted that GPS chipset is not available on a iPod Touch 5g, however wifi triangulation is workign for iPod touch 5g?
You can't test offline GPS navigation and cellular network on iPod Touch.
And mostly they are weaker than their phone counterparts, so you can optimize it on a weaker device, and it will more likely to run smooth on more powerful devices.
I would like to run and test P2P connectivity over Bluetooth via Game Center (GKPeerPickerController). I own an iPod Touch with OS 4.1 installed and am trying to connect it to the iPhone Simulator running on my Mac via Bluetooth, however they are not seeing one another. Bluetooth is on for the iPod and the Mac. Is this even possible? If so, what am I missing?
I dont think it is possible, since bluetooth networking is currently not supported in the simulator.
check this for more detail..
http://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/GameKit_Guide/GameKitConcepts/GameKitConcepts.html%23//apple_ref/doc/uid/TP40008304-CH100-SW1
I want to write an application that sends text from one device to another. How can I test it with an emulator on a PC? Is it possible with the Sun Java Wireless Toolkit?
Yes, it is possible, at least with version 2.5.2_01
Just launch the emulator 2 or more times, and the phones "find" each other
I want to know if the developer team which made the emulator have some information to make bluetooth work in the Android emulator, indicate some links about it, if they have some date for release or if they'll make it works in the future.
as far as I know there is no support in the emulator for bluetooth. And I will have to teach android and bluetooth in some classes. And the students will need to code stuff and test (guess it) in the android emulator.
So I came up with a bare-bone reimplementation of the android bluetooth API on top of tcp. You can find it on here on github.
Basically, you run a tcp-server on your machine, and the emulators will connect through it.
Instead of using the classes in the package android.bluetooth, you just need to use the classes in the package dk.itu.android.bluetooth (and other 2 little modifies).
As for now it supports:
switch on/off the "radio"
discovery devices (only other android emulators)
creating bluetooth services
connecting to bluetooth services
It's not much, but until we got some more from the android guys, I guess there is nothing else around.
Hope it'll be useful, cheers!
The documented bluetooth limitation appears inconsistent with the qemu -bt option. So, how is bluetooth enabled in the emulator so the -bt options can be used, or at least to know that bluetooth is supported?
The target/board/.../BoardConfig.mk having "BOARD_HAVE_BLUETOOTH := true" doesn't provide a bluetooth icon or enable bluetooth. So, how do we turn on bluetooth on the android qemu emulator?
What does it mean that bluetooth is not supported given the -bt option for emulating USB devices that were provided in 2008? The post and limitations are outdated.
The functional limitations of the emulator include:
No support for placing or receiving actual phone calls. You can simulate phone calls (placed and received) through the emulator console, however.
No support for USB connections
No support for device-attached headphones
No support for determining network connected state
No support for determining battery charge level and AC charging state
No support for determining SD card insert/eject
No support for Bluetooth
http://developer.android.com/tools/devices/emulator.html#limitations