[Interest] BTLE device discovered on Linux, Windows, and Android, but not MacOS or iOS

ekke ekke at ekkes-corner.org
Thu Nov 3 22:22:37 CET 2022

in fact I'm using something like this:

<key>NSBluetoothPeripheralUsageDescription</key> <string>$(PRODUCT_NAME) 
uses Bluetooth LE Device (WaiterLock) for easy Login</string> 
<key>NSBluetoothAlwaysUsageDescription</key> <string>$(PRODUCT_NAME) can 
use a Bluetooth LE WaiterLock for Login - esp. if iPad is shared by Team 

sorry - cannot help with macOS - I'm using BTLE only on Android/iOS

Am 03.11.22 um 21:22 schrieb ekke:
> you should have something like this in your info.plist:
> <key>NSBluetoothPeripheralUsageDescription</key>
> <string>$(PRODUCT_NAME)searchesBluetoothLEDevicesforBarcodeScanner</string>
> ekke
> Am 03.11.22 um 19:51 schrieb Glen Mabey:
>> I'm working on a project that is developing a new Bluetooth Low 
>> Energy device (it's a BTLE "peripheral"), which is *not* running any 
>> Qt code.
>> The application that talks to it (the BTLE "central") *is* written in 
>> Qt -- I've tried various versions, but I'm currently using 6.4.0.
>> I started with the "Bluetooth Low Energy Heart Rate Game" example but 
>> also consulted other BTLE examples provided with Qt.  Everything 
>> works as expected in Linux, Windows 10, and Android, but in MacOS and 
>> iOS the device is simply never discovered.
>> I suspect that there's an Apple "white list" that is filtering out 
>> this device (still under hardware development) before it reaches Qt 
>> libraries, but I have been unable to find any Apple specific docs 
>> that identify such a mechanism.
>> So, this really is a MacOS/iOS question (problem) but I'm posting 
>> here first because I'm afraid that the fact that I'm using Qt will 
>> confuse apple developers who otherwise would be helpful.
>> Also of note -- using this app 
>> https://apps.apple.com/us/app/lightblue/id557428110 I *do* see the 
>> peripheral under development, which makes me believe that it's not 
>> anything hardware or RF related, nor even a fundamental limitation of 
>> iOS.  There's just some kind of permission that needs to be relaxed 
>> -- like promiscuous mode for ethernet.
>> Does anyone know where such a setting might be housed?
>> Thank you!
>> Glen Mabey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20221103/ee5e6f78/attachment.htm>

More information about the Interest mailing list