Recent Posts

Pages: [1] 2 3 ... 10
1
Bluetooth Framework / Re: connect with UUID
« Last post by turck on January 19, 2019, 12:40:05 PM »
it's perfect
thank you so much
2
Bluetooth Framework / Re: connect with UUID
« Last post by Mike Petrichenko on January 18, 2019, 08:32:30 PM »
Hi,

the common way is to use wclRfCommClient and set its Service property to the UUID of your service.
3
Thanks! I can confirm that it works now in 7.6.2.0 :)
4
Bluetooth Framework / connect with UUID
« Last post by turck on January 18, 2019, 07:59:13 PM »
Hi Mike
I am a beginner in Bluetooth programming
VCL delphi 7
Android application
I connect from the PC to the phone without difficulty and send a file.
I would like the PC to connect directly to the Android application
I know the UUID of the application
Can you help me.
Thank you
5
News And Events / Bluetooth Framework 7.6.2.0 has been released
« Last post by Mike Petrichenko on January 18, 2019, 06:27:35 PM »
What's new

* Fixed issue that prevents from re-discovering Bluetooth devices if Discover() method called from OnDiscoveringCompleted() event handler;
* C++ Edition: Fixed "Unresolved external" for CwclRfCommClient::GetTimeout() method.

https://www.btframework.com/bluetoothframework.htm
6
Ok, it looks fixed now and we are publishing the release. Should be available in an hour or so.
7
Looks like it's possible using BluetoothLEAdvertisingWatcher in the Windows API: https://docs.microsoft.com/en-us/uwp/api/windows.devices.bluetooth.advertisement.bluetoothleadvertisementwatcher.-ctor#Windows_Devices_Bluetooth_Advertisement_BluetoothLEAdvertisementWatcher__ctor_Windows_Devices_Bluetooth_Advertisement_BluetoothLEAdvertisementFilter_

I haven't tried it yet, but looking through your beacon code I believe I could use wclBluetoothLeBeaconWatcher to scan for "AdvertisementUuidFrame"s that match the service UUID I'm looking for, and then use the address associated with the frame to connect to the device using the standard API.

You are mixing up 2 different things. GATT service you are reffered to in your first question about HeatRate monitor BLE device and BLE Advertiser (Beacon). The UUID advertised may be or may not be the same as GATT services UUIDs.
8
Hello! Is there any way to do a discover for BLE devices matching a certain service short UUID? It's part of the BLE advertising packet I believe and iOS's discover service supports that (https://developer.apple.com/documentation/corebluetooth/cbcentralmanager/1518986-scanforperipherals) so it should technically be possible. Closest I've found in the framework is radio.EnumRemoteServices, but since it doesn't appear to accept a short UUI and it's not quick it unfortunately doesn't work for my use case (enumerating BLE heart rate monitors, short UUID 0x180D).

Thanks!

No, Bluetooth Framework does not support such feature.
9
Bluetooth Framework / Re: Discovering BLE devices with just specific services?
« Last post by mdlieder on January 18, 2019, 01:57:59 AM »
Looks like it's possible using BluetoothLEAdvertisingWatcher in the Windows API: https://docs.microsoft.com/en-us/uwp/api/windows.devices.bluetooth.advertisement.bluetoothleadvertisementwatcher.-ctor#Windows_Devices_Bluetooth_Advertisement_BluetoothLEAdvertisementWatcher__ctor_Windows_Devices_Bluetooth_Advertisement_BluetoothLEAdvertisementFilter_

I haven't tried it yet, but looking through your beacon code I believe I could use wclBluetoothLeBeaconWatcher to scan for "AdvertisementUuidFrame"s that match the service UUID I'm looking for, and then use the address associated with the frame to connect to the device using the standard API.
10
Thanks a lot! No rush :)
Pages: [1] 2 3 ... 10