Uses of Class
org.bluez.exceptions.BluezFailedException
Packages that use BluezFailedException
Package
Description
-
Uses of BluezFailedException in com.github.hypfvieh.bluetooth
Methods in com.github.hypfvieh.bluetooth that throw BluezFailedExceptionModifier and TypeMethodDescriptionvoidDeviceManager.setScanFilter(Map<DiscoveryFilter, Object> _filter) Setup bluetooth scan/discovery filter. -
Uses of BluezFailedException in com.github.hypfvieh.bluetooth.wrapper
Methods in com.github.hypfvieh.bluetooth.wrapper that throw BluezFailedExceptionModifier and TypeMethodDescriptionbyte[]Read a value from the GATT characteristics register.
Supported options:byte[]Read a value from the GATT descriptor register.
Supported options:voidBluetoothAdapter.removeDevice(Device1 _device) Remove a device and it's pairing information.voidBluetoothAdapter.setDiscoveryFilter(Map<String, org.freedesktop.dbus.types.Variant<?>> _filter) Use this to set a discovery filter.
This will cause the bluez library to only add device objects which are matching the given criterias.
Support values for the Map:voidBluetoothGattCharacteristic.startNotify()From bluez Documentation:voidBluetoothGattCharacteristic.stopNotify()From bluez Documentation:voidBluetoothGattCharacteristic.writeValue(byte[] _value, Map<String, Object> _options) Write value to the GATT characteristic register.
Supported options:voidBluetoothGattDescriptor.writeValue(byte[] _value, Map<String, Object> _options) Write value to the GATT descriptor register.
Supported options: -
Uses of BluezFailedException in org.bluez
Methods in org.bluez that throw BluezFailedExceptionModifier and TypeMethodDescriptionThreeTuple<org.freedesktop.dbus.FileDescriptor, org.freedesktop.dbus.types.UInt16, org.freedesktop.dbus.types.UInt16> MediaTransport1.Acquire()From bluez documentation:
Acquire transport file descriptor and the MTU for read
and write respectively.
TwoTuple<org.freedesktop.dbus.FileDescriptor, org.freedesktop.dbus.types.UInt16> GattCharacteristic1.AcquireNotify(Map<String, org.freedesktop.dbus.types.Variant<?>> _options) From bluez documentation:
Acquire file descriptor and MTU for notify.TwoTuple<org.freedesktop.dbus.FileDescriptor, org.freedesktop.dbus.types.UInt16> GattCharacteristic1.AcquireWrite(Map<String, org.freedesktop.dbus.types.Variant<?>> _options) From bluez documentation:
Acquire file descriptor and MTU for writing.voidMediaItem1.AddtoNowPlaying()From bluez documentation:
Add item to now playing list
voidDevice1.CancelPairing()From bluez documentation:
This method can be used to cancel a pairing
operation initiated by the Pair method.
voidMediaFolder1.ChangeFolder(org.freedesktop.dbus.DBusPath _folder) From bluez documentation:
Change current folder.
Note: By changing folder the items of previous folder
might be destroyed and have to be listed again, the
exception is NowPlaying folder which should be always
present while the player is active.
voidGattCharacteristic1.Confirm()From bluez documentation:
This method doesn't expect a reply so it is just a
confirmation that value was received.
voidDevice1.Connect()From bluez documentation:
This is a generic method to connect any profiles
the remote device supports that can be connected
to and have been flagged as auto-connectable on
our side.org.freedesktop.dbus.DBusPathAdapter1.ConnectDevice(Map<String, org.freedesktop.dbus.types.Variant<?>> _properties) From bluez documentation:
This method connects to device without need of
performing General Discovery.voidDevice1.ConnectProfile(String _uuid) From bluez documentation:
This method connects a specific profile of this
device.voidNetwork1.Disconnect()From bluez documentation:
Disconnect from the network device.
To abort a connection attempt in case of errors or
timeouts in the client it is fine to call this method.
voidSimAccess1.Disconnect()From bluez documentation:
Disconnects SAP client from the server.
voidDevice1.DisconnectProfile(String _uuid) From bluez documentation:
This method disconnects a specific profile of
this device.voidMediaPlayer1.FastForward()From bluez documentation:
Fast forward playback, this action is only stopped
when another method in this interface is called.
voidMediaPlayer1.Hold(byte _avc_key) From bluez documentation:
Press and hold a specific key to send as passthrough
command.TwoTuple<org.freedesktop.dbus.DBusPath,Properties>[] From bluez documentation:
Return a list of items found
voidMediaPlayer1.Next()From bluez documentation:
Next item.
voidDevice1.Pair()From bluez documentation:
This method will connect to the remote device,
initiate pairing and then retrieve all SDP records
(or GATT primary services).
If the application has registered its own agent,
then that specific agent will be used.voidMediaPlayer1.Pause()From bluez documentation:
Pause playback.
voidMediaItem1.Play()From bluez documentation:
Play item
voidMediaPlayer1.Play()From bluez documentation:
Resume playback.
voidMediaPlayer1.Press(byte _avc_key) From bluez documentation:
Press a specific key to send as passthrough command.
The key will be released automatically.voidMediaPlayer1.Previous()From bluez documentation:
Previous item.
byte[]From bluez documentation:
Issues a request to read the value of the
characteristic and returns the value if the
operation was successful.
Possible options: "offset": uint16 offset
"mtu": Exchanged MTU (Server only)
"device": Object Device (Server only)
byte[]From bluez documentation:
Issues a request to read the value of the
characteristic and returns the value if the
operation was successful.
Possible options: "offset": Start offset
"device": Device path (Server only)
"link": Link type (Server only)
voidMediaPlayer1.Release()From bluez documentation:
Release the previously held key invoked using Hold().
voidAdapter1.RemoveDevice(org.freedesktop.dbus.DBusPath _device) From bluez documentation:
This removes the remote device object at the given
path.voidMediaPlayer1.Rewind()From bluez documentation:
Rewind playback, this action is only stopped
when another method in this interface is called.
org.freedesktop.dbus.DBusPathFrom bluez documentation:
Return a folder object containing the search result.
To list the items found use the folder object returned
and pass to ChangeFolder.
voidAdapter1.SetDiscoveryFilter(Map<String, org.freedesktop.dbus.types.Variant<?>> _filter) From bluez documentation:
This method sets the device discovery filter for the
caller.voidAdapter1.StartDiscovery()From bluez documentation:
This method starts the device discovery session.voidGattCharacteristic1.StartNotify()From bluez documentation:
Starts a notification session from this characteristic
if it supports value notifications or indications.
voidMediaPlayer1.Stop()From bluez documentation:
Stop playback.
voidAdapter1.StopDiscovery()From bluez documentation:
This method will cancel any previous StartDiscovery
transaction.
Note that a discovery procedure is shared between all
discovery sessions thus calling StopDiscovery will only
release a single session and discovery will stop when
all sessions from all clients have finished.
voidGattCharacteristic1.StopNotify()From bluez documentation:
This method will cancel any previous StartNotify
transaction.ThreeTuple<org.freedesktop.dbus.FileDescriptor, org.freedesktop.dbus.types.UInt16, org.freedesktop.dbus.types.UInt16> MediaTransport1.TryAcquire()From bluez documentation:
Acquire transport file descriptor only if the transport
is in "pending" state at the time the message is
received by BlueZ.voidGattCharacteristic1.WriteValue(byte[] _value, Map<String, org.freedesktop.dbus.types.Variant<?>> _options) From bluez documentation:
Issues a request to write the value of the
characteristic.
Possible options: "offset": Start offset
"type": string
Possible values:
"command": Write without
response
"request": Write with response
"reliable": Reliable Write
"mtu": Exchanged MTU (Server only)
"device": Device path (Server only)
"link": Link type (Server only)
"prepare-authorize": True if prepare
authorization
request
voidGattDescriptor1.WriteValue(byte[] _value, Map<String, org.freedesktop.dbus.types.Variant<?>> _flags) From bluez documentation:
Issues a request to write the value of the
characteristic.
Possible options: "offset": Start offset
"device": Device path (Server only)
"link": Link type (Server only)
"prepare-authorize": boolean Is prepare
authorization
request
-
Uses of BluezFailedException in org.bluez.obex
Methods in org.bluez.obex that throw BluezFailedExceptionModifier and TypeMethodDescriptionvoidTransfer1.Cancel()From bluez documentation:
Stops the current transference.
voidFileTransfer.ChangeFolder(String _folder) From bluez documentation:
Change the current folder of the remote device.
voidFrom bluez documentation:
Copy a file within the remote device from source file
to target file.
voidFileTransfer.CreateFolder(String _folder) From bluez documentation:
Create a new folder in the remote device.
org.freedesktop.dbus.DBusPathClient1.CreateSession(String _destination, Map<String, org.freedesktop.dbus.types.Variant<?>> _args) From bluez documentation:
Create a new OBEX session for the given remote address.
The last parameter is a dictionary to hold optional or
type-specific parameters.voidFrom bluez documentation:
Deletes the specified file/folder.
ObjectPush1.ExchangeBusinessCards(String _clientfile, String _targetfile) From bluez documentation:
Push the client's business card to the remote device
and then retrieve the remote business card and store
it in a local file.
If an empty target file is given, a name will be
automatically calculated for the temporary file.
The returned path represents the newly created transfer,
which should be used to find out if the content has been
successfully transferred or if the operation fails.
The properties of this transfer are also returned along
with the object path, to avoid a call to GetProperties.
From bluez documentation:
Download message and store it in the target file.
If an empty target file is given, a temporary file
will be automatically generated.
The returned path represents the newly created transfer,
which should be used to find out if the content has been
successfully transferred or if the operation fails.
The properties of this transfer are also returned along
with the object path, to avoid a call to GetProperties.
Session1.GetCapabilities()From bluez documentation:
Get remote device capabilities.
From bluez documentation:
Copy the source file (from remote device) to the
target file (on local filesystem).
If an empty target file is given, a name will be
automatically calculated for the temporary file.
The returned path represents the newly created transfer,
which should be used to find out if the content has been
successfully transferred or if the operation fails.
The properties of this transfer are also returned along
with the object path, to avoid a call to GetProperties.
Synchronization1.GetPhonebook(String _targetfile) From bluez documentation:
Retrieve an entire Phonebook Object store from remote
device, and stores it in a local file.
If an empty target file is given, a name will be
automatically calculated for the temporary file.
The returned path represents the newly created transfer,
which should be used to find out if the content has been
successfully transferred or if the operation fails.
The properties of this transfer are also returned along
with the object path, to avoid a call to GetProperties.
org.freedesktop.dbus.types.UInt16PhonebookAccess1.GetSize()From bluez documentation:
Return the number of entries in the selected phonebook
object that are actually used (i.e. indexes that
correspond to non-NULL entries).
FileTransfer.ListFolder()From bluez documentation:
Returns a dictionary containing information about
the current folder content.
The following keys are defined:
string Name : Object name in UTF-8 format
string Type : Either "folder" or "file"
uint64 Size : Object size or number of items in
folder
string Permission : Group, owner and other
permission
uint64 Modified : Last change
uint64 Accessed : Last access
uint64 Created : Creation date
MessageAccess1.ListFolders(Map<String, org.freedesktop.dbus.types.Variant<?>> _filter) From bluez documentation:
Returns a dictionary containing information about
the current folder content.
The following keys are defined:
string Name : Folder name
Possible filters: Offset and MaxCount
MessageAccess1.ListMessages(String _folder, Map<String, org.freedesktop.dbus.types.Variant<?>> _filter) From bluez documentation:
Returns an array containing the messages found in the
given subfolder of the current folder, or in the
current folder if folder is empty.
Possible Filters: Offset, MaxCount, SubjectLength, Fields,
Type, PeriodStart, PeriodEnd, Status, Recipient, Sender,
Priority
Each message is represented by an object path followed
by a dictionary of the properties.
Properties:
string Subject:
Message subject
string Timestamp:
Message timestamp
string Sender:
Message sender name
string SenderAddress:
Message sender address
string ReplyTo:
Message Reply-To address
string Recipient:
Message recipient name
string RecipientAddress:
Message recipient address
string Type:
Message type
Possible values: "email", "sms-gsm",
"sms-cdma" and "mms"
uint64 Size:
Message size in bytes
boolean Text:
Message text flag
Specifies whether message has textual
content or is binary only
string Status:
Message status
Possible values for received messages:
"complete", "fractioned", "notification"
Possible values for sent messages:
"delivery-success", "sending-success",
"delivery-failure", "sending-failure"
uint64 AttachmentSize:
Message overall attachment size in bytes
boolean Priority:
Message priority flag
boolean Read:
Message read flag
boolean Sent:
Message sent flag
boolean Protected:
Message protected flag
voidFrom bluez documentation:
Move a file within the remote device from source file
to the target file.
PhonebookAccess1.Pull(String _vcard, String _targetfile, Map<String, org.freedesktop.dbus.types.Variant<?>> _filters) From bluez documentation:
Given a vcard handle, retrieve the vcard in the current
phonebook object and store it in a local file.
If an empty target file is given, a name will be
automatically calculated for the temporary file.
The returned path represents the newly created transfer,
which should be used to find out if the content has been
successfully transferred or if the operation fails.
The properties of this transfer are also returned along
with the object path, to avoid a call to GetProperties.
Possbile filters: Format and Fields
ObjectPush1.PullBusinessCard(String _targetfile) From bluez documentation:
Request the business card from a remote device and
store it in the local file.
If an empty target file is given, a name will be
automatically calculated for the temporary file.
The returned path represents the newly created transfer,
which should be used to find out if the content has been
successfully transferred or if the operation fails.
The properties of this transfer are also returned along
with the object path, to avoid a call to GetProperties.
MessageAccess1.PushMessage(String _sourcefile, String _folder, Map<String, org.freedesktop.dbus.types.Variant<?>> _args) From bluez documentation:
Transfer a message (in bMessage format) to the
remote device.
The message is transferred either to the given
subfolder of the current folder, or to the current
folder if folder is empty.
Possible args: Transparent, Retry, Charset
The returned path represents the newly created transfer,
which should be used to find out if the content has been
successfully transferred or if the operation fails.
The properties of this transfer are also returned along
with the object path, to avoid a call to GetAll.
From bluez documentation:
Copy the source file (from local filesystem) to the
target file (on remote device).
The returned path represents the newly created transfer,
which should be used to find out if the content has been
successfully transferred or if the operation fails.
The properties of this transfer are also returned along
with the object path, to avoid a call to GetProperties.
Synchronization1.PutPhonebook(String _sourcefile) From bluez documentation:
Send an entire Phonebook Object store to remote device.
The returned path represents the newly created transfer,
which should be used to find out if the content has been
successfully transferred or if the operation fails.
The properties of this transfer are also returned along
with the object path, to avoid a call to GetProperties.
PhonebookAccess1.Search(String _field, String _value, Map<String, org.freedesktop.dbus.types.Variant<?>> _filters) From bluez documentation:
Search for entries matching the given condition and
return an array of vcard-listing data where every entry
consists of a pair of strings containing the vcard
handle and the contact name.
vcard : name paired string match the search condition.
field : the field in the vcard to search with
{ "name" (default) | "number" | "sound" }
value : the string value to search for
Possible filters: Order, Offset and MaxCount
voidFrom bluez documentation:
Select the phonebook object for other operations.From bluez documentation:
Send one local file to the remote device.
The returned path represents the newly created transfer,
which should be used to find out if the content has been
successfully transferred or if the operation fails.
The properties of this transfer are also returned along
with the object path, to avoid a call to GetProperties.
voidFrom bluez documentation:
Set working directory for current session, *name* may
be the directory name or '..voidMessageAccess1.UpdateInbox()From bluez documentation:
Request remote to update its inbox.
voidPhonebookAccess1.UpdateVersion()From bluez documentation:
Attempt to update PrimaryCounter and SecondaryCounter.