11.01.2015 Views

[MS-ASCMD]: ActiveSync Command Reference Protocol Specification

[MS-ASCMD]: ActiveSync Command Reference Protocol Specification

[MS-ASCMD]: ActiveSync Command Reference Protocol Specification

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

4.8.2.2 Response – Changes Found<br />

The following example shows a Ping command response (section 2.2.2.11.2) that indicates that<br />

changes have occurred in two folders that were being monitored. The client responds to this<br />

information by synchronizing the folders identified in the response (before reissuing the next Ping<br />

command request (section 2.2.2.11.1)).<br />

<br />

<br />

2<br />

<br />

1234<br />

5678<br />

<br />

<br />

4.8.2.3 Response – HeartbeatInterval Error<br />

The following example shows a Ping command response (section 2.2.2.11.2) to a Ping command<br />

request (section 2.2.2.11.1) that indicated a heartbeat interval outside the acceptable range. The<br />

returned heartbeat interval is either the minimum or maximum allowed value. The client responds<br />

to this information by comparing the requested interval with the returned interval and determines<br />

whether the requested heartbeat interval was either too great or too small.<br />

<br />

<br />

5<br />

60<br />

<br />

4.8.2.4 Response – Folder Error<br />

The following example shows a Ping command response (section 2.2.2.11.2) to a Ping command<br />

request (section 2.2.2.11.1) where the number of folders that was indicated was greater than the<br />

maximum number of folders that are allowed to be monitored. The maximum number of folders that<br />

are allowed to be monitored is returned in the ping:MaxFolders element (section 2.2.3.86).<br />

<br />

<br />

6<br />

200<br />

<br />

4.9 Retrieving Item Estimates by Using the GetItemEstimate <strong>Command</strong><br />

The following sections show how to retrieve the number of items in a folder that require<br />

synchronization by using the GetItemEstimate command (section 2.2.2.7).<br />

4.9.1 Request<br />

The following example shows the GetItemEstimate command request (section 2.2.2.7.1) sent<br />

from the client to the server to retrieve the number of items in a folder that require synchronization.<br />

The airsync:SyncKey element (section 2.2.3.156.3) in the request is set to the value returned by<br />

[<strong>MS</strong>-<strong>ASCMD</strong>] — v20110315<br />

<strong>ActiveSync</strong> <strong>Command</strong> <strong>Reference</strong> <strong>Protocol</strong> <strong>Specification</strong><br />

Copyright © 2011 Microsoft Corporation.<br />

Release: Tuesday, March 15, 2011<br />

295 / 369

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!