Hi all!
I am writing a Windows Store app based on the Bluetooth Generic Attribute Profile on Windows 8.1 and C#.
I managed to connect to the device and receive values from the Primary Service (using a BTLE-Dongle).
However, there should be an additional Service running on the device, but I am not able to discover it.
This works.
vardevices=awaitDeviceInformation.FindAllAsync(
GattDeviceService.GetDeviceSelectorFromShortId(0x180d),
//HeartRateMeasurementService.
newstring[]
{ "System.Devices.ContainerId"});
How to discover properties of Secondary Service?
GattDeviceService.GetDeviceSelectorFromShortId(0x3ba0), //ecgMeasurementService.
GattDeviceService.GetDeviceSelectorFromShortId(0x180f), //BatteryLevelService.
Is there only one Primary Service on a Device? Can there be more than one Secondary Service?
Are there any code samples out there for this Problem?
Do I have the same Problem as described here?
"Bluetooth LE Discovery all Primary Services of a known Device's ID C#" asked by Jim Lyon.
Thanks in advance.