Frameworks > Bluetooth Framework

GATT Server functionality related questions

(1/3) > >>

exsurgo_ankit:
Hello

I am building a hardware emulator on windows. Our hardware acts as a Bluetooth LE GATT server and connects to a Windows app which acts as a GATT client and works fine.
We are using version 7.10.1.0.

Now I working on making the windows machine act as a GATT server. I am able to advertise and accept a connection, get notified on writes and subscriptions. But I can't find the following:
1. An event to notify that a GATT client has connected.
2. Ability to read and change GAP connection parameters to change min and max connection intervals. We need to set a short interval as we transmit a lot of data.

We really need to update GAP parameters to enable proper hardware emulation.

Please advice how we can achieve this.

Regards
Ankit

Mike Petrichenko:
Hello,

1. Unfortunately on Windows there is no notification about connection.disconnection for GATT server. We were looking to find a workaround but it looks not possible.
2. It does not look possible to change connection parameters for GATT server but we will look onit deeper. However, if that can be possible, it will work on Windows 11 only.

exsurgo_ankit:
Hello Mike,

Thank you for a response. I tried to dig further and time the operations.

I found that the slowest bit is this call
wclGattLocalCharacteristic.Notify(subscriberAddr, dataToWrite)
It takes 45 milliseconds.

Can I assume that with Bluetooth 5.0 compliant hardware, Data Length Extensions would be enabled? I am trying to write more than 100 bytes in a single notification.

Do note that when the same PC is a GATT Client, it is able to receive the packets with more than 100 bytes just fine.

Regards

Mike Petrichenko:
Windows 10 claims to support BT 5.0 Data Length Extensions.

exsurgo_ankit:
I believe so too. But why does wclGattLocalCharacteristic.Notify take 45 milliseconds then?
That is the bottle neck in our application at the moment.

Navigation

[0] Message Index

[#] Next page

Sitemap 1 2 3 4 5 6 7 
Go to full version