private void OnDeviceAddressChanged(object sender, DeviceAddressStatus e) { if (!string.IsNullOrWhiteSpace(e?.Address)) { txtAddress.Text = e.Address; MessageBox.Show($@"Device Address has been updated to {e.Address}", @"Device Address Updated"); } }
private void OnDeviceAddressStatusChanged(object sender, DeviceAddressStatus deviceAddressStatus) { callBackDeviceAddressStatus(deviceAddressStatus); }
private void DeviceAddressChanged(object sender, DeviceAddressStatus e) { _spi.Pair(); }