Removing filters and adding screenshots.
This commit is contained in:
parent
da565ad233
commit
b58bd9f946
BIN
Screenshot from 2024-11-03 12-22-14.png
Normal file
BIN
Screenshot from 2024-11-03 12-22-14.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 83 KiB |
BIN
Screenshot from 2024-11-03 12-34-24.png
Normal file
BIN
Screenshot from 2024-11-03 12-34-24.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 75 KiB |
BIN
Screenshot from 2024-11-03 12-35-24.png
Normal file
BIN
Screenshot from 2024-11-03 12-35-24.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 375 KiB |
BIN
Screenshot from 2024-11-03 12-35-38.png
Normal file
BIN
Screenshot from 2024-11-03 12-35-38.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 181 KiB |
@ -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; };
|
||||||
};
|
};
|
||||||
|
@ -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';
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user