Comments (4)
Which devices are visible/found during scan depends on what bluez sees.
When bluez thinks that a device is still available (even though it has been turned off) it will be found during scan.
from bluez-dbus.
After restarting my device, I can still scan the device that has been shut down. Where does this data exist? Is it possible for me to clear this data
from bluez-dbus.
This library is only a bridge between java and bluez. It does this by providing the required interface classes used to connect to bluez using dbus.
If bluez has stored something somewhere and still propagates this information on dbus you will still get that information.
There is no way of clearing this data. This library simply uses what bluez is publishing on DBus. You may try the bluez commandline tool to check what bluez does. You may also use dbus commandline utils (or a GUI like d-feet) to see what information bluez is publishing on the bus.
from bluez-dbus.
I have found a solution that can clear the cache after executing a command
service bluetooth stop
rm -rf /var/lib/bluetooth
service bluetooth start
from bluez-dbus.
Related Issues (20)
- How to pair a new device (phone) using bluez-dbus HOT 2
- New minor release with recent fixes HOT 1
- how to response to ATT `Handle Value Notification` HOT 1
- Possible Map marshalling/de-marshalling issue HOT 1
- Scan Response (Question) HOT 2
- GATTService address wrong ? HOT 3
- "could not load FFI provider jnr.ffi.provider.jffi.Provider" when using module-info.java HOT 1
- Ability to remove property and signal handlers from the com.github.hypfvieh.bluetooth.DeviceManager HOT 2
- Can I write a descriptor to enable notification? HOT 2
- bluez-dbus license HOT 1
- Question Mesh API support HOT 4
- File descriptors in method returns HOT 3
- Create A BLE Server HOT 1
- bluez-dbus with dbus-java 3.3.2 HOT 2
- How to use this library for Bluetooth intermediate communication HOT 22
- How to set bluetooth mtu HOT 3
- Unable to get Metadata PropertiesChanged of org.mpris.MediaPlayer2.Player HOT 4
- get RSSI fail HOT 2
- Method "Disconnect" on interface "org.bluez.Device1" doesn't exist HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bluez-dbus.