org.bluez...ageAccess(5)
π NAME π
Bestie, this is the org.bluez.obex.MessageAccess(5) page β a Linux System Administration manual page for the BlueZ D-Bus OBEX MessageAccess API. The official NAME situation is org.bluez.obex.MessageAccess β BlueZ D-Bus OBEX MessageAccess API documentation. So yes, we are getting into the MessageAccess API, and we are not skipping a single method, filter, default, or error. πβ¨
β¨ INTERFACE β¨
Hereβs the identity card, no cap:
- Service β
org.bluez.obex - Interface β
org.bluez.obex.MessageAccess1 - Object path β
[Session object path]
π METHODS π
πΈ void SetFolder(string name)
Sets the working directory for the current session. Literally moving the group chat to a different folder. ποΈ
Possible name:
Directory nameor'..[/dir]'.
Possible errors:
org.bluez.obex.Error.InvalidArgumentsorg.bluez.obex.Error.Failed
ποΈ array{dict} ListFolders(dict filter)
Returns a dictionary containing information about the current folder content. Folder tea, spilled. β
Possible filter:
uint16 Offset (default 0)β offset of the first item.uint16 MaxCount (default 1024)β maximum number of items.
Possible return:
string Nameβ folder name
Possible errors:
org.bluez.obex.Error.InvalidArgumentsorg.bluez.obex.Error.Failed
π·οΈ array{string} ListFilterFields()
Returns all available fields that can be used in the Fields filter. This is the field menu, bestie β the whole roster. π
Possible values:
"subject""timestamp""sender""sender-address""recipient""recipient-address""type""size""status""text""attachment""priority""read""sent""protected""replyto"
Possible errors: None
π¨ array{object, dict} ListMessages(string folder, dict filter)
Returns an array containing the message objects found in the given subfolder of the current folder, or in the current folder if folder is empty. Empty folder means βstay right here,β periodt. π
Possible Filters:
uint16 Offset (default 0)β offset of the first item.uint16 MaxCount (default 1024):β maximum number of items.byte SubjectLength (default 256)β maximum length of theSubjectproperty in the message.array{string} Fieldsβ message fields, default is all values. SeeListFilterFields()for possible values.array{string} Typesβ filter messages by type.- Possible values:
"sms""email""mms"
- Possible values:
string PeriodBeginβ filter messages by starting period.- Possible values:
- Date in
"YYYYMMDDTHHMMSS"format.
- Date in
- Possible values:
string PeriodEndβ filter messages by ending period.- Possible values:
- Date in
"YYYYMMDDTHHMMSS"format.
- Date in
- Possible values:
boolean Readβ filter messages by read flag.- Possible values:
Truefor read orFalsefor unread
- Possible values:
string Recipientβ filter messages by recipient address.string Senderβ filter messages by sender address.boolean Priorityβ filter messages by priority flag.- Possible values:
Truefor high priority orFalsefor non-high priority.
- Possible values:
Each message is represented by an object path, which implements the org.bluez.obex.Message(5) interface, followed by a dictionary of its properties. So you get the object path plus its little property bag. πβ¨
π void UpdateInbox(void)
Requests remote to update its inbox. Politely asking the other side to refresh, basically. π
Possible errors:
org.bluez.obex.Error.Failed
π€ object, dict PushMessage(string sourcefile, string folder, dict args)
Transfers a message (in bMessage format) to the remote device. Sending it, slay. π
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 GetProperties; see org.bluez.obex.Transfer(5) for the possible list of properties.
Possible errors:
org.bluez.obex.Error.InvalidArgumentsorg.bluez.obex.Error.Failed
π PROPERTIES π
β array{string} SupportedTypes [readonly]
List of supported message types. The whole roster:
Possible values:
"EMAIL"β Email messages."SMS_GSM"β GSM short messages."SMS_CDMA"β CDMA short messages."MMS"β MMS messages."IM"β Instant messaging.
Source/version and date, bestie: BlueZ, October 2023. Thatβs the whole page β now go be the main character of your OBEX session. π
β¨
π¦ 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