org.bluez.obex.Client(5)
π Name π
org.bluez.obex.Client β the BlueZ D-Bus OBEX Client API documentation. literally the whole vibe. π
hiii bestie, this is org.bluez.obex.Client(5) from the Linux System Administration manual, and we're about to make the D-Bus OBEX client API make sense. no cap. β¨
π¦ Interface π¦
okay so here's the setup, bestie:
- Service:
org.bluez.obex - Interface:
org.bluez.obex.Client1 - Object path:
/org/bluez/obex
π Methods π
β¨ object CreateSession(string destination, dict args) β¨
This one connects to the destination address and then proceeds to create an OBEX session object that implements the org.bluez.obex.Session(5) interface. iconic behavior, honestly. π
The last parameter is a dictionary (dict args) to hold optional or type-specific parameters. the way that's important. π«Ά
Possible args values:
string Targetβ the type of session to be created. π
Possible values:
"ftp""map""opp""pbap""sync""bip-avrcp"
string Sourceβ the local address to be used. πΈbyte Channelβ the channel to be used. πuint16 PSMβ the L2CAP PSM to be used. π¦
Possible errors:
org.bluez.obex.Error.InvalidArgumentsorg.bluez.obex.Error.Failed
π void RemoveSession(object session) π
This disconnects and removes a session previously created by CreateSession(), aborting any pending transfers. so if it's over, it's over β periodt. π
Possible errors:
org.bluez.obex.Error.InvalidArgumentsorg.bluez.obex.Error.NotAuthorized
xoxo, this page is from BlueZ, dated October 2023, and it's org.bluez.obex.Client(5). stay iconic, bestie πβ¨
π¦ where this page comes from
- arch rolling: bluez-obex 5.87-2 Β· GPL-2.0-only
- nixpkgs unstable: bluez 5.87
- ubuntu stonking: bluez 5.87-4 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms