Post not yet marked as solved
Simple question really, can Airtags be used as iBeacons? seem like a really simple solution for wayfingint in complicated buildings. can they?
Post not yet marked as solved
hi,
I am developing an accessory device which iphone connects to over BLE. meaning the accessory device is a peripheral and the mobile is central.
I would like to enable the user to rename the GAP name of the accessory via IOS bluetooth settings. As seen in the link below.
I have verified that I have write permissions for the gap name charecteristic on the accessory.
I connect to the peripheral, press "i" on IOS bluetooth settings but am unable to rename (as if I have only read permissions).
what am I missing? what else need to be configured?
Is this option only available for bluetooth classic devices?
thanks alot in advance!
https://www.businessinsider.com/how-to-change-bluetooth-name-on-iphone
Post not yet marked as solved
Hi Everyone, Do any of you know if the Ultra WideBand chipset (U1) will become available to developers in the near future? I'd be curious to see what type access may be granted and explore a sandbox is available. Any insight or information is much appreciated.Thank you
Post not yet marked as solved
Hi,
Trying to auto pair a Ble device in iOS app with Just works kind of approach. Requires a secure connection with device but the pairing process should happen without user interference like skipping entering pin or auto entering pin in background to pair a device.
Post not yet marked as solved
Hello! I've seen a few users with bluetooth connectivity problems since the update to Monterey. I have had the update since 2021 and not had an issue before.
Until today, while working on my iMac (2017 21.5") for a few hours, suddenly all my bluetooth devices disconnected at the same time (I have a pair of JBL headphones, my iMac keyboard and magic mouse). The bluetooth was still on, but when I went to go into Bluetooth Preferences menu, the devices appear (all unconnected) on the listed devices for a few seconds, then the entire lists disappears alotgether. Then after a few seconds they appear again, but they disappear again before I can do anything to the devices. When trying to turn the bluetooth on or off, it freezes for a bit then eventually turns on/off.
I have tried restarting the computer, killing the Bluetooth via the terminal, deleting the bluetooth preference folder in my Library, but so far nothing has worked. I am not able to remove all the devices to try to reconnect because they disappear too quickly. I have just tried updating to the latest Monterey OS (12.4), but still no avail. Has anyone else experienced this problem? Thank you in advance!
Post not yet marked as solved
How can I relaunch my app when I get close to my bluetooth device
Post not yet marked as solved
I found this statement under the "Use Background Execution Modes Wisely" header:
Upon being woken up, an app has around 10 seconds to complete a task. Ideally, it should complete the task as fast as possible and allow itself to be suspended again. Apps that spend too much time executing in the background can be throttled back by the system or killed.
I understand that the statement above applies to your app when you set the appropriate background mode. However, does the information above apply to Bluetooth events that your app handles during iOS state restoration (when your app is relaunched)?
Post not yet marked as solved
Hello,
We have a non-Apple, non-MFi hardware device with bluetooth capability. Is it possible for an iOS app to connect to our hardware device over bluetooth for serial communication without the hardware device being MFi certified?
thanks.
Post not yet marked as solved
First, thanks for your time !
I'm trying to code my own app, she had to link 2 iPhone with Bluetooth.
The first iPhone had to send live camera flow to the other with Bluetooth link when the app is running in sender mode.
The second iPhone had to show the live, and offer the possibility to take instant photos when the app is running in receiver mode.
I don't want to install an app because I want to include other special actions in the future.
First question : May I use swift or C ?
If you need more details, don't hesitate!
Arthur
Post not yet marked as solved
Hello,
I have a general question to ask about an implementation of a protocol my company will need. On a high level, we're implementing an update system for a device that will have a Bluetooth connection with the phone.
To update the firmware of the device, we will send a HTTP request to a server and the server will respond with the new firmware of the device. Then to minimise the complexity we would want to simply parse the response and immediately transmit it as a byte array over a Bluetooth connection to the device. The size of this updated firmware would be around 40MB.
My question is do you think this type of data transfer could be done easily using swift, and if it can be done easily. Could you point to some examples where it has been done since I was struggling to find something similar online?
Thank you for your answers in advance.
Post not yet marked as solved
Hi,I have been working with CoreBluetooth for a while now and I've never run into this error before. This error occurred when I tried connecting to my desired peripheral. I've pasted the error message below:Domain=CBATTErrorDomain Code=14 "Peer removed pairing information" UserInfo={NSLocalizedDescription=Peer removed pairing information}I've tried to connect with the peripheral using a third-party app on the Android platform, and it works fine. However, third-party application on iOS isn't able to connect to this peripheral. It timeout when connecting on the iOS platform with the third-party app.I'm not sure what the source of this error is, or how to go about solving this error?Thanks!
Post not yet marked as solved
Hi, i'm quite new to iOS Development and i'm looking for some useful informations for my project.
The phone connects to a device via BLE and receives data from it at an high rate ( 4x hundreds data points per seconds) [--> Thread 1 ]
and this data need to be analyzed in real time [--> Thread 2].
The app has to work for between 1 to 8 hours and all of this needs to work both when the phone is in the foreground and when is in the background (Background Task).
Can you help me with any useful tips / information on how to accomplish this?
Thank you
Post not yet marked as solved
Can the iOS transport bridging feature bring up an iAP connection (in addition to A2DP/AVRCP/HFP) over BT classic? It seems like it's a given that it should, but was hoping someone could confirm this just in case I'm missing something.
Post not yet marked as solved
Hello, we develop a BLE device that users connect to through our mobile app. The app uses RSSI signal strength to determine if the user is still near the beacon. If a specific RSSI value is reached the app ends the connection. Example. we wish to disconnect the connection if an RSSI value of -85 is reached for 3 seconds. This all works well when the app is running in the foreground. When the app is placed in background mode this is not the case. The connection with the BLE beacon goes to standard BLE stack connection maintenance and the app is forced to sleep in the background. How can we continue to monitor connected device RSSI value in an app that is now in the background?
Thank you
Post not yet marked as solved
Hello,
Our app gets rejected by Apple multiple times because of the use of location in UIBackgroundModes:
Your app declares support for location in the UIBackgroundModes key in your Info.plist file but still does not have any features that require persistent location. Apps that declare support for location in the UIBackgroundModes key in your Info.plist file must have features that require persistent location. Specifically, we were unable to locate features within the app that needs to use location in the background. Our answer in the Resolution Center was this:
This app is monitoring UUID’s to detect iBeacons in the background. The proces is as following: When the device is in range of an iBeacon, the app is activated in the background by a call on the delegate function ‘didEnterRegion’ from CLLocationManager.
The app starts ranging for iBeacons to detect the Major and Minor.
The app uses that information to know which desk this is and connects with the BLE Dongle in the desk.
Finally it sends the preferred height of the user to the BLE Dongle, which will result in the desk moving to that height. This all is happening in the background, without requiring the user to open the app. The "location" setting in the UIBackgroundModes key is needed to detect the iBeacon. So in summary, our app needs to detect an iBeacon in the background and for that needs the location background mode. But Apple keeps persisting that we don't need it.
When we remove the background mode and test the app in background, the process of detecting beacons is stopped.
In the info.plist it's like this:
		<key>UIBackgroundModes</key>
<array>
<string>bluetooth-central</string>
<string>location</string>
</array>
The bluetooth-central background mode is needed to connect with a BLE device.
Is there something wrong with our setup, or do we need some different way of explaining this to Apple?
Post not yet marked as solved
Hi,
I'm working with a BLE device manufacturer on a new device for which I'm tasked with developing the iOS app.
The hardware developer told me: "In response to a Scan request (from a phone or other device) the BLE stack is configured to include a device identifier". The device identifier is something I need to see in the advertising packet before I connect to the device.
I don't know what a "Scan request" is. Is this something I have to specifically ask for in my app? Is it something iOS does automatically?
Thanks,
Frank
Post not yet marked as solved
I want my app to be able to delete paired Bluetooth devices. Because if the device is paired with iPhone, it cannot be used for another device.
Is there any way to solve this problem? Thank you.
Post not yet marked as solved
I'm using Magic keyboard, Magic Mous 2. these devices are disconnecting periodically from mac. This is annoying, especially if you are a developer.
I tried removing my devices completely from paired devices and rejoining them again. But it does not work.
Does anyone find any solution around it?.
Please, Apple, fix this issue.!
Post not yet marked as solved
Hello,
We currently have a Windows PC that hosts an REST API.
We would like our iOS device to send requests to that API, while not being on the same immediate WiFi Network.
We use another piece of hardware that provides us with an SDK, and they require Bonjour services, so I suppose it's a way to do it. In order to have it work, we need to connect to that device thru Bluetooth.
What would be your recommendation?
Post not yet marked as solved
I have a bundle that I created that I then distribute with a test app.
Before Monterey it has worked fine.
On Monterey (Intel or Apple Silicon) it stopped returning scan results. I do not get any errors it just doesn't ever call the didDiscoverPeripheral like it used it.
If I make the single change of passing in an array of Service UUID values then suddenly it will find that one device and return scan results.
My bundle and app need to support scanning for all peripherals.
Can someone help me fix this?