Shared Activity Protocol 1.0: Difference between revisions
No edit summary |
No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{OLPC}} |
{{OLPC}} |
||
This page aims to describe the shared activity protocol used in "Update.1" (the -olpc1.0 branches of telepathy-gabble and telepathy-salut). |
This page aims to describe the shared activity wire protocol used in "Update.1" (the -olpc1.0 branches of telepathy-gabble and telepathy-salut). Please do not edit it to describe a past or future protocol version - copy it and edit the copy instead. |
||
telepathy-gabble represents activities as an [http://www.xmpp.org/extensions/xep-0045.html XMPP multi-user chat] room. |
|||
⚫ | |||
telepathy-salut represents activities as a [http://telepathy.freedesktop.org/xmpp/clique.html Clique] chatroom. |
|||
Tubes are used for activity communications, according to the [http://telepathy.freedesktop.org/xmpp/tubes.html tubes-over-XMPP] specification. |
|||
⚫ | |||
For the purposes of the dns-sd.org service type registration for _olpc-activity1._udp, the defined TXT keys are: |
|||
<pre> |
|||
txtvers - always "0" in this version of the protocol |
|||
room - the name of the Clique room, in UTF-8 |
|||
activity-id - the OLPC activity ID, currently 40 ASCII hex digits |
|||
name - the human-readable title of the activity, in UTF-8 |
|||
color - the colour of the activity in the usual OLPC format (e.g. "#005FE4,#00A0FF") |
|||
type - the D-Bus service name of the activity, in ASCII |
|||
tags - human-readable string of tags, allowed but unused as of Update.1, in UTF-8 |
|||
</pre> |
Latest revision as of 18:10, 7 November 2007
This page aims to describe the shared activity wire protocol used in "Update.1" (the -olpc1.0 branches of telepathy-gabble and telepathy-salut). Please do not edit it to describe a past or future protocol version - copy it and edit the copy instead.
telepathy-gabble represents activities as an XMPP multi-user chat room.
telepathy-salut represents activities as a Clique chatroom.
Tubes are used for activity communications, according to the tubes-over-XMPP specification.
For the moment, the OLPC extensions to the XMPP, link-local-XMPP and Clique protocols, used to represent the Activity and Buddy abstractions, are documented here: XEP-proto-olpc
For the purposes of the dns-sd.org service type registration for _olpc-activity1._udp, the defined TXT keys are:
txtvers - always "0" in this version of the protocol room - the name of the Clique room, in UTF-8 activity-id - the OLPC activity ID, currently 40 ASCII hex digits name - the human-readable title of the activity, in UTF-8 color - the colour of the activity in the usual OLPC format (e.g. "#005FE4,#00A0FF") type - the D-Bus service name of the activity, in ASCII tags - human-readable string of tags, allowed but unused as of Update.1, in UTF-8