Uses of Class
org.bluez.exceptions.BluezInvalidArgumentsException
Packages that use BluezInvalidArgumentsException
Package
Description
-
Uses of BluezInvalidArgumentsException in com.github.hypfvieh.bluetooth
Methods in com.github.hypfvieh.bluetooth that throw BluezInvalidArgumentsExceptionModifier and TypeMethodDescriptionvoidDeviceManager.setScanFilter(Map<DiscoveryFilter, Object> _filter) Setup bluetooth scan/discovery filter. -
Uses of BluezInvalidArgumentsException in com.github.hypfvieh.bluetooth.wrapper
Methods in com.github.hypfvieh.bluetooth.wrapper that throw BluezInvalidArgumentsExceptionModifier and TypeMethodDescriptionvoidBluetoothAdapter.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: -
Uses of BluezInvalidArgumentsException in org.bluez
Methods in org.bluez that throw BluezInvalidArgumentsExceptionModifier and TypeMethodDescriptionvoidMediaFolder1.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.
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.org.freedesktop.dbus.DBusPathHealthManager1.CreateApplication(Map<String, org.freedesktop.dbus.types.Variant<?>> _config) From bluez documentation:
Returns the path of the new registered application.
Application will be closed by the call or implicitly
when the programs leaves the bus.
config:
uint16 DataType:
Mandatory
string Role:
Mandatory.org.freedesktop.dbus.DBusPathHealthDevice1.CreateChannel(org.freedesktop.dbus.DBusPath _application, String _configuration) From bluez documentation:
Creates a new data channel.voidHealthManager1.DestroyApplication(org.freedesktop.dbus.DBusPath _application) From bluez documentation:
Closes the HDP application identified by the object
path.voidHealthDevice1.DestroyChannel(org.freedesktop.dbus.DBusPath _channel) From bluez documentation:
Destroys the data channel object.voidThermometerManager1.DisableIntermediateMeasurement(org.freedesktop.dbus.DBusPath _agent) From bluez documentation:
Disables intermediate measurement notifications
for this agent.voidDevice1.DisconnectProfile(String _uuid) From bluez documentation:
This method disconnects a specific profile of
this device.booleanHealthDevice1.Echo()From bluez documentation:
Sends an echo petition to the remote service.voidThermometerManager1.EnableIntermediateMeasurement(org.freedesktop.dbus.DBusPath _agent) From bluez documentation:
Enables intermediate measurement notifications
for this agent.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
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.Press(byte _avc_key) From bluez documentation:
Press a specific key to send as passthrough command.
The key will be released automatically.voidLEAdvertisingManager1.RegisterAdvertisement(org.freedesktop.dbus.DBusPath _advertisement, Map<String, org.freedesktop.dbus.types.Variant<?>> _options) From bluez documentation:
Registers an advertisement object to be sent over the LE
Advertising channel.voidAgentManager1.RegisterAgent(org.freedesktop.dbus.DBusPath _agent, String _capability) From bluez documentation:
This registers an agent handler.
The object path defines the path of the agent
that will be called when user input is needed.
Every application can register its own agent and
for all actions triggered by that application its
agent is used.
It is not required by an application to register
an agent.voidGattManager1.RegisterApplication(org.freedesktop.dbus.DBusPath _application, Map<String, org.freedesktop.dbus.types.Variant<?>> _options) From bluez documentation:
Registers a local GATT services hierarchy as described
above (GATT Server) and/or GATT profiles (GATT Client).
The application object path together with the D-Bus
system bus connection ID define the identification of
the application registering a GATT based
service or profile.
voidMedia1.RegisterApplication(org.freedesktop.dbus.DBusPath _root, Map<String, org.freedesktop.dbus.types.Variant<?>> _options) From bluez documentation:
Register endpoints an player objects within root
object which must implement ObjectManager.
The application object path together with the D-Bus
system bus connection ID define the identification of
the application.
voidMedia1.RegisterEndpoint(org.freedesktop.dbus.DBusPath _endpoint, Map<String, org.freedesktop.dbus.types.Variant<?>> _properties) From bluez documentation:
Register a local end point to sender, the sender can
register as many end points as it likes.
Note: If the sender disconnects the end points are
automatically unregistered.
possible properties:
string UUID:
UUID of the profile which the endpoint
is for.
UUID must be in the list of
SupportedUUIDS.
byte Codec:
Assigned number of codec that the
endpoint implements.voidMedia1.RegisterPlayer(org.freedesktop.dbus.DBusPath _player, Map<String, org.freedesktop.dbus.types.Variant<?>> _properties) From bluez documentation:
Register a media player object to sender, the sender
can register as many objects as it likes.
Object must implement at least
org.mpris.MediaPlayer2.Player as defined in MPRIS 2.2
spec:
http://specifications.freedesktop.org/mpris-spec/latest/
Note: If the sender disconnects its objects are
automatically unregistered.
voidProfileManager1.RegisterProfile(org.freedesktop.dbus.DBusPath _profile, String _uuid, Map<String, org.freedesktop.dbus.types.Variant<?>> _options) From bluez documentation:
This registers a profile implementation.
If an application disconnects from the bus all
its registered profiles will be removed.
Some predefined services:
HFP AG UUID: 0000111f-0000-1000-8000-00805f9b34fb
Default profile Version is 1.7, profile Features
is 0b001001 and RFCOMM channel is 13.
Authentication is required.
HFP HS UUID: 0000111e-0000-1000-8000-00805f9b34fb
Default profile Version is 1.7, profile Features
is 0b000000 and RFCOMM channel is 7.
Authentication is required.
HSP AG UUID: 00001112-0000-1000-8000-00805f9b34fb
Default profile Version is 1.2, RFCOMM channel
is 12 and Authentication is required.voidThermometerManager1.RegisterWatcher(org.freedesktop.dbus.DBusPath _agent) From bluez documentation:
Registers a watcher to monitor scanned measurements.
This agent will be notified about final temperature
measurements.
voidAdapter1.RemoveDevice(org.freedesktop.dbus.DBusPath _device) From bluez documentation:
This removes the remote device object at the given
path.voidLEAdvertisingManager1.UnregisterAdvertisement(org.freedesktop.dbus.DBusPath _advertisement) From bluez documentation:
This unregisters an advertisement that has been
previously registered.voidGattManager1.UnregisterApplication(org.freedesktop.dbus.DBusPath _application) From bluez documentation:
This unregisters the services that has been
previously registered.voidMedia1.UnregisterApplication(org.freedesktop.dbus.DBusPath _application) From bluez documentation:
This unregisters the services that has been
previously registered. -
Uses of BluezInvalidArgumentsException in org.bluez.obex
Methods in org.bluez.obex that throw BluezInvalidArgumentsExceptionModifier and TypeMethodDescriptionvoidFileTransfer.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.
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.
From bluez documentation:
Return an array of vcard-listing data where every entry
consists of a pair of strings containing the vcard
handle and the contact name.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
PhonebookAccess1.PullAll(String _targetfile, Map<String, org.freedesktop.dbus.types.Variant<?>> _filters) From bluez documentation:
Return the entire phonebook object from the PSE server
in plain string with vcard format, 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.
Possible filters: Format, Order, Offset, MaxCount 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.
voidClient1.RemoveSession(org.freedesktop.dbus.DBusPath _session) From bluez documentation:
Unregister session and abort pending transfers.
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 '..voidSynchronization1.SetLocation(String _location) From bluez documentation:
Set the phonebook object store location for other
operations.