org.bluez.obex.Client - BlueZ D-Bus OBEX Client API documentation
Contents
Interface
Service
org.bluez.obex
Interface
org.bluez.obex.Client1
Objectpath
/org/bluez/obex
MethodsobjectCreateSession(stringdestination,dictargs)
Connects to the destination address and then proceed to create an OBEX session object which implements
org.bluez.obex.Session(5) interface.
The last parameter is a dictionary to hold optional or type-specific parameters.
Possible args values:
stringTarget
Type of session to be created.
Possible values:
"ftp""map""opp""pbap""sync""bip-avrcp"stringSource
Local address to be used.
byteChannel
Channel to be used.
uint16PSM
L2CAP PSM to be used.
Possible errors:
org.bluez.obex.Error.InvalidArgumentsorg.bluez.obex.Error.FailedvoidRemoveSession(objectsession)
Disconnects and removes session previously created by CreateSession() aborting any pending transfers.
Possible errors:
org.bluez.obex.Error.InvalidArgumentsorg.bluez.obex.Error.NotAuthorized
BlueZ October 2023 ORG.BLUEZ.OBEX.CLIENT(5)
Name
org.bluez.obex.Client - BlueZ D-Bus OBEX Client API documentation
