UNCLASSIFIED

Hi,
 
>From a previous discussion it was my understanding that a message with
as sequence is the same size as one with an array as long as the
sequence/array is the only argument of the operation in the protocol
definition. The reasoning behind this was message length = sequence
length in this special case.
 
So both of the following protocols should result in "MaxMessageValues:
8192" in defs.vh BUT i get 8192 for the array and 8196 for the sequence.
 
Have I misunderstood the previous discussion?
 
 
<Protocol DataValueWidth="8">
 
  <Operation Name="Data0">
    <Argument Name="data" Type="Short" ArrayLength="4k"/>
  </Operation>
 
  <Operation Name="Sync0"/>
 
  <Operation Name="Timestamp0">
    <Argument Name="time"         Type="ULongLong"/>
    <Argument Name="sample_count" Type="ULong"/>
    <Argument Name="offset"       Type="Short"/>
    <Argument Name="flags"        Type="UShort"/>
  </Operation>
 
</Protocol>
 
 
 
<Protocol DataValueWidth="8">
 
  <Operation Name="Data0">
    <Argument Name="data" Type="Short" SequenceLength="4k"/>
  </Operation>
 
  <Operation Name="Sync0"/>
 
  <Operation Name="Timestamp0">
    <Argument Name="time"         Type="ULongLong"/>
    <Argument Name="sample_count" Type="ULong"/>
    <Argument Name="offset"       Type="Short"/>
    <Argument Name="flags"        Type="UShort"/>
  </Operation>

</Protocol>
 

IMPORTANT: This email remains the property of the Department of Defence
and is subject to the jurisdiction of section 70 of the Crimes Act 1914.
If you have received this email in error, you are requested to contact
the sender and delete the email.

_______________________________________________
opencpi_dev mailing list
[email protected]
http://lists.opencpi.org/listinfo.cgi/opencpi_dev-opencpi.org

Reply via email to