The Application Level Events (ALE) Specification, Version 1.0 - GS1
The Application Level Events (ALE) Specification, Version 1.0 - GS1
The Application Level Events (ALE) Specification, Version 1.0 - GS1
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
591<br />
592<br />
593<br />
594<br />
595<br />
596<br />
597<br />
Once requested, an ECSpec is said to be active if reads are currently being accumulated<br />
into an event cycle based on the ECSpec. Standing ECSpecs that are requested using<br />
subscribe may transition between active and inactive multiple times. ECSpecs that<br />
are requested using poll or created using immediate will transition between active<br />
and inactive just once (though in the case of poll, the ECSpec remains defined<br />
afterward so that it could be subsequently polled again or subscribed to).<br />
This description is summarized in the state diagram below.<br />
immediate, when no startTrigger specified<br />
subscribe or poll,<br />
when no startTrigger specified<br />
immediate<br />
define<br />
subscribe or poll<br />
Start trigger<br />
received or<br />
repeatPeriod<br />
elapsed<br />
Unrequested<br />
Requested<br />
Active<br />
undefine<br />
unsubscribe of last subscriber<br />
Stop trigger received, duration<br />
elapsed, or field stable for<br />
stableFieldInterval<br />
Stop condition reached, and<br />
only requester was poll<br />
598<br />
599<br />
600<br />
601<br />
602<br />
603<br />
604<br />
605<br />
606<br />
607<br />
608<br />
609<br />
610<br />
Stop condition reached, and<br />
only requester was immediate<br />
<strong>The</strong> primary data types associated with the <strong>ALE</strong> API are the ECSpec, which specifies<br />
how an event cycle is to be calculated, and the ECReports, which contains one or more<br />
reports generated from one activation of an ECSpec. ECReports instances are both<br />
returned from the poll and immediate methods, and also sent to notificationURIs<br />
when ECSpecs are subscribed to using the subscribe method. <strong>The</strong> next two sections,<br />
Section 8.2 and Section 8.3, specify the ECSpec and ECReports data types in full<br />
detail.<br />
<strong>The</strong> two methods getStandard<strong>Version</strong> and getVendor<strong>Version</strong> may be used<br />
by <strong>ALE</strong> clients to ascertain with what version of the <strong>ALE</strong> specification an<br />
implementation complies. <strong>The</strong> method getStandard<strong>Version</strong> returns a string that<br />
identifies what version of the specification this implementation complies with. <strong>The</strong><br />
possible values for this string are defined by EPCglobal. An implementation SHALL<br />
Copyright © 2005, 2004 EPCglobal Inc, All Rights Reserved. Page 19 of 71