User:Wizzup/Telepathy

From Maemo Leste Wiki
Jump to navigationJump to search

Telepathy notes

This page contains my (personal) notes on how Telepathy (and to some degree rtcom) works, in general, and how it works on Fremantle, and how we plan to make it all work.


Accounts

Accounts are stored in `/home/user/.rtcom-accounts/accounts.cfg` on Fremantle, and `HOME/.local/share/telepathy/mission-control/accounts.cfg` normally in Telepathy.

It looks like Telepathy mission-control (MC) is the one that actually manages the accounts, and `mc-tool` can be used to manage the accounts. This means that likely there are no other tools that read "accounts.cfg" on Fremantle, and everything that lists/adds/removes accounts goes through Telepathy MC.

telepathy-ring accounts

It is not clear to me what adds the initial "sms" account, but there must be something that configures this account initially.

SMS

telepathy-ring is used to communicate with the modem through ofono. This account has the following options set on my device:

[ring/tel/ring]
manager=ring
protocol=tel
param-account=ring
Enabled=true
HasBeenOnline=true
ConnectAutomatically=true
AutomaticPresenceType=2
AutomaticPresenceStatus=available
Profile=tel
NormalizedName=<SelfHandle>

ConnectAutomatically seems to suggest there is no specific program that starts telepathy-ring (just MC itself), as long as the account is requested (I guess?) by something.

Fremantle (rtcom)