public async void Connect()
{
//Find a device that is advertising the ancs service uuid
var serviceDeviceSelector = GattDeviceService.GetDeviceSelectorFromUuid(_ancsServiceUiid);
var devices = await DeviceInformation.FindAllAsync(serviceDeviceSelector, null);
this.AncsDevice = devices.First();
//Resolve the service
this.AncsService = await GattDeviceService.FromIdAsync(this.AncsDevice.Id);
this.AncsService.Device.ConnectionStatusChanged += DeviceOnConnectionStatusChanged;
//Get charasteristics of service
this.NotificationSourceCharacteristic = this.AncsService.GetCharacteristics(_notificationSourceCharacteristicUuid).First();
this.ControlPointCharacteristic = this.AncsService.GetCharacteristics(_controlPointCharacteristicUuid).First();
this.DataSourceCharacteristic = this.AncsService.GetCharacteristics(_dataSourceCharacteristicUuid).First();
}