File: README

package info (click to toggle)
libopensync-plugin-irmc 0.22-3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 1,640 kB
  • ctags: 281
  • sloc: sh: 8,767; ansic: 3,226; makefile: 100
file content (86 lines) | stat: -rw-r--r-- 2,236 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
Notes:
------
- Syncronisation of notes doesn't work with newer Sony Ericsson cell phones.
  If your phone is crashing or if you receive an error like "Request failed"
  please try "--filter-objtype note".

- It seems that some phones (e.g. SE K750i) accept EXDATE attributes,
  but cannot delete them. You have to delete the whole event and create a new
  one without EXDATE attributes.




bluetooth example configuration:
--------------------------------
<config>
  <connectmedium>bluetooth</connectmedium>
  <btunit>$MAC</btunit>
  <btchannel>$CHANNEL</btchannel>
</config>


This is an example for a connection via bluetooth. Replace $MAC with the mac address of your
phone. You get it with "hcitool scan" (your phone must be visible).


user@laptop:~> hcitool scan
Scanning ...
        00:16:20:33:33:33    K750i <--- $MAC


Now we need to find out the channel of the IrMC Server. Try "sdptool browse $MAC".
We hopefully get a output like this:


<snip>
Service Name: OBEX IrMC Sync Server
Service RecHandle: 0x10008
Service Class ID List:
  "IrMC Sync" (0x1104)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 8      <--- $CHANNEL
  "OBEX" (0x0008)
Profile Descriptor List:
  "IrMC Sync" (0x1104)
    Version: 0x0100
</snip>


Replace $CHANNEL with "8" and your config should now look like this:

<config>
  <donttellsync>false</donttellsync>
  <connectmedium>bluetooth</connectmedium>
  <btunit>00:16:20:33:33:33</btunit>
  <btchannel>8</btchannel>
</config>


 
ir example configuration:
-------------------------
<config>
  <connectmedium>ir</connectmedium>
  <irname>$IDENTIFIER</irname>
</config>

We need to find out the device identifier. Start the infrared daemon (irda) and try
"irdadump".

<snip>
12:46:41.534956 xid:cmd 51051736 > ffffffff S=6 s=3 (14)
12:46:41.634962 xid:cmd 51051736 > ffffffff S=6 s=4 (14)
12:46:41.734970 xid:cmd 51051736 > ffffffff S=6 s=5 (14)
12:46:41.822417 xid:rsp 51051736 < 00001a28 S=6 s=5 Sony Ericss hint=9124 [ PnP Modem IrCOMM IrOBEX ] (28)
<snip>

In this case $IDENTIFIER is "Sony Ericss". Your config should now look like this:

<config>
  <donttellsync>false</donttellsync>
  <connectmedium>ir</connectmedium>
  <irname>Sony Ericss</irname>
</config>