Recent Posts

Pages: 1 ... 6 7 [8] 9 10
71
Bluetooth Framework / Re: Writing to Custom Service
« Last post by briandunham on February 07, 2022, 07:32:26 PM »
Our hardware currently doesn't support reading any services profiles from it, but I will just manually fill out all the wclGattCharacteristic fields and just call the wclGattClient.WriteCharacteristicValue() function.

But now I'm confused on how I can hardcode the UUID field in the wclGattCharacteristic. After looking at the definition, there is a 20 byte GUID struct. But the UUID 3347AB00-FB94-11E2-A8E4-F23C91AEC05E is 16 bytes. What am I missing here?
72
Bluetooth Framework / Re: Writing to Custom Service
« Last post by Mike Petrichenko on February 07, 2022, 07:05:47 PM »
Hi,

You can do it by saving all the characteristic data from the wclGattCharacteristic structure. You have to store all the fields from that structure. If your device has hardcoded characteristi you also can hard code it in your application.
73
Bluetooth Framework / Writing to Custom Service
« Last post by briandunham on February 07, 2022, 07:01:11 PM »
Hi,

I'm trying to write to characteristics within a custom service that is defined here: https://www.lairdconnect.com/wireless-modules/bluetooth-module/sable-x-ble-module/serial-ble-profile

I've been referencing the GattClient Demo, and I see that it reads the available services with the wclGattClient.ReadServices() call. It then stores the services and references them later when writing to the characteristics. However, my question is how can I write to the service characteristics without first reading the services? I know the hardware we're writing to contains the service, and I just want to write directly to it without having to do a ReadServices().
74
Bluetooth Framework / Re: Custom Advertisement Packets
« Last post by briandunham on January 28, 2022, 12:27:37 AM »
Yes I received that update too. Thanks again!
75
Bluetooth Framework / Re: Custom Advertisement Packets
« Last post by Mike Petrichenko on January 27, 2022, 06:13:33 AM »
You are very welcome. Have you received update with new raw advertisement so you can build your own advertisements? I sent it a couple of days ago.
76
Bluetooth Framework / Re: Custom Advertisement Packets
« Last post by briandunham on January 27, 2022, 02:32:56 AM »
Just replying here to say that the new event works perfectly. We are now able to read the entire Bluetooth raw payload in a single event. Which allows us to have the freedom to build our own customized data parser to fit our needs! Great addition Mike
77
Bluetooth Framework / Re: Custom Advertisement Packets
« Last post by Mike Petrichenko on January 18, 2022, 10:00:36 PM »
Just sent changed version with new OnAdvertisementReceived() event to the registered e-mail address.
78
Bluetooth Framework / Re: Custom Advertisement Packets
« Last post by briandunham on January 18, 2022, 07:24:09 PM »
Thank you very much Mike. We really appreciate your support!
79
Bluetooth Framework / Re: Custom Advertisement Packets
« Last post by Mike Petrichenko on January 18, 2022, 06:59:55 PM »
Ok, I see. We will try to add this feature. I'll let you about progress soon.
80
Bluetooth Framework / Re: Custom Advertisement Packets
« Last post by briandunham on January 18, 2022, 06:50:29 PM »
I can't go into the specifics of how our hardware uses advertisements. But having all the data presented in a single OnRawFrame hook would be very beneficial for us. Parsing the data manually is no problem, but trying to piece together data from multiple hooks and storing it in a data structure isn't the ideal approach for us. In our specific case, this becomes an overly complicated solution that can be prone to issues.

This same issues arises when sending advertisements from Windows to our hardware. Putting all the data into a single advertisement would be very helpful even if we have to manually build the packet byte-by-byte.
Pages: 1 ... 6 7 [8] 9 10