Hi,

In Section 9.2.1.4, the LLRP Spec says that the PerAntennaAirProtocol
Parameter is comprised of

"Air protocols supported: List of Procol Ids enumerated based on Table 3."

The corresponding LLRP.xsd complex type only allows for a single occurence
of the element ProtocolID though: 

<xs:complexType name="PerAntennaAirProtocol">
        <xs:sequence>
                <xs:element name="AntennaID" type="xs:unsignedShort" />
                <xs:element name="ProtocolID" type="rp:AirProtocols" />
        </xs:sequence>
        <xs:attributeGroup ref="rp:paramAttrs"/>
</xs:complexType>


I guess this could be fixed by specifying maxOccurs: 

<xs:complexType name="PerAntennaAirProtocol">
        <xs:sequence>
                <xs:element name="AntennaID" type="xs:unsignedShort" />
                <xs:element name="ProtocolID" type="rp:AirProtocols"
maxOccurs="256"/>
        </xs:sequence>
        <xs:attributeGroup ref="rp:paramAttrs"/>
</xs:complexType>

Table 3 in the LLRP Spec allows at most 256 different protocol Id values and
while the LLRP spec does not say anything about duplicates in the list, it
might be reasonable to assume that there will be at most 256 occurences.

        - Christian


--
Christian Floerkemeier 
Auto-ID Lab, Massachusetts Institute of Technology
phone: +1-617-324-1984 
email: <[EMAIL PROTECTED]>  


-------------------------------------------------------------------------
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
llrp-toolkit-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/llrp-toolkit-devel

Reply via email to