Recent Posts

Pages: 1 ... 7 8 [9] 10
81
Bluetooth Framework / Re: Custom Advertisement Packets
« Last post by Mike Petrichenko on January 18, 2022, 05:15:57 AM »
Hello,

In fact I know how BLE advertisement looks. Not all advertismeents from any BLE device includes name and other data. It's just your device does so. Others may advertise name in separate advertisement. As you have MAC its not a problem to combine name and manufacturer data with using, let say, Dictionary class or something similar.

However we probably can add something like OnRawFrame but you have to parse all the data manually then.
82
Bluetooth Framework / Re: Custom Advertisement Packets
« Last post by briandunham on January 17, 2022, 11:57:04 PM »
Is there not support for having multiple data type in the SAME advertisement packet? For example, we are scanning for specific advertisements and each advertisement has the flags, manufacturer data, and complete local name. All within the same packet! The issue here is when using the Beacons Demo, the OnAdvertisementFrameInformation() and OnManufacturerRawFrame() hooks are both called for a single advertisement. So associating the manufacturer data with the complete local name becomes unreliable because I have no way of knowing if they both came from the same advertisement or not.

I attached an image below showing how a Bluetooth advertisement can have multiple data types within the same payload. Is there a way to do this with this library?

83
Bluetooth Framework / Re: Custom Advertisement Packets
« Last post by Mike Petrichenko on January 11, 2022, 06:32:07 PM »
Thanks for the quick response! But for future reference, is there a way to have multiple data types that are allowed?

You can find all the data type restrictions by this link: https://www.btframework.com/blebeacon.htm
84
Bluetooth Framework / Re: Custom Advertisement Packets
« Last post by briandunham on January 11, 2022, 06:29:39 PM »
Thanks for the quick response! But for future reference, is there a way to have multiple data types that are allowed?
85
Bluetooth Framework / Re: Custom Advertisement Packets
« Last post by Mike Petrichenko on January 10, 2022, 10:53:35 PM »
Hello,

You can not use LE_GAP_AD_TYPE_FLAGS on Windows platform. For LE_GAP_AD_TYPE_MANUFACTURER use wclBluetoothLeManufacturerAdvertisement class (refer to Beacons demo application to find more details).
86
Bluetooth Framework / Custom Advertisement Packets
« Last post by briandunham on January 10, 2022, 10:40:34 PM »
I'm trying to create custom advertisement packets with multiple advertisement data types. For example, I need to have a single packet with both LE_GAP_AD_TYPE_FLAGS data and LE_GAP_AD_TYPE_MANUFACTURER data in the same packet. I'm referencing the Beacons demo project and I don't see a way do to this.
87
Bluetooth Framework / Re: wclThread c++ example
« Last post by Mike Petrichenko on December 03, 2021, 08:57:56 PM »
We have update one of our demo code to show how to use wclThread class. This is very simple demo app but it gives some ideas how to use the class.

https://github.com/btframework/ConcurrentBleConnections
88
Bluetooth Framework / Re: Bluetooth 7.13.3.0 missing project file
« Last post by Mike Petrichenko on December 01, 2021, 06:23:17 PM »
Hello,

Just downloaded and installed Bluetooth Framework .NET with source code 7.13.3.0. All files are there. The correct path is: WCL\NET\Source\Bluetooth\netframework.
89
Bluetooth Framework / Bluetooth 7.13.3.0 missing project file
« Last post by MrPaulCarpenter on December 01, 2021, 04:34:55 PM »
After unzipping and running WclBluetoothSrc_NET.exe for version  7_13_3_0

Folder:

WCL\Source\Bluetooth\netframework

is empty.

Also true for  version  7_13_2_0
90
Bluetooth Framework / Re: wclThread c++ example
« Last post by Mike Petrichenko on November 15, 2021, 04:28:54 PM »
All Bluetooth Framework events always fires in the same thread that called Open()/Connect(). So your waiting loop blocks the execution and state will never change.
Pages: 1 ... 7 8 [9] 10