cancel
Showing results for 
Search instead for 
Did you mean: 

''Conn_Interval_Min'' and ''Conn_Interval_Max'' in Windows 10 API

Igor Shirokov
Associate II
Posted on April 23, 2018 at 14:18

I'm using BlueNRG-1 and 'throughput' example. My 

BlueNRG-1 is in 'SERVER' role. Windows 10 application is in 'CLIENT' role. But I can not find 'Conn_Interval_Min' and  'Conn_Interval_Max' in Windows 10 API. Where can I find these parameters?

4 REPLIES 4
Antonio Vilei
Senior III
Posted on April 24, 2018 at 15:14

Hello Igor,

are you using the BLE Throughput example included in the

http://www.st.com/en/embedded-software/stsw-bluenrg1-dk.html

?

If yes, please notice that you must use two 

BlueNRG-1 devices, one acting as a server, and the other as a client. The configuration of the client side is independent of the operating system running on your PC (Windows 10 in your case), so you don't need to use Windows 10 API.

In the source code for the BLE throughput example, you can find 'Conn_Interval_Min' and 'Conn_Interval_Max' used by the client as parameters to the aci_gap_create_connection() function in the Project\BLE_Examples\BLE_Throughput\src\throughput.c source file.

Best regards,

Antonio

Igor Shirokov
Associate II
Posted on April 24, 2018 at 19:04

Hello Antonio.

I need transmit data not to second BlueNRG-1 chip, but to PC on Wndows 10 aplication. Where can I find parametrs there?

Winfred LU
ST Employee
Posted on April 25, 2018 at 05:07

Hi Igor,

Could you check

class-of-device registry subkeys and entries that apply to the Bluetooth driver stack?

https://msdn.microsoft.com/en-us/library/windows/hardware/ff536602(v=vs.85).aspx

 

Best Regards,

Winfred

Posted on April 25, 2018 at 05:16

Hi Igor,

The registry keys are for class driver's default configurations.

If you would like to know the application's connection interval setting, it's possible to 

enable logging and then use BtEtlParse.exe to generate a ComProbe Analyzer capture file.

BtEtlParse.exe can be found in WDK10.

Reference:

https://social.msdn.microsoft.com/Forums/vstudio/en-US/963667f9-c193-447a-ad37-4621fa4c9c6d/how-to-get-current-ble-connection-parameters-connection-interval-etc-for-paired-device?forum=wdk

 

Best Regards,

Winfred