I am connecting to a Bluetooth Low Energy (BLE) device from a C# console application using the 32feet InTheHand BLE library.
I would like to set the connection interval to the minimum possible (7.5ms), in order to achieve the maximum number of signals per second that is possible. (Not really relevant, but the signals are very light weight, byte or less).
At this time, my functional code looks like this, but I can't find a way to set the interval:
using InTheHand.Bluetooth;
IReadOnlyCollection<BluetoothDevice> discoveredDevices = await Bluetooth.ScanForDevicesAsync();
BluetoothDevice fooDevice = discoveredDevices.Single(d => d.Name == "fooDevice");
var gatt = fooDevice.Gatt;
await gatt.ConnectAsync();
GattService barService = await gatt.GetPrimaryServiceAsync(BleUuids.BAR_SERVICE);
GattCharacteristic fooChar = await barService .GetCharacteristicAsync(Guid.Parse(BleUuids.FOO_CHAR));
How would I set the connection interval to set messages every 7.5ms?