hello,
my device uses bluetooth le 4 for communication.
although my device appears as paired in device manager, it's not assigned a port.
my developing enviroment: win8 visual studio 2015
i'm using DeviceInformation.FindAllAsync to locate my device,
but GattDeviceService.FromIdAsync fails.
var devices = await DeviceInformation.FindAllAsync(
GattDeviceService.GetDeviceSelectorFromUuid(GattServiceUuids.GenericAccess),
new string[] { "System.Devices.ContainerId" });
if (devices.Count > 0)
{
GattDeviceService svr = null;
foreach (var device in devices)
{
svr = await GattDeviceService.FromIdAsync(device.Id);
}
}
i specified the device capabilities:
<Capabilities>
<m2:DeviceCapability Name="bluetooth.rfcomm">
<m2:Device Id="any">
<m2:Function Type="name:serialPort"/>
</m2:Device>
</m2:DeviceCapability>
</Capabilities>
is there anything i should add?
is there a different way of accessing the problem?
thanks
What I have tried:
Tried using Microsoft Bluetooth Low Energy Functions unsuccessfuly