EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  <20192020  2021  2022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  <20192020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: PV Access Protocol Specification
From: "Kasemir, Kay via Core-talk" <[email protected]>
To: Bruno Martins <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Wed, 10 Apr 2019 15:39:37 +0000
From: Bruno Martins <[email protected]>
> Related:  https://epics.anl.gov/core-talk/2018/msg00284.php
Alright, so missing info about size encoding is a known issue.

Also related:
The element count encoding of the search request for the channel names,
  struct {
        int searchInstanceID;
        string channelName;
    } channels[];
},
always seems to use a 2-byte short count, not the usual size encoding.

I assume that's because all implementations currently start with
  short count: 0
and then keep updating the buffer in place:

  short count: 1
  int some_channel_id
  string some_channel_name

  short count: 2
  int some_channel_id
  string some_channel_name
  int some_channel_id
  string some_channel_name

With normal size encoding, once you have count >= 254 you'd have to shift all channel ids and names down to make room for a larger count.

-Kay

Replies:
Re: PV Access Protocol Specification Michael Davidsaver via Core-talk
References:
PV Access Protocol Specification Kasemir, Kay via Core-talk
Re: PV Access Protocol Specification Timo Korhonen via Core-talk
Re: PV Access Protocol Specification Kasemir, Kay via Core-talk
Re: PV Access Protocol Specification Bruno Martins via Core-talk

Navigate by Date:
Prev: Re: PV Access Protocol Specification Michael Davidsaver via Core-talk
Next: Re: PV Access Protocol Specification Johnson, Andrew N. via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  <20192020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: PV Access Protocol Specification Bruno Martins via Core-talk
Next: Re: PV Access Protocol Specification Michael Davidsaver via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  <20192020  2021  2022  2023  2024 
ANJ, 10 Apr 2019 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·