[horde] Activesync both ways?
Louis-Philippe Allard
lp.allard.1 at gmail.com
Wed Jun 22 22:20:27 UTC 2011
Quoting Michael J Rubinsky <mrubinsk at horde.org>:
>> Quoting Louis-Philippe Allard <lp.allard.1 at gmail.com>:
> >
> >> Might be a stupid question but active sync seems to be either
> >> randomly working or just in a very buggy way but basically I am
> >> wondering if active sync sync data both ways I.e. From my horde
> >> server to my iPhone and vice versa...
> >>
> >> I know that if I enter something in my calendar or contacts in horde
> >> it will eventually appear on m iPhone but I could not confirm the
> >> opposite. This HAS to work otherwise having a smartphone is
> >> useless...
> >>
> >> Can someone clarify a for me?
> >
> > Yes. This works both ways. In fact, the iOS implementation is the one
> > that I had never had issues with - as opposed to various android
> > devices...
> >
> > --
> > mike
> >
> > The Horde Project (www.horde.org[1])
> > mrubinsk at horde.org
> >
> > --
> > Horde mailing list
> > Frequently Asked Questions: http://horde.org/faq/
> > To unsubscribe, mail: horde-unsubscribe at lists.horde.org
So here's what I did:
Put some events in my iphone while I was disconnected from my local network
Connected my phone to my network
Opened Horde -> the calendar was not changed (i.e. the stiuff I added in
the iphone was not sync'ed with Horde)
in the iphone, I disabled the wifi connection and re-enabled it
Horde sync'ed with my iphone.
While connected to the network, I tested the setup by creating an event on
one device and modifying it ont he other device to see if they both can
pickup the changes. Works as far as I know.
I am just puzzled as to why it needs a manual sync....
the activesync log has this in it:
root at lhost2:~# cat /var/log/horde_activesync.log
2011-06-22T18:10:28-04:00 INFO: Horde_ActiveSync_Driver_Horde::logon
attempt for: lp.allard.1 at gmail.com
2011-06-22T18:10:29-04:00 DEBUG: SQL QUERY: SELECT device_type,
device_agent, device_ping, device_policykey, device_rwstatus,
device_supported FROM horde_activesync_device d INNER JOIN
horde_activesync_device_users u ON d.device_id = u.device_id WHERE
u.device_id = ? AND u.device_user = ? VALUES: Appl6Q109352A4S
lp.allard.1 at gmail.com
2011-06-22T18:10:29-04:00 INFO: Request received from device:
Appl6Q109352A4S Supporting protocol version: 2.5
2011-06-22T18:10:29-04:00 INFO: [Appl6Q109352A4S] Handling SYNC command.
2011-06-22T18:10:29-04:00 DEBUG: Policykey: 0 verified.
2011-06-22T18:10:29-04:00 DEBUG: I <Synchronize>
2011-06-22T18:10:29-04:00 DEBUG: I <Folders>
2011-06-22T18:10:29-04:00 DEBUG: I <Folder>
2011-06-22T18:10:29-04:00 DEBUG: I <FolderType>
2011-06-22T18:10:29-04:00 DEBUG: I Calendar
2011-06-22T18:10:29-04:00 INFO: [Appl6Q109352A4S] Syncing folder class:
Calendar
2011-06-22T18:10:29-04:00 DEBUG: I </FolderType>
2011-06-22T18:10:29-04:00 DEBUG: I <SyncKey>
2011-06-22T18:10:29-04:00 DEBUG: I
{4dfd0fe9-e26c-48e5-989d-582dc0a80065}5
2011-06-22T18:10:29-04:00 DEBUG: I </SyncKey>
2011-06-22T18:10:29-04:00 DEBUG: I <FolderId>
2011-06-22T18:10:29-04:00 DEBUG: I Calendar
2011-06-22T18:10:29-04:00 INFO: [Appl6Q109352A4S] Folder server id: Calendar
2011-06-22T18:10:29-04:00 DEBUG: I </FolderId>
2011-06-22T18:10:29-04:00 DEBUG: I <DeletesAsMoves/>
2011-06-22T18:10:29-04:00 DEBUG: Unmatched tagSupported:
2011-06-22T18:10:29-04:00 DEBUG: I <GetChanges/>
2011-06-22T18:10:29-04:00 DEBUG: I <WindowSize>
2011-06-22T18:10:29-04:00 DEBUG: I 25
2011-06-22T18:10:29-04:00 DEBUG: I </WindowSize>
2011-06-22T18:10:29-04:00 DEBUG: I </Folder>
2011-06-22T18:10:29-04:00 DEBUG: Unmatched tagOptions:
2011-06-22T18:10:29-04:00 DEBUG: [Appl6Q109352A4S] Loading state for
synckey {4dfd0fe9-e26c-48e5-989d-582dc0a80065}5
2011-06-22T18:10:29-04:00 DEBUG: [Appl6Q109352A4S] SQL query by
Horde_ActiveSync_State:_gc(): SELECT sync_key FROM horde_activesync_state
WHERE sync_devid = ? AND sync_folderid = ? VALUES: Array
(
[0] => Appl6Q109352A4S
[1] => Calendar
)
2011-06-22T18:10:29-04:00 DEBUG: Unmatched tagCommands:
2011-06-22T18:10:29-04:00 DEBUG: I </Folders>
2011-06-22T18:10:29-04:00 DEBUG: Unmatched tagFolder:
2011-06-22T18:10:29-04:00 DEBUG: I </Synchronize>
2011-06-22T18:10:29-04:00 INFO: [Appl6Q109352A4S] Beginning SYNC Response.
2011-06-22T18:10:29-04:00 DEBUG: [Appl6Q109352A4S] Initializing message
diff engine for Calendar
2011-06-22T18:10:29-04:00 DEBUG:
Horde_ActiveSync_Driver_Horde::getServerChanges(Calendar, 1308778744,
1308780629, 0)
2011-06-22T18:10:29-04:00 DEBUG: [Appl6Q109352A4S] Found 0 message
changes, checking for PIM initiated changes.
2011-06-22T18:10:29-04:00 DEBUG: O <Synchronize>
2011-06-22T18:10:29-04:00 DEBUG: O <Folders>
2011-06-22T18:10:29-04:00 DEBUG: O <Folder>
2011-06-22T18:10:29-04:00 DEBUG: O <FolderType>
2011-06-22T18:10:29-04:00 DEBUG: O Calendar
2011-06-22T18:10:29-04:00 DEBUG: O <FolderType/>
2011-06-22T18:10:29-04:00 DEBUG: O <SyncKey>
2011-06-22T18:10:29-04:00 DEBUG: O {4dfd0fe9-e26c-48e5-989d-582dc0a80065}5
2011-06-22T18:10:29-04:00 DEBUG: O <SyncKey/>
2011-06-22T18:10:29-04:00 DEBUG: O <FolderId>
2011-06-22T18:10:29-04:00 DEBUG: O Calendar
2011-06-22T18:10:29-04:00 DEBUG: O <FolderId/>
2011-06-22T18:10:29-04:00 DEBUG: O <Status>
2011-06-22T18:10:29-04:00 DEBUG: O 1
2011-06-22T18:10:29-04:00 DEBUG: O <Status/>
2011-06-22T18:10:29-04:00 DEBUG: O <Folder/>
2011-06-22T18:10:29-04:00 DEBUG: O <Folders/>
2011-06-22T18:10:29-04:00 DEBUG: O <Synchronize/>
2011-06-22T18:10:29-04:00 INFO: User lp.allard.1 at gmail.com logged off
Nothing unusual?
Links:
------
[1] http://www.horde.org
More information about the horde
mailing list