public async Task DisconnectDevice(IAxLE device)
        {
            var bleDevice = _devices[device.SerialNumber];
            await _ble.DisconnectDevice(bleDevice);

            device.Dispose();
        }
        public async Task DisconnectDevice(IAxLE device)
        {
            await device.LEDFlash(); // Await LED flash to ensure command buffer is cleared before disconnect.

            var bleDevice = _devices[device.SerialNumber];
            await _ble.DisconnectDevice(bleDevice);

            device.Dispose();
        }