| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
getDefaultAdapter()
Notable: manager.stopDiscovery() doesn't lead to !manager.getDiscovering() (radio silence).
Only manager.getDefaultAdapter().stopDiscovery() worked.
|
|
|
|
| |
version number)
|
|
|
|
|
| |
Added a method to check if a discovery process is running directly from the BluetoothManager (completion to startDiscovery and stopDiscovery).
Signed-off-by: Jorge Esteves <[email protected]>
|
|
|
|
| |
Signed-off-by: pierantoniomerlino <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
instead of getTXPower
Fixed class name in helper.cxx get_bluetooth_type, "Ltinyb/BluetoothType"
instead of "l"
Added a method removeDevices() in BluetoothAdapter class to remove all
the known devices (getDevices() will return an empty list after this call).
Added startNearbyDiscovery() and stopNearbyDiscovery() in BlutoothManager
main class. The start method will clear the internal device list and
send a notification to a listener when a new device is found.
The implementation is a simple thread which will poll each x miliseconds
the list of known devices and compare it to an internal list of known
devices, if the device is new, an event is fired to the passed listener.
Signed-off-by: sbodmer <[email protected]>
|
|
|
|
| |
Signed-off-by: pierantoniomerlino <[email protected]>
|
|
|
|
| |
Signed-off-by: Petre Eftime <[email protected]>
|
|
|
|
|
|
| |
getBluetoothManager.
Signed-off-by: Petre Eftime <[email protected]>
|
|
|
|
| |
Signed-off-by: Petre Eftime <[email protected]>
|
|
|
|
| |
Signed-off-by: Petre Eftime <[email protected]>
|
|
|
|
| |
Signed-off-by: Andrei Vasiliu <[email protected]>
|
|
|
|
| |
Signed-off-by: Stefan Andritoiu <[email protected]>
|
|
|
|
| |
Signed-off-by: Andrei Vasiliu <[email protected]>
|
|
|
|
| |
Signed-off-by: Stefan Andritoiu <[email protected]>
|
|
|
|
| |
Signed-off-by: Andrei Vasiliu <[email protected]>
|
|
Signed-off-by: Andrei Vasiliu <[email protected]>
|