pax_global_header 0000666 0000000 0000000 00000000064 12264007401 0014506 g ustar 00root root 0000000 0000000 52 comment=fc1701184758feb8e8e5d7614ee837354d182fad
packetlib-v3.1.0/ 0000775 0000000 0000000 00000000000 12264007401 0013633 5 ustar 00root root 0000000 0000000 packetlib-v3.1.0/.cproject 0000664 0000000 0000000 00000010023 12264007401 0015441 0 ustar 00root root 0000000 0000000
packetlib-v3.1.0/.project 0000664 0000000 0000000 00000001452 12264007401 0015304 0 ustar 00root root 0000000 0000000
PacketLib
org.eclipse.cdt.managedbuilder.core.genmakebuilder
clean,full,incremental,
org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder
full,incremental,
org.eclipse.cdt.core.cnature
org.eclipse.cdt.core.ccnature
org.eclipse.cdt.managedbuilder.core.managedBuildNature
org.eclipse.cdt.managedbuilder.core.ScannerConfigNature
packetlib-v3.1.0/AUTHORS 0000664 0000000 0000000 00000000056 12264007401 0014704 0 ustar 00root root 0000000 0000000 Andrea Bulgarelli
packetlib-v3.1.0/COPYING 0000664 0000000 0000000 00000035433 12264007401 0014676 0 ustar 00root root 0000000 0000000 GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
675 Mass Ave, Cambridge, MA 02139, USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Library General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
packetlib-v3.1.0/ChangeLog 0000664 0000000 0000000 00000024041 12264007401 0015406 0 ustar 00root root 0000000 0000000 2014-01-10 Andrea Zoli
TAG v3.1.0
* InputPacketStream: expose ByteStream instead of byte*.
* Fixed low level buffer (byte*) deallocation.
2013-12-23 Andrea Bulgarelli
* PartOfPacket: get set PTC=5 PFC=2 (real double precision) TODO: this does
not work in a 32 bit system
2013-12-20 Andrea Zoli
TAG v3.0.0
* Using a SharedPtr for the ByteStream instances.
* Fixed some memleak, jump that depends on uninitialised value(s) and buffer overflow.
2013-10-08 Andrea Bulgarelli
TAG v2.0.8
* src/PartOfPacket.cpp (PartOfPacket::loadFields): inserted do-while
* src/PacketHeader.cpp (PacketHeader::~PacketHeader): removed delete name
* src/Packet.cpp (Packet::setPacketValue): bug correction
* include/PacketHeader.h (PacketHeader.getDimensionOfPacketLength): renamed the method for typo
* src/Packet.cpp (Packet::createPacketType): bool Packet::createPacketType(char* fileName, bool isprefix, word dimprefix) bug fix when the configuration files are read more than one time
* include/InputPacketStream.h (InputPacketStream):
** dword getPacketDimension(byte* stream);
** int detPacketType(byte* packet);
* include/Packet.h (Packet): bool verifyPacketValue(byte* stream);
2013-09-13 Andrea Bulgarelli
TAG v2.0.7
* src/PartOfPacket.cpp (PartOfPacket::setByteStream):
For some reasons the following line introduced with v2.0.6:
222: this->stream->setStream(s, 0, s->getDimension() - 1);
does not work on linux (but only on make). Restored the old version
221: this->stream = s;
2013-09-12 Andrea Bulgarelli
TAG v2.0.6
Bug resolved (http://redmine.iasfbo.inaf.it/issues/983): the ByteStream::stream do not contain the correct point to the stream
* src/SDFRBBlock.cpp (SDFRBBlock::setByteStream):
this->stream->setStream(s, 0, s->getDimension() - 1);
* src/PartOfPacket.cpp (PartOfPacket::setByteStream):
//this->stream = s; <- OLD
this->stream->setStream(s, 0, s->getDimension() - 1); <- NEW
* include/PartOfPacket.h (PartOfPacket):
** new method: virtual void deleteByteStream();
** new method: virtual void memByteStream(ByteStream* stream);
** stream moved into protected section
* include/SDFRBBlock.h: added deleteByteStream() and memByteStrem()
* changes on Packet.cpp, PacketNotRecognized.cpp for new methods on PartOfPacket
2013-08-29 Andrea Bulgarelli
TAG v2.0.5
* include/ByteStream.h (ByteStream): void swapWordIfStreamIsBigEndian();
* include/ByteStream.h (ByteStream): renamed swap() in swapWord()
* include/ByteStream.h (ByteStream): void swapWordIfStreamIsLittleEndian();
* include/ByteStream.h (ByteStream): void swapWordIfStreamIsBigEndian();
2013-07-25 Andrea Bulgarelli
TAG v2.0.3
* 32 bit packet length
Example of .header format
-- name of header
Header CTA
-- number of field with dimension of packet (or first field if dim of packet is stored in a 32 bit field)
6
-- 16 or 32 bit size dimension of the packet lenght
32
[Field]
-- field 0
Version number
3
0b100
-- field 1
Type
1
0b0
-- field 2
DHFH
1
0b1
-- field 3
APID
11
none
-- field 4
SF
2
0b11
-- field 5
Source Sequence Counter
14
none
-- field 6
Packet Length MSB (4_14) - 1
16
none
-- field 7
Packet Length LSB (4_14) - 1
16
none
If the field '-- 16 or 32 bit size dimension of the packet lenght' is set to 16 or it is absent, the packet lenght is 16 bit.
* Field::value management (set predefined value=0 and during output stream generation
* Migration to git repository
15 July 2013
TAG CVS: PACKETLIB_1_4_0
+ 32 and 64 bit compatibility
2 July 2012
TAG CVS: PACKETLIB_1_3_10
+ resolved other problems with gcc4
09 Mag 2012
TAG CVS: PACKETLIB_1_3_9
+ resolved gcc4 problems
+ send to NASA/JPL the current version
7 December 2005
TAG CVS: PACKETLIB_1_3_8
+ added the management of number of blocks *2 per rblocks in the SDFRBBlock (symbol '*' in the line of sub from nblocks)
21 October 2005
TAG CVS: PACKETLIB_1_3_7
+ added the management of number of blocks /2 per rblocks in the SDFRBBlock (symbol '/' in the line of sub from nblocks)
+ added include
24 August 2005
Started PacketLib 1.3.7
18 August 2005
TAG CVS: PACKETLIB_1_3_6
+ corrections after valngrind verification
23 July 2005
+ end first verification with valgrind
12 July 2005
TAG CVS: PACKETLIB_1_3_6_BETA1
+ used valgrind to verify the memory allocation problems
08 May 2005
TAG CVS: PACKETLIB_1_3_5
+ added set/getFieldValue_PTC_PFC to the SourceDataField class
+ added some cout error message during the decoding of the telemtry
+ added the mask pattern the the setFieldValue() methods
5 April 2005
TAG CVS: PACKETLIB_1_3_4
+ added the possibility to have an even number of byte in the definition of a block
+ addedd the Packet::printPacketOutputStream()
+ correction of the [SourceDataFieldBlock] not found keyword into the SDFBlockFixed
+ correction of the calculation of the dimension with tail
22 March 2005
TAG CVS: PACKETLIB_1_3_4_BETA2
PacketLib 1.3.4 beta 2
+ correct the bug for the setFieldValue4_13 and 3_13
+ added the exception generation when for the 24 bit field value there are an out of range:
#define U24BITINTGEGERUNSIGNED_MAX 16777215
#define U24BITINTGEGERSIGNED_MIN -8388607
#define U24BITINTGEGERSIGNED_MAX 8388607
9 March 2005
TAG CVS: PACKETLIB_1_3_4_BETA1
PacketLib 1.3.4 beta
+ modified the management of the fields (class PartOfPacket). Now a field should be divided between two words
+ addedd getBlock() and getElement() methods for the Layout 2 and Layout 3
+ correction of the bug for the fixed number of blocks in the Layout 2 and 3. Now it is not necessary to set the number of the blocks.
2 March 2005
+ bug of the InputFile::isEOF()
+ added PTC/PFC 4/13 3/14 3/13
24 Fev 2005
CVS TAG: PACKETLIB_1_3_2
+ getFieldValue() and setFieldValue() with PTC, PFC (5, 1) and (4,14)
+ demo mode
=============================================
15 Feb 2005
CVS TAG: PACKETLIB_1_3_1
+ aggiunta la gestione del PTC=5 PFC=1 con il metodo double PartOfPacket::getFieldValue_5_1(word index)
ed il metodo double SourceDataField::getFieldValue_5_1(word block, word index)
=============================================
4 Nov 2004
CVS TAG: PACKETLIB_1_3_0
+ aggiunto il tipo generico di packet con blocchi definiti in modo ricorsivo (rblock).
=============================================
15 Aprile 2004
Inizio test della PacketLib 1.3.0 beta.
+ Tolta la SDFNoBlockVariable
+ Aggiunto il tipo generico SDFRBlock + SDFRBBlock
+ Corretto il bug sul prefix = 0
+ Aggiunto il tail
=============================================
14 Aprile 2004
CVS TAG: PACKETLIB_1_2_4
Versione con i 4 tipi di packet: block fixed, block variable, noblock fixed, noblock variable
Note: utilizzare la 1.2.3 per le acquisizioni per MCAL SEM DFE TE prima delle modifiche per adattare la PacketLib al PDHU TE.
=============================================
22 Agosto 2003
Nuova versione con il nuovo sistema di gestione dei progetti basato su makefile.
Aggiunta anche la classe Serial per la gestione della comunicazione su seriale
con codice per QNX.
=============================================
2 Maggio 2003
CVS TAG: PACKETLIB_1_2_3
Versione in cui �stata tolta la classe DISCoSSHM per inserirla direttamente nella ProcessorLib
=============================================
21 Febbraio 2003
CVS TAG: PACKETLIB_1_2_2
Versione rilasciata a:
1) Laben per Science Console MCAL DFE SEM BOARD_X (Febbraio 2003)
2) Versione utilizzata per MMC utilizzata in Laben (Febbraio 2003)
- Tolta la definizione NULL da PacketLibDefinition
- Modifiche minime a MSGQ.h e MSGQ.cpp
=============================================
8 Gennaio 2003
CVS TAG: PACKETLIB_1_2_1
Versione rilasciata a:
1) INFN (Federico)
2) ENEA
3) Laben per Science Console MCAL DFE SEM BOARD_X (Novembre 2002)
=============================================
20 Dicembre 2002
Aggiunta la classe MSGQ
Aggiunti alcuni metodi della classe Utility per la gestione dei processi
=============================================
4 Novembre 2002
Dal punto di vista concettuale, il parametro endianity nei file .stream cambia significato.
Prima infatti stava ad indicare l'architettura. In realt��pi giusto se indica il formato
dello stream di byte scambiato, indipendente dall'architettura. Questo perch��ad esempio
possibile memorizzare un file in formato big endian (scritto byte per byte) su una architettura
little endian.
+ Alcune classi hanno cambiato nome:
- OutputSocket -> OutputSocketClient
- Input -> Input2
- InputPacketStream -> InputPacketStreamFile
+ Sono state aggiunte nuove classi:
- Input
- InputSocketServer
- InputFile
- InputPacketStream
+ Modifica ByteStream:
- interfaccia: aggiunti nuovi metodi
- gestione memoria: cambiate le responsabilit� Vedere Programmer's manual
- spostata la gestione dell'endianity interamente all'interno del ByteStream. Le altre
classi mantengono l'informazione sull'endianity solamente per creare i ByteStream
+ Eliminate le seguenti classi
- InputByteFileSeq
- InputByteSHMSeq
- InputByteSeq
- InputSeq
- Input2
- InputRandom
+ La classe InputText �diventata la root di una gerarchia di classi che rappresentano i file
di configurazione
+ file.h e file.cpp sono stati rinominati in File.h e File.cpp
+ Definition.h �stato rinominato in PacketLibDefinition.h
+ Creato il namespace PacketLib
----------------------------------------------
+ aggiunto il metodo PacketStream::packetLibVersion()
=============================================
31 Maggio 2002
Rilasciata la versione 1.1
Tag CVS: PACKETLIB_1_1
----------------------------------------------
=============================================
31 Maggio 2002
Rilasciata la versione 1.0.5.
Tag CVS: PACKETLIB_1_0_5
Aggiunte:
+ aggiunte le classi Socket (gerarchia Device), SocketClient e SocketServer per la gestione di connessioni
socket
+ aggiunta la classe OutputSocket (gerachia Output)
+ aggiunto un costruttore alla classe ByteStream che permette di unire piu' ByteStream
+ aggiunta la possibilita' di generare TM/TC packet con prefix
=============================================
9 Maggio 2002
Prima versione 1.0.4.
Tag CVS: START
packetlib-v3.1.0/DISTRIBUTION 0000664 0000000 0000000 00000001323 12264007401 0015474 0 ustar 00root root 0000000 0000000 0. metti la versione in PrlVersion.h, Doxyfile e PacketStream.h e nel ChangeLog
0.bis. TAGGA
1. nel makefile togli -g e metti l'opzione per fare le librarie dinamiche e togli quella per l'exe
2. modifica il PacketLibDemo.h
3. sposta il main.cpp
3. make
4. copia la lib in dist
5. sposta PacketLibDemo.h
6. copia gli include
7. make pdf
8. da ref copia ref/html e ref/def in dist/ref
9. da ref copia il refman.ps e refman.pdf in dist/doc
10. copia examples in dist
11. copia model in dist
12. copia Makefile.dist in dist e rinominalo
13. copia README.dist in dist e rinominalo
14. rimetti a posto il Makefile e PacketLibDemo.h e il main.cpp (in particolare ricorda di mettere #define DEMOMODE 0)
15. modifica il ChangeLog
packetlib-v3.1.0/Doxyfile 0000664 0000000 0000000 00000015673 12264007401 0015355 0 ustar 00root root 0000000 0000000 # Doxyfile 1.2.13-20020210
#---------------------------------------------------------------------------
# General configuration options
#---------------------------------------------------------------------------
PROJECT_NAME = PacketLib
PROJECT_NUMBER = 1.3.8
OUTPUT_DIRECTORY = ref
OUTPUT_LANGUAGE = English
EXTRACT_ALL = YES
EXTRACT_PRIVATE = YES
EXTRACT_STATIC = YES
EXTRACT_LOCAL_CLASSES = YES
HIDE_UNDOC_MEMBERS = NO
HIDE_UNDOC_CLASSES = NO
BRIEF_MEMBER_DESC = YES
REPEAT_BRIEF = YES
ALWAYS_DETAILED_SEC = YES
INLINE_INHERITED_MEMB = NO
FULL_PATH_NAMES = NO
STRIP_FROM_PATH =
INTERNAL_DOCS = YES
STRIP_CODE_COMMENTS = YES
CASE_SENSE_NAMES = YES
SHORT_NAMES = NO
HIDE_SCOPE_NAMES = NO
VERBATIM_HEADERS = YES
SHOW_INCLUDE_FILES = NO
JAVADOC_AUTOBRIEF = NO
INHERIT_DOCS = YES
INLINE_INFO = YES
SORT_MEMBER_DOCS = YES
DISTRIBUTE_GROUP_DOC = NO
TAB_SIZE = 4
GENERATE_TODOLIST = YES
GENERATE_TESTLIST = YES
GENERATE_BUGLIST = YES
ALIASES =
ENABLED_SECTIONS =
MAX_INITIALIZER_LINES = 30
OPTIMIZE_OUTPUT_FOR_C = NO
SHOW_USED_FILES = YES
#---------------------------------------------------------------------------
# configuration options related to warning and progress messages
#---------------------------------------------------------------------------
QUIET = NO
WARNINGS = YES
WARN_IF_UNDOCUMENTED = NO
WARN_FORMAT = "$file:$line: $text"
WARN_LOGFILE =
#---------------------------------------------------------------------------
# configuration options related to the input files
#---------------------------------------------------------------------------
INPUT = code_filtered/
FILE_PATTERNS = *.h \
*.hh \
*.H \
*.cpp \
*.cxx
RECURSIVE = YES
EXCLUDE = PacketLibDemo.h
EXCLUDE_SYMLINKS = NO
EXCLUDE_PATTERNS =
EXAMPLE_PATH =
EXAMPLE_PATTERNS =
EXAMPLE_RECURSIVE = NO
IMAGE_PATH =
INPUT_FILTER =
FILTER_SOURCE_FILES = NO
#---------------------------------------------------------------------------
# configuration options related to source browsing
#---------------------------------------------------------------------------
SOURCE_BROWSER = NO
INLINE_SOURCES = NO
REFERENCED_BY_RELATION = YES
REFERENCES_RELATION = YES
#---------------------------------------------------------------------------
# configuration options related to the alphabetical class index
#---------------------------------------------------------------------------
ALPHABETICAL_INDEX = YES
COLS_IN_ALPHA_INDEX = 5
IGNORE_PREFIX =
#---------------------------------------------------------------------------
# configuration options related to the HTML output
#---------------------------------------------------------------------------
GENERATE_HTML = YES
HTML_OUTPUT = html
HTML_FILE_EXTENSION = .html
HTML_HEADER =
HTML_FOOTER =
HTML_STYLESHEET =
HTML_ALIGN_MEMBERS = YES
GENERATE_HTMLHELP = YES
GENERATE_CHI = YES
BINARY_TOC = YES
TOC_EXPAND = YES
DISABLE_INDEX = NO
ENUM_VALUES_PER_LINE = 4
GENERATE_TREEVIEW = NO
TREEVIEW_WIDTH = 250
#---------------------------------------------------------------------------
# configuration options related to the LaTeX output
#---------------------------------------------------------------------------
GENERATE_LATEX = YES
LATEX_OUTPUT = latex
COMPACT_LATEX = NO
PAPER_TYPE = a4
EXTRA_PACKAGES =
LATEX_HEADER =
PDF_HYPERLINKS = NO
USE_PDFLATEX = NO
LATEX_BATCHMODE = NO
#---------------------------------------------------------------------------
# configuration options related to the RTF output
#---------------------------------------------------------------------------
GENERATE_RTF = YES
RTF_OUTPUT = rtf
COMPACT_RTF = NO
RTF_HYPERLINKS = NO
RTF_STYLESHEET_FILE =
RTF_EXTENSIONS_FILE =
#---------------------------------------------------------------------------
# configuration options related to the man page output
#---------------------------------------------------------------------------
GENERATE_MAN = NO
MAN_OUTPUT = man
MAN_EXTENSION = .3
MAN_LINKS = NO
#---------------------------------------------------------------------------
# configuration options related to the XML output
#---------------------------------------------------------------------------
GENERATE_XML = NO
#---------------------------------------------------------------------------
# configuration options for the AutoGen Definitions output
#---------------------------------------------------------------------------
GENERATE_AUTOGEN_DEF = YES
#---------------------------------------------------------------------------
# Configuration options related to the preprocessor
#---------------------------------------------------------------------------
ENABLE_PREPROCESSING = YES
MACRO_EXPANSION = NO
EXPAND_ONLY_PREDEF = NO
SEARCH_INCLUDES = YES
INCLUDE_PATH =
INCLUDE_FILE_PATTERNS =
PREDEFINED =
EXPAND_AS_DEFINED =
SKIP_FUNCTION_MACROS = YES
#---------------------------------------------------------------------------
# Configuration::addtions related to external references
#---------------------------------------------------------------------------
TAGFILES =
GENERATE_TAGFILE =
ALLEXTERNALS = NO
EXTERNAL_GROUPS = YES
PERL_PATH = /usr/bin/perl
#---------------------------------------------------------------------------
# Configuration options related to the dot tool
#---------------------------------------------------------------------------
CLASS_DIAGRAMS = YES
HAVE_DOT = YES
CLASS_GRAPH = YES
COLLABORATION_GRAPH = YES
TEMPLATE_RELATIONS = YES
HIDE_UNDOC_RELATIONS = YES
INCLUDE_GRAPH = YES
INCLUDED_BY_GRAPH = YES
GRAPHICAL_HIERARCHY = YES
DOT_IMAGE_FORMAT = png
DOT_PATH =
DOTFILE_DIRS =
MAX_DOT_GRAPH_WIDTH = 1024
MAX_DOT_GRAPH_HEIGHT = 1024
GENERATE_LEGEND = YES
DOT_CLEANUP = YES
#---------------------------------------------------------------------------
# Configuration::addtions related to the search engine
#---------------------------------------------------------------------------
SEARCHENGINE = NO
CGI_NAME = search.cgi
CGI_URL =
DOC_URL =
DOC_ABSPATH =
BIN_ABSPATH = /usr/local/bin/
EXT_DOC_PATHS =
packetlib-v3.1.0/INSTALL 0000664 0000000 0000000 00000011212 12264007401 0014661 0 ustar 00root root 0000000 0000000 Basic Installation
==================
These are generic installation instructions.
For the installation of the system it is only necessary to invocke the command:
make install
This command build the system and install it into the predefined path (/usr/local).
It is possible to change the basic installation path with the command:
export prefix=/new_path
make -e install
or
make prefix='/new_path'
In any case the two command overrides the make variables.
Basic Installation for Qt users
===============================
For building Qwt for Qt 2.x you need tmake. On SuSE it is hidden
in a package called qt-freebies. It can be downloaded from
http://www.trolltech.com/developer/download/tmake.html.
You have to set TMAKEPATH to point to your development environment and run tmake:
export TMAKEPATH=/usr/lib/tmake/linux-g++ # path depends on your system
tmake project_name.pro -o Makefile
make
Builds for Qt 3.x need qmake, that is official part of Qt 3.x.
qmake project_name.pro -o Makefile
make
Additional path specifications for standard project
===================================================
In addition the the prefix variable, it is possible to specify the following path:
`prefix'
A prefix used in constructing the default values of the variables listed below. The default value of prefix should be `/usr/local'.
`exec_prefix'
A prefix used in constructing the default values of some of the variables listed below. The default value of exec_prefix should be $(prefix).
`bindir'
The directory for installing executable programs that users can run. This should normally be `/usr/local/bin', but write it as `$(exec_prefix)/bin'.
`datadir'
The directory for installing read-only architecture independent data files. This should normally be `/usr/local/share', but write it as `$(prefix)/share'.
`libdir'
The directory for object files and libraries of object code. Do not install executables here, they probably ought to go in `$(libexecdir)' instead. The value of libdir should normally be `/usr/local/lib', but write it as `$(exec_prefix)/lib'.
`infodir'
The directory for installing the Info files for this package. By default, it should be `/usr/local/info', but it should be written as `$(prefix)/info'.
`includedir'
The directory for installing header files to be included by user programs with the C `#include' preprocessor directive. This should normally be `/usr/local/include', but write it as `$(prefix)/include'.
Additional make targets for standard project
============================================
`all'
Compile the entire program. This should be the default target. This target need not rebuild any documentation files; Info files should normally be included in the distribution, and DVI files should be made only when explicitly asked for.
`install'
Compile the program and copy the executables, libraries, and so on to the file names where they should reside for actual use. If possible, write the install target rule so that it does not modify anything in the directory where the program was built, provided `make all' has just been done. This is convenient for building the program under one user name and installing it under another. The commands should create all the directories in which files are to be installed, if they don't already exist. This includes the directories specified as the values of the variables prefix and exec_prefix, as well as all subdirectories that are needed.
`uninstall'
Delete all the installed files--the copies that the `install' target creates. This rule should not modify the directories where compilation is done, only the directories where files are installed.
`clean'
Delete all files from the current directory that are normally created by building the program. Don't delete the files that record the configuration. Also preserve files that could be made by building, but normally aren't because the distribution comes with them.
`distclean'
Delete all files from the current directory that are created by configuring or building the program. If you have unpacked the source and built the program without creating any other files, `make distclean' should leave only the files that were in the distribution.
`info'
Generate any Info files needed.
`dist'
Create a distribution tar file for this program. The tar file should be set up so that the file names in the tar file start with a subdirectory name which is the name of the package it is a distribution for.
`distclean'
Delete all files from the current directory that are created by configuring or building the program. If you have unpacked the source and built the program without creating any other files, `make distclean' should leave only the files that were in the distribution.
packetlib-v3.1.0/LICENSE 0000664 0000000 0000000 00000043107 12264007401 0014645 0 ustar 00root root 0000000 0000000 GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Lesser General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
Copyright (C) 2013 ASTRO-BO
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
{signature of Ty Coon}, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License.
packetlib-v3.1.0/Makefile 0000664 0000000 0000000 00000020313 12264007401 0015272 0 ustar 00root root 0000000 0000000 #############################################################################
# Makefile for building: PacketLib
# Project: PacketLib
# Template: lib and exe
# Use make variable_name=' options ' to override the variables or make -e to
# override the file variables with the environment variables
# make CFLAGS='-g' or make prefix='/usr'
# Instructions:
# - modify the section 1)
# - if you want, modify the section 2) and 3), but it is not necessary
# - modify the variables of the section 4): CFLAGS INCPATH ALL_CFLAGS CPPFLAGS LIBS
# - in section 10), modify the following action:
# * all: and or remove exe and lib prerequisite
# * lib: and or remove staticlib and dynamiclib prerequisite
# * clean: add or remove the files and directories that should be cleaned
# * install: add or remove the files and directories that should be installed
# * uninstall: add or remove the files and directories that should be uninstalled
#############################################################################
SHELL = /bin/sh
####### 1) Project names and system
#SYSTEM: linux or QNX
SYSTEM= $(shell gcc -dumpmachine)
PROJECT=PacketLib
EXE_NAME = main
LIB_NAME = libpacket
VER_FILE_NAME = PlVersion.h
####### 2) Directories for the installation
# Prefix for each installed program. Only ABSOLUTE PATH
prefix=/usr/local
exec_prefix=$(prefix)
# The directory to install the binary files in.
bindir=$(exec_prefix)/bin
# The directory to install the local configuration file.
datadir=$(exec_prefix)/share
# The directory to install the libraries in.
libdir=$(exec_prefix)/lib
# The directory to install the info files in.
infodir=$(exec_prefix)/info
# The directory to install the include files in.
includedir=$(exec_prefix)/include
####### 3) Directories for the compiler
OBJECTS_DIR = obj
SOURCE_DIR = src
INCLUDE_DIR = include
DOC_DIR = ref
DOXY_SOURCE_DIR = code_filtered
EXE_DESTDIR = .
LIB_DESTDIR = lib
####### 4) Compiler, tools and options
CC = gcc
CXX = g++
#Insert the optional parameter to the compiler. The CFLAGS could be changed externally by the user
#- g3
CFLAGS = -O2 -O0 -m64 -fPIC -g
#-O2 -O0 -g3
#Set INCPATH to add the inclusion paths
INCPATH = -I ./include
#Insert the implicit parameter to the compiler:
ALL_CFLAGS = -fexceptions -Wall $(INCPATH) $(CFLAGS)
ifeq ($(SYSTEM), QNX)
ALL_CFLAGS += -Vgcc_ntox86_gpp -lang-c++
endif
#Use CPPFLAGS for the preprocessor
CPPFLAGS =
#Set LIBS for addition library
LIBS = -lstdc++
ifeq ($(SYSTEM), QNX)
LIBS += -lsocket
endif
ifneq (, $(findstring apple, $(SYSTEM)))
# Do apple things
CPPFLAGS += -I$(LOCAL)/include
LIBS += -L$(LOCAL)/lib
endif
LINK = g++
#for link
LFLAGS = -shared -Wl,-soname,$(TARGET1) -Wl,-rpath,$(DESTDIR)
AR = ar cqs
TAR = tar -cf
GZIP = gzip -9f
COPY = cp -f
COPY_FILE= $(COPY) -p
COPY_DIR = $(COPY) -pR
DEL_FILE = rm -f
SYMLINK = ln -sf
DEL_DIR = rm -rf
MOVE = mv -f
CHK_DIR_EXISTS= test -d
MKDIR = mkdir -p
####### 5) VPATH
VPATH=$(SOURCE_DIR):$(INCLUDE_DIR):
vpath %.o $(OBJECTS_DIR)
####### 6) Files of the project
INCLUDE=$(foreach dir,$(INCLUDE_DIR), $(wildcard $(dir)/*.h))
SOURCE=$(foreach dir,$(SOURCE_DIR), $(wildcard $(dir)/*.cpp))
SOURCE+=$(foreach dir,$(SOURCE_DIR), $(wildcard $(dir)/*.c))
#Objects to build
OBJECTS=$(addsuffix .o, $(basename $(notdir $(SOURCE))))
#only for documentation generation
DOC_INCLUDE= $(addprefix $(DOXY_SOURCE_DIR)/, $(notdir $(INCLUDE)))
DOC_SOURCE= $(addprefix $(DOXY_SOURCE_DIR)/, $(notdir $(SOURCE)))
####### 7) Only for library generation
TARGET = $(LIB_NAME).so.$(shell cat version)
TARGETA = $(LIB_NAME).a
TARGETD = $(LIB_NAME).so.$(shell cat version)
TARGET0 = $(LIB_NAME).so
TARGET1 = $(LIB_NAME).so.$(shell cut version -f 1 -d '.')
TARGET2 = $(LIB_NAME).so.$(shell cut version -f 1 -d '.').$(shell cut version -f 2 -d '.')
####### 8) Preliminar operations
$(shell cut $(INCLUDE_DIR)/$(VER_FILE_NAME) -f 3 > version)
#WARNING: use -d ' ' if in the version.h the separator is a space
####### 9) Pattern rules
test/%.o : test/%.cpp
$(CC) $(CPPFLAGS) $(ALL_CFLAGS) -c $< -o $@ -I /usr/include/cppunit
%.o : %.cpp
$(CC) $(CPPFLAGS) $(ALL_CFLAGS) -c $< -o $(OBJECTS_DIR)/$@
#only for documentation generation
$(DOXY_SOURCE_DIR)/%.h : %.h
cp $< $@
$(DOXY_SOURCE_DIR)/%.cpp : %.cpp
cp $< $@
####### 10) Build rules
#all: compile the entire program.
all: lib
lib: staticlib
exe: makeobjdir main.o $(OBJECTS)
test -d $(EXE_DESTDIR) || mkdir -p $(EXE_DESTDIR)
$(CC) $(CPPFLAGS) $(ALL_CFLAGS) -o $(EXE_DESTDIR)/$(EXE_NAME) $(OBJECTS_DIR)/*.o $(LIBS)
tests: test/runtests
TESTOBJS = test/InputPacketStreamFileTest.o test/runtests.o
test/runtests: $(TESTOBJS) lib
$(CC) $(CPPFLAGS) $(ALL_CFLAGS) -o $@ $(TESTOBJS) -Llib -lpacket $(LIBS) -lcppunit
staticlib: makelibdir makeobjdir $(OBJECTS)
test -d $(LIB_DESTDIR) || mkdir -p $(LIB_DESTDIR)
$(DEL_FILE) $(LIB_DESTDIR)/$(TARGETA)
$(AR) $(LIB_DESTDIR)/$(TARGETA) $(OBJECTS_DIR)/*.o
dynamiclib: makelibdir makeobjdir $(OBJECTS)
$(DEL_FILE) $(TARGET) $(TARGET0) $(TARGET1) $(TARGET2)
$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS_DIR)/*.o $(LIBS)
$(SYMLINK) $(TARGET) $(TARGET0)
$(SYMLINK) $(TARGET) $(TARGET1)
$(SYMLINK) $(TARGET) $(TARGET2)
test $(LIB_DESTDIR) = . || $(DEL_FILE) $(LIB_DESTDIR)/$(TARGET)
test $(LIB_DESTDIR) = . || $(DEL_FILE) $(LIB_DESTDIR)/$(TARGET0)
test $(LIB_DESTDIR) = . || $(DEL_FILE) $(LIB_DESTDIR)/$(TARGET1)
test $(LIB_DESTDIR) = . || $(DEL_FILE) $(LIB_DESTDIR)/$(TARGET2)
test $(LIB_DESTDIR) = . || $(MOVE) $(TARGET) $(TARGET0) $(TARGET1) $(TARGET2) $(LIB_DESTDIR)
makeobjdir:
test -d $(OBJECTS_DIR) || mkdir -p $(OBJECTS_DIR)
makelibdir:
test -d $(LIB_DESTDIR) || mkdir -p $(LIB_DESTDIR)
#clean: delete all files from the current directory that are normally created by building the program.
clean:
$(DEL_FILE) $(OBJECTS_DIR)/*.o test/*.o
$(DEL_FILE) *~ core *.core
$(DEL_FILE) $(LIB_DESTDIR)/*.a
$(DEL_FILE) $(LIB_DESTDIR)/*.so*
$(DEL_FILE) $(EXE_DESTDIR)/$(EXE_NAME)
$(DEL_FILE) version
$(DEL_FILE) prefix
$(DEL_FILE) $(PROJECT).dvi
$(DEL_FILE) $(PROJECT).pdf
$(DEL_FILE) $(PROJECT).ps
test $(OBJECTS_DIR) = . || $(DEL_DIR) $(OBJECTS_DIR)
test $(EXE_DESTDIR) = . || $(DEL_DIR) $(EXE_DESTDIR)
test $(LIB_DESTDIR) = . || $(DEL_DIR) $(LIB_DESTDIR)
test $(DOXY_SOURCE_DIR) = . || $(DEL_DIR) $(DOXY_SOURCE_DIR)
test $(DOC_DIR) = . || $(DEL_DIR) $(DOC_DIR)
#Delete all files from the current directory that are created by configuring or building the program.
distclean: clean
#install: compile the program and copy the executables, libraries,
#and so on to the file names where they should reside for actual use.
install: all
$(shell echo $(prefix) > prefix)
#test -d $(datadir) || mkdir -p $(datadir)
#test -d $(infodir) || mkdir -p $(infodir)
# For library installation
test -d $(libdir) || mkdir -p $(libdir)
test -d $(includedir) || mkdir -p $(includedir)
$(COPY_FILE) $(LIB_DESTDIR)/$(TARGETA) $(libdir)
#$(COPY_FILE) $(LIB_DESTDIR)/$(TARGET0) $(libdir)
#$(COPY_FILE) $(LIB_DESTDIR)/$(TARGET1) $(libdir)
#$(COPY_FILE) $(LIB_DESTDIR)/$(TARGET2) $(libdir)
#$(COPY_FILE) $(LIB_DESTDIR)/$(TARGETD) $(libdir)
$(COPY_FILE) $(INCLUDE) $(includedir)
# For exe installation
#test -d $(bindir) || mkdir -p $(bindir)
#$(COPY_FILE) $(EXE_DESTDIR)/$(EXE_NAME) $(bindir)
#uninstall: delete all the installed files--the copies that the `install' target creates.
uninstall:
#For library uninstall
$(DEL_FILE) $(libdir)/$(TARGETA)
$(DEL_FILE) $(libdir)/$(TARGETD)
$(DEL_FILE) $(libdir)/$(TARGET0)
$(DEL_FILE) $(libdir)/$(TARGET1)
$(DEL_FILE) $(libdir)/$(TARGET2)
$(DEL_FILE) $(addprefix $(includedir)/, $(notdir $(INCLUDE)))
# For exe uninstall
#$(DEL_FILE) $(bindir)/$(EXE_NAME)
#dist: create a distribution tar file for this program
dist: all
# dvi, pdf, ps, for documentation generation
dvi: info
cd $(DOC_DIR)/latex && $(MAKE)
$(SYMLINK) $(DOC_DIR)/latex/refman.dvi $(PROJECT).dvi
pdf: info
cd $(DOC_DIR)/latex && $(MAKE) pdf
$(SYMLINK) $(DOC_DIR)/latex/refman.pdf $(PROJECT).pdf
ps: info
cd $(DOC_DIR)/latex && $(MAKE) ps
$(SYMLINK) $(DOC_DIR)/latex/refman.ps $(PROJECT).ps
#info: generate any Info files needed.
info: makedoxdir $(DOC_INCLUDE) $(DOC_SOURCE)
test -d $(DOC_DIR) || mkdir -p $(DOC_DIR)
doxygen Doxyfile
makedoxdir:
test -d $(DOXY_SOURCE_DIR) || mkdir -p $(DOXY_SOURCE_DIR)
packetlib-v3.1.0/Makefile.dist 0000664 0000000 0000000 00000011451 12264007401 0016237 0 ustar 00root root 0000000 0000000 #############################################################################
# Makefile for install: PacketLib
# Project: PacketLib
# Use make variable_name=' options ' to override the variables or make -e to
# override the file variables with the environment variables
# make CFLAGS='-g' or make prefix='/usr'
#############################################################################
SHELL = /bin/sh
####### 1) Project names and system
#SYSTEM: linux or QNX
SYSTEM = linux
PROJECT=PacketLib
####### 2) Directories for the installation
# Prefix for each installed program. Only ABSOLUTE PATH
prefix=/usr/local
exec_prefix=$(prefix)
# The directory to install the binary files in.
bindir=$(exec_prefix)/bin
# The directory to install the local configuration file.
datadir=$(exec_prefix)/share
# The directory to install the libraries in.
libdir=$(exec_prefix)/lib
# The directory to install the info files in.
infodir=$(exec_prefix)/info
# The directory to install the include files in.
includedir=$(exec_prefix)/include
####### 3) Directories for the compiler
OBJECTS_DIR = obj
SOURCE_DIR = examples
LIB_DESTDIR = lib
INCLUDE_DIR = include
LIB_NAME = libpacket
VER_FILE_NAME = PlVersion.h
####### 4) Compiler, tools and options
CC = gcc
CXX = g++
#Insert the optional parameter to the compiler. The CFLAGS could be changed externally by the user
#- g3
CFLAGS = -O2 -O0
#-O2 -O0 -g3
#Set INCPATH to add the inclusion paths
INCPATH = -I $(includedir)
#Insert the implicit parameter to the compiler:
ALL_CFLAGS = -fexceptions -Wall $(INCPATH) $(CFLAGS)
ifeq ($(SYSTEM), QNX)
ALL_CFLAGS += -Vgcc_ntox86_gpp -lang-c++
endif
#Use CPPFLAGS for the preprocessor
CPPFLAGS =
#Set LIBS for addition library
LIBS = -lstdc++ -lpacket
ifeq ($(SYSTEM), QNX)
LIBS += -lsocket
endif
LINK = g++
#for link
LFLAGS = -shared -Wl,-soname,$(TARGET1) -Wl,-rpath,$(DESTDIR)
AR = ar cqs
TAR = tar -cf
GZIP = gzip -9f
COPY = cp -f
COPY_FILE= $(COPY) -p
COPY_DIR = $(COPY) -pR
DEL_FILE = rm -f
SYMLINK = ln -sf
DEL_DIR = rm -rf
MOVE = mv -f
CHK_DIR_EXISTS= test -d
MKDIR = mkdir -p
####### 5) VPATH
VPATH=$(SOURCE_DIR):$(INCLUDE_DIR):
vpath %.o $(OBJECTS_DIR)
####### 6) Files of the project
INCLUDE=$(foreach dir,$(INCLUDE_DIR), $(wildcard $(dir)/*.h))
OBJECTS = in.o msgqclient.o msgqserver.o out.o
####### 7) Only for library generation
TARGET = $(LIB_NAME).so.$(shell cat version)
TARGETA = $(LIB_NAME).a
TARGETD = $(LIB_NAME).so.$(shell cat version)
TARGET0 = $(LIB_NAME).so
TARGET1 = $(LIB_NAME).so.$(shell cut version -f 1 -d '.')
TARGET2 = $(LIB_NAME).so.$(shell cut version -f 1 -d '.').$(shell cut version -f 2 -d '.')
####### 8) Preliminar operations
$(shell cut $(INCLUDE_DIR)/$(VER_FILE_NAME) -f 3 > version)
#WARNING: use -d ' ' if in the version.h the separator is a space
####### 9) Pattern rules
%.o : %.cpp
$(CC) $(CPPFLAGS) $(ALL_CFLAGS) -c $< -o $(OBJECTS_DIR)/$@
####### 10) Build rules
all: makeobjdir $(OBJECTS)
$(CC) $(CPPFLAGS) $(ALL_CFLAGS) -o $(SOURCE_DIR)/in $(OBJECTS_DIR)/in.o $(LIBS)
$(CC) $(CPPFLAGS) $(ALL_CFLAGS) -o $(SOURCE_DIR)/out $(OBJECTS_DIR)/out.o $(LIBS)
$(CC) $(CPPFLAGS) $(ALL_CFLAGS) -o $(SOURCE_DIR)/msgqclient $(OBJECTS_DIR)/msgqclient.o $(LIBS)
$(CC) $(CPPFLAGS) $(ALL_CFLAGS) -o $(SOURCE_DIR)/msgqserver $(OBJECTS_DIR)/msgqserver.o $(LIBS)
makeobjdir:
test -d $(OBJECTS_DIR) || mkdir -p $(OBJECTS_DIR)
#clean: delete all files from the current directory that are normally created by building the program.
clean:
$(DEL_FILE) $(OBJECTS_DIR)/*.o
$(DEL_FILE) *~ core *.core
$(DEL_FILE) version
$(DEL_FILE) prefix
$(DEL_FILE) $(SOURCE_DIR)/msgqserver
$(DEL_FILE) $(SOURCE_DIR)/msgqclient
$(DEL_FILE) $(SOURCE_DIR)/in
$(DEL_FILE) $(SOURCE_DIR)/out
test $(OBJECTS_DIR) = . || $(DEL_DIR) $(OBJECTS_DIR)
#Delete all files from the current directory that are created by configuring or building the program.
distclean: clean
#install: compile the program and copy the executables, libraries,
#and so on to the file names where they should reside for actual use.
install:
$(shell echo $(prefix) > prefix)
# For library installation
$(COPY_FILE) $(LIB_DESTDIR)/$(TARGETA) $(libdir)
$(COPY_FILE) $(LIB_DESTDIR)/$(TARGET0) $(libdir)
$(COPY_FILE) $(LIB_DESTDIR)/$(TARGET1) $(libdir)
$(COPY_FILE) $(LIB_DESTDIR)/$(TARGET2) $(libdir)
$(COPY_FILE) $(LIB_DESTDIR)/$(TARGETD) $(libdir)
test -d $(includedir) || mkdir -p $(includedir)
$(COPY_FILE) $(LIB_DESTDIR)/* $(libdir)
$(COPY_FILE) $(INCLUDE) $(includedir)
#uninstall: delete all the installed files--the copies that the `install' target creates.
uninstall:
#For library uninstall
$(DEL_FILE) $(libdir)/$(TARGETA)
$(DEL_FILE) $(libdir)/$(TARGETD)
$(DEL_FILE) $(libdir)/$(TARGET0)
$(DEL_FILE) $(libdir)/$(TARGET1)
$(DEL_FILE) $(libdir)/$(TARGET2)
$(DEL_FILE) $(addprefix $(includedir)/, $(notdir $(INCLUDE)))
packetlib-v3.1.0/README 0000664 0000000 0000000 00000002450 12264007401 0014514 0 ustar 00root root 0000000 0000000 DISTRIBUTION
The directory of this distribution of PacketLib are:
- doc: containing the documentation of the PacketLib (Reference Manual, Interface Control Document and Programmer's Guide)
- examples: some examples and some PacketLib configuration files, used in the Interface Control Document and in the Programmer's Guide.
- include: the include files of the library.
- lib: static and dynamic binary library
- model: a Rational Rose file with the UML model of the library
- ref/html the doxygen documentation of the library (same content of the Reference Manual)
HOW TO INSTALL PACKETLIB
To install PacketLib:
make install
and the include and lib files will be copied in the /usr/local/include and /usr/local/lib (need root permission).
If you want to change the installation path use
make prefix='newpath' install
but it is necessary to add newpath in the LD_LIBRARY_PATH environment variable anche change the include path of the Makefile (-I option of the compiler).
UNINSTALL THE PACKETLIB
To uninstall the PacketLib
make uninstall
or
make prefix='installation_path' uninstall
EXAMPLES
Use
make
to build the examples in the examples directory.
make clean
if you want to clean the file built.
The description of the examples are present in the Programmer's Guide, in the section of the examples. packetlib-v3.1.0/README.dist 0000664 0000000 0000000 00000002450 12264007401 0015456 0 ustar 00root root 0000000 0000000 DISTRIBUTION
The directory of this distribution of PacketLib are:
- doc: containing the documentation of the PacketLib (Reference Manual, Interface Control Document and Programmer's Guide)
- examples: some examples and some PacketLib configuration files, used in the Interface Control Document and in the Programmer's Guide.
- include: the include files of the library.
- lib: static and dynamic binary library
- model: a Rational Rose file with the UML model of the library
- ref/html the doxygen documentation of the library (same content of the Reference Manual)
HOW TO INSTALL PACKETLIB
To install PacketLib:
make install
and the include and lib files will be copied in the /usr/local/include and /usr/local/lib (need root permission).
If you want to change the installation path use
make prefix='newpath' install
but it is necessary to add newpath in the LD_LIBRARY_PATH environment variable anche change the include path of the Makefile (-I option of the compiler).
UNINSTALL THE PACKETLIB
To uninstall the PacketLib
make uninstall
or
make prefix='installation_path' uninstall
EXAMPLES
Use
make
to build the examples in the examples directory.
make clean
if you want to clean the file built.
The description of the examples are present in the Programmer's Guide, in the section of the examples. packetlib-v3.1.0/README.md 0000664 0000000 0000000 00000001507 12264007401 0015115 0 ustar 00root root 0000000 0000000 PacketLib
=========
PacketLib is a C++ open-source software library for writing applications which deal with satellite telemetry source packets, provided that the packets are compliant with the CCSDS Telemetry and Telecom- mand Standards. The library is being used within the Italian Space Agency (ASI) mission AGILE for simulation, graphical display, process- ing and decoding of the telemetry generated by the Test Equipment (TE) of two AGILE detectors. From an input stream of bytes, the library is able to recognize automatically the source packets (described by a sim- ple configuration file), and provides a simple access to each packet field by means of an object oriented interface. In the same way the library writes source packets to output stream. Various types of input and out- put streams are abstracted by a software layer.
packetlib-v3.1.0/TODO 0000664 0000000 0000000 00000004743 12264007401 0014333 0 ustar 00root root 0000000 0000000 PacketLib non funziona. L'ultima versione funzionanete è la PACKETLIB_1_3_6_BETA1. Da lì in aventi è stato introdotto un bug.
Ecco come procedere.
- ripartire dalla versione funzionante
- aggiungere le classi aggiornate dell'ultima versione, una alla volta.
- ad ogni aggiunta provare il processor 32.01
26 feb 2005
+ nel caso di block fixed (layout 2) non è presente la classe di metodi get/set fiekdValue 5_15 4_14 per i blocchi, ma solo per i singoli valori
KNOWN ISSUE
4 Nov 2004
1. non lavora con prefix di dimensione dispari
2. sembra non lavorare in little endian
3. se la definizione del packet è parziale, non viene mostrato nulla nel packet viewer
- sostituire la directory doc con la ref
- togliere il link PacketLib.html
- finire la serial
- define -DQNX per le classi di IO
- costruire il modello rose e metterlo nella cartella model
--------------------------
Curare la liberazione della memoria dai buffer nei due tipi di packet con block
INTERFACCE
2) Mettere in ordine tra le interfacce delle varie classi
2) Organizzare la nuova IOLib
OTTIMIZZAZIONI
1) Permettere la distruzione di un Packet senza che il programma si pianti
NUOVE FUNZIONI
2) Fare in modo che si possa assegnare ad un packet solamente una parte del packet con il
setByteStream
3) Aggiungere anche il tipo di packet con blocchi di vario tipo in sequenza prestabilit�(al
limite il blocco pu�essere assente, ma la sequenza va rispettata).
string
Ottobre 2002
1) Realizzare invio e ricezione di stringhe per i socket e aggiungere le stesse
funzionalit�nelle classe InputSocketServer e OutputSocketClient
2) La generazione dei packet deve essere pi semplice:
a) si settano i valori dei field
b) si richiama il metodo Packet::get_packet_output() che restituisce il ByteStream risultante
Spostare generateStream nei protected. Inoltre deve essere modificato il comportamento
del Packet. Alla creazione del packet viengono create i ByteStream di ogni PartOfPacket
Quando un ByteStream viene passato come argomento, questo viene passato per valore
Quando un ByteStream viene restituito come valore di ritorno, questo viene passato per
valore.
In tal modo il Packet ha sempre le sue copie locali di ByteStreams che non interagiscono
mai con l'esterno.
Usare i memcopy per maggiori prestazioni.
virtual Packet* readPacket() throw(PacketExceptionIO*) {};
virtual bool writePacket(Packet* p) throw(PacketExceptionIO*) = 0;
Sono arrivato qui:
Packet* InputPacketStream::readPacket() throw(PacketExceptionIO*)
packetlib-v3.1.0/conf/ 0000775 0000000 0000000 00000000000 12264007401 0014560 5 ustar 00root root 0000000 0000000 packetlib-v3.1.0/conf/CAL-CSIBarsTE/ 0000775 0000000 0000000 00000000000 12264007401 0016634 5 ustar 00root root 0000000 0000000 packetlib-v3.1.0/conf/CAL-CSIBarsTE/CAL-CSIBarsTE.stream 0000664 0000000 0000000 00000000270 12264007401 0022124 0 ustar 00root root 0000000 0000000 [Configuration]
--prefix
true
--input format bigendian
true
--dimension of prefix
2
[Header Format]
headerESA.header
[Packet Format]
GRID.packet
TC_CAL_stop.packet
TC_CAL_start.packet
packetlib-v3.1.0/conf/CAL-CSIBarsTE/CVS/ 0000775 0000000 0000000 00000000000 12264007401 0017267 5 ustar 00root root 0000000 0000000 packetlib-v3.1.0/conf/CAL-CSIBarsTE/CVS/Entries 0000664 0000000 0000000 00000000417 12264007401 0020625 0 ustar 00root root 0000000 0000000 /CAL-CSIBarsTE.stream/1.1.1.1/Wed Sep 3 11:53:30 2003//
/GRID.packet/1.1.1.1/Wed Sep 3 11:53:30 2003//
/TC_CAL_start.packet/1.1.1.1/Wed Sep 3 11:53:30 2003//
/TC_CAL_stop.packet/1.1.1.1/Wed Sep 3 11:53:30 2003//
/headerESA.header/1.1.1.1/Wed Sep 3 11:53:30 2003//
D
packetlib-v3.1.0/conf/CAL-CSIBarsTE/CVS/Repository 0000664 0000000 0000000 00000000035 12264007401 0021367 0 ustar 00root root 0000000 0000000 PacketLib/conf/CAL-CSIBarsTE
packetlib-v3.1.0/conf/CAL-CSIBarsTE/CVS/Root 0000664 0000000 0000000 00000000100 12264007401 0020124 0 ustar 00root root 0000000 0000000 :pserver:bulgarelli@gtb.iasfbo.inaf.it:/home/repository/cvs/gtb
packetlib-v3.1.0/conf/CAL-CSIBarsTE/GRID.packet 0000664 0000000 0000000 00000003040 12264007401 0020547 0 ustar 00root root 0000000 0000000 -- name of packet
GRID events data CALCSIBarTE
[PacketHeader]
-- file in cui e' presente la descrizione dell'header
headerESA.header
[DataFieldHeader]
-- field 0
Time Tag second (MSB)
16
none
-- field 1
Time Tag second (LSB)
16
none
-- field 2
Time Tag millisecond
16
none
-- field 3
TT
1
none
-- field 4
Blsize
7
none
-- field 5
Nblock
8
none
[SourceDataField]
block
fixed
--type of number of block: fixed = number of block fixed equals to max number of block (fixed | variable)
variable
--supposed number (or max number) of block
16
--index of field in the [DataFieldHeader] section wich rappresent the number of event (the number of block) of the packet
5
-- valore da sottrarre per ottenere il numero di eventi reale
0
[SourceDataFieldBlock]
-- PD 00
0
4
none
PD0 Pulse Height
12
none
-- PD 01
1
4
none
PD1 Pulse Height
12
none
-- PD 02
2
4
none
PD2 Pulse Height
12
none
-- PD 03
3
4
none
PD3 Pulse Height
12
none
-- PD 04
4
4
none
PD4 Pulse Height
12
none
-- PD 05
5
4
none
PD5 Pulse Height
12
none
-- PD 06
6
4
none
PD6 Pulse Height
12
none
-- PD 07
7
4
none
PD7 Pulse Height
12
none
-- PD 08
8
4
none
PD8 Pulse Height
12
none
-- PD 09
9
4
none
PD9 Pulse Height
12
none
-- PD 10
10
4
none
PD10 Pulse Height
12
none
-- PD 11
11
4
none
PD11 Pulse Height
12
none
-- PD 12
12
4
none
PD12 Pulse Height
12
none
-- PD 13
13
4
none
PD13 Pulse Height
12
none
-- PD 14
14
4
none
PD14 Pulse Height
12
none
-- PD 15
15
4
none
PD15 Pulse Height
12
none
[Identifiers]
-- id0 APID
-- field number
3
-- type (0 header, 1 data field header, 2 source data field)
0
-- value
1293
packetlib-v3.1.0/conf/CAL-CSIBarsTE/TC_CAL_start.packet 0000664 0000000 0000000 00000000710 12264007401 0022225 0 ustar 00root root 0000000 0000000 -- name of packet
TC MCAL Packet: start
[PacketHeader]
-- file in cui e' presente la descrizione dell'header
headerESA.header
[DataFieldHeader]
--field 0
Spare
2
0b00
-- field 1
Checksum type
2
0b00
-- field 2
ACK
4
0b00
-- field 3
Packet type
4
5
-- field 4
Packet subtype
4
5
[SourceDataField]
noblock
fixed
[SourceDataFieldList]
TC Application Data
16
none
[Identifiers]
-- id0 APID
3
0
1281
--id1 type
3
1
5
--id2 subtype
4
1
5
-- id3 command
0
2
512
packetlib-v3.1.0/conf/CAL-CSIBarsTE/TC_CAL_stop.packet 0000664 0000000 0000000 00000000705 12264007401 0022061 0 ustar 00root root 0000000 0000000 -- name of packet
TC MCAL Packet: stop
[PacketHeader]
-- file in cui e' presente la descrizione dell'header
headerESA.header
[DataFieldHeader]
--field 0
Spare
2
0b00
-- field 1
Checksum type
2
0b00
-- field 2
ACK
4
0b00
-- field 3
Packet type
4
5
-- field 4
Packet subtype
4
5
[SourceDataField]
noblock
fixed
[SourceDataFieldList]
TC Application Data
16
none
[Identifiers]
-- id0 APID
3
0
1281
--id1 type
3
1
5
--id2 subtype
4
1
5
-- id3 command
0
2
0
packetlib-v3.1.0/conf/CAL-CSIBarsTE/headerESA.header 0000664 0000000 0000000 00000000512 12264007401 0021565 0 ustar 00root root 0000000 0000000 -- name of header
Header ESA standard 2
-- dimension (in byte) of header
-- 6
-- number of field with dimension of packet
6
[Field]
-- field 0
Version number
3
0b100
-- field 1
Type
1
0b0
-- field 2
DHFH
1
0b1
-- field 3
APID
11
none
-- field 4
SF
2
0b11
-- field 5
Source Sequence Counter
14
none
-- field 6
Packet Length
16
none packetlib-v3.1.0/conf/CAL-DFE-TE/ 0000775 0000000 0000000 00000000000 12264007401 0016061 5 ustar 00root root 0000000 0000000 packetlib-v3.1.0/conf/CAL-DFE-TE/BURST.packet 0000664 0000000 0000000 00000003122 12264007401 0020147 0 ustar 00root root 0000000 0000000 -- name of packet
BURST events data
[PacketHeader]
-- file in cui e' presente la descrizione dell'header
headerESA.header
[DataFieldHeader]
-- field 0
Spare
6
none
-- field 1
Checksum flag
2
none
-- field 2
Packet Type
4
none
-- field 3
Packet subtype
4
none
-- field 4
Time Tag second (MSB)
16
none
-- field 5
Time Tag second (LSB)
16
none
-- field 6
Time Tag millisecond
16
none
-- field 7
Spare
12
none
-- field 8
Nevents
4
none
[SourceDataField]
block
variable
--type of number of block: fixed = number of block fixed equals to max number of block (fixed | variable)
variable
--supposed number (or max number) of block
79
--index of field in the [DataFieldHeader] section wich rappresent the number of event (the number of block) of the packet
8
-- valore da sommare per ottenere il numero di eventi (blocchi) reale
0
[SourceDataFieldBlockFixed]
--supposed number (or max number) of element
32
--index of field in the [SourceDataFieldBlockFixed] section wich rappresent the number of element (the number of bar) of the block
2
--valore da sommare per ottenere il numero di element reali
1
-- field 0
1
1
none
-- field 1
spare
10
none
-- field 2
Number of bars - 1
5
none
-- field 3
TE Internal Counter (MSB)
16
none
-- field 4
TE Internal Counter (LSB)
16
none
[SourceDataFieldBlockVariable]
-- field 0
0
1
0
-- field 1
0
1
0
-- field 2
Bar ID (2 MSB)
2
none
-- field 3
PDA PHA (12 bits)
12
none
-- field 4
0
1
0
-- field 5
Bar ID (3 LSB)
3
none
-- field 6
PDB PHA (12 bits)
12
none
[Identifiers]
-- id0 APID
-- field number
3
-- type (0 header, 1 data field)
0
-- value
1294
--id1 type
2
1
15
--id2 subtype
3
1
3
packetlib-v3.1.0/conf/CAL-DFE-TE/CVS/ 0000775 0000000 0000000 00000000000 12264007401 0016514 5 ustar 00root root 0000000 0000000 packetlib-v3.1.0/conf/CAL-DFE-TE/CVS/Entries 0000664 0000000 0000000 00000000471 12264007401 0020052 0 ustar 00root root 0000000 0000000 /BURST.packet/1.1.1.1/Wed Sep 3 11:53:30 2003//
/GRID.packet/1.1.1.1/Wed Sep 3 11:53:30 2003//
/TC_CAL_start.packet/1.1.1.1/Wed Sep 3 11:53:30 2003//
/TC_CAL_stop.packet/1.1.1.1/Wed Sep 3 11:53:30 2003//
/headerESA.header/1.1.1.1/Wed Sep 3 11:53:30 2003//
/stream.stream/1.1.1.1/Wed Sep 3 11:53:30 2003//
D
packetlib-v3.1.0/conf/CAL-DFE-TE/CVS/Repository 0000664 0000000 0000000 00000000032 12264007401 0020611 0 ustar 00root root 0000000 0000000 PacketLib/conf/CAL-DFE-TE
packetlib-v3.1.0/conf/CAL-DFE-TE/CVS/Root 0000664 0000000 0000000 00000000100 12264007401 0017351 0 ustar 00root root 0000000 0000000 :pserver:bulgarelli@gtb.iasfbo.inaf.it:/home/repository/cvs/gtb
packetlib-v3.1.0/conf/CAL-DFE-TE/GRID.packet 0000664 0000000 0000000 00000011135 12264007401 0020000 0 ustar 00root root 0000000 0000000 -- name of packet
GRID events data
[PacketHeader]
-- file in cui e' presente la descrizione dell'header
headerESA.header
[DataFieldHeader]
-- field 0
Spare
6
none
-- field 1
Checksum flag
2
none
-- field 2
Packet Type
4
none
-- field 3
Packet subtype
4
none
-- field 4
Time Tag second (MSB)
16
none
-- field 5
Time Tag second (LSB)
16
none
-- field 6
Time Tag millisecond
16
none
-- field 7
Spare
12
none
-- field 8
Nevents
4
none
[SourceDataField]
block
fixed
--type of number of block: fixed = number of block fixed equals to max number of block (fixed | variable)
variable
--supposed number (or max number) of block
6
--index of field in the [DataFieldHeader] section wich rappresent the number of event (the number of block) of the packet
8
-- valore da sottrarre per ottenere il numero di eventi reale
0
[SourceDataFieldBlock]
-- field 7
TE Internal Counter (MSB)
16
none
-- field 8
TE Internal Counter (LSB)
16
none
-- bar 01
0
1
0
spare
3
none
Bar 01 PDA PHA (12 bits)
12
none
0
1
0
spare
3
none
Bar 01 PDB PHA (12 bits)
12
none
-- bar 02
0
1
0
spare
3
none
Bar 02 PDA PHA (12 bits)
12
none
0
1
0
spare
3
none
Bar 02 PDB PHA (12 bits)
12
none
-- bar 03
0
1
0
spare
3
none
Bar 03 PDA PHA (12 bits)
12
none
0
1
0
spare
3
none
Bar 03 PDB PHA (12 bits)
12
none
-- bar 04
0
1
0
spare
3
none
Bar 04 PDA PHA (12 bits)
12
none
0
1
0
spare
3
none
Bar 04 PDB PHA (12 bits)
12
none
-- bar 05
0
1
0
spare
3
none
Bar 05 PDA PHA (12 bits)
12
none
0
1
0
spare
3
none
Bar 05 PDB PHA (12 bits)
12
none
-- bar 06
0
1
0
spare
3
none
Bar 06 PDA PHA (12 bits)
12
none
0
1
0
spare
3
none
Bar 06 PDB PHA (12 bits)
12
none
-- bar 07
0
1
0
spare
3
none
Bar 07 PDA PHA (12 bits)
12
none
0
1
0
spare
3
none
Bar 07 PDB PHA (12 bits)
12
none
-- bar 08
0
1
0
spare
3
none
Bar 08 PDA PHA (12 bits)
12
none
0
1
0
spare
3
none
Bar 08 PDB PHA (12 bits)
12
none
-- bar 09
0
1
0
spare
3
none
Bar 09 PDA PHA (12 bits)
12
none
0
1
0
spare
3
none
Bar 09 PDB PHA (12 bits)
12
none
-- bar 10
0
1
0
spare
3
none
Bar 10 PDA PHA (12 bits)
12
none
0
1
0
spare
3
none
Bar 10 PDB PHA (12 bits)
12
none
-- bar 11
0
1
0
spare
3
none
Bar 11 PDA PHA (12 bits)
12
none
0
1
0
spare
3
none
Bar 11 PDB PHA (12 bits)
12
none
-- bar 12
0
1
0
spare
3
none
Bar 12 PDA PHA (12 bits)
12
none
0
1
0
spare
3
none
Bar 12 PDB PHA (12 bits)
12
none
-- bar 13
0
1
0
spare
3
none
Bar 13 PDA PHA (12 bits)
12
none
0
1
0
spare
3
none
Bar 13 PDB PHA (12 bits)
12
none
-- bar 14
0
1
0
spare
3
none
Bar 14 PDA PHA (12 bits)
12
none
0
1
0
spare
3
none
Bar 14 PDB PHA (12 bits)
12
none
-- bar 15
0
1
0
spare
3
none
Bar 15 PDA PHA (12 bits)
12
none
0
1
0
spare
3
none
Bar 15 PDB PHA (12 bits)
12
none
-- bar 16
0
1
0
spare
3
none
Bar 16 PDA PHA (12 bits)
12
none
0
1
0
spare
3
none
Bar 16 PDB PHA (12 bits)
12
none
-- bar 17
0
1
0
spare
3
none
Bar 17 PDA PHA (12 bits)
12
none
0
1
0
spare
3
none
Bar 17 PDB PHA (12 bits)
12
none
-- bar 18
0
1
0
spare
3
none
Bar 18 PDA PHA (12 bits)
12
none
0
1
0
spare
3
none
Bar 18 PDB PHA (12 bits)
12
none
-- bar 19
0
1
0
spare
3
none
Bar 19 PDA PHA (12 bits)
12
none
0
1
0
spare
3
none
Bar 19 PDB PHA (12 bits)
12
none
-- bar 20
0
1
0
spare
3
none
Bar 20 PDA PHA (12 bits)
12
none
0
1
0
spare
3
none
Bar 20 PDB PHA (12 bits)
12
none
-- bar 21
0
1
0
spare
3
none
Bar 21 PDA PHA (12 bits)
12
none
0
1
0
spare
3
none
Bar 21 PDB PHA (12 bits)
12
none
-- bar 22
0
1
0
spare
3
none
Bar 22 PDA PHA (12 bits)
12
none
0
1
0
spare
3
none
Bar 22 PDB PHA (12 bits)
12
none
-- bar 23
0
1
0
spare
3
none
Bar 23 PDA PHA (12 bits)
12
none
0
1
0
spare
3
none
Bar 23 PDB PHA (12 bits)
12
none
-- bar 24
0
1
0
spare
3
none
Bar 24 PDA PHA (12 bits)
12
none
0
1
0
spare
3
none
Bar 24 PDB PHA (12 bits)
12
none
-- bar 25
0
1
0
spare
3
none
Bar 25 PDA PHA (12 bits)
12
none
0
1
0
spare
3
none
Bar 25 PDB PHA (12 bits)
12
none
-- bar 26
0
1
0
spare
3
none
Bar 26 PDA PHA (12 bits)
12
none
0
1
0
spare
3
none
Bar 26 PDB PHA (12 bits)
12
none
-- bar 27
0
1
0
spare
3
none
Bar 27 PDA PHA (12 bits)
12
none
0
1
0
spare
3
none
Bar 27 PDB PHA (12 bits)
12
none
-- bar 28
0
1
0
spare
3
none
Bar 28 PDA PHA (12 bits)
12
none
0
1
0
spare
3
none
Bar 28 PDB PHA (12 bits)
12
none
-- bar 29
0
1
0
spare
3
none
Bar 29 PDA PHA (12 bits)
12
none
0
1
0
spare
3
none
Bar 29 PDB PHA (12 bits)
12
none
-- bar 30
0
1
0
spare
3
none
Bar 30 PDA PHA (12 bits)
12
none
0
1
0
spare
3
none
Bar 30 PDB PHA (12 bits)
12
none
-- bar 31
0
1
0
spare
3
none
Bar 31 PDA PHA (12 bits)
12
none
0
1
0
spare
3
none
Bar 31 PDB PHA (12 bits)
12
none
-- bar 32
0
1
0
spare
3
none
Bar 32 PDA PHA (12 bits)
12
none
0
1
0
spare
3
none
Bar 32 PDB PHA (12 bits)
12
none
[Identifiers]
-- id0 APID
-- field number
3
-- type (0 header, 1 data field)
0
-- value
1294
--id1 type
2
1
15
--id2 subtype
3
1
1
packetlib-v3.1.0/conf/CAL-DFE-TE/TC_CAL_start.packet 0000664 0000000 0000000 00000000707 12264007401 0021460 0 ustar 00root root 0000000 0000000 -- name of packet
TC MCAL Packet: start
[PacketHeader]
-- file in cui e' presente la descrizione dell'header
headerESA.header
[DataFieldHeader]
--field 0
Spare
2
0b00
-- field 1
Checksum type
2
0b00
-- field 2
ACK
4
0b00
-- field 3
Packet type
4
5
-- field 4
Packet subtype
4
5
[SourceDataField]
noblock
fixed
[SourceDataFieldList]
TC Application Data
16
none
[Identifiers]
-- id0 APID
3
0
257
--id1 type
3
1
5
--id2 subtype
4
1
5
-- id3 command
0
2
512
packetlib-v3.1.0/conf/CAL-DFE-TE/TC_CAL_stop.packet 0000664 0000000 0000000 00000000704 12264007401 0021305 0 ustar 00root root 0000000 0000000 -- name of packet
TC MCAL Packet: stop
[PacketHeader]
-- file in cui e' presente la descrizione dell'header
headerESA.header
[DataFieldHeader]
--field 0
Spare
2
0b00
-- field 1
Checksum type
2
0b00
-- field 2
ACK
4
0b00
-- field 3
Packet type
4
5
-- field 4
Packet subtype
4
5
[SourceDataField]
noblock
fixed
[SourceDataFieldList]
TC Application Data
16
none
[Identifiers]
-- id0 APID
3
0
257
--id1 type
3
1
5
--id2 subtype
4
1
5
-- id3 command
0
2
0
packetlib-v3.1.0/conf/CAL-DFE-TE/headerESA.header 0000664 0000000 0000000 00000000443 12264007401 0021015 0 ustar 00root root 0000000 0000000 -- name of header
Header ESA standard
-- number of field with dimension of packet
6
[Field]
-- field 0
Version number
3
0b100
-- field 1
Type
1
0b0
-- field 2
DHFH
1
0b1
-- field 3
APID
11
none
-- field 4
SF
2
0b11
-- field 5
Source Sequence Counter
14
none
-- field 6
Packet Length
16
none
packetlib-v3.1.0/conf/CAL-DFE-TE/stream.stream 0000664 0000000 0000000 00000000420 12264007401 0020565 0 ustar 00root root 0000000 0000000 [Configuration]
--prefix
true
--input format bigendian
true
--dimension of prefix
2
[Header Format]
headerESA.header
[Packet Format]
BURST.packet
TC_CAL_start.packet
TC_CAL_stop.packet
GRID.packet
GRID.packet
GRID.packet
GRID.packet
BURST.packet
BURST.packet
BURST.packet
packetlib-v3.1.0/conf/GRID_PDHU/ 0000775 0000000 0000000 00000000000 12264007401 0016125 5 ustar 00root root 0000000 0000000 packetlib-v3.1.0/conf/GRID_PDHU/CVS/ 0000775 0000000 0000000 00000000000 12264007401 0016560 5 ustar 00root root 0000000 0000000 packetlib-v3.1.0/conf/GRID_PDHU/CVS/Entries 0000664 0000000 0000000 00000000463 12264007401 0020117 0 ustar 00root root 0000000 0000000 /EnergyBar.rblock/1.1/Wed Apr 14 15:07:38 2004//
/EnergyBarHeader.rblock/1.1/Wed Apr 14 15:07:35 2004//
/EnergyBarHeader2.rblock/1.1/Wed Apr 14 15:07:31 2004//
/ST_GRID.packet/1.1/Wed Apr 14 15:07:44 2004//
/ST_GRID.stream/1.1/Wed Apr 14 15:07:47 2004//
/headerESATM.header/1.1/Wed Apr 14 15:07:41 2004//
D
packetlib-v3.1.0/conf/GRID_PDHU/CVS/Repository 0000664 0000000 0000000 00000000031 12264007401 0020654 0 ustar 00root root 0000000 0000000 PacketLib/conf/GRID_PDHU
packetlib-v3.1.0/conf/GRID_PDHU/CVS/Root 0000664 0000000 0000000 00000000100 12264007401 0017415 0 ustar 00root root 0000000 0000000 :pserver:bulgarelli@gtb.iasfbo.inaf.it:/home/repository/cvs/gtb
packetlib-v3.1.0/conf/GRID_PDHU/EnergyBar.rblock 0000664 0000000 0000000 00000000500 12264007401 0021174 0 ustar 00root root 0000000 0000000 [RBlock Configuration]
-- fixed part present (yes | no)
yes
-- variable part present (yes | no)
no
[Fixed Part]
-- field 0 - dummy
0
1
0
-- field 1 - dummy
0
1
0
-- field 2
Bar ID (2 MSB)
2
none
-- field 3
PDA PHA (12 bits)
12
none
-- field 4
0
1
0
-- field 5
Bar ID (3 LSB)
3
none
-- field 6
PDB PHA (12 bits)
12
none
packetlib-v3.1.0/conf/GRID_PDHU/EnergyBarHeader.rblock 0000664 0000000 0000000 00000001540 12264007401 0022312 0 ustar 00root root 0000000 0000000 [RBlock Configuration]
-- fixed part present (yes | no)
yes
-- variable part present (yes | no)
yes
--type of number of block of variable part: fixed = number of block fixed equals to max number of block (fixed | variable)
variable
--number of blocks for fixed value into variable part, max number of blocks for variable value into variable part
79
-- for variable block, number of level of headers in which is present the field with the number of blocks of the variable part
1
-- for variable block, index of field which rappresent the number of event (the number of block) of the packet
8
-- for variable block, valore da sommare per ottenere il numero di eventi (blocchi) reali
1
[Fixed Part]
-- field 0
1
1
none
-- field 1
spare
15
none
-- field 2
TE Internal Counter (MSB)
16
none
-- field 3
TE Internal Counter (LSB)
16
none
[Variable Part]
EnergyBar.rblock
packetlib-v3.1.0/conf/GRID_PDHU/EnergyBarHeader2.rblock 0000664 0000000 0000000 00000001605 12264007401 0022376 0 ustar 00root root 0000000 0000000 [RBlock Configuration]
-- fixed part present (yes | no)
yes
-- variable part present (yes | no)
yes
--type of number of block of variable part: fixed = number of block fixed equals to max number of block (fixed | variable)
variable
--number of blocks for fixed value into variable part, max number of blocks for variable value into variable part
79
-- for variable block, number of level of headers in which is present the field with the number of blocks of the variable part
0
-- for variable block, index of field which rappresent the number of event (the number of block) of the packet
2
-- for variable block, valore da sommare per ottenere il numero di eventi (blocchi) reali
1
[Fixed Part]
-- field 0
1
1
none
-- field 1
spare
10
none
-- field 2
Number of bars - 1
5
none
-- field 3
TE Internal Counter (MSB)
16
none
-- field 4
TE Internal Counter (LSB)
16
none
[Variable Part]
EnergyBar.rblock
packetlib-v3.1.0/conf/GRID_PDHU/ST_GRID.packet 0000664 0000000 0000000 00000003302 12264007401 0020447 0 ustar 00root root 0000000 0000000 -- name of packet
ST GRID
[PacketHeader]
-- file in cui e' presente la descrizione dell'header
headerESATM.header
[DataFieldHeader]
-- field 0
Spare
6
none
-- field 1
Checksum flag
2
none
-- field 2
Packet Type
4
none
-- field 3
Packet subtype
4
none
-- field 4
Time Tag second (MSB)
16
none
-- field 5
Time Tag second (LSB)
16
none
-- field 6
Time Tag millisecond
16
none
-- field 7
Spare
11
none
-- field 8
Nelements for [RBlock1] - 1
5
none
-- field 9
NRBLOCK2
16
none
[SourceDataField]
-- type of packet: noblock, block, rblock (with recoursive block)
rblock
--number of rblock
2
[RBlock1]
--type of number of block of variable part: fixed = number of block fixed equals to max number of block (fixed | variable)
fixed
--number of blocks for fixed value into variable part, max number of blocks for variable value into variable part
1
-- for variable block, index of field of the Data Field Header which rappresent the number of event (the number of block) of the packet
NA
-- for variable block, valore da sommare per ottenere il numero di eventi (blocchi) reali
NA
EnergyBarHeader.rblock
[RBlock2]
--type of number of block of variable part: fixed = number of block fixed equals to max number of block (fixed | variable)
variable
--number of blocks for fixed value into variable part, max number of blocks for variable value into variable part
3
-- for variable block, index of field of the Data Field Header which rappresent the number of the number of blocks of the packet
9
-- for variable block, valore da sommare per ottenere il numero di eventi (blocchi) reali
0
EnergyBarHeader2.rblock
[Identifiers]
-- id0 APID
-- field number
3
-- type (0 header, 1 data field)
0
-- value
1294
--id1 type
2
1
15
--id2 subtype
3
1
4
packetlib-v3.1.0/conf/GRID_PDHU/ST_GRID.stream 0000664 0000000 0000000 00000000227 12264007401 0020476 0 ustar 00root root 0000000 0000000 [Configuration]
--prefix
true
--stream format bigendian
true
--dimension of prefix
2
[Header Format]
headerESATM.header
[Packet Format]
ST_GRID.packet
packetlib-v3.1.0/conf/GRID_PDHU/headerESATM.header 0000664 0000000 0000000 00000000443 12264007401 0021322 0 ustar 00root root 0000000 0000000 -- name of header
Header ESA standard
-- number of field with dimension of packet
6
[Field]
-- field 0
Version number
3
0b100
-- field 1
Type
1
0b0
-- field 2
DHFH
1
0b1
-- field 3
APID
11
none
-- field 4
SF
2
0b11
-- field 5
Source Sequence Counter
14
none
-- field 6
Packet Length
16
none
packetlib-v3.1.0/conf/Proto-MCAL-TE/ 0000775 0000000 0000000 00000000000 12264007401 0016703 5 ustar 00root root 0000000 0000000 packetlib-v3.1.0/conf/Proto-MCAL-TE/BURST.packet 0000664 0000000 0000000 00000003122 12264007401 0020771 0 ustar 00root root 0000000 0000000 -- name of packet
BURST events data
[PacketHeader]
-- file in cui e' presente la descrizione dell'header
headerESA.header
[DataFieldHeader]
-- field 0
Spare
6
none
-- field 1
Checksum flag
2
none
-- field 2
Packet Type
4
none
-- field 3
Packet subtype
4
none
-- field 4
Time Tag second (MSB)
16
none
-- field 5
Time Tag second (LSB)
16
none
-- field 6
Time Tag millisecond
16
none
-- field 7
Spare
12
none
-- field 8
Nevents
4
none
[SourceDataField]
block
variable
--type of number of block: fixed = number of block fixed equals to max number of block (fixed | variable)
variable
--supposed number (or max number) of block
79
--index of field in the [DataFieldHeader] section wich rappresent the number of event (the number of block) of the packet
8
-- valore da sommare per ottenere il numero di eventi (blocchi) reale
0
[SourceDataFieldBlockFixed]
--supposed number (or max number) of element
32
--index of field in the [SourceDataFieldBlockFixed] section wich rappresent the number of element (the number of bar) of the block
2
--valore da sommare per ottenere il numero di element reali
1
-- field 0
1
1
none
-- field 1
spare
10
none
-- field 2
Number of bars - 1
5
none
-- field 3
TE Internal Counter (MSB)
16
none
-- field 4
TE Internal Counter (LSB)
16
none
[SourceDataFieldBlockVariable]
-- field 0
0
1
0
-- field 1
0
1
0
-- field 2
Bar ID (2 MSB)
2
none
-- field 3
PDA PHA (12 bits)
12
none
-- field 4
0
1
0
-- field 5
Bar ID (3 LSB)
3
none
-- field 6
PDB PHA (12 bits)
12
none
[Identifiers]
-- id0 APID
-- field number
3
-- type (0 header, 1 data field)
0
-- value
1294
--id1 type
2
1
15
--id2 subtype
3
1
3
packetlib-v3.1.0/conf/Proto-MCAL-TE/CVS/ 0000775 0000000 0000000 00000000000 12264007401 0017336 5 ustar 00root root 0000000 0000000 packetlib-v3.1.0/conf/Proto-MCAL-TE/CVS/Entries 0000664 0000000 0000000 00000000471 12264007401 0020674 0 ustar 00root root 0000000 0000000 /BURST.packet/1.1.1.1/Wed Sep 3 11:53:30 2003//
/GRID.packet/1.1.1.1/Wed Sep 3 11:53:30 2003//
/TC_CAL_start.packet/1.1.1.1/Wed Sep 3 11:53:30 2003//
/TC_CAL_stop.packet/1.1.1.1/Wed Sep 3 11:53:30 2003//
/headerESA.header/1.1.1.1/Wed Sep 3 11:53:30 2003//
/stream.stream/1.1.1.1/Wed Sep 3 11:53:30 2003//
D
packetlib-v3.1.0/conf/Proto-MCAL-TE/CVS/Repository 0000664 0000000 0000000 00000000035 12264007401 0021436 0 ustar 00root root 0000000 0000000 PacketLib/conf/Proto-MCAL-TE
packetlib-v3.1.0/conf/Proto-MCAL-TE/CVS/Root 0000664 0000000 0000000 00000000100 12264007401 0020173 0 ustar 00root root 0000000 0000000 :pserver:bulgarelli@gtb.iasfbo.inaf.it:/home/repository/cvs/gtb
packetlib-v3.1.0/conf/Proto-MCAL-TE/GRID.packet 0000664 0000000 0000000 00000011135 12264007401 0020622 0 ustar 00root root 0000000 0000000 -- name of packet
GRID events data
[PacketHeader]
-- file in cui e' presente la descrizione dell'header
headerESA.header
[DataFieldHeader]
-- field 0
Spare
6
none
-- field 1
Checksum flag
2
none
-- field 2
Packet Type
4
none
-- field 3
Packet subtype
4
none
-- field 4
Time Tag second (MSB)
16
none
-- field 5
Time Tag second (LSB)
16
none
-- field 6
Time Tag millisecond
16
none
-- field 7
Spare
12
none
-- field 8
Nevents
4
none
[SourceDataField]
block
fixed
--type of number of block: fixed = number of block fixed equals to max number of block (fixed | variable)
variable
--supposed number (or max number) of block
6
--index of field in the [DataFieldHeader] section wich rappresent the number of event (the number of block) of the packet
8
-- valore da sottrarre per ottenere il numero di eventi reale
0
[SourceDataFieldBlock]
-- field 7
TE Internal Counter (MSB)
16
none
-- field 8
TE Internal Counter (LSB)
16
none
-- bar 01
0
1
0
spare
3
none
Bar 01 PDA PHA (12 bits)
12
none
0
1
0
spare
3
none
Bar 01 PDB PHA (12 bits)
12
none
-- bar 02
0
1
0
spare
3
none
Bar 02 PDA PHA (12 bits)
12
none
0
1
0
spare
3
none
Bar 02 PDB PHA (12 bits)
12
none
-- bar 03
0
1
0
spare
3
none
Bar 03 PDA PHA (12 bits)
12
none
0
1
0
spare
3
none
Bar 03 PDB PHA (12 bits)
12
none
-- bar 04
0
1
0
spare
3
none
Bar 04 PDA PHA (12 bits)
12
none
0
1
0
spare
3
none
Bar 04 PDB PHA (12 bits)
12
none
-- bar 05
0
1
0
spare
3
none
Bar 05 PDA PHA (12 bits)
12
none
0
1
0
spare
3
none
Bar 05 PDB PHA (12 bits)
12
none
-- bar 06
0
1
0
spare
3
none
Bar 06 PDA PHA (12 bits)
12
none
0
1
0
spare
3
none
Bar 06 PDB PHA (12 bits)
12
none
-- bar 07
0
1
0
spare
3
none
Bar 07 PDA PHA (12 bits)
12
none
0
1
0
spare
3
none
Bar 07 PDB PHA (12 bits)
12
none
-- bar 08
0
1
0
spare
3
none
Bar 08 PDA PHA (12 bits)
12
none
0
1
0
spare
3
none
Bar 08 PDB PHA (12 bits)
12
none
-- bar 09
0
1
0
spare
3
none
Bar 09 PDA PHA (12 bits)
12
none
0
1
0
spare
3
none
Bar 09 PDB PHA (12 bits)
12
none
-- bar 10
0
1
0
spare
3
none
Bar 10 PDA PHA (12 bits)
12
none
0
1
0
spare
3
none
Bar 10 PDB PHA (12 bits)
12
none
-- bar 11
0
1
0
spare
3
none
Bar 11 PDA PHA (12 bits)
12
none
0
1
0
spare
3
none
Bar 11 PDB PHA (12 bits)
12
none
-- bar 12
0
1
0
spare
3
none
Bar 12 PDA PHA (12 bits)
12
none
0
1
0
spare
3
none
Bar 12 PDB PHA (12 bits)
12
none
-- bar 13
0
1
0
spare
3
none
Bar 13 PDA PHA (12 bits)
12
none
0
1
0
spare
3
none
Bar 13 PDB PHA (12 bits)
12
none
-- bar 14
0
1
0
spare
3
none
Bar 14 PDA PHA (12 bits)
12
none
0
1
0
spare
3
none
Bar 14 PDB PHA (12 bits)
12
none
-- bar 15
0
1
0
spare
3
none
Bar 15 PDA PHA (12 bits)
12
none
0
1
0
spare
3
none
Bar 15 PDB PHA (12 bits)
12
none
-- bar 16
0
1
0
spare
3
none
Bar 16 PDA PHA (12 bits)
12
none
0
1
0
spare
3
none
Bar 16 PDB PHA (12 bits)
12
none
-- bar 17
0
1
0
spare
3
none
Bar 17 PDA PHA (12 bits)
12
none
0
1
0
spare
3
none
Bar 17 PDB PHA (12 bits)
12
none
-- bar 18
0
1
0
spare
3
none
Bar 18 PDA PHA (12 bits)
12
none
0
1
0
spare
3
none
Bar 18 PDB PHA (12 bits)
12
none
-- bar 19
0
1
0
spare
3
none
Bar 19 PDA PHA (12 bits)
12
none
0
1
0
spare
3
none
Bar 19 PDB PHA (12 bits)
12
none
-- bar 20
0
1
0
spare
3
none
Bar 20 PDA PHA (12 bits)
12
none
0
1
0
spare
3
none
Bar 20 PDB PHA (12 bits)
12
none
-- bar 21
0
1
0
spare
3
none
Bar 21 PDA PHA (12 bits)
12
none
0
1
0
spare
3
none
Bar 21 PDB PHA (12 bits)
12
none
-- bar 22
0
1
0
spare
3
none
Bar 22 PDA PHA (12 bits)
12
none
0
1
0
spare
3
none
Bar 22 PDB PHA (12 bits)
12
none
-- bar 23
0
1
0
spare
3
none
Bar 23 PDA PHA (12 bits)
12
none
0
1
0
spare
3
none
Bar 23 PDB PHA (12 bits)
12
none
-- bar 24
0
1
0
spare
3
none
Bar 24 PDA PHA (12 bits)
12
none
0
1
0
spare
3
none
Bar 24 PDB PHA (12 bits)
12
none
-- bar 25
0
1
0
spare
3
none
Bar 25 PDA PHA (12 bits)
12
none
0
1
0
spare
3
none
Bar 25 PDB PHA (12 bits)
12
none
-- bar 26
0
1
0
spare
3
none
Bar 26 PDA PHA (12 bits)
12
none
0
1
0
spare
3
none
Bar 26 PDB PHA (12 bits)
12
none
-- bar 27
0
1
0
spare
3
none
Bar 27 PDA PHA (12 bits)
12
none
0
1
0
spare
3
none
Bar 27 PDB PHA (12 bits)
12
none
-- bar 28
0
1
0
spare
3
none
Bar 28 PDA PHA (12 bits)
12
none
0
1
0
spare
3
none
Bar 28 PDB PHA (12 bits)
12
none
-- bar 29
0
1
0
spare
3
none
Bar 29 PDA PHA (12 bits)
12
none
0
1
0
spare
3
none
Bar 29 PDB PHA (12 bits)
12
none
-- bar 30
0
1
0
spare
3
none
Bar 30 PDA PHA (12 bits)
12
none
0
1
0
spare
3
none
Bar 30 PDB PHA (12 bits)
12
none
-- bar 31
0
1
0
spare
3
none
Bar 31 PDA PHA (12 bits)
12
none
0
1
0
spare
3
none
Bar 31 PDB PHA (12 bits)
12
none
-- bar 32
0
1
0
spare
3
none
Bar 32 PDA PHA (12 bits)
12
none
0
1
0
spare
3
none
Bar 32 PDB PHA (12 bits)
12
none
[Identifiers]
-- id0 APID
-- field number
3
-- type (0 header, 1 data field)
0
-- value
1294
--id1 type
2
1
15
--id2 subtype
3
1
1
packetlib-v3.1.0/conf/Proto-MCAL-TE/TC_CAL_start.packet 0000664 0000000 0000000 00000000707 12264007401 0022302 0 ustar 00root root 0000000 0000000 -- name of packet
TC MCAL Packet: start
[PacketHeader]
-- file in cui e' presente la descrizione dell'header
headerESA.header
[DataFieldHeader]
--field 0
Spare
2
0b00
-- field 1
Checksum type
2
0b00
-- field 2
ACK
4
0b00
-- field 3
Packet type
4
5
-- field 4
Packet subtype
4
5
[SourceDataField]
noblock
fixed
[SourceDataFieldList]
TC Application Data
16
none
[Identifiers]
-- id0 APID
3
0
257
--id1 type
3
1
5
--id2 subtype
4
1
5
-- id3 command
0
2
512
packetlib-v3.1.0/conf/Proto-MCAL-TE/TC_CAL_stop.packet 0000664 0000000 0000000 00000000704 12264007401 0022127 0 ustar 00root root 0000000 0000000 -- name of packet
TC MCAL Packet: stop
[PacketHeader]
-- file in cui e' presente la descrizione dell'header
headerESA.header
[DataFieldHeader]
--field 0
Spare
2
0b00
-- field 1
Checksum type
2
0b00
-- field 2
ACK
4
0b00
-- field 3
Packet type
4
5
-- field 4
Packet subtype
4
5
[SourceDataField]
noblock
fixed
[SourceDataFieldList]
TC Application Data
16
none
[Identifiers]
-- id0 APID
3
0
257
--id1 type
3
1
5
--id2 subtype
4
1
5
-- id3 command
0
2
0
packetlib-v3.1.0/conf/Proto-MCAL-TE/headerESA.header 0000664 0000000 0000000 00000000511 12264007401 0021633 0 ustar 00root root 0000000 0000000 -- name of header
Header ESA standard
-- dimension (in byte) of header
-- 6
-- number of field with dimension of packet
6
[Field]
-- field 0
Version number
3
0b100
-- field 1
Type
1
0b0
-- field 2
DHFH
1
0b1
-- field 3
APID
11
none
-- field 4
SF
2
0b11
-- field 5
Source Sequence Counter
14
none
-- field 6
Packet Length
16
none
packetlib-v3.1.0/conf/Proto-MCAL-TE/stream.stream 0000664 0000000 0000000 00000000305 12264007401 0021411 0 ustar 00root root 0000000 0000000 [Configuration]
--prefix
true
--input format bigendian
true
--dimension of prefix
2
[Header Format]
headerESA.header
[Packet Format]
BURST.packet
GRID.packet
TC_CAL_stop.packet
TC_CAL_start.packet
packetlib-v3.1.0/doc/ 0000775 0000000 0000000 00000000000 12264007401 0014400 5 ustar 00root root 0000000 0000000 packetlib-v3.1.0/doc/README 0000664 0000000 0000000 00000000103 12264007401 0015252 0 ustar 00root root 0000000 0000000 In this directory should contains the documentation of the project
packetlib-v3.1.0/doc/TM GRID.sxd 0000664 0000000 0000000 00000016262 12264007401 0016155 0 ustar 00root root 0000000 0000000 PK V{03и mimetypeapplication/vnd.sun.xml.drawPK V{0 content.xml\r6SP:`Idw3̶^ l&y}^$Oǻte #8
|"~}?7?8w