Removing filters and adding screenshots.

This commit is contained in:
Sergiotarxz 2024-11-03 12:37:52 +01:00
parent da565ad233
commit b58bd9f946
6 changed files with 0 additions and 4 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 75 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 375 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 181 KiB

View File

@ -92,8 +92,6 @@ sub connect_if_disconnected($self) {
say 'Disconnected, trying to connect'; say 'Disconnected, trying to connect';
eval { eval {
$self->_adapter->StartDiscovery; $self->_adapter->StartDiscovery;
$self->_adapter->SetDiscoveryFilter(
{ Transport => Net::DBus::dbus_string('le') } );
$self->_device->Pair; $self->_device->Pair;
eval { $self->_device->Connect; }; eval { $self->_device->Connect; };
}; };

View File

@ -38,7 +38,6 @@ sub _read_bluetooth_printers($self) {
my @fhs = $self->_select->can_read(0); my @fhs = $self->_select->can_read(0);
for my $fh (@fhs) { for my $fh (@fhs) {
$fh->blocking(0); $fh->blocking(0);
say 'hola';
while ( defined( my $line = <$fh> ) ) { while ( defined( my $line = <$fh> ) ) {
my @return = map { $self->app->device_hash_to_object($_) } my @return = map { $self->app->device_hash_to_object($_) }
@{ JSON::from_json($line) }; @{ JSON::from_json($line) };
@ -46,7 +45,6 @@ sub _read_bluetooth_printers($self) {
Exd::DeviceToBluetooth->cache_printers( Exd::DeviceToBluetooth->cache_printers(
$self->_bluetooth_printers ); $self->_bluetooth_printers );
} }
say 'adios';
} }
} }