Import OCTSDR-2G-WS_SRC-02.04.00-B662
This commit is contained in:
parent
c571025f25
commit
12c323cd02
|
@ -1,340 +0,0 @@
|
|||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 2, June 1991
|
||||
|
||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
||||
51 Franklin St, 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 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
|
||||
|
||||
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.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
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 St, 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 Library General
|
||||
Public License instead of this License.
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,54 +0,0 @@
|
|||
# Makefile.am
|
||||
# Automake file for Wireshark plugins
|
||||
#
|
||||
# $Id: Makefile.am 27506 2009-02-22 12:01:19Z jake $
|
||||
#
|
||||
# Wireshark - Network traffic analyzer
|
||||
# By Gerald Combs <gerald@wireshark.org>
|
||||
# Copyright 1998 Gerald Combs
|
||||
#
|
||||
# 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
|
||||
-include Custom.make
|
||||
SUBDIRS = $(_CUSTOM_SUBDIRS_) \
|
||||
asn1 \
|
||||
docsis \
|
||||
ethercat \
|
||||
giop \
|
||||
gryphon \
|
||||
irda \
|
||||
m2m \
|
||||
mate \
|
||||
opcua \
|
||||
profinet \
|
||||
sercosiii \
|
||||
stats_tree \
|
||||
unistim \
|
||||
wimax \
|
||||
wimaxasncp
|
||||
|
||||
plugindir = @plugindir@
|
||||
|
||||
EXTRA_DIST = \
|
||||
Makefile.nmake
|
||||
|
||||
MAINTAINERCLEANFILES = \
|
||||
Makefile.in
|
||||
|
||||
checkapi:
|
||||
for i in $(SUBDIRS); do \
|
||||
(cd "$$i"; $(MAKE) checkapi); \
|
||||
done
|
||||
|
|
@ -6,21 +6,12 @@ Copyright (c) 2015 Octasic Inc. All rights reserved.
|
|||
|
||||
Description: Wireshark macro
|
||||
|
||||
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 source code is Octasic Confidential. Use of and access to this code
|
||||
is covered by the Octasic Device Enabling Software License Agreement.
|
||||
Acknowledgement of the Octasic Device Enabling Software License was
|
||||
required for access to this code. A copy was also provided with the release.
|
||||
|
||||
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.
|
||||
|
||||
Release: Octasic Application Development Framework OCTADF-04.00.00-B1829 (2015/07/02)
|
||||
Release: Octasic Application Development Framework OCTADF-04.01.00-B1993 (2015/09/16)
|
||||
|
||||
$Octasic_Revision: 4 $
|
||||
|
||||
|
|
|
@ -6,21 +6,12 @@ Copyright (c) 2015 Octasic Inc. All rights reserved.
|
|||
|
||||
Description: Wireshark private data
|
||||
|
||||
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 source code is Octasic Confidential. Use of and access to this code
|
||||
is covered by the Octasic Device Enabling Software License Agreement.
|
||||
Acknowledgement of the Octasic Device Enabling Software License was
|
||||
required for access to this code. A copy was also provided with the release.
|
||||
|
||||
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.
|
||||
|
||||
Release: Octasic Application Development Framework OCTADF-04.00.00-B1829 (2015/07/02)
|
||||
Release: Octasic Application Development Framework OCTADF-04.01.00-B1993 (2015/09/16)
|
||||
|
||||
$Octasic_Revision: 4 $
|
||||
|
||||
|
|
|
@ -6,21 +6,12 @@ Copyright (c) 2015 Octasic Inc. All rights reserved.
|
|||
|
||||
Description: Octasic plugin version
|
||||
|
||||
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 source code is Octasic Confidential. Use of and access to this code
|
||||
is covered by the Octasic Device Enabling Software License Agreement.
|
||||
Acknowledgement of the Octasic Device Enabling Software License was
|
||||
required for access to this code. A copy was also provided with the release.
|
||||
|
||||
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.
|
||||
|
||||
Release: Octasic Application Development Framework OCTADF-04.00.00-B1829 (2015/07/02)
|
||||
Release: Octasic Application Development Framework OCTADF-04.01.00-B1993 (2015/09/16)
|
||||
|
||||
$Octasic_Revision: 4 $
|
||||
|
||||
|
|
|
@ -4,9 +4,11 @@ DEV_ROOT=../../../../../../..
|
|||
WS_ROOT=../../../..
|
||||
|
||||
|
||||
!IFNDEF WS_APP_PLUGIN
|
||||
WS_APP_PLUGIN=$(PROGRAMFILES)/wireshark/plugins/
|
||||
!ENDIF
|
||||
!IFNDEF TGT_WS_VERSION
|
||||
#Try to find Wireshark version
|
||||
WS_APP_PLUGIN=$(PROGRAMFILES)/wireshark/plugins/
|
||||
!IF EXIST("$(WS_APP_PLUGIN)/1.2.6")
|
||||
TGT_WS_VERSION=1.2.6
|
||||
!ENDIF
|
||||
|
@ -37,6 +39,7 @@ clean: setup_m
|
|||
|
||||
|
||||
install: setup_m
|
||||
@echo WS path plugins:$(WS_APP_PLUGIN:/=\)$(TGT_WS_VERSION)
|
||||
@cd "octvc1"
|
||||
@$(MAKE) /NOLOGO /$(MAKEFLAGS) -f makefile.nmake install
|
||||
@cd $(MAKEDIR)
|
||||
|
|
|
@ -17,10 +17,11 @@ 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.,
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: Octasic Application Development Framework OCTADF-04.00.00-B1829 (2015/07/02)
|
||||
|
||||
Release: Octasic Application Development Framework OCTADF-04.01.00-B1993 (2015/09/16)
|
||||
|
||||
$Octasic_Revision: 4 $
|
||||
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: octdev_common.h
|
||||
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contain the wireshark module dissector related functions
|
||||
|
||||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: octdev_common.h
|
||||
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contain the wireshark module dissector related functions
|
||||
|
||||
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
|
||||
|
@ -18,28 +18,29 @@ 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.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#ifndef _OCTDEV_COMMON_H__
|
||||
#define _OCTDEV_COMMON_H__
|
||||
|
||||
#include <epan/packet.h>
|
||||
|
||||
/****************************************************************************
|
||||
COMMON API ENUMERATION STRING VALUES
|
||||
****************************************************************************/
|
||||
extern const value_string vals_tOCT_BOOL32[3];
|
||||
extern const value_string vals_tOCTDEV_IP_VERSION_ENUM[];
|
||||
extern const value_string vals_tOCTDEV_DEVICES_TYPE_ENUM[];
|
||||
extern const value_string vals_tOCTDEV_DEVICES_DSP_CORE_TYPE_ENUM[];
|
||||
|
||||
#endif /* _OCTDEV_COMMON_H__ */
|
||||
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#ifndef _OCTDEV_COMMON_H__
|
||||
#define _OCTDEV_COMMON_H__
|
||||
|
||||
#include <epan/packet.h>
|
||||
|
||||
/****************************************************************************
|
||||
COMMON API ENUMERATION STRING VALUES
|
||||
****************************************************************************/
|
||||
extern const value_string vals_tOCT_BOOL32[3];
|
||||
extern const value_string vals_tOCTDEV_IP_VERSION_ENUM[];
|
||||
extern const value_string vals_tOCTDEV_DEVICES_TYPE_ENUM[];
|
||||
extern const value_string vals_tOCTDEV_DEVICES_DSP_CORE_TYPE_ENUM[];
|
||||
|
||||
#endif /* _OCTDEV_COMMON_H__ */
|
||||
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: octpkt_common.h
|
||||
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contain the wireshark module dissector related functions
|
||||
|
||||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: octpkt_common.h
|
||||
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contain the wireshark module dissector related functions
|
||||
|
||||
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
|
||||
|
@ -18,28 +18,29 @@ 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.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#ifndef _OCTPKT_COMMON_H__
|
||||
#define _OCTPKT_COMMON_H__
|
||||
|
||||
#include <epan/packet.h>
|
||||
|
||||
/****************************************************************************
|
||||
COMMON API ENUMERATION STRING VALUES
|
||||
****************************************************************************/
|
||||
extern const value_string vals_tOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK[13];
|
||||
extern const value_string vals_tOCTPKT_HDR_CONTROL_PROTOCOL_TYPE_ENUM[];
|
||||
extern const value_string vals_tOCTPKT_HDR_TYPE_ENUM[];
|
||||
extern const value_string vals_tOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK[10];
|
||||
|
||||
#endif /* _OCTPKT_COMMON_H__ */
|
||||
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#ifndef _OCTPKT_COMMON_H__
|
||||
#define _OCTPKT_COMMON_H__
|
||||
|
||||
#include <epan/packet.h>
|
||||
|
||||
/****************************************************************************
|
||||
COMMON API ENUMERATION STRING VALUES
|
||||
****************************************************************************/
|
||||
extern const value_string vals_tOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK[13];
|
||||
extern const value_string vals_tOCTPKT_HDR_CONTROL_PROTOCOL_TYPE_ENUM[];
|
||||
extern const value_string vals_tOCTPKT_HDR_TYPE_ENUM[];
|
||||
extern const value_string vals_tOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK[10];
|
||||
|
||||
#endif /* _OCTPKT_COMMON_H__ */
|
||||
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: octvc1_common.h
|
||||
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contain the wireshark module dissector related functions
|
||||
|
||||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: octvc1_common.h
|
||||
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contain the wireshark module dissector related functions
|
||||
|
||||
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
|
||||
|
@ -18,101 +18,112 @@ 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.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#ifndef _OCTVC1_COMMON_H__
|
||||
#define _OCTVC1_COMMON_H__
|
||||
|
||||
#include <epan/packet.h>
|
||||
#include "octdev_common.h"
|
||||
#include "octpkt_common.h"
|
||||
#include "octvocnet_common.h"
|
||||
|
||||
/****************************************************************************
|
||||
COMMON API ENUMERATION STRING VALUES
|
||||
****************************************************************************/
|
||||
extern const value_string vals_tOCTVC1_OBJECT_CURSOR_ENUM[];
|
||||
extern const value_string vals_tOCTVC1_BUFFER_FORMAT_ENUM[];
|
||||
extern const value_string vals_tOCTVC1_BUFFER_FORMAT_MAIN_ENUM[];
|
||||
extern const value_string vals_tOCTVC1_ETH_PORT_ID_ENUM[];
|
||||
extern const value_string vals_tOCTVC1_IP_VERSION_ENUM[];
|
||||
extern const value_string vals_tOCTVC1_VLAN_PROTOCOL_ID_ENUM[];
|
||||
extern const value_string vals_tOCTVC1_MSG_FLAGS_MASK[4];
|
||||
extern const value_string vals_tOCTVC1_LOG_TYPE_ENUM[];
|
||||
extern const value_string vals_tOCTVC1_LOG_LEVEL_ENUM[];
|
||||
extern const value_string vals_tOCTVC1_LOG_PAYLOAD_TYPE_ENUM[];
|
||||
extern const value_string vals_tOCTVC1_LOG_TRACE_MASK[11];
|
||||
extern const value_string vals_tOCTVC1_FILE_TYPE_ENUM[];
|
||||
extern const value_string vals_tOCTVC1_FILE_FORMAT_ENUM[];
|
||||
extern const value_string vals_tOCTVC1_MODULE_ID_ENUM[];
|
||||
extern const value_string vals_tOCTVC1_TAP_DIRECTION_ENUM[];
|
||||
extern const value_string vals_tOCTVC1_TAP_ID[10];
|
||||
extern const value_string vals_tOCTVC1_RADIO_STANDARD_ENUM[];
|
||||
extern const value_string vals_tOCTVC1_RADIO_STANDARD_FREQ_BAND_GSM_ENUM[];
|
||||
extern const value_string vals_tOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM[];
|
||||
extern const value_string vals_tOCTVC1_RADIO_STANDARD_FREQ_BAND_LTE_ENUM[];
|
||||
extern const value_string vals_tOCTVC1_RADIO_CONFIG_SCRIPT_TYPE_ENUM[];
|
||||
extern const value_string vals_tOCTVC1_RADIO_ID_DIRECTION_ENUM[];
|
||||
extern const value_string vals_tOCTVC1_RADIO_STANDARD_BANDWIDTH_ENUM[];
|
||||
extern const value_string vals_tOCTVC1_RADIO_RX_GAIN_CTRL_MODE_ENUM[];
|
||||
extern const value_string vals_tOCTVC1_PROCESS_TYPE_ENUM[];
|
||||
extern const value_string vals_tOCTVC1_PROCESS_STATE_ENUM[];
|
||||
extern const value_string vals_tOCTVC1_PROCESS_TASK_STATE_ENUM[];
|
||||
|
||||
/****************************************************************************
|
||||
COMMON API DISSECTOR
|
||||
****************************************************************************/
|
||||
extern unsigned int dissect_tOCTVC1_CURSOR_HANDLE_OBJECT_GET(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
extern unsigned int dissect_tOCTVC1_CURSOR_HANDLE_OBJECT_GET_HANDLE_OBJECT(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
extern unsigned int dissect_tOCTVC1_CURSOR_HANDLE_OBJECT_GET_SUB_OBJECT_ID(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
extern unsigned int dissect_tOCTVC1_CURSOR_INDEX_GET(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
extern unsigned int dissect_tOCTVC1_CURSOR_INDEX_GET_SUB_INDEX(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
extern unsigned int dissect_tOCTVC1_OBJECT32_NAME(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
extern unsigned int dissect_tOCTVC1_VLAN_TAG(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
extern unsigned int dissect_tOCTVC1_VLAN_HEADER_INFO(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
extern unsigned int dissect_tOCTVC1_LIST_HANDLE_OBJECT_GET(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
extern unsigned int dissect_tOCTVC1_LIST_NAME_OBJECT32_GET(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
extern unsigned int dissect_tOCTVC1_LIST_HANDLE_OBJECT_GET_SUB_OBJECT_ID_NAME(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
extern unsigned int dissect_tOCTVC1_LIST_HANDLE_OBJECT_GET_SUB_OBJECT_ID(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
extern unsigned int dissect_tOCTVC1_LIST_INDEX_GET(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
extern unsigned int dissect_tOCTVC1_LIST_INDEX_GET_SUB_INDEX(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
extern unsigned int dissect_tOCTVC1_MSG_HEADER(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
extern unsigned int dissect_tOCTVC1_EVENT_HEADER(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
extern unsigned int dissect_tOCTVC1_LOG_HEADER(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
extern unsigned int dissect_tOCTVC1_FILE_HEADER(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
extern unsigned int dissect_tOCTVC1_MODULE_DATA(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
extern unsigned int dissect_tOCTVC1_API_SESSION_INFO(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
extern unsigned int dissect_tOCTVC1_API_SESSION_EVT_INFO(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
extern unsigned int dissect_tOCTVC1_PROCESS_ERROR(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
extern unsigned int dissect_tOCTVC1_PROCESS_TASK_STATS(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
extern unsigned int dissect_tOCTVC1_PROCESS_CPU_USAGE_STATS(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
|
||||
/****************************************************************************
|
||||
COMMON USER REGISTATION
|
||||
****************************************************************************/
|
||||
void ws_register_OCTVC1_common(void);
|
||||
#define cOCTVC1_PRIVATE_ID_STRING "unknowned_private"
|
||||
#define cOCTVC1_UNKNOWN_STRING "Unknown"
|
||||
#define cOCTVC1_GOD_USER "user_0"
|
||||
#define cOCTVC1_GOD_USER_ID "user_1"
|
||||
#define cOCTVC1_PRIVATE_VISIBILITY_USER "user_2"
|
||||
#ifdef OCT_DECLARE_COMMON
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#ifndef _OCTVC1_COMMON_H__
|
||||
#define _OCTVC1_COMMON_H__
|
||||
|
||||
#include <epan/packet.h>
|
||||
#include "octdev_common.h"
|
||||
#include "octpkt_common.h"
|
||||
#include "octvocnet_common.h"
|
||||
|
||||
/****************************************************************************
|
||||
COMMON API ENUMERATION STRING VALUES
|
||||
****************************************************************************/
|
||||
extern const value_string vals_tOCTVC1_OBJECT_CURSOR_ENUM[];
|
||||
extern const value_string vals_tOCTVC1_BUFFER_FORMAT_ENUM[];
|
||||
extern const value_string vals_tOCTVC1_BUFFER_FORMAT_MAIN_ENUM[];
|
||||
extern const value_string vals_tOCTVC1_ETH_PORT_ID_ENUM[];
|
||||
extern const value_string vals_tOCTVC1_IP_VERSION_ENUM[];
|
||||
extern const value_string vals_tOCTVC1_VLAN_PROTOCOL_ID_ENUM[];
|
||||
extern const value_string vals_tOCTVC1_MSG_FLAGS_MASK[4];
|
||||
extern const value_string vals_tOCTVC1_LOG_TYPE_ENUM[];
|
||||
extern const value_string vals_tOCTVC1_LOG_LEVEL_ENUM[];
|
||||
extern const value_string vals_tOCTVC1_LOG_PAYLOAD_TYPE_ENUM[];
|
||||
extern const value_string vals_tOCTVC1_LOG_TRACE_MASK[11];
|
||||
extern const value_string vals_tOCTVC1_FILE_TYPE_ENUM[];
|
||||
extern const value_string vals_tOCTVC1_FILE_FORMAT_ENUM[];
|
||||
extern const value_string vals_tOCTVC1_MODULE_ID_ENUM[];
|
||||
extern const value_string vals_tOCTVC1_TAP_DIRECTION_ENUM[];
|
||||
extern const value_string vals_tOCTVC1_TAP_ID[10];
|
||||
extern const value_string vals_tOCTVC1_RADIO_STANDARD_ENUM[];
|
||||
extern const value_string vals_tOCTVC1_RADIO_STANDARD_FREQ_BAND_GSM_ENUM[];
|
||||
extern const value_string vals_tOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM[];
|
||||
extern const value_string vals_tOCTVC1_RADIO_STANDARD_FREQ_BAND_LTE_ENUM[];
|
||||
extern const value_string vals_tOCTVC1_RADIO_CONFIG_SCRIPT_TYPE_ENUM[];
|
||||
extern const value_string vals_tOCTVC1_RADIO_ID_DIRECTION_ENUM[];
|
||||
extern const value_string vals_tOCTVC1_RADIO_STANDARD_BANDWIDTH_ENUM[];
|
||||
extern const value_string vals_tOCTVC1_RADIO_RX_GAIN_CTRL_MODE_ENUM[];
|
||||
extern const value_string vals_tOCTVC1_PROCESS_TYPE_ENUM[];
|
||||
extern const value_string vals_tOCTVC1_PROCESS_STATE_ENUM[];
|
||||
extern const value_string vals_tOCTVC1_PROCESS_TASK_STATE_ENUM[];
|
||||
|
||||
/****************************************************************************
|
||||
COMMON API DISSECTOR
|
||||
****************************************************************************/
|
||||
extern unsigned int dissect_tOCTVC1_CURSOR_HANDLE_OBJECT_GET(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
extern unsigned int dissect_tOCTVC1_CURSOR_HANDLE_OBJECT_GET_HANDLE_OBJECT(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
extern unsigned int dissect_tOCTVC1_CURSOR_HANDLE_OBJECT_GET_SUB_OBJECT_ID(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
extern unsigned int dissect_tOCTVC1_CURSOR_INDEX_GET(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
extern unsigned int dissect_tOCTVC1_CURSOR_INDEX_GET_SUB_INDEX(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
extern unsigned int dissect_tOCTVC1_OBJECT32_NAME(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
extern unsigned int dissect_tOCTVC1_VLAN_TAG(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
extern unsigned int dissect_tOCTVC1_VLAN_HEADER_INFO(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
extern unsigned int dissect_tOCTVC1_LIST_HANDLE_OBJECT_GET(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
extern unsigned int dissect_tOCTVC1_LIST_NAME_OBJECT32_GET(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
extern unsigned int dissect_tOCTVC1_LIST_HANDLE_OBJECT_GET_SUB_OBJECT_ID_NAME(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
extern unsigned int dissect_tOCTVC1_LIST_HANDLE_OBJECT_GET_SUB_OBJECT_ID(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
extern unsigned int dissect_tOCTVC1_LIST_INDEX_GET(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
extern unsigned int dissect_tOCTVC1_LIST_INDEX_GET_SUB_INDEX(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
extern unsigned int dissect_tOCTVC1_MSG_HEADER(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
extern unsigned int dissect_tOCTVC1_EVENT_HEADER(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
extern unsigned int dissect_tOCTVC1_LOG_HEADER(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
extern unsigned int dissect_tOCTVC1_FILE_HEADER(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
extern unsigned int dissect_tOCTVC1_MODULE_DATA(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
extern unsigned int dissect_tOCTVC1_API_SESSION_INFO(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
extern unsigned int dissect_tOCTVC1_API_SESSION_EVT_INFO(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
extern unsigned int dissect_tOCTVC1_PROCESS_ERROR(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
extern unsigned int dissect_tOCTVC1_PROCESS_TASK_STATS(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
extern unsigned int dissect_tOCTVC1_PROCESS_CPU_USAGE_STATS(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
|
||||
/****************************************************************************
|
||||
COMMON USER REGISTATION
|
||||
****************************************************************************/
|
||||
void ws_register_OCTVC1_common(void);
|
||||
#define cOCTVC1_PRIVATE_ID_STRING "unknowned_private"
|
||||
#define cOCTVC1_UNKNOWN_STRING "Unknown"
|
||||
|
||||
#ifndef OCT_OPTION_REMOVE_PRIVATE
|
||||
#define cOCTVC1_THE_USER "oct-super-user"
|
||||
#define cOCTVC1_THE_USER_ID "octsu98asic"
|
||||
#endif /* OCT_OPTION_REMOVE_PRIVATE */
|
||||
|
||||
#define cOCTVC1_PRIVATE_VISIBILITY_USER "oct-dev"
|
||||
#ifdef OCT_DECLARE_COMMON
|
||||
gchar* aOCTVC1_user_list[][2] = {
|
||||
{NULL,NULL}
|
||||
};
|
||||
#else
|
||||
gchar* aOCTVC1_user_list[][2];
|
||||
#endif /* OCT_DECLARE_COMMON */
|
||||
|
||||
extern const gchar* octvc1_chck_private( guint32 f_event_id_code, const value_string *f_PrivateApi, gint32 * f_piRegistered );
|
||||
|
||||
#endif /* _OCTVC1_COMMON_H__ */
|
||||
|
||||
{ "oct-dev","octdev98asic"},
|
||||
#ifndef OCT_OPTION_REMOVE_PRIVATE
|
||||
{ "feature-spec","feature-psw"},
|
||||
{ "company","company-psw"},
|
||||
{ "company-2","company-2-psw"},
|
||||
#endif /* OCT_OPTION_REMOVE_PRIVATE */
|
||||
{NULL,NULL}
|
||||
};
|
||||
#else
|
||||
gchar* aOCTVC1_user_list[][2];
|
||||
#endif /* OCT_DECLARE_COMMON */
|
||||
|
||||
extern const gchar* octvc1_chck_private( guint32 f_event_id_code, const value_string *f_PrivateApi, gint32 * f_piRegistered );
|
||||
|
||||
#endif /* _OCTVC1_COMMON_H__ */
|
||||
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: octvocnet_common.h
|
||||
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contain the wireshark module dissector related functions
|
||||
|
||||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: octvocnet_common.h
|
||||
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contain the wireshark module dissector related functions
|
||||
|
||||
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
|
||||
|
@ -18,25 +18,26 @@ 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.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#ifndef _OCTVOCNET_COMMON_H__
|
||||
#define _OCTVOCNET_COMMON_H__
|
||||
|
||||
#include <epan/packet.h>
|
||||
|
||||
/****************************************************************************
|
||||
COMMON API ENUMERATION STRING VALUES
|
||||
****************************************************************************/
|
||||
extern const value_string vals_tOCTVOCNET_PKT_CONTROL_PROTOCOL_TYPE_ENUM[];
|
||||
|
||||
#endif /* _OCTVOCNET_COMMON_H__ */
|
||||
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#ifndef _OCTVOCNET_COMMON_H__
|
||||
#define _OCTVOCNET_COMMON_H__
|
||||
|
||||
#include <epan/packet.h>
|
||||
|
||||
/****************************************************************************
|
||||
COMMON API ENUMERATION STRING VALUES
|
||||
****************************************************************************/
|
||||
extern const value_string vals_tOCTVOCNET_PKT_CONTROL_PROTOCOL_TYPE_ENUM[];
|
||||
|
||||
#endif /* _OCTVOCNET_COMMON_H__ */
|
||||
|
||||
|
|
|
@ -17,10 +17,11 @@ 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.,
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: Octasic Application Development Framework OCTADF-04.00.00-B1829 (2015/07/02)
|
||||
|
||||
Release: Octasic Application Development Framework OCTADF-04.01.00-B1993 (2015/09/16)
|
||||
|
||||
$Octasic_Revision: 4 $
|
||||
|
||||
|
@ -32,7 +33,7 @@ $Octasic_Revision: 4 $
|
|||
|
||||
/***************************** INCLUDES *************************************/
|
||||
#include <epan/packet.h>
|
||||
#include "../../../include/oct_ws_version.h"
|
||||
#include "../../../include/oct_ws_version.h"
|
||||
#include "../../../include/oct_ws_macro.h"
|
||||
|
||||
/***************************** DEFINES **************************************/
|
||||
|
@ -60,11 +61,11 @@ $Octasic_Revision: 4 $
|
|||
/* Version number of package */
|
||||
/* WAS : #if !defined( TGT_VERSION ) || (TGT_VERSION == 0) but TGT_VERSION may be a string ... can't compare */
|
||||
#if defined( NO_TGT_VERSION )
|
||||
#define VERSION QUOTEME(MODULE_VERSION)
|
||||
#define VERSION QUOTEME(MODULE_VERSION)
|
||||
#else
|
||||
#define VERSION QUOTEME(MODULE_VERSION-TGT_VERSION)
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
/***************************** VARIABLE ***********************************/
|
||||
extern dissector_handle_t data_handle;
|
||||
|
|
|
@ -18,10 +18,11 @@ 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.,
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: Octasic Application Development Framework OCTADF-04.00.00-B1829 (2015/07/02)
|
||||
|
||||
Release: Octasic Application Development Framework OCTADF-04.01.00-B1993 (2015/09/16)
|
||||
|
||||
$Octasic_Revision: 4 $
|
||||
|
||||
|
@ -69,11 +70,11 @@ extern int ws_dissector_notimplemented( tvbuff_t *tvb, packet_info *pinfo, proto
|
|||
|
||||
extern unsigned int dissect_tOCTVC1_MAIN_FILE_HANDLE(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtraValue );
|
||||
extern const char * dissect_OCTVC1_Return_Code( guint32 ulRc );
|
||||
|
||||
|
||||
#if defined(VERSION_MAJOR) && (VERSION_MAJOR > 1 || (VERSION_MAJOR == 1 && VERSION_MINOR > 8))
|
||||
WS_DLL_PUBLIC const char *decode_enumerated_bitfield(const guint32 val, const guint32 mask,const int width, const value_string *tab, const char *fmt);
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#if defined(VERSION_MAJOR) && (VERSION_MAJOR > 1 || (VERSION_MAJOR == 1 && VERSION_MINOR > 8))
|
||||
WS_DLL_PUBLIC const char *decode_enumerated_bitfield(const guint32 val, const guint32 mask,const int width, const value_string *tab, const char *fmt);
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* __OCT_WS_UTIL_H__ */
|
||||
|
|
|
@ -57,6 +57,7 @@ RC_INTERNAL_NAME="Base on $(PACKAGE) version $(TGT_VERSION)"
|
|||
LOCAL_CFLAGS=/DMODULE_VERSION=$(MODULE_VERSION) $(LOCAL_CFLAGS)
|
||||
RC_INTERNAL_NAME="Base on $(PACKAGE) version $(MODULE_VERSION)"
|
||||
!ENDIF
|
||||
LOCAL_CFLAGS=$(LOCAL_CFLAGS) /FI $(MAKEDIR)/$(OCT_INC)/octoptions.h
|
||||
|
||||
!include ..\..\MakeRules.nmake
|
||||
|
||||
|
|
Binary file not shown.
|
@ -1,12 +1,12 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: octdev_common.c
|
||||
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contain the wireshark module dissector related functions
|
||||
|
||||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: octdev_common.c
|
||||
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contain the wireshark module dissector related functions
|
||||
|
||||
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
|
||||
|
@ -18,57 +18,58 @@ 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.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
|
||||
#include <config.h>
|
||||
#include <epan/packet.h>
|
||||
#include "../../../include/oct_ws_macro.h"
|
||||
#include "../include/module.h"
|
||||
#include "../include/octdev_common.h"
|
||||
|
||||
|
||||
#include <octdev_types.h>
|
||||
|
||||
/****************************************************************************
|
||||
MODULE API ENUMERATION STRING VALUES
|
||||
****************************************************************************/
|
||||
|
||||
const value_string vals_tOCTDEV_IP_VERSION_ENUM[] =
|
||||
{
|
||||
{ cOCTDEV_IP_VERSION_ENUM_4, "cOCTDEV_IP_VERSION_ENUM_4" },
|
||||
{ cOCTDEV_IP_VERSION_ENUM_6, "cOCTDEV_IP_VERSION_ENUM_6" },
|
||||
{ cOCTDEV_IP_VERSION_ENUM_INVALID, "cOCTDEV_IP_VERSION_ENUM_INVALID" },
|
||||
{ 0, NULL }
|
||||
};
|
||||
|
||||
#include <octdev_devices.h>
|
||||
|
||||
/****************************************************************************
|
||||
MODULE API ENUMERATION STRING VALUES
|
||||
****************************************************************************/
|
||||
|
||||
const value_string vals_tOCTDEV_DEVICES_TYPE_ENUM[] =
|
||||
{
|
||||
{ cOCTDEV_DEVICES_TYPE_ENUM_INVALID, "cOCTDEV_DEVICES_TYPE_ENUM_INVALID" },
|
||||
{ cOCTDEV_DEVICES_TYPE_ENUM_OCT1010, "cOCTDEV_DEVICES_TYPE_ENUM_OCT1010" },
|
||||
{ cOCTDEV_DEVICES_TYPE_ENUM_OCT2200, "cOCTDEV_DEVICES_TYPE_ENUM_OCT2200" },
|
||||
{ cOCTDEV_DEVICES_TYPE_ENUM_CPU, "cOCTDEV_DEVICES_TYPE_ENUM_CPU" },
|
||||
{ 0, NULL }
|
||||
};
|
||||
|
||||
const value_string vals_tOCTDEV_DEVICES_DSP_CORE_TYPE_ENUM[] =
|
||||
{
|
||||
{ cOCTDEV_DEVICES_DSP_CORE_TYPE_ENUM_INVALID, "cOCTDEV_DEVICES_DSP_CORE_TYPE_ENUM_INVALID" },
|
||||
{ cOCTDEV_DEVICES_DSP_CORE_TYPE_ENUM_OPUS1, "cOCTDEV_DEVICES_DSP_CORE_TYPE_ENUM_OPUS1" },
|
||||
{ cOCTDEV_DEVICES_DSP_CORE_TYPE_ENUM_OPUS2, "cOCTDEV_DEVICES_DSP_CORE_TYPE_ENUM_OPUS2" },
|
||||
{ 0, NULL }
|
||||
};
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
|
||||
#include <config.h>
|
||||
#include <epan/packet.h>
|
||||
#include "../../../include/oct_ws_macro.h"
|
||||
#include "../include/module.h"
|
||||
#include "../include/octdev_common.h"
|
||||
|
||||
|
||||
#include <octdev_types.h>
|
||||
|
||||
/****************************************************************************
|
||||
MODULE API ENUMERATION STRING VALUES
|
||||
****************************************************************************/
|
||||
|
||||
const value_string vals_tOCTDEV_IP_VERSION_ENUM[] =
|
||||
{
|
||||
{ cOCTDEV_IP_VERSION_ENUM_4, "cOCTDEV_IP_VERSION_ENUM_4" },
|
||||
{ cOCTDEV_IP_VERSION_ENUM_6, "cOCTDEV_IP_VERSION_ENUM_6" },
|
||||
{ cOCTDEV_IP_VERSION_ENUM_INVALID, "cOCTDEV_IP_VERSION_ENUM_INVALID" },
|
||||
{ 0, NULL }
|
||||
};
|
||||
|
||||
#include <octdev_devices.h>
|
||||
|
||||
/****************************************************************************
|
||||
MODULE API ENUMERATION STRING VALUES
|
||||
****************************************************************************/
|
||||
|
||||
const value_string vals_tOCTDEV_DEVICES_TYPE_ENUM[] =
|
||||
{
|
||||
{ cOCTDEV_DEVICES_TYPE_ENUM_INVALID, "cOCTDEV_DEVICES_TYPE_ENUM_INVALID" },
|
||||
{ cOCTDEV_DEVICES_TYPE_ENUM_OCT1010, "cOCTDEV_DEVICES_TYPE_ENUM_OCT1010" },
|
||||
{ cOCTDEV_DEVICES_TYPE_ENUM_OCT2200, "cOCTDEV_DEVICES_TYPE_ENUM_OCT2200" },
|
||||
{ cOCTDEV_DEVICES_TYPE_ENUM_CPU, "cOCTDEV_DEVICES_TYPE_ENUM_CPU" },
|
||||
{ 0, NULL }
|
||||
};
|
||||
|
||||
const value_string vals_tOCTDEV_DEVICES_DSP_CORE_TYPE_ENUM[] =
|
||||
{
|
||||
{ cOCTDEV_DEVICES_DSP_CORE_TYPE_ENUM_INVALID, "cOCTDEV_DEVICES_DSP_CORE_TYPE_ENUM_INVALID" },
|
||||
{ cOCTDEV_DEVICES_DSP_CORE_TYPE_ENUM_OPUS1, "cOCTDEV_DEVICES_DSP_CORE_TYPE_ENUM_OPUS1" },
|
||||
{ cOCTDEV_DEVICES_DSP_CORE_TYPE_ENUM_OPUS2, "cOCTDEV_DEVICES_DSP_CORE_TYPE_ENUM_OPUS2" },
|
||||
{ 0, NULL }
|
||||
};
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: octpkt_common.c
|
||||
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contain the wireshark module dissector related functions
|
||||
|
||||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: octpkt_common.c
|
||||
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contain the wireshark module dissector related functions
|
||||
|
||||
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
|
||||
|
@ -18,81 +18,82 @@ 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.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
|
||||
#include <config.h>
|
||||
#include <epan/packet.h>
|
||||
#include "../../../include/oct_ws_macro.h"
|
||||
#include "../include/module.h"
|
||||
#include "../include/octpkt_common.h"
|
||||
|
||||
|
||||
#include <octpkt_hdr.h>
|
||||
|
||||
/****************************************************************************
|
||||
MODULE API ENUMERATION STRING VALUES
|
||||
****************************************************************************/
|
||||
|
||||
const value_string vals_tOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK[] =
|
||||
{
|
||||
{ cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_FORMAT_BIT_MASK, "cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_FORMAT_BIT_MASK" },
|
||||
{ cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_FORMAT_BIT_OFFSET, "cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_FORMAT_BIT_OFFSET" },
|
||||
{ cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_FORMAT, "cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_FORMAT" },
|
||||
{ cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_TRACE_BIT_MASK, "cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_TRACE_BIT_MASK" },
|
||||
{ cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_TRACE_BIT_OFFSET, "cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_TRACE_BIT_OFFSET" },
|
||||
{ cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_TRACE, "cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_TRACE" },
|
||||
{ cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_CONTROL_PROTOCOL_TYPE_BIT_MASK, "cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_CONTROL_PROTOCOL_TYPE_BIT_MASK" },
|
||||
{ cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_CONTROL_PROTOCOL_TYPE_BIT_OFFSET, "cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_CONTROL_PROTOCOL_TYPE_BIT_OFFSET" },
|
||||
{ cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_CONTROL_PROTOCOL_TYPE, "cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_CONTROL_PROTOCOL_TYPE" },
|
||||
{ cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_LENGTH_BIT_MASK, "cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_LENGTH_BIT_MASK" },
|
||||
{ cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_LENGTH_BIT_OFFSET, "cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_LENGTH_BIT_OFFSET" },
|
||||
{ cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_LENGTH, "cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_LENGTH" },
|
||||
{ 0, NULL }
|
||||
};
|
||||
|
||||
const value_string vals_tOCTPKT_HDR_CONTROL_PROTOCOL_TYPE_ENUM[] =
|
||||
{
|
||||
{ cOCTPKT_HDR_CONTROL_PROTOCOL_TYPE_ENUM_OCTVOCNET, "cOCTPKT_HDR_CONTROL_PROTOCOL_TYPE_ENUM_OCTVOCNET" },
|
||||
{ cOCTPKT_HDR_CONTROL_PROTOCOL_TYPE_ENUM_OCTMFA, "cOCTPKT_HDR_CONTROL_PROTOCOL_TYPE_ENUM_OCTMFA" },
|
||||
{ cOCTPKT_HDR_CONTROL_PROTOCOL_TYPE_ENUM_LTE_FAPI, "cOCTPKT_HDR_CONTROL_PROTOCOL_TYPE_ENUM_LTE_FAPI" },
|
||||
{ cOCTPKT_HDR_CONTROL_PROTOCOL_TYPE_ENUM_TEST, "cOCTPKT_HDR_CONTROL_PROTOCOL_TYPE_ENUM_TEST" },
|
||||
{ cOCTPKT_HDR_CONTROL_PROTOCOL_TYPE_ENUM_NONE, "cOCTPKT_HDR_CONTROL_PROTOCOL_TYPE_ENUM_NONE" },
|
||||
{ 0, NULL }
|
||||
};
|
||||
|
||||
const value_string vals_tOCTPKT_HDR_TYPE_ENUM[] =
|
||||
{
|
||||
{ cOCTPKT_HDR_TYPE_ENUM_NONE, "cOCTPKT_HDR_TYPE_ENUM_NONE" },
|
||||
{ cOCTPKT_HDR_TYPE_ENUM_NORMAL, "cOCTPKT_HDR_TYPE_ENUM_NORMAL" },
|
||||
{ cOCTPKT_HDR_TYPE_ENUM_XL, "cOCTPKT_HDR_TYPE_ENUM_XL" },
|
||||
{ 0, NULL }
|
||||
};
|
||||
|
||||
#include <octpkt_hdrxl.h>
|
||||
|
||||
/****************************************************************************
|
||||
MODULE API ENUMERATION STRING VALUES
|
||||
****************************************************************************/
|
||||
|
||||
const value_string vals_tOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK[] =
|
||||
{
|
||||
{ cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_FORMAT_BIT_MASK, "cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_FORMAT_BIT_MASK" },
|
||||
{ cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_FORMAT_BIT_OFFSET, "cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_FORMAT_BIT_OFFSET" },
|
||||
{ cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_FORMAT, "cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_FORMAT" },
|
||||
{ cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_CONTROL_PROTOCOL_TYPE_BIT_MASK, "cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_CONTROL_PROTOCOL_TYPE_BIT_MASK" },
|
||||
{ cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_CONTROL_PROTOCOL_TYPE_BIT_OFFSET, "cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_CONTROL_PROTOCOL_TYPE_BIT_OFFSET" },
|
||||
{ cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_CONTROL_PROTOCOL_TYPE, "cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_CONTROL_PROTOCOL_TYPE" },
|
||||
{ cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_LENGTH_BIT_MASK, "cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_LENGTH_BIT_MASK" },
|
||||
{ cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_LENGTH_BIT_OFFSET, "cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_LENGTH_BIT_OFFSET" },
|
||||
{ cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_LENGTH, "cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_LENGTH" },
|
||||
{ 0, NULL }
|
||||
};
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
|
||||
#include <config.h>
|
||||
#include <epan/packet.h>
|
||||
#include "../../../include/oct_ws_macro.h"
|
||||
#include "../include/module.h"
|
||||
#include "../include/octpkt_common.h"
|
||||
|
||||
|
||||
#include <octpkt_hdr.h>
|
||||
|
||||
/****************************************************************************
|
||||
MODULE API ENUMERATION STRING VALUES
|
||||
****************************************************************************/
|
||||
|
||||
const value_string vals_tOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK[] =
|
||||
{
|
||||
{ cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_FORMAT_BIT_MASK, "cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_FORMAT_BIT_MASK" },
|
||||
{ cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_FORMAT_BIT_OFFSET, "cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_FORMAT_BIT_OFFSET" },
|
||||
{ cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_FORMAT, "cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_FORMAT" },
|
||||
{ cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_TRACE_BIT_MASK, "cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_TRACE_BIT_MASK" },
|
||||
{ cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_TRACE_BIT_OFFSET, "cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_TRACE_BIT_OFFSET" },
|
||||
{ cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_TRACE, "cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_TRACE" },
|
||||
{ cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_CONTROL_PROTOCOL_TYPE_BIT_MASK, "cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_CONTROL_PROTOCOL_TYPE_BIT_MASK" },
|
||||
{ cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_CONTROL_PROTOCOL_TYPE_BIT_OFFSET, "cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_CONTROL_PROTOCOL_TYPE_BIT_OFFSET" },
|
||||
{ cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_CONTROL_PROTOCOL_TYPE, "cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_CONTROL_PROTOCOL_TYPE" },
|
||||
{ cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_LENGTH_BIT_MASK, "cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_LENGTH_BIT_MASK" },
|
||||
{ cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_LENGTH_BIT_OFFSET, "cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_LENGTH_BIT_OFFSET" },
|
||||
{ cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_LENGTH, "cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_LENGTH" },
|
||||
{ 0, NULL }
|
||||
};
|
||||
|
||||
const value_string vals_tOCTPKT_HDR_CONTROL_PROTOCOL_TYPE_ENUM[] =
|
||||
{
|
||||
{ cOCTPKT_HDR_CONTROL_PROTOCOL_TYPE_ENUM_OCTVOCNET, "cOCTPKT_HDR_CONTROL_PROTOCOL_TYPE_ENUM_OCTVOCNET" },
|
||||
{ cOCTPKT_HDR_CONTROL_PROTOCOL_TYPE_ENUM_OCTMFA, "cOCTPKT_HDR_CONTROL_PROTOCOL_TYPE_ENUM_OCTMFA" },
|
||||
{ cOCTPKT_HDR_CONTROL_PROTOCOL_TYPE_ENUM_LTE_FAPI, "cOCTPKT_HDR_CONTROL_PROTOCOL_TYPE_ENUM_LTE_FAPI" },
|
||||
{ cOCTPKT_HDR_CONTROL_PROTOCOL_TYPE_ENUM_TEST, "cOCTPKT_HDR_CONTROL_PROTOCOL_TYPE_ENUM_TEST" },
|
||||
{ cOCTPKT_HDR_CONTROL_PROTOCOL_TYPE_ENUM_NONE, "cOCTPKT_HDR_CONTROL_PROTOCOL_TYPE_ENUM_NONE" },
|
||||
{ 0, NULL }
|
||||
};
|
||||
|
||||
const value_string vals_tOCTPKT_HDR_TYPE_ENUM[] =
|
||||
{
|
||||
{ cOCTPKT_HDR_TYPE_ENUM_NONE, "cOCTPKT_HDR_TYPE_ENUM_NONE" },
|
||||
{ cOCTPKT_HDR_TYPE_ENUM_NORMAL, "cOCTPKT_HDR_TYPE_ENUM_NORMAL" },
|
||||
{ cOCTPKT_HDR_TYPE_ENUM_XL, "cOCTPKT_HDR_TYPE_ENUM_XL" },
|
||||
{ 0, NULL }
|
||||
};
|
||||
|
||||
#include <octpkt_hdrxl.h>
|
||||
|
||||
/****************************************************************************
|
||||
MODULE API ENUMERATION STRING VALUES
|
||||
****************************************************************************/
|
||||
|
||||
const value_string vals_tOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK[] =
|
||||
{
|
||||
{ cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_FORMAT_BIT_MASK, "cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_FORMAT_BIT_MASK" },
|
||||
{ cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_FORMAT_BIT_OFFSET, "cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_FORMAT_BIT_OFFSET" },
|
||||
{ cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_FORMAT, "cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_FORMAT" },
|
||||
{ cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_CONTROL_PROTOCOL_TYPE_BIT_MASK, "cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_CONTROL_PROTOCOL_TYPE_BIT_MASK" },
|
||||
{ cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_CONTROL_PROTOCOL_TYPE_BIT_OFFSET, "cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_CONTROL_PROTOCOL_TYPE_BIT_OFFSET" },
|
||||
{ cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_CONTROL_PROTOCOL_TYPE, "cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_CONTROL_PROTOCOL_TYPE" },
|
||||
{ cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_LENGTH_BIT_MASK, "cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_LENGTH_BIT_MASK" },
|
||||
{ cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_LENGTH_BIT_OFFSET, "cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_LENGTH_BIT_OFFSET" },
|
||||
{ cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_LENGTH, "cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_LENGTH" },
|
||||
{ 0, NULL }
|
||||
};
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_cid_eid_value_string.c
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contain the wireshark value_string of all CID and EID
|
||||
|
||||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_cid_eid_value_string.c
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contain the wireshark value_string of all CID and EID
|
||||
|
||||
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
|
||||
|
@ -17,456 +17,460 @@ 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.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
|
||||
#include <config.h>
|
||||
#include <epan/packet.h>
|
||||
#include "../../../include/oct_ws_macro.h"
|
||||
#include "../include/module.h"
|
||||
#include "../include/octvc1_common.h"
|
||||
|
||||
#include <main/octvc1_main_evt_priv.h>
|
||||
#include <ctrl/octvc1_ctrl_api_priv.h>
|
||||
#include <test/octvc1_test_api_priv.h>
|
||||
#include <hw/octvc1_hw_evt_priv.h>
|
||||
#include <irsc/octvc1_irsc_evt_priv.h>
|
||||
#include <gsm/octvc1_gsm_evt_priv.h>
|
||||
|
||||
|
||||
/****************************************************************************
|
||||
Module unique entry
|
||||
****************************************************************************/
|
||||
const value_string vals_OCTVC1_module_UID[] =
|
||||
{
|
||||
{ (cOCTVC1_MAIN_UID), "MAIN" },
|
||||
{ (cOCTVC1_CTRL_UID), "CTRL" },
|
||||
{ (cOCTVC1_TEST_UID), "TEST" },
|
||||
{ (cOCTVC1_HW_UID), "HW" },
|
||||
{ (cOCTVC1_IRSC_UID), "IRSC" },
|
||||
{ (cOCTVC1_GSM_UID), "GSM" },
|
||||
{ 0, NULL },
|
||||
};
|
||||
|
||||
/****************************************************************************
|
||||
CID arrays
|
||||
****************************************************************************/
|
||||
const value_string vals_OCTVC1_MAIN_CID[] =
|
||||
{
|
||||
{ (cOCTVC1_MAIN_MSG_TARGET_INFO_CID& 0x00000FFF), "TARGET_INFO" },
|
||||
{ (cOCTVC1_MAIN_MSG_TARGET_RESET_CID& 0x00000FFF), "TARGET_RESET" },
|
||||
{ (cOCTVC1_MAIN_MSG_FILE_OPEN_CID& 0x00000FFF), "FILE_OPEN" },
|
||||
{ (cOCTVC1_MAIN_MSG_FILE_CLOSE_CID& 0x00000FFF), "FILE_CLOSE" },
|
||||
{ (cOCTVC1_MAIN_MSG_FILE_WRITE_CID& 0x00000FFF), "FILE_WRITE" },
|
||||
{ (cOCTVC1_MAIN_MSG_FILE_READ_CID& 0x00000FFF), "FILE_READ" },
|
||||
{ (cOCTVC1_MAIN_MSG_FILE_INFO_CID& 0x00000FFF), "FILE_INFO" },
|
||||
{ (cOCTVC1_MAIN_MSG_FILE_LIST_CID& 0x00000FFF), "FILE_LIST" },
|
||||
{ (cOCTVC1_MAIN_MSG_FILE_SYSTEM_INFO_CID& 0x00000FFF), "FILE_SYSTEM_INFO" },
|
||||
{ (cOCTVC1_MAIN_MSG_FILE_SYSTEM_INFO_FILE_CID& 0x00000FFF), "FILE_SYSTEM_INFO_FILE" },
|
||||
{ (cOCTVC1_MAIN_MSG_FILE_SYSTEM_ADD_FILE_CID& 0x00000FFF), "FILE_SYSTEM_ADD_FILE" },
|
||||
{ (cOCTVC1_MAIN_MSG_FILE_SYSTEM_DELETE_FILE_CID& 0x00000FFF), "FILE_SYSTEM_DELETE_FILE" },
|
||||
{ (cOCTVC1_MAIN_MSG_LOG_ERASE_CID& 0x00000FFF), "LOG_ERASE" },
|
||||
{ (cOCTVC1_MAIN_MSG_LOG_INFO_CID& 0x00000FFF), "LOG_INFO" },
|
||||
{ (cOCTVC1_MAIN_MSG_LOG_STATS_CID& 0x00000FFF), "LOG_STATS" },
|
||||
{ (cOCTVC1_MAIN_MSG_LOG_INFO_TRACE_CID& 0x00000FFF), "LOG_INFO_TRACE" },
|
||||
{ (cOCTVC1_MAIN_MSG_LOG_START_TRACE_CID& 0x00000FFF), "LOG_START_TRACE" },
|
||||
{ (cOCTVC1_MAIN_MSG_LOG_STOP_TRACE_CID& 0x00000FFF), "LOG_STOP_TRACE" },
|
||||
{ (cOCTVC1_MAIN_MSG_LOG_ERASE_TRACE_CID& 0x00000FFF), "LOG_ERASE_TRACE" },
|
||||
{ (cOCTVC1_MAIN_MSG_LOG_STATS_TRACE_CID& 0x00000FFF), "LOG_STATS_TRACE" },
|
||||
{ (cOCTVC1_MAIN_MSG_PROCESS_INFO_CID& 0x00000FFF), "PROCESS_INFO" },
|
||||
{ (cOCTVC1_MAIN_MSG_PROCESS_LIST_CID& 0x00000FFF), "PROCESS_LIST" },
|
||||
{ (cOCTVC1_MAIN_MSG_PROCESS_MONITOR_CPU_USAGE_CID& 0x00000FFF), "PROCESS_MONITOR_CPU_USAGE" },
|
||||
{ (cOCTVC1_MAIN_MSG_PROCESS_INFO_CPU_USAGE_CID& 0x00000FFF), "PROCESS_INFO_CPU_USAGE" },
|
||||
{ (cOCTVC1_MAIN_MSG_PROCESS_STATS_CPU_USAGE_CID& 0x00000FFF), "PROCESS_STATS_CPU_USAGE" },
|
||||
{ (cOCTVC1_MAIN_MSG_API_SYSTEM_LIST_SESSION_CID& 0x00000FFF), "API_SYSTEM_LIST_SESSION" },
|
||||
{ (cOCTVC1_MAIN_MSG_API_SYSTEM_INFO_SESSION_CID& 0x00000FFF), "API_SYSTEM_INFO_SESSION" },
|
||||
{ (cOCTVC1_MAIN_MSG_API_SYSTEM_INFO_SESSION_EVT_CID& 0x00000FFF), "API_SYSTEM_INFO_SESSION_EVT" },
|
||||
{ (cOCTVC1_MAIN_MSG_API_SYSTEM_MODIFY_SESSION_EVT_CID& 0x00000FFF), "API_SYSTEM_MODIFY_SESSION_EVT" },
|
||||
{ (cOCTVC1_MAIN_MSG_API_SYSTEM_INFO_SESSION_HEARTBEAT_CID& 0x00000FFF), "API_SYSTEM_INFO_SESSION_HEARTBEAT" },
|
||||
{ (cOCTVC1_MAIN_MSG_API_SYSTEM_STATS_SESSION_HEARTBEAT_CID& 0x00000FFF), "API_SYSTEM_STATS_SESSION_HEARTBEAT" },
|
||||
{ (cOCTVC1_MAIN_MSG_API_SYSTEM_START_SESSION_HEARTBEAT_CID& 0x00000FFF), "API_SYSTEM_START_SESSION_HEARTBEAT" },
|
||||
{ (cOCTVC1_MAIN_MSG_API_SYSTEM_STOP_SESSION_HEARTBEAT_CID& 0x00000FFF), "API_SYSTEM_STOP_SESSION_HEARTBEAT" },
|
||||
{ (cOCTVC1_MAIN_MSG_API_SYSTEM_MODIFY_SESSION_HEARTBEAT_CID& 0x00000FFF), "API_SYSTEM_MODIFY_SESSION_HEARTBEAT" },
|
||||
{ (cOCTVC1_MAIN_MSG_APPLICATION_START_CID& 0x00000FFF), "APPLICATION_START" },
|
||||
{ (cOCTVC1_MAIN_MSG_APPLICATION_STOP_CID& 0x00000FFF), "APPLICATION_STOP" },
|
||||
{ (cOCTVC1_MAIN_MSG_APPLICATION_INFO_CID& 0x00000FFF), "APPLICATION_INFO" },
|
||||
{ (cOCTVC1_MAIN_MSG_APPLICATION_INFO_SYSTEM_CID& 0x00000FFF), "APPLICATION_INFO_SYSTEM" },
|
||||
{ (cOCTVC1_MAIN_MSG_APPLICATION_LIST_MODULE_CID& 0x00000FFF), "APPLICATION_LIST_MODULE" },
|
||||
{ (cOCTVC1_MAIN_MSG_APPLICATION_INFO_MODULE_CID& 0x00000FFF), "APPLICATION_INFO_MODULE" },
|
||||
{ (cOCTVC1_MAIN_MSG_APPLICATION_STATS_MODULE_CID& 0x00000FFF), "APPLICATION_STATS_MODULE" },
|
||||
{ 0, NULL },
|
||||
};
|
||||
const value_string vals_OCTVC1_MAIN_CID_PRIV[] =
|
||||
{
|
||||
{ 0, NULL },
|
||||
};
|
||||
const value_string vals_OCTVC1_CTRL_CID[] =
|
||||
{
|
||||
{ 0, NULL },
|
||||
};
|
||||
const value_string vals_OCTVC1_CTRL_CID_PRIV[] =
|
||||
{
|
||||
{ 0, NULL },
|
||||
};
|
||||
const value_string vals_OCTVC1_TEST_CID[] =
|
||||
{
|
||||
{ (cOCTVC1_TEST_MSG_DESCR_LIST_CID& 0x00000FFF), cOCTVC1_PRIVATE_ID_STRING },
|
||||
{ (cOCTVC1_TEST_MSG_DESCR_INFO_CID& 0x00000FFF), cOCTVC1_PRIVATE_ID_STRING },
|
||||
{ (cOCTVC1_TEST_MSG_DESCR_INFO_BY_NAME_CID& 0x00000FFF), cOCTVC1_PRIVATE_ID_STRING },
|
||||
{ (cOCTVC1_TEST_MSG_DESCR_STATS_CID& 0x00000FFF), cOCTVC1_PRIVATE_ID_STRING },
|
||||
{ (cOCTVC1_TEST_MSG_RUNNER_SERVER_INFO_CID& 0x00000FFF), cOCTVC1_PRIVATE_ID_STRING },
|
||||
{ (cOCTVC1_TEST_MSG_RUNNER_SERVER_STATS_CID& 0x00000FFF), cOCTVC1_PRIVATE_ID_STRING },
|
||||
{ (cOCTVC1_TEST_MSG_RUNNER_SERVER_START_CID& 0x00000FFF), cOCTVC1_PRIVATE_ID_STRING },
|
||||
{ (cOCTVC1_TEST_MSG_RUNNER_SERVER_STOP_CID& 0x00000FFF), cOCTVC1_PRIVATE_ID_STRING },
|
||||
{ (cOCTVC1_TEST_MSG_RUNNER_SERVER_ADD_TEST_CID& 0x00000FFF), cOCTVC1_PRIVATE_ID_STRING },
|
||||
{ (cOCTVC1_TEST_MSG_RUNNER_SERVER_REMOVE_TEST_CID& 0x00000FFF), cOCTVC1_PRIVATE_ID_STRING },
|
||||
{ (cOCTVC1_TEST_MSG_RUNNER_SERVER_LIST_TEST_CID& 0x00000FFF), cOCTVC1_PRIVATE_ID_STRING },
|
||||
{ (cOCTVC1_TEST_MSG_RUNNER_SERVER_INFO_TEST_CID& 0x00000FFF), cOCTVC1_PRIVATE_ID_STRING },
|
||||
{ (cOCTVC1_TEST_MSG_RUNNER_SERVER_STATS_TEST_CID& 0x00000FFF), cOCTVC1_PRIVATE_ID_STRING },
|
||||
{ (cOCTVC1_TEST_MSG_RUNNER_SERVER_START_TEST_CID& 0x00000FFF), cOCTVC1_PRIVATE_ID_STRING },
|
||||
{ (cOCTVC1_TEST_MSG_RUNNER_SERVER_STOP_TEST_CID& 0x00000FFF), cOCTVC1_PRIVATE_ID_STRING },
|
||||
{ 0, NULL },
|
||||
};
|
||||
const value_string vals_OCTVC1_TEST_CID_PRIV[] =
|
||||
{
|
||||
{ (cOCTVC1_TEST_MSG_DESCR_LIST_CID& 0x00000FFF), "DESCR_LIST:" \
|
||||
cOCTVC1_PRIVATE_VISIBILITY_USER \
|
||||
","},
|
||||
{ (cOCTVC1_TEST_MSG_DESCR_INFO_CID& 0x00000FFF), "DESCR_INFO:" \
|
||||
cOCTVC1_PRIVATE_VISIBILITY_USER \
|
||||
","},
|
||||
{ (cOCTVC1_TEST_MSG_DESCR_INFO_BY_NAME_CID& 0x00000FFF), "DESCR_INFO_BY_NAME:" \
|
||||
cOCTVC1_PRIVATE_VISIBILITY_USER \
|
||||
","},
|
||||
{ (cOCTVC1_TEST_MSG_DESCR_STATS_CID& 0x00000FFF), "DESCR_STATS:" \
|
||||
cOCTVC1_PRIVATE_VISIBILITY_USER \
|
||||
","},
|
||||
{ (cOCTVC1_TEST_MSG_RUNNER_SERVER_INFO_CID& 0x00000FFF), "RUNNER_SERVER_INFO:" \
|
||||
cOCTVC1_PRIVATE_VISIBILITY_USER \
|
||||
","},
|
||||
{ (cOCTVC1_TEST_MSG_RUNNER_SERVER_STATS_CID& 0x00000FFF), "RUNNER_SERVER_STATS:" \
|
||||
cOCTVC1_PRIVATE_VISIBILITY_USER \
|
||||
","},
|
||||
{ (cOCTVC1_TEST_MSG_RUNNER_SERVER_START_CID& 0x00000FFF), "RUNNER_SERVER_START:" \
|
||||
cOCTVC1_PRIVATE_VISIBILITY_USER \
|
||||
","},
|
||||
{ (cOCTVC1_TEST_MSG_RUNNER_SERVER_STOP_CID& 0x00000FFF), "RUNNER_SERVER_STOP:" \
|
||||
cOCTVC1_PRIVATE_VISIBILITY_USER \
|
||||
","},
|
||||
{ (cOCTVC1_TEST_MSG_RUNNER_SERVER_ADD_TEST_CID& 0x00000FFF), "RUNNER_SERVER_ADD_TEST:" \
|
||||
cOCTVC1_PRIVATE_VISIBILITY_USER \
|
||||
","},
|
||||
{ (cOCTVC1_TEST_MSG_RUNNER_SERVER_REMOVE_TEST_CID& 0x00000FFF), "RUNNER_SERVER_REMOVE_TEST:" \
|
||||
cOCTVC1_PRIVATE_VISIBILITY_USER \
|
||||
","},
|
||||
{ (cOCTVC1_TEST_MSG_RUNNER_SERVER_LIST_TEST_CID& 0x00000FFF), "RUNNER_SERVER_LIST_TEST:" \
|
||||
cOCTVC1_PRIVATE_VISIBILITY_USER \
|
||||
","},
|
||||
{ (cOCTVC1_TEST_MSG_RUNNER_SERVER_INFO_TEST_CID& 0x00000FFF), "RUNNER_SERVER_INFO_TEST:" \
|
||||
cOCTVC1_PRIVATE_VISIBILITY_USER \
|
||||
","},
|
||||
{ (cOCTVC1_TEST_MSG_RUNNER_SERVER_STATS_TEST_CID& 0x00000FFF), "RUNNER_SERVER_STATS_TEST:" \
|
||||
cOCTVC1_PRIVATE_VISIBILITY_USER \
|
||||
","},
|
||||
{ (cOCTVC1_TEST_MSG_RUNNER_SERVER_START_TEST_CID& 0x00000FFF), "RUNNER_SERVER_START_TEST:" \
|
||||
cOCTVC1_PRIVATE_VISIBILITY_USER \
|
||||
","},
|
||||
{ (cOCTVC1_TEST_MSG_RUNNER_SERVER_STOP_TEST_CID& 0x00000FFF), "RUNNER_SERVER_STOP_TEST:" \
|
||||
cOCTVC1_PRIVATE_VISIBILITY_USER \
|
||||
","},
|
||||
{ 0, NULL },
|
||||
};
|
||||
const value_string vals_OCTVC1_HW_CID[] =
|
||||
{
|
||||
{ (cOCTVC1_HW_MSG_PCB_INFO_CID& 0x00000FFF), "PCB_INFO" },
|
||||
{ (cOCTVC1_HW_MSG_CPU_CORE_STATS_CID& 0x00000FFF), "CPU_CORE_STATS" },
|
||||
{ (cOCTVC1_HW_MSG_CPU_CORE_INFO_CID& 0x00000FFF), "CPU_CORE_INFO" },
|
||||
{ (cOCTVC1_HW_MSG_CPU_CORE_LIST_CID& 0x00000FFF), "CPU_CORE_LIST" },
|
||||
{ (cOCTVC1_HW_MSG_ETH_PORT_INFO_CID& 0x00000FFF), "ETH_PORT_INFO" },
|
||||
{ (cOCTVC1_HW_MSG_ETH_PORT_LIST_CID& 0x00000FFF), "ETH_PORT_LIST" },
|
||||
{ (cOCTVC1_HW_MSG_ETH_PORT_STATS_CID& 0x00000FFF), "ETH_PORT_STATS" },
|
||||
{ (cOCTVC1_HW_MSG_ETH_PORT_RESTRICTED_UNBLOCK_CID& 0x00000FFF), cOCTVC1_PRIVATE_ID_STRING },
|
||||
{ (cOCTVC1_HW_MSG_ETH_PORT_MODIFY_CID& 0x00000FFF), "ETH_PORT_MODIFY" },
|
||||
{ (cOCTVC1_HW_MSG_RF_PORT_INFO_CID& 0x00000FFF), "RF_PORT_INFO" },
|
||||
{ (cOCTVC1_HW_MSG_RF_PORT_STATS_CID& 0x00000FFF), "RF_PORT_STATS" },
|
||||
{ (cOCTVC1_HW_MSG_RF_PORT_LIST_CID& 0x00000FFF), "RF_PORT_LIST" },
|
||||
{ (cOCTVC1_HW_MSG_RF_PORT_LIST_ANTENNA_CID& 0x00000FFF), "RF_PORT_LIST_ANTENNA" },
|
||||
{ (cOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_RX_CONFIG_CID& 0x00000FFF), "RF_PORT_INFO_ANTENNA_RX_CONFIG" },
|
||||
{ (cOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CONFIG_CID& 0x00000FFF), "RF_PORT_INFO_ANTENNA_TX_CONFIG" },
|
||||
{ (cOCTVC1_HW_MSG_CLOCK_SYNC_MGR_INFO_CID& 0x00000FFF), "CLOCK_SYNC_MGR_INFO" },
|
||||
{ (cOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STATS_CID& 0x00000FFF), "CLOCK_SYNC_MGR_STATS" },
|
||||
{ (cOCTVC1_HW_MSG_CLOCK_SYNC_MGR_INFO_SOURCE_CID& 0x00000FFF), "CLOCK_SYNC_MGR_INFO_SOURCE" },
|
||||
{ (cOCTVC1_HW_MSG_CLOCK_SYNC_MGR_MODIFY_SOURCE_CID& 0x00000FFF), "CLOCK_SYNC_MGR_MODIFY_SOURCE" },
|
||||
{ (cOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_CID& 0x00000FFF), cOCTVC1_PRIVATE_ID_STRING },
|
||||
{ (cOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STOP_SYNCHRO_CID& 0x00000FFF), cOCTVC1_PRIVATE_ID_STRING },
|
||||
{ 0, NULL },
|
||||
};
|
||||
const value_string vals_OCTVC1_HW_CID_PRIV[] =
|
||||
{
|
||||
{ (cOCTVC1_HW_MSG_ETH_PORT_RESTRICTED_UNBLOCK_CID& 0x00000FFF), "ETH_PORT_RESTRICTED_UNBLOCK:" \
|
||||
cOCTVC1_PRIVATE_VISIBILITY_USER \
|
||||
","},
|
||||
{ (cOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_CID& 0x00000FFF), "CLOCK_SYNC_MGR_START_SYNCHRO:" \
|
||||
cOCTVC1_PRIVATE_VISIBILITY_USER \
|
||||
","},
|
||||
{ (cOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STOP_SYNCHRO_CID& 0x00000FFF), "CLOCK_SYNC_MGR_STOP_SYNCHRO:" \
|
||||
cOCTVC1_PRIVATE_VISIBILITY_USER \
|
||||
","},
|
||||
{ 0, NULL },
|
||||
};
|
||||
const value_string vals_OCTVC1_IRSC_CID[] =
|
||||
{
|
||||
{ (cOCTVC1_IRSC_MSG_PROCESS_INFO_CID& 0x00000FFF), "PROCESS_INFO" },
|
||||
{ (cOCTVC1_IRSC_MSG_PROCESS_STATS_CID& 0x00000FFF), "PROCESS_STATS" },
|
||||
{ (cOCTVC1_IRSC_MSG_PROCESS_LIST_CID& 0x00000FFF), "PROCESS_LIST" },
|
||||
{ (cOCTVC1_IRSC_MSG_PROCESS_INFO_IPC_PORT_CID& 0x00000FFF), "PROCESS_INFO_IPC_PORT" },
|
||||
{ (cOCTVC1_IRSC_MSG_PROCESS_STATS_IPC_PORT_CID& 0x00000FFF), "PROCESS_STATS_IPC_PORT" },
|
||||
{ (cOCTVC1_IRSC_MSG_PROCESS_LIST_IPC_PORT_CID& 0x00000FFF), "PROCESS_LIST_IPC_PORT" },
|
||||
{ (cOCTVC1_IRSC_MSG_PROCESS_INFO_TASK_CID& 0x00000FFF), "PROCESS_INFO_TASK" },
|
||||
{ (cOCTVC1_IRSC_MSG_PROCESS_STATS_TASK_CID& 0x00000FFF), "PROCESS_STATS_TASK" },
|
||||
{ (cOCTVC1_IRSC_MSG_PROCESS_LIST_TASK_CID& 0x00000FFF), "PROCESS_LIST_TASK" },
|
||||
{ (cOCTVC1_IRSC_MSG_OBJMGR_INFO_CID& 0x00000FFF), "OBJMGR_INFO" },
|
||||
{ (cOCTVC1_IRSC_MSG_OBJMGR_STATS_CID& 0x00000FFF), "OBJMGR_STATS" },
|
||||
{ (cOCTVC1_IRSC_MSG_OBJMGR_LIST_CID& 0x00000FFF), "OBJMGR_LIST" },
|
||||
{ (cOCTVC1_IRSC_MSG_API_SYSTEM_START_MONITORING_CID& 0x00000FFF), "API_SYSTEM_START_MONITORING" },
|
||||
{ (cOCTVC1_IRSC_MSG_API_SYSTEM_STOP_MONITORING_CID& 0x00000FFF), "API_SYSTEM_STOP_MONITORING" },
|
||||
{ (cOCTVC1_IRSC_MSG_API_SYSTEM_LIST_COMMAND_CID& 0x00000FFF), "API_SYSTEM_LIST_COMMAND" },
|
||||
{ (cOCTVC1_IRSC_MSG_API_SYSTEM_STATS_COMMAND_CID& 0x00000FFF), "API_SYSTEM_STATS_COMMAND" },
|
||||
{ (cOCTVC1_IRSC_MSG_API_SYSTEM_LIST_SESSION_CID& 0x00000FFF), "API_SYSTEM_LIST_SESSION" },
|
||||
{ (cOCTVC1_IRSC_MSG_API_SYSTEM_INFO_SESSION_CID& 0x00000FFF), "API_SYSTEM_INFO_SESSION" },
|
||||
{ (cOCTVC1_IRSC_MSG_API_SYSTEM_STATS_SESSION_CID& 0x00000FFF), "API_SYSTEM_STATS_SESSION" },
|
||||
{ (cOCTVC1_IRSC_MSG_API_SYSTEM_INFO_SESSION_EVT_CID& 0x00000FFF), "API_SYSTEM_INFO_SESSION_EVT" },
|
||||
{ (cOCTVC1_IRSC_MSG_API_SYSTEM_STATS_SESSION_EVT_CID& 0x00000FFF), "API_SYSTEM_STATS_SESSION_EVT" },
|
||||
{ (cOCTVC1_IRSC_MSG_APPLICATION_LIST_TAP_CID& 0x00000FFF), "APPLICATION_LIST_TAP" },
|
||||
{ (cOCTVC1_IRSC_MSG_APPLICATION_INFO_TAP_CID& 0x00000FFF), "APPLICATION_INFO_TAP" },
|
||||
{ (cOCTVC1_IRSC_MSG_APPLICATION_STATS_TAP_CID& 0x00000FFF), "APPLICATION_STATS_TAP" },
|
||||
{ (cOCTVC1_IRSC_MSG_APPLICATION_START_TAP_CID& 0x00000FFF), "APPLICATION_START_TAP" },
|
||||
{ (cOCTVC1_IRSC_MSG_APPLICATION_STOP_TAP_CID& 0x00000FFF), "APPLICATION_STOP_TAP" },
|
||||
{ 0, NULL },
|
||||
};
|
||||
const value_string vals_OCTVC1_IRSC_CID_PRIV[] =
|
||||
{
|
||||
{ 0, NULL },
|
||||
};
|
||||
const value_string vals_OCTVC1_GSM_CID[] =
|
||||
{
|
||||
{ (cOCTVC1_GSM_MSG_TRX_OPEN_CID& 0x00000FFF), "TRX_OPEN" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_CLOSE_CID& 0x00000FFF), "TRX_CLOSE" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_STATUS_CID& 0x00000FFF), "TRX_STATUS" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_INFO_CID& 0x00000FFF), "TRX_INFO" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_RESET_CID& 0x00000FFF), "TRX_RESET" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_MODIFY_CID& 0x00000FFF), "TRX_MODIFY" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_LIST_CID& 0x00000FFF), "TRX_LIST" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_CLOSE_ALL_CID& 0x00000FFF), "TRX_CLOSE_ALL" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_START_RECORD_CID& 0x00000FFF), "TRX_START_RECORD" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_STOP_RECORD_CID& 0x00000FFF), "TRX_STOP_RECORD" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_INFO_RF_CID& 0x00000FFF), "TRX_INFO_RF" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_MODIFY_RF_CID& 0x00000FFF), "TRX_MODIFY_RF" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_ACTIVATE_LOGICAL_CHANNEL_CID& 0x00000FFF), "TRX_ACTIVATE_LOGICAL_CHANNEL" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_DEACTIVATE_LOGICAL_CHANNEL_CID& 0x00000FFF), "TRX_DEACTIVATE_LOGICAL_CHANNEL" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_STATUS_LOGICAL_CHANNEL_CID& 0x00000FFF), "TRX_STATUS_LOGICAL_CHANNEL" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_INFO_LOGICAL_CHANNEL_CID& 0x00000FFF), "TRX_INFO_LOGICAL_CHANNEL" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_LIST_LOGICAL_CHANNEL_CID& 0x00000FFF), "TRX_LIST_LOGICAL_CHANNEL" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_START_LOGICAL_CHANNEL_RAW_DATA_INDICATIONS_CID& 0x00000FFF), "TRX_START_LOGICAL_CHANNEL_RAW_DATA_INDICATIONS" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_STOP_LOGICAL_CHANNEL_RAW_DATA_INDICATIONS_CID& 0x00000FFF), "TRX_STOP_LOGICAL_CHANNEL_RAW_DATA_INDICATIONS" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_EMPTY_FRAME_CID& 0x00000FFF), "TRX_REQUEST_LOGICAL_CHANNEL_EMPTY_FRAME" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_DATA_CID& 0x00000FFF), "TRX_REQUEST_LOGICAL_CHANNEL_DATA" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_CMU_LOOPBACK_TEST_CID& 0x00000FFF), "TRX_REQUEST_LOGICAL_CHANNEL_CMU_LOOPBACK_TEST" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_ACTIVATE_PHYSICAL_CHANNEL_CID& 0x00000FFF), "TRX_ACTIVATE_PHYSICAL_CHANNEL" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_DEACTIVATE_PHYSICAL_CHANNEL_CID& 0x00000FFF), "TRX_DEACTIVATE_PHYSICAL_CHANNEL" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_STATUS_PHYSICAL_CHANNEL_CID& 0x00000FFF), "TRX_STATUS_PHYSICAL_CHANNEL" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_RESET_PHYSICAL_CHANNEL_CID& 0x00000FFF), "TRX_RESET_PHYSICAL_CHANNEL" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_LIST_PHYSICAL_CHANNEL_CID& 0x00000FFF), "TRX_LIST_PHYSICAL_CHANNEL" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_INFO_PHYSICAL_CHANNEL_CID& 0x00000FFF), "TRX_INFO_PHYSICAL_CHANNEL" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_MODIFY_PHYSICAL_CHANNEL_CIPHERING_CID& 0x00000FFF), "TRX_MODIFY_PHYSICAL_CHANNEL_CIPHERING" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_INFO_PHYSICAL_CHANNEL_CIPHERING_CID& 0x00000FFF), "TRX_INFO_PHYSICAL_CHANNEL_CIPHERING" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_INFO_PHYSICAL_CHANNEL_MEASUREMENT_CID& 0x00000FFF), "TRX_INFO_PHYSICAL_CHANNEL_MEASUREMENT" },
|
||||
{ (cOCTVC1_GSM_MSG_TAP_FILTER_LIST_CID& 0x00000FFF), "TAP_FILTER_LIST" },
|
||||
{ (cOCTVC1_GSM_MSG_TAP_FILTER_INFO_CID& 0x00000FFF), "TAP_FILTER_INFO" },
|
||||
{ (cOCTVC1_GSM_MSG_TAP_FILTER_STATS_CID& 0x00000FFF), "TAP_FILTER_STATS" },
|
||||
{ (cOCTVC1_GSM_MSG_TAP_FILTER_MODIFY_CID& 0x00000FFF), "TAP_FILTER_MODIFY" },
|
||||
{ 0, NULL },
|
||||
};
|
||||
const value_string vals_OCTVC1_GSM_CID_PRIV[] =
|
||||
{
|
||||
{ 0, NULL },
|
||||
};
|
||||
|
||||
/****************************************************************************
|
||||
EID arrays
|
||||
****************************************************************************/
|
||||
const value_string vals_OCTVC1_MAIN_EID[] =
|
||||
{
|
||||
{ (cOCTVC1_MAIN_MSG_PROCESS_CPU_USAGE_REPORT_EID& 0x0000FFFF), "PROCESS_CPU_USAGE_REPORT" },
|
||||
{ (cOCTVC1_MAIN_MSG_PROCESS_DUMP_EID& 0x0000FFFF), "PROCESS_DUMP" },
|
||||
{ (cOCTVC1_MAIN_MSG_API_SYSTEM_SESSION_HEARTBEAT_EID& 0x0000FFFF), "API_SYSTEM_SESSION_HEARTBEAT" },
|
||||
{ (cOCTVC1_MAIN_MSG_APPLICATION_STATE_CHANGE_EID& 0x0000FFFF), "APPLICATION_STATE_CHANGE" },
|
||||
{ 0, NULL },
|
||||
};
|
||||
|
||||
const value_string vals_OCTVC1_MAIN_EID_PRIV[] =
|
||||
{
|
||||
{ 0, NULL },
|
||||
};
|
||||
const value_string vals_OCTVC1_CTRL_EID[] =
|
||||
{
|
||||
{ 0, NULL },
|
||||
};
|
||||
|
||||
const value_string vals_OCTVC1_CTRL_EID_PRIV[] =
|
||||
{
|
||||
{ 0, NULL },
|
||||
};
|
||||
const value_string vals_OCTVC1_TEST_EID[] =
|
||||
{
|
||||
{ 0, NULL },
|
||||
};
|
||||
|
||||
const value_string vals_OCTVC1_TEST_EID_PRIV[] =
|
||||
{
|
||||
{ 0, NULL },
|
||||
};
|
||||
const value_string vals_OCTVC1_HW_EID[] =
|
||||
{
|
||||
{ (cOCTVC1_HW_MSG_CPU_CORE_EXEC_REPORT_EID& 0x0000FFFF), "CPU_CORE_EXEC_REPORT" },
|
||||
{ (cOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STATUS_CHANGE_EID& 0x0000FFFF), "CLOCK_SYNC_MGR_STATUS_CHANGE" },
|
||||
{ 0, NULL },
|
||||
};
|
||||
|
||||
const value_string vals_OCTVC1_HW_EID_PRIV[] =
|
||||
{
|
||||
{ 0, NULL },
|
||||
};
|
||||
const value_string vals_OCTVC1_IRSC_EID[] =
|
||||
{
|
||||
{ (cOCTVC1_IRSC_MSG_PROCESS_DUMP_EID& 0x0000FFFF), "PROCESS_DUMP" },
|
||||
{ 0, NULL },
|
||||
};
|
||||
|
||||
const value_string vals_OCTVC1_IRSC_EID_PRIV[] =
|
||||
{
|
||||
{ 0, NULL },
|
||||
};
|
||||
const value_string vals_OCTVC1_GSM_EID[] =
|
||||
{
|
||||
{ (cOCTVC1_GSM_MSG_TRX_LOGICAL_CHANNEL_DATA_INDICATION_EID& 0x0000FFFF), "TRX_LOGICAL_CHANNEL_DATA_INDICATION" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_LOGICAL_CHANNEL_READY_TO_SEND_INDICATION_EID& 0x0000FFFF), "TRX_LOGICAL_CHANNEL_READY_TO_SEND_INDICATION" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_LOGICAL_CHANNEL_RACH_INDICATION_EID& 0x0000FFFF), "TRX_LOGICAL_CHANNEL_RACH_INDICATION" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_LOGICAL_CHANNEL_RAW_DATA_INDICATION_EID& 0x0000FFFF), "TRX_LOGICAL_CHANNEL_RAW_DATA_INDICATION" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_TIME_INDICATION_EID& 0x0000FFFF), "TRX_TIME_INDICATION" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_STATUS_CHANGE_EID& 0x0000FFFF), "TRX_STATUS_CHANGE" },
|
||||
{ 0, NULL },
|
||||
};
|
||||
|
||||
const value_string vals_OCTVC1_GSM_EID_PRIV[] =
|
||||
{
|
||||
{ 0, NULL },
|
||||
};
|
||||
|
||||
/****************************************************************************
|
||||
SID arrays
|
||||
****************************************************************************/
|
||||
const value_string vals_OCTVC1_MAIN_SID[] =
|
||||
{
|
||||
{ 0, NULL },
|
||||
};
|
||||
|
||||
const value_string vals_OCTVC1_MAIN_SID_PRIV[] =
|
||||
{
|
||||
{ 0, NULL },
|
||||
};
|
||||
const value_string vals_OCTVC1_CTRL_SID[] =
|
||||
{
|
||||
{ (cOCTVC1_CTRL_MSG_MODULE_REJECT_SID& 0x00000FFF), "MODULE_REJECT" },
|
||||
{ 0, NULL },
|
||||
};
|
||||
|
||||
const value_string vals_OCTVC1_CTRL_SID_PRIV[] =
|
||||
{
|
||||
{ 0, NULL },
|
||||
};
|
||||
const value_string vals_OCTVC1_TEST_SID[] =
|
||||
{
|
||||
{ 0, NULL },
|
||||
};
|
||||
|
||||
const value_string vals_OCTVC1_TEST_SID_PRIV[] =
|
||||
{
|
||||
{ 0, NULL },
|
||||
};
|
||||
const value_string vals_OCTVC1_HW_SID[] =
|
||||
{
|
||||
{ 0, NULL },
|
||||
};
|
||||
|
||||
const value_string vals_OCTVC1_HW_SID_PRIV[] =
|
||||
{
|
||||
{ 0, NULL },
|
||||
};
|
||||
const value_string vals_OCTVC1_IRSC_SID[] =
|
||||
{
|
||||
{ 0, NULL },
|
||||
};
|
||||
|
||||
const value_string vals_OCTVC1_IRSC_SID_PRIV[] =
|
||||
{
|
||||
{ 0, NULL },
|
||||
};
|
||||
const value_string vals_OCTVC1_GSM_SID[] =
|
||||
{
|
||||
{ 0, NULL },
|
||||
};
|
||||
|
||||
const value_string vals_OCTVC1_GSM_SID_PRIV[] =
|
||||
{
|
||||
{ 0, NULL },
|
||||
};
|
||||
|
||||
/****************************************************************************
|
||||
typedef struct tModuleColInfo
|
||||
****************************************************************************/
|
||||
extern void ws_register_OCTVC1_MAIN(void);
|
||||
extern int ws_dissect_OCTVC1_MAIN( guint8 message_type, guint32 CID, tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree );
|
||||
extern void ws_register_OCTVC1_CTRL(void);
|
||||
extern int ws_dissect_OCTVC1_CTRL( guint8 message_type, guint32 CID, tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree );
|
||||
extern void ws_register_OCTVC1_TEST(void);
|
||||
extern int ws_dissect_OCTVC1_TEST( guint8 message_type, guint32 CID, tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree );
|
||||
extern void ws_register_OCTVC1_HW(void);
|
||||
extern int ws_dissect_OCTVC1_HW( guint8 message_type, guint32 CID, tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree );
|
||||
extern void ws_register_OCTVC1_IRSC(void);
|
||||
extern int ws_dissect_OCTVC1_IRSC( guint8 message_type, guint32 CID, tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree );
|
||||
extern void ws_register_OCTVC1_GSM(void);
|
||||
extern int ws_dissect_OCTVC1_GSM( guint8 message_type, guint32 CID, tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree );
|
||||
;
|
||||
tModuleColInfo aOCTVC1ModuleColInfo[] =
|
||||
{
|
||||
{ "MAIN", vals_OCTVC1_MAIN_CID,vals_OCTVC1_MAIN_EID,vals_OCTVC1_MAIN_SID, ws_register_OCTVC1_MAIN, ws_dissect_OCTVC1_MAIN,vals_OCTVC1_MAIN_CID_PRIV,vals_OCTVC1_MAIN_EID_PRIV },
|
||||
{ "CTRL", vals_OCTVC1_CTRL_CID,vals_OCTVC1_CTRL_EID,vals_OCTVC1_CTRL_SID, ws_register_OCTVC1_CTRL, ws_dissect_OCTVC1_CTRL,vals_OCTVC1_CTRL_CID_PRIV,vals_OCTVC1_CTRL_EID_PRIV },
|
||||
{ "TEST", vals_OCTVC1_TEST_CID,vals_OCTVC1_TEST_EID,vals_OCTVC1_TEST_SID, ws_register_OCTVC1_TEST, ws_dissect_OCTVC1_TEST,vals_OCTVC1_TEST_CID_PRIV,vals_OCTVC1_TEST_EID_PRIV },
|
||||
{ "HW", vals_OCTVC1_HW_CID,vals_OCTVC1_HW_EID,vals_OCTVC1_HW_SID, ws_register_OCTVC1_HW, ws_dissect_OCTVC1_HW,vals_OCTVC1_HW_CID_PRIV,vals_OCTVC1_HW_EID_PRIV },
|
||||
{ "IRSC", vals_OCTVC1_IRSC_CID,vals_OCTVC1_IRSC_EID,vals_OCTVC1_IRSC_SID, ws_register_OCTVC1_IRSC, ws_dissect_OCTVC1_IRSC,vals_OCTVC1_IRSC_CID_PRIV,vals_OCTVC1_IRSC_EID_PRIV },
|
||||
{ "GSM", vals_OCTVC1_GSM_CID,vals_OCTVC1_GSM_EID,vals_OCTVC1_GSM_SID, ws_register_OCTVC1_GSM, ws_dissect_OCTVC1_GSM,vals_OCTVC1_GSM_CID_PRIV,vals_OCTVC1_GSM_EID_PRIV },
|
||||
|
||||
};
|
||||
|
||||
|
||||
/*************************************************************************
|
||||
Registered dissector module
|
||||
**************************************************************************/
|
||||
void ws_register_dissector_module(void)
|
||||
{
|
||||
/* Register all modules */
|
||||
unsigned int i;
|
||||
for( i=0; i<mWS_COUNTOF(aOCTVC1ModuleColInfo); i++ )
|
||||
aOCTVC1ModuleColInfo[i].Register_fnc();
|
||||
|
||||
ws_register_OCTVC1_common();
|
||||
}
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
|
||||
#include <config.h>
|
||||
#include <epan/packet.h>
|
||||
#include "../../../include/oct_ws_macro.h"
|
||||
#include "../include/module.h"
|
||||
#include "../include/octvc1_common.h"
|
||||
|
||||
#include <main/octvc1_main_evt_priv.h>
|
||||
#include <ctrl/octvc1_ctrl_api_priv.h>
|
||||
#include <test/octvc1_test_api_priv.h>
|
||||
#include <hw/octvc1_hw_evt_priv.h>
|
||||
#include <irsc/octvc1_irsc_evt_priv.h>
|
||||
#include <gsm/octvc1_gsm_evt_priv.h>
|
||||
|
||||
|
||||
/****************************************************************************
|
||||
Module unique entry
|
||||
****************************************************************************/
|
||||
const value_string vals_OCTVC1_module_UID[] =
|
||||
{
|
||||
{ (cOCTVC1_MAIN_UID), "MAIN" },
|
||||
{ (cOCTVC1_CTRL_UID), "CTRL" },
|
||||
{ (cOCTVC1_TEST_UID), "TEST" },
|
||||
{ (cOCTVC1_HW_UID), "HW" },
|
||||
{ (cOCTVC1_IRSC_UID), "IRSC" },
|
||||
{ (cOCTVC1_GSM_UID), "GSM" },
|
||||
{ 0, NULL },
|
||||
};
|
||||
|
||||
/****************************************************************************
|
||||
CID arrays
|
||||
****************************************************************************/
|
||||
const value_string vals_OCTVC1_MAIN_CID[] =
|
||||
{
|
||||
{ (cOCTVC1_MAIN_MSG_TARGET_INFO_CID& 0x00000FFF), "TARGET_INFO" },
|
||||
{ (cOCTVC1_MAIN_MSG_TARGET_RESET_CID& 0x00000FFF), "TARGET_RESET" },
|
||||
{ (cOCTVC1_MAIN_MSG_FILE_OPEN_CID& 0x00000FFF), "FILE_OPEN" },
|
||||
{ (cOCTVC1_MAIN_MSG_FILE_CLOSE_CID& 0x00000FFF), "FILE_CLOSE" },
|
||||
{ (cOCTVC1_MAIN_MSG_FILE_WRITE_CID& 0x00000FFF), "FILE_WRITE" },
|
||||
{ (cOCTVC1_MAIN_MSG_FILE_READ_CID& 0x00000FFF), "FILE_READ" },
|
||||
{ (cOCTVC1_MAIN_MSG_FILE_INFO_CID& 0x00000FFF), "FILE_INFO" },
|
||||
{ (cOCTVC1_MAIN_MSG_FILE_LIST_CID& 0x00000FFF), "FILE_LIST" },
|
||||
{ (cOCTVC1_MAIN_MSG_FILE_SYSTEM_INFO_CID& 0x00000FFF), "FILE_SYSTEM_INFO" },
|
||||
{ (cOCTVC1_MAIN_MSG_FILE_SYSTEM_INFO_FILE_CID& 0x00000FFF), "FILE_SYSTEM_INFO_FILE" },
|
||||
{ (cOCTVC1_MAIN_MSG_FILE_SYSTEM_ADD_FILE_CID& 0x00000FFF), "FILE_SYSTEM_ADD_FILE" },
|
||||
{ (cOCTVC1_MAIN_MSG_FILE_SYSTEM_DELETE_FILE_CID& 0x00000FFF), "FILE_SYSTEM_DELETE_FILE" },
|
||||
{ (cOCTVC1_MAIN_MSG_LOG_ERASE_CID& 0x00000FFF), "LOG_ERASE" },
|
||||
{ (cOCTVC1_MAIN_MSG_LOG_INFO_CID& 0x00000FFF), "LOG_INFO" },
|
||||
{ (cOCTVC1_MAIN_MSG_LOG_STATS_CID& 0x00000FFF), "LOG_STATS" },
|
||||
{ (cOCTVC1_MAIN_MSG_LOG_INFO_TRACE_CID& 0x00000FFF), "LOG_INFO_TRACE" },
|
||||
{ (cOCTVC1_MAIN_MSG_LOG_START_TRACE_CID& 0x00000FFF), "LOG_START_TRACE" },
|
||||
{ (cOCTVC1_MAIN_MSG_LOG_STOP_TRACE_CID& 0x00000FFF), "LOG_STOP_TRACE" },
|
||||
{ (cOCTVC1_MAIN_MSG_LOG_ERASE_TRACE_CID& 0x00000FFF), "LOG_ERASE_TRACE" },
|
||||
{ (cOCTVC1_MAIN_MSG_LOG_STATS_TRACE_CID& 0x00000FFF), "LOG_STATS_TRACE" },
|
||||
{ (cOCTVC1_MAIN_MSG_PROCESS_INFO_CID& 0x00000FFF), "PROCESS_INFO" },
|
||||
{ (cOCTVC1_MAIN_MSG_PROCESS_LIST_CID& 0x00000FFF), "PROCESS_LIST" },
|
||||
{ (cOCTVC1_MAIN_MSG_PROCESS_MONITOR_CPU_USAGE_CID& 0x00000FFF), "PROCESS_MONITOR_CPU_USAGE" },
|
||||
{ (cOCTVC1_MAIN_MSG_PROCESS_INFO_CPU_USAGE_CID& 0x00000FFF), "PROCESS_INFO_CPU_USAGE" },
|
||||
{ (cOCTVC1_MAIN_MSG_PROCESS_STATS_CPU_USAGE_CID& 0x00000FFF), "PROCESS_STATS_CPU_USAGE" },
|
||||
{ (cOCTVC1_MAIN_MSG_API_SYSTEM_LIST_SESSION_CID& 0x00000FFF), "API_SYSTEM_LIST_SESSION" },
|
||||
{ (cOCTVC1_MAIN_MSG_API_SYSTEM_INFO_SESSION_CID& 0x00000FFF), "API_SYSTEM_INFO_SESSION" },
|
||||
{ (cOCTVC1_MAIN_MSG_API_SYSTEM_INFO_SESSION_EVT_CID& 0x00000FFF), "API_SYSTEM_INFO_SESSION_EVT" },
|
||||
{ (cOCTVC1_MAIN_MSG_API_SYSTEM_MODIFY_SESSION_EVT_CID& 0x00000FFF), "API_SYSTEM_MODIFY_SESSION_EVT" },
|
||||
{ (cOCTVC1_MAIN_MSG_API_SYSTEM_INFO_SESSION_HEARTBEAT_CID& 0x00000FFF), "API_SYSTEM_INFO_SESSION_HEARTBEAT" },
|
||||
{ (cOCTVC1_MAIN_MSG_API_SYSTEM_STATS_SESSION_HEARTBEAT_CID& 0x00000FFF), "API_SYSTEM_STATS_SESSION_HEARTBEAT" },
|
||||
{ (cOCTVC1_MAIN_MSG_API_SYSTEM_START_SESSION_HEARTBEAT_CID& 0x00000FFF), "API_SYSTEM_START_SESSION_HEARTBEAT" },
|
||||
{ (cOCTVC1_MAIN_MSG_API_SYSTEM_STOP_SESSION_HEARTBEAT_CID& 0x00000FFF), "API_SYSTEM_STOP_SESSION_HEARTBEAT" },
|
||||
{ (cOCTVC1_MAIN_MSG_API_SYSTEM_MODIFY_SESSION_HEARTBEAT_CID& 0x00000FFF), "API_SYSTEM_MODIFY_SESSION_HEARTBEAT" },
|
||||
{ (cOCTVC1_MAIN_MSG_APPLICATION_START_CID& 0x00000FFF), "APPLICATION_START" },
|
||||
{ (cOCTVC1_MAIN_MSG_APPLICATION_STOP_CID& 0x00000FFF), "APPLICATION_STOP" },
|
||||
{ (cOCTVC1_MAIN_MSG_APPLICATION_INFO_CID& 0x00000FFF), "APPLICATION_INFO" },
|
||||
{ (cOCTVC1_MAIN_MSG_APPLICATION_INFO_SYSTEM_CID& 0x00000FFF), "APPLICATION_INFO_SYSTEM" },
|
||||
{ (cOCTVC1_MAIN_MSG_APPLICATION_LIST_MODULE_CID& 0x00000FFF), "APPLICATION_LIST_MODULE" },
|
||||
{ (cOCTVC1_MAIN_MSG_APPLICATION_INFO_MODULE_CID& 0x00000FFF), "APPLICATION_INFO_MODULE" },
|
||||
{ (cOCTVC1_MAIN_MSG_APPLICATION_STATS_MODULE_CID& 0x00000FFF), "APPLICATION_STATS_MODULE" },
|
||||
{ 0, NULL },
|
||||
};
|
||||
const value_string vals_OCTVC1_MAIN_CID_PRIV[] =
|
||||
{
|
||||
{ 0, NULL },
|
||||
};
|
||||
const value_string vals_OCTVC1_CTRL_CID[] =
|
||||
{
|
||||
{ 0, NULL },
|
||||
};
|
||||
const value_string vals_OCTVC1_CTRL_CID_PRIV[] =
|
||||
{
|
||||
{ 0, NULL },
|
||||
};
|
||||
const value_string vals_OCTVC1_TEST_CID[] =
|
||||
{
|
||||
{ (cOCTVC1_TEST_MSG_DESCR_LIST_CID& 0x00000FFF), cOCTVC1_PRIVATE_ID_STRING },
|
||||
{ (cOCTVC1_TEST_MSG_DESCR_INFO_CID& 0x00000FFF), cOCTVC1_PRIVATE_ID_STRING },
|
||||
{ (cOCTVC1_TEST_MSG_DESCR_INFO_BY_NAME_CID& 0x00000FFF), cOCTVC1_PRIVATE_ID_STRING },
|
||||
{ (cOCTVC1_TEST_MSG_DESCR_STATS_CID& 0x00000FFF), cOCTVC1_PRIVATE_ID_STRING },
|
||||
{ (cOCTVC1_TEST_MSG_RUNNER_SERVER_INFO_CID& 0x00000FFF), cOCTVC1_PRIVATE_ID_STRING },
|
||||
{ (cOCTVC1_TEST_MSG_RUNNER_SERVER_STATS_CID& 0x00000FFF), cOCTVC1_PRIVATE_ID_STRING },
|
||||
{ (cOCTVC1_TEST_MSG_RUNNER_SERVER_START_CID& 0x00000FFF), cOCTVC1_PRIVATE_ID_STRING },
|
||||
{ (cOCTVC1_TEST_MSG_RUNNER_SERVER_STOP_CID& 0x00000FFF), cOCTVC1_PRIVATE_ID_STRING },
|
||||
{ (cOCTVC1_TEST_MSG_RUNNER_SERVER_ADD_TEST_CID& 0x00000FFF), cOCTVC1_PRIVATE_ID_STRING },
|
||||
{ (cOCTVC1_TEST_MSG_RUNNER_SERVER_REMOVE_TEST_CID& 0x00000FFF), cOCTVC1_PRIVATE_ID_STRING },
|
||||
{ (cOCTVC1_TEST_MSG_RUNNER_SERVER_LIST_TEST_CID& 0x00000FFF), cOCTVC1_PRIVATE_ID_STRING },
|
||||
{ (cOCTVC1_TEST_MSG_RUNNER_SERVER_INFO_TEST_CID& 0x00000FFF), cOCTVC1_PRIVATE_ID_STRING },
|
||||
{ (cOCTVC1_TEST_MSG_RUNNER_SERVER_STATS_TEST_CID& 0x00000FFF), cOCTVC1_PRIVATE_ID_STRING },
|
||||
{ (cOCTVC1_TEST_MSG_RUNNER_SERVER_START_TEST_CID& 0x00000FFF), cOCTVC1_PRIVATE_ID_STRING },
|
||||
{ (cOCTVC1_TEST_MSG_RUNNER_SERVER_STOP_TEST_CID& 0x00000FFF), cOCTVC1_PRIVATE_ID_STRING },
|
||||
{ 0, NULL },
|
||||
};
|
||||
const value_string vals_OCTVC1_TEST_CID_PRIV[] =
|
||||
{
|
||||
{ (cOCTVC1_TEST_MSG_DESCR_LIST_CID& 0x00000FFF), "DESCR_LIST:" \
|
||||
cOCTVC1_PRIVATE_VISIBILITY_USER \
|
||||
","},
|
||||
{ (cOCTVC1_TEST_MSG_DESCR_INFO_CID& 0x00000FFF), "DESCR_INFO:" \
|
||||
cOCTVC1_PRIVATE_VISIBILITY_USER \
|
||||
","},
|
||||
{ (cOCTVC1_TEST_MSG_DESCR_INFO_BY_NAME_CID& 0x00000FFF), "DESCR_INFO_BY_NAME:" \
|
||||
cOCTVC1_PRIVATE_VISIBILITY_USER \
|
||||
","},
|
||||
{ (cOCTVC1_TEST_MSG_DESCR_STATS_CID& 0x00000FFF), "DESCR_STATS:" \
|
||||
cOCTVC1_PRIVATE_VISIBILITY_USER \
|
||||
","},
|
||||
{ (cOCTVC1_TEST_MSG_RUNNER_SERVER_INFO_CID& 0x00000FFF), "RUNNER_SERVER_INFO:" \
|
||||
cOCTVC1_PRIVATE_VISIBILITY_USER \
|
||||
","},
|
||||
{ (cOCTVC1_TEST_MSG_RUNNER_SERVER_STATS_CID& 0x00000FFF), "RUNNER_SERVER_STATS:" \
|
||||
cOCTVC1_PRIVATE_VISIBILITY_USER \
|
||||
","},
|
||||
{ (cOCTVC1_TEST_MSG_RUNNER_SERVER_START_CID& 0x00000FFF), "RUNNER_SERVER_START:" \
|
||||
cOCTVC1_PRIVATE_VISIBILITY_USER \
|
||||
","},
|
||||
{ (cOCTVC1_TEST_MSG_RUNNER_SERVER_STOP_CID& 0x00000FFF), "RUNNER_SERVER_STOP:" \
|
||||
cOCTVC1_PRIVATE_VISIBILITY_USER \
|
||||
","},
|
||||
{ (cOCTVC1_TEST_MSG_RUNNER_SERVER_ADD_TEST_CID& 0x00000FFF), "RUNNER_SERVER_ADD_TEST:" \
|
||||
cOCTVC1_PRIVATE_VISIBILITY_USER \
|
||||
","},
|
||||
{ (cOCTVC1_TEST_MSG_RUNNER_SERVER_REMOVE_TEST_CID& 0x00000FFF), "RUNNER_SERVER_REMOVE_TEST:" \
|
||||
cOCTVC1_PRIVATE_VISIBILITY_USER \
|
||||
","},
|
||||
{ (cOCTVC1_TEST_MSG_RUNNER_SERVER_LIST_TEST_CID& 0x00000FFF), "RUNNER_SERVER_LIST_TEST:" \
|
||||
cOCTVC1_PRIVATE_VISIBILITY_USER \
|
||||
","},
|
||||
{ (cOCTVC1_TEST_MSG_RUNNER_SERVER_INFO_TEST_CID& 0x00000FFF), "RUNNER_SERVER_INFO_TEST:" \
|
||||
cOCTVC1_PRIVATE_VISIBILITY_USER \
|
||||
","},
|
||||
{ (cOCTVC1_TEST_MSG_RUNNER_SERVER_STATS_TEST_CID& 0x00000FFF), "RUNNER_SERVER_STATS_TEST:" \
|
||||
cOCTVC1_PRIVATE_VISIBILITY_USER \
|
||||
","},
|
||||
{ (cOCTVC1_TEST_MSG_RUNNER_SERVER_START_TEST_CID& 0x00000FFF), "RUNNER_SERVER_START_TEST:" \
|
||||
cOCTVC1_PRIVATE_VISIBILITY_USER \
|
||||
","},
|
||||
{ (cOCTVC1_TEST_MSG_RUNNER_SERVER_STOP_TEST_CID& 0x00000FFF), "RUNNER_SERVER_STOP_TEST:" \
|
||||
cOCTVC1_PRIVATE_VISIBILITY_USER \
|
||||
","},
|
||||
{ 0, NULL },
|
||||
};
|
||||
const value_string vals_OCTVC1_HW_CID[] =
|
||||
{
|
||||
{ (cOCTVC1_HW_MSG_PCB_INFO_CID& 0x00000FFF), "PCB_INFO" },
|
||||
{ (cOCTVC1_HW_MSG_CPU_CORE_STATS_CID& 0x00000FFF), "CPU_CORE_STATS" },
|
||||
{ (cOCTVC1_HW_MSG_CPU_CORE_INFO_CID& 0x00000FFF), "CPU_CORE_INFO" },
|
||||
{ (cOCTVC1_HW_MSG_CPU_CORE_LIST_CID& 0x00000FFF), "CPU_CORE_LIST" },
|
||||
{ (cOCTVC1_HW_MSG_ETH_PORT_INFO_CID& 0x00000FFF), "ETH_PORT_INFO" },
|
||||
{ (cOCTVC1_HW_MSG_ETH_PORT_LIST_CID& 0x00000FFF), "ETH_PORT_LIST" },
|
||||
{ (cOCTVC1_HW_MSG_ETH_PORT_STATS_CID& 0x00000FFF), "ETH_PORT_STATS" },
|
||||
{ (cOCTVC1_HW_MSG_ETH_PORT_RESTRICTED_UNBLOCK_CID& 0x00000FFF), cOCTVC1_PRIVATE_ID_STRING },
|
||||
{ (cOCTVC1_HW_MSG_ETH_PORT_MODIFY_CID& 0x00000FFF), "ETH_PORT_MODIFY" },
|
||||
{ (cOCTVC1_HW_MSG_RF_PORT_INFO_CID& 0x00000FFF), "RF_PORT_INFO" },
|
||||
{ (cOCTVC1_HW_MSG_RF_PORT_STATS_CID& 0x00000FFF), "RF_PORT_STATS" },
|
||||
{ (cOCTVC1_HW_MSG_RF_PORT_LIST_CID& 0x00000FFF), "RF_PORT_LIST" },
|
||||
{ (cOCTVC1_HW_MSG_RF_PORT_LIST_ANTENNA_CID& 0x00000FFF), "RF_PORT_LIST_ANTENNA" },
|
||||
{ (cOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_RX_CONFIG_CID& 0x00000FFF), "RF_PORT_INFO_ANTENNA_RX_CONFIG" },
|
||||
{ (cOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CONFIG_CID& 0x00000FFF), "RF_PORT_INFO_ANTENNA_TX_CONFIG" },
|
||||
{ (cOCTVC1_HW_MSG_CLOCK_SYNC_MGR_INFO_CID& 0x00000FFF), "CLOCK_SYNC_MGR_INFO" },
|
||||
{ (cOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STATS_CID& 0x00000FFF), "CLOCK_SYNC_MGR_STATS" },
|
||||
{ (cOCTVC1_HW_MSG_CLOCK_SYNC_MGR_INFO_SOURCE_CID& 0x00000FFF), "CLOCK_SYNC_MGR_INFO_SOURCE" },
|
||||
{ (cOCTVC1_HW_MSG_CLOCK_SYNC_MGR_MODIFY_SOURCE_CID& 0x00000FFF), "CLOCK_SYNC_MGR_MODIFY_SOURCE" },
|
||||
{ (cOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_CID& 0x00000FFF), cOCTVC1_PRIVATE_ID_STRING },
|
||||
{ (cOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STOP_SYNCHRO_CID& 0x00000FFF), cOCTVC1_PRIVATE_ID_STRING },
|
||||
{ 0, NULL },
|
||||
};
|
||||
const value_string vals_OCTVC1_HW_CID_PRIV[] =
|
||||
{
|
||||
{ (cOCTVC1_HW_MSG_ETH_PORT_RESTRICTED_UNBLOCK_CID& 0x00000FFF), "ETH_PORT_RESTRICTED_UNBLOCK:" \
|
||||
cOCTVC1_PRIVATE_VISIBILITY_USER \
|
||||
","},
|
||||
{ (cOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_CID& 0x00000FFF), "CLOCK_SYNC_MGR_START_SYNCHRO:" \
|
||||
cOCTVC1_PRIVATE_VISIBILITY_USER \
|
||||
","},
|
||||
{ (cOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STOP_SYNCHRO_CID& 0x00000FFF), "CLOCK_SYNC_MGR_STOP_SYNCHRO:" \
|
||||
cOCTVC1_PRIVATE_VISIBILITY_USER \
|
||||
","},
|
||||
{ 0, NULL },
|
||||
};
|
||||
const value_string vals_OCTVC1_IRSC_CID[] =
|
||||
{
|
||||
{ (cOCTVC1_IRSC_MSG_PROCESS_INFO_CID& 0x00000FFF), "PROCESS_INFO" },
|
||||
{ (cOCTVC1_IRSC_MSG_PROCESS_STATS_CID& 0x00000FFF), "PROCESS_STATS" },
|
||||
{ (cOCTVC1_IRSC_MSG_PROCESS_LIST_CID& 0x00000FFF), "PROCESS_LIST" },
|
||||
{ (cOCTVC1_IRSC_MSG_PROCESS_INFO_IPC_PORT_CID& 0x00000FFF), "PROCESS_INFO_IPC_PORT" },
|
||||
{ (cOCTVC1_IRSC_MSG_PROCESS_STATS_IPC_PORT_CID& 0x00000FFF), "PROCESS_STATS_IPC_PORT" },
|
||||
{ (cOCTVC1_IRSC_MSG_PROCESS_LIST_IPC_PORT_CID& 0x00000FFF), "PROCESS_LIST_IPC_PORT" },
|
||||
{ (cOCTVC1_IRSC_MSG_PROCESS_INFO_TASK_CID& 0x00000FFF), "PROCESS_INFO_TASK" },
|
||||
{ (cOCTVC1_IRSC_MSG_PROCESS_STATS_TASK_CID& 0x00000FFF), "PROCESS_STATS_TASK" },
|
||||
{ (cOCTVC1_IRSC_MSG_PROCESS_LIST_TASK_CID& 0x00000FFF), "PROCESS_LIST_TASK" },
|
||||
{ (cOCTVC1_IRSC_MSG_OBJMGR_INFO_CID& 0x00000FFF), "OBJMGR_INFO" },
|
||||
{ (cOCTVC1_IRSC_MSG_OBJMGR_STATS_CID& 0x00000FFF), "OBJMGR_STATS" },
|
||||
{ (cOCTVC1_IRSC_MSG_OBJMGR_LIST_CID& 0x00000FFF), "OBJMGR_LIST" },
|
||||
{ (cOCTVC1_IRSC_MSG_API_SYSTEM_START_MONITORING_CID& 0x00000FFF), "API_SYSTEM_START_MONITORING" },
|
||||
{ (cOCTVC1_IRSC_MSG_API_SYSTEM_STOP_MONITORING_CID& 0x00000FFF), "API_SYSTEM_STOP_MONITORING" },
|
||||
{ (cOCTVC1_IRSC_MSG_API_SYSTEM_LIST_COMMAND_CID& 0x00000FFF), "API_SYSTEM_LIST_COMMAND" },
|
||||
{ (cOCTVC1_IRSC_MSG_API_SYSTEM_STATS_COMMAND_CID& 0x00000FFF), "API_SYSTEM_STATS_COMMAND" },
|
||||
{ (cOCTVC1_IRSC_MSG_API_SYSTEM_LIST_SESSION_CID& 0x00000FFF), "API_SYSTEM_LIST_SESSION" },
|
||||
{ (cOCTVC1_IRSC_MSG_API_SYSTEM_INFO_SESSION_CID& 0x00000FFF), "API_SYSTEM_INFO_SESSION" },
|
||||
{ (cOCTVC1_IRSC_MSG_API_SYSTEM_STATS_SESSION_CID& 0x00000FFF), "API_SYSTEM_STATS_SESSION" },
|
||||
{ (cOCTVC1_IRSC_MSG_API_SYSTEM_INFO_SESSION_EVT_CID& 0x00000FFF), "API_SYSTEM_INFO_SESSION_EVT" },
|
||||
{ (cOCTVC1_IRSC_MSG_API_SYSTEM_STATS_SESSION_EVT_CID& 0x00000FFF), "API_SYSTEM_STATS_SESSION_EVT" },
|
||||
{ (cOCTVC1_IRSC_MSG_APPLICATION_LIST_TAP_CID& 0x00000FFF), "APPLICATION_LIST_TAP" },
|
||||
{ (cOCTVC1_IRSC_MSG_APPLICATION_INFO_TAP_CID& 0x00000FFF), "APPLICATION_INFO_TAP" },
|
||||
{ (cOCTVC1_IRSC_MSG_APPLICATION_STATS_TAP_CID& 0x00000FFF), "APPLICATION_STATS_TAP" },
|
||||
{ (cOCTVC1_IRSC_MSG_APPLICATION_START_TAP_CID& 0x00000FFF), "APPLICATION_START_TAP" },
|
||||
{ (cOCTVC1_IRSC_MSG_APPLICATION_STOP_TAP_CID& 0x00000FFF), "APPLICATION_STOP_TAP" },
|
||||
{ 0, NULL },
|
||||
};
|
||||
const value_string vals_OCTVC1_IRSC_CID_PRIV[] =
|
||||
{
|
||||
{ 0, NULL },
|
||||
};
|
||||
const value_string vals_OCTVC1_GSM_CID[] =
|
||||
{
|
||||
{ (cOCTVC1_GSM_MSG_TRX_OPEN_CID& 0x00000FFF), "TRX_OPEN" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_CLOSE_CID& 0x00000FFF), "TRX_CLOSE" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_STATUS_CID& 0x00000FFF), "TRX_STATUS" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_INFO_CID& 0x00000FFF), "TRX_INFO" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_RESET_CID& 0x00000FFF), "TRX_RESET" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_MODIFY_CID& 0x00000FFF), "TRX_MODIFY" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_LIST_CID& 0x00000FFF), "TRX_LIST" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_CLOSE_ALL_CID& 0x00000FFF), "TRX_CLOSE_ALL" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_START_RECORD_CID& 0x00000FFF), "TRX_START_RECORD" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_STOP_RECORD_CID& 0x00000FFF), "TRX_STOP_RECORD" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_INFO_RF_CID& 0x00000FFF), "TRX_INFO_RF" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_MODIFY_RF_CID& 0x00000FFF), "TRX_MODIFY_RF" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_CID& 0x00000FFF), "TRX_REQUEST_STUBB_LOOPBACK_TEST" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_START_STUBB_LOOPBACK_TEST_CID& 0x00000FFF), "TRX_START_STUBB_LOOPBACK_TEST" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_STOP_STUBB_LOOPBACK_TEST_CID& 0x00000FFF), "TRX_STOP_STUBB_LOOPBACK_TEST" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_ACTIVATE_LOGICAL_CHANNEL_CID& 0x00000FFF), "TRX_ACTIVATE_LOGICAL_CHANNEL" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_DEACTIVATE_LOGICAL_CHANNEL_CID& 0x00000FFF), "TRX_DEACTIVATE_LOGICAL_CHANNEL" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_STATUS_LOGICAL_CHANNEL_CID& 0x00000FFF), "TRX_STATUS_LOGICAL_CHANNEL" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_INFO_LOGICAL_CHANNEL_CID& 0x00000FFF), "TRX_INFO_LOGICAL_CHANNEL" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_LIST_LOGICAL_CHANNEL_CID& 0x00000FFF), "TRX_LIST_LOGICAL_CHANNEL" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_START_LOGICAL_CHANNEL_RAW_DATA_INDICATIONS_CID& 0x00000FFF), "TRX_START_LOGICAL_CHANNEL_RAW_DATA_INDICATIONS" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_STOP_LOGICAL_CHANNEL_RAW_DATA_INDICATIONS_CID& 0x00000FFF), "TRX_STOP_LOGICAL_CHANNEL_RAW_DATA_INDICATIONS" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_EMPTY_FRAME_CID& 0x00000FFF), "TRX_REQUEST_LOGICAL_CHANNEL_EMPTY_FRAME" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_DATA_CID& 0x00000FFF), "TRX_REQUEST_LOGICAL_CHANNEL_DATA" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_CMU_LOOPBACK_TEST_CID& 0x00000FFF), "TRX_REQUEST_LOGICAL_CHANNEL_CMU_LOOPBACK_TEST" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_ACTIVATE_PHYSICAL_CHANNEL_CID& 0x00000FFF), "TRX_ACTIVATE_PHYSICAL_CHANNEL" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_DEACTIVATE_PHYSICAL_CHANNEL_CID& 0x00000FFF), "TRX_DEACTIVATE_PHYSICAL_CHANNEL" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_STATUS_PHYSICAL_CHANNEL_CID& 0x00000FFF), "TRX_STATUS_PHYSICAL_CHANNEL" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_RESET_PHYSICAL_CHANNEL_CID& 0x00000FFF), "TRX_RESET_PHYSICAL_CHANNEL" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_LIST_PHYSICAL_CHANNEL_CID& 0x00000FFF), "TRX_LIST_PHYSICAL_CHANNEL" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_INFO_PHYSICAL_CHANNEL_CID& 0x00000FFF), "TRX_INFO_PHYSICAL_CHANNEL" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_MODIFY_PHYSICAL_CHANNEL_CIPHERING_CID& 0x00000FFF), "TRX_MODIFY_PHYSICAL_CHANNEL_CIPHERING" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_INFO_PHYSICAL_CHANNEL_CIPHERING_CID& 0x00000FFF), "TRX_INFO_PHYSICAL_CHANNEL_CIPHERING" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_INFO_PHYSICAL_CHANNEL_MEASUREMENT_CID& 0x00000FFF), "TRX_INFO_PHYSICAL_CHANNEL_MEASUREMENT" },
|
||||
{ (cOCTVC1_GSM_MSG_TAP_FILTER_LIST_CID& 0x00000FFF), "TAP_FILTER_LIST" },
|
||||
{ (cOCTVC1_GSM_MSG_TAP_FILTER_INFO_CID& 0x00000FFF), "TAP_FILTER_INFO" },
|
||||
{ (cOCTVC1_GSM_MSG_TAP_FILTER_STATS_CID& 0x00000FFF), "TAP_FILTER_STATS" },
|
||||
{ (cOCTVC1_GSM_MSG_TAP_FILTER_MODIFY_CID& 0x00000FFF), "TAP_FILTER_MODIFY" },
|
||||
{ 0, NULL },
|
||||
};
|
||||
const value_string vals_OCTVC1_GSM_CID_PRIV[] =
|
||||
{
|
||||
{ 0, NULL },
|
||||
};
|
||||
|
||||
/****************************************************************************
|
||||
EID arrays
|
||||
****************************************************************************/
|
||||
const value_string vals_OCTVC1_MAIN_EID[] =
|
||||
{
|
||||
{ (cOCTVC1_MAIN_MSG_PROCESS_CPU_USAGE_REPORT_EID& 0x0000FFFF), "PROCESS_CPU_USAGE_REPORT" },
|
||||
{ (cOCTVC1_MAIN_MSG_PROCESS_DUMP_EID& 0x0000FFFF), "PROCESS_DUMP" },
|
||||
{ (cOCTVC1_MAIN_MSG_API_SYSTEM_SESSION_HEARTBEAT_EID& 0x0000FFFF), "API_SYSTEM_SESSION_HEARTBEAT" },
|
||||
{ (cOCTVC1_MAIN_MSG_APPLICATION_STATE_CHANGE_EID& 0x0000FFFF), "APPLICATION_STATE_CHANGE" },
|
||||
{ 0, NULL },
|
||||
};
|
||||
|
||||
const value_string vals_OCTVC1_MAIN_EID_PRIV[] =
|
||||
{
|
||||
{ 0, NULL },
|
||||
};
|
||||
const value_string vals_OCTVC1_CTRL_EID[] =
|
||||
{
|
||||
{ 0, NULL },
|
||||
};
|
||||
|
||||
const value_string vals_OCTVC1_CTRL_EID_PRIV[] =
|
||||
{
|
||||
{ 0, NULL },
|
||||
};
|
||||
const value_string vals_OCTVC1_TEST_EID[] =
|
||||
{
|
||||
{ 0, NULL },
|
||||
};
|
||||
|
||||
const value_string vals_OCTVC1_TEST_EID_PRIV[] =
|
||||
{
|
||||
{ 0, NULL },
|
||||
};
|
||||
const value_string vals_OCTVC1_HW_EID[] =
|
||||
{
|
||||
{ (cOCTVC1_HW_MSG_CPU_CORE_EXEC_REPORT_EID& 0x0000FFFF), "CPU_CORE_EXEC_REPORT" },
|
||||
{ (cOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STATUS_CHANGE_EID& 0x0000FFFF), "CLOCK_SYNC_MGR_STATUS_CHANGE" },
|
||||
{ 0, NULL },
|
||||
};
|
||||
|
||||
const value_string vals_OCTVC1_HW_EID_PRIV[] =
|
||||
{
|
||||
{ 0, NULL },
|
||||
};
|
||||
const value_string vals_OCTVC1_IRSC_EID[] =
|
||||
{
|
||||
{ (cOCTVC1_IRSC_MSG_PROCESS_DUMP_EID& 0x0000FFFF), "PROCESS_DUMP" },
|
||||
{ 0, NULL },
|
||||
};
|
||||
|
||||
const value_string vals_OCTVC1_IRSC_EID_PRIV[] =
|
||||
{
|
||||
{ 0, NULL },
|
||||
};
|
||||
const value_string vals_OCTVC1_GSM_EID[] =
|
||||
{
|
||||
{ (cOCTVC1_GSM_MSG_TRX_LOGICAL_CHANNEL_DATA_INDICATION_EID& 0x0000FFFF), "TRX_LOGICAL_CHANNEL_DATA_INDICATION" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_LOGICAL_CHANNEL_READY_TO_SEND_INDICATION_EID& 0x0000FFFF), "TRX_LOGICAL_CHANNEL_READY_TO_SEND_INDICATION" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_LOGICAL_CHANNEL_RACH_INDICATION_EID& 0x0000FFFF), "TRX_LOGICAL_CHANNEL_RACH_INDICATION" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_LOGICAL_CHANNEL_RAW_DATA_INDICATION_EID& 0x0000FFFF), "TRX_LOGICAL_CHANNEL_RAW_DATA_INDICATION" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_TIME_INDICATION_EID& 0x0000FFFF), "TRX_TIME_INDICATION" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_STATUS_CHANGE_EID& 0x0000FFFF), "TRX_STATUS_CHANGE" },
|
||||
{ 0, NULL },
|
||||
};
|
||||
|
||||
const value_string vals_OCTVC1_GSM_EID_PRIV[] =
|
||||
{
|
||||
{ 0, NULL },
|
||||
};
|
||||
|
||||
/****************************************************************************
|
||||
SID arrays
|
||||
****************************************************************************/
|
||||
const value_string vals_OCTVC1_MAIN_SID[] =
|
||||
{
|
||||
{ 0, NULL },
|
||||
};
|
||||
|
||||
const value_string vals_OCTVC1_MAIN_SID_PRIV[] =
|
||||
{
|
||||
{ 0, NULL },
|
||||
};
|
||||
const value_string vals_OCTVC1_CTRL_SID[] =
|
||||
{
|
||||
{ (cOCTVC1_CTRL_MSG_MODULE_REJECT_SID& 0x00000FFF), "MODULE_REJECT" },
|
||||
{ 0, NULL },
|
||||
};
|
||||
|
||||
const value_string vals_OCTVC1_CTRL_SID_PRIV[] =
|
||||
{
|
||||
{ 0, NULL },
|
||||
};
|
||||
const value_string vals_OCTVC1_TEST_SID[] =
|
||||
{
|
||||
{ 0, NULL },
|
||||
};
|
||||
|
||||
const value_string vals_OCTVC1_TEST_SID_PRIV[] =
|
||||
{
|
||||
{ 0, NULL },
|
||||
};
|
||||
const value_string vals_OCTVC1_HW_SID[] =
|
||||
{
|
||||
{ 0, NULL },
|
||||
};
|
||||
|
||||
const value_string vals_OCTVC1_HW_SID_PRIV[] =
|
||||
{
|
||||
{ 0, NULL },
|
||||
};
|
||||
const value_string vals_OCTVC1_IRSC_SID[] =
|
||||
{
|
||||
{ 0, NULL },
|
||||
};
|
||||
|
||||
const value_string vals_OCTVC1_IRSC_SID_PRIV[] =
|
||||
{
|
||||
{ 0, NULL },
|
||||
};
|
||||
const value_string vals_OCTVC1_GSM_SID[] =
|
||||
{
|
||||
{ 0, NULL },
|
||||
};
|
||||
|
||||
const value_string vals_OCTVC1_GSM_SID_PRIV[] =
|
||||
{
|
||||
{ 0, NULL },
|
||||
};
|
||||
|
||||
/****************************************************************************
|
||||
typedef struct tModuleColInfo
|
||||
****************************************************************************/
|
||||
extern void ws_register_OCTVC1_MAIN(void);
|
||||
extern int ws_dissect_OCTVC1_MAIN( guint8 message_type, guint32 CID, tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree );
|
||||
extern void ws_register_OCTVC1_CTRL(void);
|
||||
extern int ws_dissect_OCTVC1_CTRL( guint8 message_type, guint32 CID, tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree );
|
||||
extern void ws_register_OCTVC1_TEST(void);
|
||||
extern int ws_dissect_OCTVC1_TEST( guint8 message_type, guint32 CID, tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree );
|
||||
extern void ws_register_OCTVC1_HW(void);
|
||||
extern int ws_dissect_OCTVC1_HW( guint8 message_type, guint32 CID, tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree );
|
||||
extern void ws_register_OCTVC1_IRSC(void);
|
||||
extern int ws_dissect_OCTVC1_IRSC( guint8 message_type, guint32 CID, tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree );
|
||||
extern void ws_register_OCTVC1_GSM(void);
|
||||
extern int ws_dissect_OCTVC1_GSM( guint8 message_type, guint32 CID, tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree );
|
||||
;
|
||||
tModuleColInfo aOCTVC1ModuleColInfo[] =
|
||||
{
|
||||
{ "MAIN", vals_OCTVC1_MAIN_CID,vals_OCTVC1_MAIN_EID,vals_OCTVC1_MAIN_SID, ws_register_OCTVC1_MAIN, ws_dissect_OCTVC1_MAIN,vals_OCTVC1_MAIN_CID_PRIV,vals_OCTVC1_MAIN_EID_PRIV },
|
||||
{ "CTRL", vals_OCTVC1_CTRL_CID,vals_OCTVC1_CTRL_EID,vals_OCTVC1_CTRL_SID, ws_register_OCTVC1_CTRL, ws_dissect_OCTVC1_CTRL,vals_OCTVC1_CTRL_CID_PRIV,vals_OCTVC1_CTRL_EID_PRIV },
|
||||
{ "TEST", vals_OCTVC1_TEST_CID,vals_OCTVC1_TEST_EID,vals_OCTVC1_TEST_SID, ws_register_OCTVC1_TEST, ws_dissect_OCTVC1_TEST,vals_OCTVC1_TEST_CID_PRIV,vals_OCTVC1_TEST_EID_PRIV },
|
||||
{ "HW", vals_OCTVC1_HW_CID,vals_OCTVC1_HW_EID,vals_OCTVC1_HW_SID, ws_register_OCTVC1_HW, ws_dissect_OCTVC1_HW,vals_OCTVC1_HW_CID_PRIV,vals_OCTVC1_HW_EID_PRIV },
|
||||
{ "IRSC", vals_OCTVC1_IRSC_CID,vals_OCTVC1_IRSC_EID,vals_OCTVC1_IRSC_SID, ws_register_OCTVC1_IRSC, ws_dissect_OCTVC1_IRSC,vals_OCTVC1_IRSC_CID_PRIV,vals_OCTVC1_IRSC_EID_PRIV },
|
||||
{ "GSM", vals_OCTVC1_GSM_CID,vals_OCTVC1_GSM_EID,vals_OCTVC1_GSM_SID, ws_register_OCTVC1_GSM, ws_dissect_OCTVC1_GSM,vals_OCTVC1_GSM_CID_PRIV,vals_OCTVC1_GSM_EID_PRIV },
|
||||
|
||||
};
|
||||
|
||||
|
||||
/*************************************************************************
|
||||
Registered dissector module
|
||||
**************************************************************************/
|
||||
void ws_register_dissector_module(void)
|
||||
{
|
||||
/* Register all modules */
|
||||
unsigned int i;
|
||||
for( i=0; i<mWS_COUNTOF(aOCTVC1ModuleColInfo); i++ )
|
||||
aOCTVC1ModuleColInfo[i].Register_fnc();
|
||||
|
||||
ws_register_OCTVC1_common();
|
||||
}
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,12 +1,12 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: octvc1_module_ctrl.c
|
||||
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contain the wireshark module dissector related functions
|
||||
|
||||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: octvc1_module_ctrl.c
|
||||
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contain the wireshark module dissector related functions
|
||||
|
||||
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
|
||||
|
@ -18,187 +18,188 @@ 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.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
|
||||
#include <config.h>
|
||||
#include <epan/packet.h>
|
||||
#include "../../../include/oct_ws_macro.h"
|
||||
#include "../include/module.h"
|
||||
#include "../include/octvc1_common.h"
|
||||
|
||||
#include <ctrl/octvc1_ctrl_api_priv.h>
|
||||
|
||||
|
||||
/****************************************************************************
|
||||
Event Registered
|
||||
****************************************************************************/
|
||||
|
||||
int ahf_tOCTVC1_CTRL_MSG_MODULE_REJECT_SPV[3];
|
||||
tWS_ENTITY_HANDLE ws_htOCTVC1_CTRL_MSG_MODULE_REJECT_SPV;
|
||||
|
||||
void register_tOCTVC1_CTRL_MSG_MODULE_REJECT_SPV(void)
|
||||
{
|
||||
static hf_register_info hf[] =
|
||||
{
|
||||
{
|
||||
&ahf_tOCTVC1_CTRL_MSG_MODULE_REJECT_SPV[0],
|
||||
{ "ulExpectedTransactionId", "octvc1.ctrl.module.reject.ulexpectedtransactionid",
|
||||
FT_UINT32,BASE_HEX, NULL, 0x0,
|
||||
"ulExpectedTransactionId",HFILL }
|
||||
|
||||
},
|
||||
{
|
||||
&ahf_tOCTVC1_CTRL_MSG_MODULE_REJECT_SPV[1],
|
||||
{ "ulRejectedCmdId", "octvc1.ctrl.module.reject.ulrejectedcmdid",
|
||||
FT_UINT32,BASE_HEX, NULL, 0x0,
|
||||
"ulRejectedCmdId",HFILL }
|
||||
|
||||
},
|
||||
};
|
||||
|
||||
static gint* ett[] =
|
||||
{
|
||||
&ws_htOCTVC1_CTRL_MSG_MODULE_REJECT_SPV.ett
|
||||
};
|
||||
|
||||
proto_register_field_array( proto_octvc1_ctrl, hf, array_length(hf) );
|
||||
|
||||
};
|
||||
|
||||
/****************************************************************************
|
||||
CMD/RSP Registered
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
Event dissectors
|
||||
****************************************************************************/
|
||||
|
||||
|
||||
unsigned int dissect_tOCTVC1_CTRL_MSG_MODULE_REJECT_SPV(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset )
|
||||
{
|
||||
proto_tree *field_tree = tree;
|
||||
unsigned int offset_0 = offset;
|
||||
gint bytes = tvb_length_remaining(tvb, offset);
|
||||
if (bytes < (gint)(sizeof(tOCTVC1_CTRL_MSG_MODULE_REJECT_SPV)-sizeof(tOCTVC1_EVENT_HEADER)))
|
||||
{
|
||||
proto_tree_add_text(tree, tvb, offset, bytes,
|
||||
"tOCTVC1_CTRL_MSG_MODULE_REJECT_SPV (%d byte%s) - Malformated packet...expected(%ld)",
|
||||
bytes, plurality(bytes, "", "s"),
|
||||
sizeof(tOCTVC1_CTRL_MSG_MODULE_REJECT_SPV)-sizeof(tOCTVC1_EVENT_HEADER));
|
||||
return 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
int temp_data = 0;
|
||||
proto_item *ti;
|
||||
ti = proto_tree_add_text(tree, tvb, offset, bytes,
|
||||
"tOCTVC1_CTRL_MSG_MODULE_REJECT_SPV (%d byte%s)", bytes, plurality(bytes, "", "s"));
|
||||
|
||||
field_tree = proto_item_add_subtree(ti, ett_octvc1_msg_type);
|
||||
temp_data = tvb_get_ntohl( tvb, offset );
|
||||
{
|
||||
ti = proto_tree_add_uint(field_tree, ahf_tOCTVC1_CTRL_MSG_MODULE_REJECT_SPV[0], tvb, offset,
|
||||
4, temp_data);
|
||||
}
|
||||
offset += mWS_FIELDSIZE(tOCTVC1_CTRL_MSG_MODULE_REJECT_SPV, ulExpectedTransactionId);
|
||||
|
||||
temp_data = tvb_get_ntohl( tvb, offset );
|
||||
{
|
||||
ti = proto_tree_add_uint(field_tree, ahf_tOCTVC1_CTRL_MSG_MODULE_REJECT_SPV[1], tvb, offset,
|
||||
4, temp_data);
|
||||
}
|
||||
offset += mWS_FIELDSIZE(tOCTVC1_CTRL_MSG_MODULE_REJECT_SPV, ulRejectedCmdId);
|
||||
|
||||
}
|
||||
|
||||
|
||||
return 0;
|
||||
|
||||
};
|
||||
|
||||
/****************************************************************************
|
||||
CMD/RSP dissectors
|
||||
****************************************************************************/
|
||||
/****************************************************************************
|
||||
MODULE REGISTERED EXPORTED FUNCTION
|
||||
****************************************************************************/
|
||||
|
||||
void ws_register_OCTVC1_CTRL(void)
|
||||
{
|
||||
/****************************************************************************
|
||||
Register Common struct
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
CMD/RSP Registered
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
Event Registered
|
||||
****************************************************************************/
|
||||
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
MODULE DISSECTOR FUNCTIONS
|
||||
****************************************************************************/
|
||||
int ws_dissect_OCTVC1_CTRL_CMD( guint32 CID, tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree )
|
||||
{
|
||||
if( tree )
|
||||
{
|
||||
switch( CID ) {
|
||||
default: return 1;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
|
||||
}
|
||||
int ws_dissect_OCTVC1_CTRL_RSP( guint32 CID, tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree )
|
||||
{
|
||||
if( tree )
|
||||
{
|
||||
switch( CID ) {
|
||||
default: return 1;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
|
||||
}
|
||||
int ws_dissect_OCTVC1_CTRL_EVT( guint32 CID, tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree )
|
||||
{
|
||||
if( tree )
|
||||
{
|
||||
switch( CID ) {
|
||||
default: return 1;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
MODULE DISSECTOR EXPORTED FUNCTION
|
||||
****************************************************************************/
|
||||
|
||||
int ws_dissect_OCTVC1_CTRL( guint8 message_type, guint32 CID, tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree )
|
||||
{
|
||||
if (message_type == cOCTVC1_MSG_TYPE_RESPONSE)
|
||||
return ws_dissect_OCTVC1_CTRL_RSP( CID, tvb, pinfo, tree);
|
||||
if (message_type == cOCTVC1_MSG_TYPE_COMMAND)
|
||||
return ws_dissect_OCTVC1_CTRL_CMD( CID, tvb, pinfo, tree);
|
||||
if (message_type == cOCTVC1_MSG_TYPE_NOTIFICATION )
|
||||
return ws_dissect_OCTVC1_CTRL_EVT( CID, tvb, pinfo, tree);
|
||||
else
|
||||
return 1;
|
||||
|
||||
}
|
||||
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
|
||||
#include <config.h>
|
||||
#include <epan/packet.h>
|
||||
#include "../../../include/oct_ws_macro.h"
|
||||
#include "../include/module.h"
|
||||
#include "../include/octvc1_common.h"
|
||||
|
||||
#include <ctrl/octvc1_ctrl_api_priv.h>
|
||||
|
||||
|
||||
/****************************************************************************
|
||||
Event Registered
|
||||
****************************************************************************/
|
||||
|
||||
int ahf_tOCTVC1_CTRL_MSG_MODULE_REJECT_SPV[3];
|
||||
tWS_ENTITY_HANDLE ws_htOCTVC1_CTRL_MSG_MODULE_REJECT_SPV;
|
||||
|
||||
void register_tOCTVC1_CTRL_MSG_MODULE_REJECT_SPV(void)
|
||||
{
|
||||
static hf_register_info hf[] =
|
||||
{
|
||||
{
|
||||
&ahf_tOCTVC1_CTRL_MSG_MODULE_REJECT_SPV[0],
|
||||
{ "ulExpectedTransactionId", "octvc1.ctrl.module.reject.ulexpectedtransactionid",
|
||||
FT_UINT32,BASE_HEX, NULL, 0x0,
|
||||
"ulExpectedTransactionId",HFILL }
|
||||
|
||||
},
|
||||
{
|
||||
&ahf_tOCTVC1_CTRL_MSG_MODULE_REJECT_SPV[1],
|
||||
{ "ulRejectedCmdId", "octvc1.ctrl.module.reject.ulrejectedcmdid",
|
||||
FT_UINT32,BASE_HEX, NULL, 0x0,
|
||||
"ulRejectedCmdId",HFILL }
|
||||
|
||||
},
|
||||
};
|
||||
|
||||
static gint* ett[] =
|
||||
{
|
||||
&ws_htOCTVC1_CTRL_MSG_MODULE_REJECT_SPV.ett
|
||||
};
|
||||
|
||||
proto_register_field_array( proto_octvc1_ctrl, hf, array_length(hf) );
|
||||
|
||||
};
|
||||
|
||||
/****************************************************************************
|
||||
CMD/RSP Registered
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
Event dissectors
|
||||
****************************************************************************/
|
||||
|
||||
|
||||
unsigned int dissect_tOCTVC1_CTRL_MSG_MODULE_REJECT_SPV(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset )
|
||||
{
|
||||
proto_tree *field_tree = tree;
|
||||
unsigned int offset_0 = offset;
|
||||
gint bytes = tvb_length_remaining(tvb, offset);
|
||||
if (bytes < (gint)(sizeof(tOCTVC1_CTRL_MSG_MODULE_REJECT_SPV)-sizeof(tOCTVC1_EVENT_HEADER)))
|
||||
{
|
||||
proto_tree_add_text(tree, tvb, offset, bytes,
|
||||
"tOCTVC1_CTRL_MSG_MODULE_REJECT_SPV (%d byte%s) - Malformated packet...expected(%ld)",
|
||||
bytes, plurality(bytes, "", "s"),
|
||||
sizeof(tOCTVC1_CTRL_MSG_MODULE_REJECT_SPV)-sizeof(tOCTVC1_EVENT_HEADER));
|
||||
return 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
int temp_data = 0;
|
||||
proto_item *ti;
|
||||
ti = proto_tree_add_text(tree, tvb, offset, bytes,
|
||||
"tOCTVC1_CTRL_MSG_MODULE_REJECT_SPV (%d byte%s)", bytes, plurality(bytes, "", "s"));
|
||||
|
||||
field_tree = proto_item_add_subtree(ti, ett_octvc1_msg_type);
|
||||
temp_data = tvb_get_ntohl( tvb, offset );
|
||||
{
|
||||
ti = proto_tree_add_uint(field_tree, ahf_tOCTVC1_CTRL_MSG_MODULE_REJECT_SPV[0], tvb, offset,
|
||||
4, temp_data);
|
||||
}
|
||||
offset += mWS_FIELDSIZE(tOCTVC1_CTRL_MSG_MODULE_REJECT_SPV, ulExpectedTransactionId);
|
||||
|
||||
temp_data = tvb_get_ntohl( tvb, offset );
|
||||
{
|
||||
ti = proto_tree_add_uint(field_tree, ahf_tOCTVC1_CTRL_MSG_MODULE_REJECT_SPV[1], tvb, offset,
|
||||
4, temp_data);
|
||||
}
|
||||
offset += mWS_FIELDSIZE(tOCTVC1_CTRL_MSG_MODULE_REJECT_SPV, ulRejectedCmdId);
|
||||
|
||||
}
|
||||
|
||||
|
||||
return 0;
|
||||
|
||||
};
|
||||
|
||||
/****************************************************************************
|
||||
CMD/RSP dissectors
|
||||
****************************************************************************/
|
||||
/****************************************************************************
|
||||
MODULE REGISTERED EXPORTED FUNCTION
|
||||
****************************************************************************/
|
||||
|
||||
void ws_register_OCTVC1_CTRL(void)
|
||||
{
|
||||
/****************************************************************************
|
||||
Register Common struct
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
CMD/RSP Registered
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
Event Registered
|
||||
****************************************************************************/
|
||||
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
MODULE DISSECTOR FUNCTIONS
|
||||
****************************************************************************/
|
||||
int ws_dissect_OCTVC1_CTRL_CMD( guint32 CID, tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree )
|
||||
{
|
||||
if( tree )
|
||||
{
|
||||
switch( CID ) {
|
||||
default: return 1;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
|
||||
}
|
||||
int ws_dissect_OCTVC1_CTRL_RSP( guint32 CID, tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree )
|
||||
{
|
||||
if( tree )
|
||||
{
|
||||
switch( CID ) {
|
||||
default: return 1;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
|
||||
}
|
||||
int ws_dissect_OCTVC1_CTRL_EVT( guint32 CID, tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree )
|
||||
{
|
||||
if( tree )
|
||||
{
|
||||
switch( CID ) {
|
||||
default: return 1;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
MODULE DISSECTOR EXPORTED FUNCTION
|
||||
****************************************************************************/
|
||||
|
||||
int ws_dissect_OCTVC1_CTRL( guint8 message_type, guint32 CID, tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree )
|
||||
{
|
||||
if (message_type == cOCTVC1_MSG_TYPE_RESPONSE)
|
||||
return ws_dissect_OCTVC1_CTRL_RSP( CID, tvb, pinfo, tree);
|
||||
if (message_type == cOCTVC1_MSG_TYPE_COMMAND)
|
||||
return ws_dissect_OCTVC1_CTRL_CMD( CID, tvb, pinfo, tree);
|
||||
if (message_type == cOCTVC1_MSG_TYPE_NOTIFICATION )
|
||||
return ws_dissect_OCTVC1_CTRL_EVT( CID, tvb, pinfo, tree);
|
||||
else
|
||||
return 1;
|
||||
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -392,6 +392,7 @@ void dissect_octvc1_ctrl(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
|
|||
else
|
||||
pszValueStringCID = cOCTVC1_UNKNOWN_STRING;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
tf = proto_tree_add_uint_format(msg_tree, hf_octvc1_msg_header_ul_Type_R_CmdId, tvb,
|
||||
|
@ -446,23 +447,23 @@ void dissect_octvc1_ctrl(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
|
|||
packet_offset+2, 1, command_id_flag );
|
||||
else
|
||||
{
|
||||
int i;
|
||||
proto_tree* sub_tree = proto_item_add_subtree(field_tree, ett_octvc1_msg_type);
|
||||
|
||||
int i;
|
||||
proto_tree* sub_tree = proto_item_add_subtree(field_tree, ett_octvc1_msg_type);
|
||||
|
||||
proto_tree_add_uint_format_value( field_tree, hf_octvc1_msg_header_ul_Type_R_CmdId_Flag, tvb,
|
||||
packet_offset+2, 1, command_id_flag,
|
||||
"(0x%X)", (command_id_flag >>cOCTVC1_MSG_FLAGS_BIT_OFFSET) );
|
||||
|
||||
|
||||
for( i=0; i< mWS_COUNTOF(octvc1_cid_flag_vals); i++ )
|
||||
{
|
||||
if( ( octvc1_cid_flag_vals[i].value &&
|
||||
( octvc1_cid_flag_vals[i].value & ( command_id_flag >> cOCTVC1_MSG_FLAGS_BIT_OFFSET )) ==
|
||||
octvc1_cid_flag_vals[i].value))
|
||||
proto_tree_add_text(sub_tree, tvb, packet_offset+2,1,"%s",
|
||||
decode_enumerated_bitfield(octvc1_cid_flag_vals[i].value, 0xFFFFFFFF, (4*1),
|
||||
VALS(octvc1_cid_flag_vals),"%s"));
|
||||
}
|
||||
|
||||
|
||||
for( i=0; i< mWS_COUNTOF(octvc1_cid_flag_vals); i++ )
|
||||
{
|
||||
if( ( octvc1_cid_flag_vals[i].value &&
|
||||
( octvc1_cid_flag_vals[i].value & ( command_id_flag >> cOCTVC1_MSG_FLAGS_BIT_OFFSET )) ==
|
||||
octvc1_cid_flag_vals[i].value))
|
||||
proto_tree_add_text(sub_tree, tvb, packet_offset+2,1,"%s",
|
||||
decode_enumerated_bitfield(octvc1_cid_flag_vals[i].value, 0xFFFFFFFF, (4*1),
|
||||
VALS(octvc1_cid_flag_vals),"%s"));
|
||||
}
|
||||
}
|
||||
|
||||
if( message_type != cOCTVC1_MSG_TYPE_SUPERVISORY )
|
||||
|
@ -563,7 +564,6 @@ void dissect_octvc1_ctrl(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
|
|||
pszValueStringCID = cOCTVC1_UNKNOWN_STRING;
|
||||
}
|
||||
|
||||
|
||||
proto_tree_add_uint_format(msg_tree, hf_octvc1_msg_header_reject_rejected_command_id, tvb,
|
||||
packet_offset, 4, rejected_command_id,
|
||||
"Rejected CID: %scOCTVC1_%s_MSG_%s_CID (0x%08X)",
|
||||
|
|
|
@ -185,6 +185,7 @@ void dissect_octvc1_event(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
|
|||
else
|
||||
pszValueStringEID = cOCTVC1_UNKNOWN_STRING;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
tf = proto_tree_add_uint_format(evt_tree, hf_octvc1_event_header_ulEventId, tvb,
|
||||
|
@ -232,7 +233,7 @@ void dissect_octvc1_event(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
|
|||
{
|
||||
/* Call the module dissector */
|
||||
fDoData = aOCTVC1ModuleColInfo[module_index].Dissector_fnc( cOCTVC1_MSG_TYPE_NOTIFICATION,
|
||||
msg_type_base | event_id_base | event_id_code,
|
||||
(event_id),
|
||||
tvbData, pinfo, evt_tree );
|
||||
}
|
||||
|
||||
|
|
|
@ -15,6 +15,8 @@
|
|||
|
||||
|
||||
static int proto_octvc1 = -1;
|
||||
dissector_handle_t data_handle;
|
||||
|
||||
static int fUserRegistered = 0;
|
||||
|
||||
char * pszOctvc1_user_name=NULL;
|
||||
|
@ -24,18 +26,109 @@ static char l_szRegisteredUser[128]={0};
|
|||
static int l_iRegisteredUserLen = 0;
|
||||
static int l_id_code_Registered = 0;
|
||||
static gchar l_szAPIStr[256];
|
||||
static int l_fIsGod = 0;
|
||||
|
||||
dissector_handle_t data_handle;
|
||||
static int l_fIsBigBoss = 0;
|
||||
|
||||
const gchar* octvc1_chck_private( guint32 f_id_code, const value_string *f_PrivateApi, gint32 *f_piRegistered )
|
||||
{
|
||||
return cOCTVC1_UNKNOWN_STRING;
|
||||
const gchar* pszValueString;
|
||||
|
||||
//CHck if same as last request
|
||||
if( l_iRegisteredUserLen && ( l_id_code_Registered == f_id_code ) )
|
||||
{
|
||||
*f_piRegistered = 1;
|
||||
return l_szAPIStr;
|
||||
}
|
||||
|
||||
*f_piRegistered = 0;
|
||||
pszValueString = val_to_str( f_id_code, f_PrivateApi, cOCTVC1_UNKNOWN_STRING );
|
||||
if( strcmp( pszValueString, cOCTVC1_UNKNOWN_STRING ) )
|
||||
{
|
||||
// Expect API ID STRING:user,user2,user3
|
||||
gchar *pszColumn = strchr( pszValueString, ':' );
|
||||
if( pszColumn )
|
||||
{
|
||||
gchar *pszStr;
|
||||
|
||||
// Keep API string
|
||||
strncpy( l_szAPIStr, pszValueString, (pszColumn-pszValueString) );
|
||||
l_szAPIStr[(pszColumn-pszValueString)]=0;
|
||||
|
||||
// Chck if theBoss is register
|
||||
if( !l_fIsBigBoss )
|
||||
pszStr = strstr( pszColumn+1, l_szRegisteredUser );
|
||||
|
||||
// Find if register for this
|
||||
if( l_fIsBigBoss ||
|
||||
( pszStr && ((pszStr==(pszColumn+1)) || (*(pszStr-1)==',') ) &&
|
||||
( (*(pszStr+l_iRegisteredUserLen)==',') || (*(pszStr+l_iRegisteredUserLen)==0 ) ) ) )
|
||||
{
|
||||
l_id_code_Registered = f_id_code;
|
||||
*f_piRegistered = 1;
|
||||
return l_szAPIStr;
|
||||
}
|
||||
}
|
||||
}
|
||||
return cOCTVC1_UNKNOWN_STRING;
|
||||
}
|
||||
|
||||
void pref_proto_octvc1_apply_callback( void )
|
||||
{
|
||||
char *pszPath;
|
||||
|
||||
// by default this callback is called at startup ... skip the first call
|
||||
if( fUserRegistered )
|
||||
{
|
||||
int fReguser=0;
|
||||
|
||||
{
|
||||
int i;
|
||||
|
||||
for( i=0; ; i++ )
|
||||
{
|
||||
if( aOCTVC1_user_list[i][0] == NULL )
|
||||
break;
|
||||
|
||||
if( ( strcmp( aOCTVC1_user_list[i][0], pszOctvc1_user_name ) == 0 ) &&
|
||||
( strcmp( aOCTVC1_user_list[i][1], pszOctvc1_user_id ) == 0 ) )
|
||||
{
|
||||
fReguser = 1;
|
||||
l_fIsBigBoss = 0;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if( fReguser )
|
||||
{
|
||||
g_fIsRegistered = 1;
|
||||
strcpy( l_szRegisteredUser, pszOctvc1_user_name );
|
||||
l_iRegisteredUserLen = strlen( l_szRegisteredUser );
|
||||
}
|
||||
else
|
||||
{
|
||||
g_fIsRegistered = 0;
|
||||
l_fIsBigBoss = 0;
|
||||
}
|
||||
}
|
||||
fUserRegistered = 1;
|
||||
|
||||
{
|
||||
char szPref[240];
|
||||
strcpy( szPref, "octvc1.user_name:user" );
|
||||
prefs_set_pref( szPref );
|
||||
strcpy( szPref, "octvc1.user_id:****" );
|
||||
prefs_set_pref( szPref );
|
||||
write_prefs( &pszPath );
|
||||
}
|
||||
|
||||
// Reset last check
|
||||
l_id_code_Registered = 0;
|
||||
l_szAPIStr[0] = 0;
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
/*************************************************************************
|
||||
*
|
||||
* Code to register the protocol with Wireshark
|
||||
|
@ -46,10 +139,12 @@ void proto_register_octvc1(void)
|
|||
module_t *octvc1_module;
|
||||
|
||||
proto_octvc1 = proto_register_protocol( "OCTVC1 Packets", "Octasic OCTVC1", "octvc1");
|
||||
|
||||
octvc1_module = prefs_register_protocol(proto_octvc1, pref_proto_octvc1_apply_callback);
|
||||
prefs_register_string_preference(octvc1_module, "user_name", "User name", "OCTVC1 user name", &pszOctvc1_user_name);
|
||||
prefs_register_string_preference(octvc1_module, "user_id", "User id", "OCTVC1 user id", &pszOctvc1_user_id);
|
||||
|
||||
|
||||
/* register ctrl dissector */
|
||||
proto_register_octvc1_ctrl();
|
||||
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: octvocnet_common.c
|
||||
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contain the wireshark module dissector related functions
|
||||
|
||||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: octvocnet_common.c
|
||||
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contain the wireshark module dissector related functions
|
||||
|
||||
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
|
||||
|
@ -18,32 +18,33 @@ 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.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
|
||||
#include <config.h>
|
||||
#include <epan/packet.h>
|
||||
#include "../../../include/oct_ws_macro.h"
|
||||
#include "../include/module.h"
|
||||
#include "../include/octvocnet_common.h"
|
||||
|
||||
|
||||
#include <octvocnet_pkt.h>
|
||||
|
||||
/****************************************************************************
|
||||
MODULE API ENUMERATION STRING VALUES
|
||||
****************************************************************************/
|
||||
|
||||
const value_string vals_tOCTVOCNET_PKT_CONTROL_PROTOCOL_TYPE_ENUM[] =
|
||||
{
|
||||
{ cOCTVOCNET_PKT_CONTROL_PROTOCOL_TYPE_ENUM_OCTVC1, "cOCTVOCNET_PKT_CONTROL_PROTOCOL_TYPE_ENUM_OCTVC1" },
|
||||
{ 0, NULL }
|
||||
};
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
|
||||
#include <config.h>
|
||||
#include <epan/packet.h>
|
||||
#include "../../../include/oct_ws_macro.h"
|
||||
#include "../include/module.h"
|
||||
#include "../include/octvocnet_common.h"
|
||||
|
||||
|
||||
#include <octvocnet_pkt.h>
|
||||
|
||||
/****************************************************************************
|
||||
MODULE API ENUMERATION STRING VALUES
|
||||
****************************************************************************/
|
||||
|
||||
const value_string vals_tOCTVOCNET_PKT_CONTROL_PROTOCOL_TYPE_ENUM[] =
|
||||
{
|
||||
{ cOCTVOCNET_PKT_CONTROL_PROTOCOL_TYPE_ENUM_OCTVC1, "cOCTVOCNET_PKT_CONTROL_PROTOCOL_TYPE_ENUM_OCTVC1" },
|
||||
{ 0, NULL }
|
||||
};
|
||||
|
|
|
@ -9,19 +9,19 @@
|
|||
#include <gmodule.h>
|
||||
|
||||
#include "../include/plugin_info.h"
|
||||
|
||||
#ifndef ENABLE_STATIC
|
||||
|
||||
#if defined(VERSION_MAJOR) && (VERSION_MAJOR > 1 || (VERSION_MAJOR == 1 && VERSION_MINOR > 8))
|
||||
#define WS_BUILD_DLL
|
||||
#include "ws_symbol_export.h"
|
||||
#define WS_EXPORT WS_DLL_PUBLIC_NOEXTERN
|
||||
#else
|
||||
#define WS_EXPORT G_MODULE_EXPORT
|
||||
#endif
|
||||
|
||||
#ifndef ENABLE_STATIC
|
||||
|
||||
#if defined(VERSION_MAJOR) && (VERSION_MAJOR > 1 || (VERSION_MAJOR == 1 && VERSION_MINOR > 8))
|
||||
#define WS_BUILD_DLL
|
||||
#include "ws_symbol_export.h"
|
||||
#define WS_EXPORT WS_DLL_PUBLIC_NOEXTERN
|
||||
#else
|
||||
#define WS_EXPORT G_MODULE_EXPORT
|
||||
#endif
|
||||
|
||||
WS_EXPORT const gchar version[] = VERSION;
|
||||
|
||||
|
||||
/* Start the functions we need for the plugin stuff */
|
||||
WS_EXPORT void
|
||||
plugin_register (void)
|
||||
|
@ -34,4 +34,4 @@ plugin_reg_handoff(void)
|
|||
{
|
||||
{extern void proto_reg_handoff_octvc1(void); proto_reg_handoff_octvc1();}
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
/***************************** INCLUDE FILES *******************************/
|
||||
#include <config.h>
|
||||
#include <epan/packet.h>
|
||||
#include <octvc1_rc2string.h>
|
||||
#include <octvc1_rc2string.h>
|
||||
#include "../../../include/oct_ws_macro.h"
|
||||
/***************************** DEFINES **************************************/
|
||||
|
||||
|
@ -24,7 +24,7 @@ int ws_dissector_notimplemented( tvbuff_t * UNUSED(tvb), packet_info * UNUSED(pi
|
|||
*
|
||||
* Return 0 on success
|
||||
**************************************************************************/
|
||||
int ws_dissector_module_notimplemented( guint8 UNUSED( message_type ), guint32 UNUSED(CID), tvbuff_t * UNUSED(tvb), packet_info * UNUSED(pinfo),
|
||||
int ws_dissector_module_notimplemented( guint8 UNUSED( message_type ), guint32 UNUSED(CID), tvbuff_t * UNUSED(tvb), packet_info * UNUSED(pinfo),
|
||||
proto_tree * UNUSED(tree) )
|
||||
{
|
||||
return 1;
|
||||
|
@ -39,21 +39,21 @@ const char * dissect_OCTVC1_Return_Code( guint32 ulRc )
|
|||
{
|
||||
return octvc1_rc2string( ulRc );
|
||||
}
|
||||
|
||||
|
||||
#if defined(VERSION_MAJOR) && (VERSION_MAJOR > 1 || (VERSION_MAJOR == 1 && VERSION_MINOR > 8))
|
||||
/*************************************************************************
|
||||
*
|
||||
*
|
||||
**************************************************************************/
|
||||
|
||||
/* Generate a string describing an enumerated bitfield (an N-bit field with various specific values having particular names). */
|
||||
const char *decode_enumerated_bitfield(const guint32 val, const guint32 mask, const int width, const value_string *tab, const char *fmt)
|
||||
{
|
||||
static char buf[1025];
|
||||
char *p;
|
||||
|
||||
p = decode_bitfield_value(buf, val, mask, width);
|
||||
g_snprintf(p, (gulong) (1024-(p-buf)), fmt, val_to_str(val & mask, tab, "Unknown"));
|
||||
return buf;
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Generate a string describing an enumerated bitfield (an N-bit field with various specific values having particular names). */
|
||||
const char *decode_enumerated_bitfield(const guint32 val, const guint32 mask, const int width, const value_string *tab, const char *fmt)
|
||||
{
|
||||
static char buf[1025];
|
||||
char *p;
|
||||
|
||||
p = decode_bitfield_value(buf, val, mask, width);
|
||||
g_snprintf(p, (gulong) (1024-(p-buf)), fmt, val_to_str(val & mask, tab, "Unknown"));
|
||||
return buf;
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -17,10 +17,11 @@ 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.,
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: Octasic Application Development Framework OCTADF-04.00.00-B1829 (2015/07/02)
|
||||
|
||||
Release: Octasic Application Development Framework OCTADF-04.01.00-B1993 (2015/09/16)
|
||||
|
||||
$Octasic_Revision: 4 $
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Included *after* config.h, in order to re-define these macros */
|
||||
#include "../../../include/oct_ws_version.h"
|
||||
#include "../../../include/oct_ws_version.h"
|
||||
|
||||
#ifdef PACKAGE
|
||||
#undef PACKAGE
|
||||
|
@ -23,8 +23,8 @@
|
|||
/* Version number of package */
|
||||
/* WAS : #if !defined( TGT_VERSION ) || (TGT_VERSION == 0) but TGT_VERSION may be a string ... can't compare */
|
||||
#if defined( NO_TGT_VERSION )
|
||||
#define VERSION QUOTEME(MODULE_VERSION)
|
||||
#define VERSION QUOTEME(MODULE_VERSION)
|
||||
#else
|
||||
#define VERSION QUOTEME(MODULE_VERSION-TGT_VERSION)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: octvocnet_common.h
|
||||
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contain the wireshark module dissector related functions
|
||||
|
||||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: octvocnet_common.h
|
||||
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contain the wireshark module dissector related functions
|
||||
|
||||
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
|
||||
|
@ -18,25 +18,26 @@ 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.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#ifndef _OCTVOCNET_COMMON_H__
|
||||
#define _OCTVOCNET_COMMON_H__
|
||||
|
||||
#include <epan/packet.h>
|
||||
|
||||
/****************************************************************************
|
||||
COMMON API ENUMERATION STRING VALUES
|
||||
****************************************************************************/
|
||||
extern const value_string vals_tOCTVOCNET_PKT_CONTROL_PROTOCOL_TYPE_ENUM[];
|
||||
|
||||
#endif /* _OCTVOCNET_COMMON_H__ */
|
||||
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#ifndef _OCTVOCNET_COMMON_H__
|
||||
#define _OCTVOCNET_COMMON_H__
|
||||
|
||||
#include <epan/packet.h>
|
||||
|
||||
/****************************************************************************
|
||||
COMMON API ENUMERATION STRING VALUES
|
||||
****************************************************************************/
|
||||
extern const value_string vals_tOCTVOCNET_PKT_CONTROL_PROTOCOL_TYPE_ENUM[];
|
||||
|
||||
#endif /* _OCTVOCNET_COMMON_H__ */
|
||||
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: octvocnet_common.c
|
||||
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contain the wireshark module dissector related functions
|
||||
|
||||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: octvocnet_common.c
|
||||
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contain the wireshark module dissector related functions
|
||||
|
||||
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
|
||||
|
@ -18,32 +18,33 @@ 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.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
|
||||
#include <config.h>
|
||||
#include <epan/packet.h>
|
||||
#include "../../../include/oct_ws_macro.h"
|
||||
#include "../include/module.h"
|
||||
#include "../include/octvocnet_common.h"
|
||||
|
||||
|
||||
#include <octvocnet_pkt.h>
|
||||
|
||||
/****************************************************************************
|
||||
MODULE API ENUMERATION STRING VALUES
|
||||
****************************************************************************/
|
||||
|
||||
const value_string vals_tOCTVOCNET_PKT_CONTROL_PROTOCOL_TYPE_ENUM[] =
|
||||
{
|
||||
{ cOCTVOCNET_PKT_CONTROL_PROTOCOL_TYPE_ENUM_OCTVC1, "cOCTVOCNET_PKT_CONTROL_PROTOCOL_TYPE_ENUM_OCTVC1" },
|
||||
{ 0, NULL }
|
||||
};
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
|
||||
#include <config.h>
|
||||
#include <epan/packet.h>
|
||||
#include "../../../include/oct_ws_macro.h"
|
||||
#include "../include/module.h"
|
||||
#include "../include/octvocnet_common.h"
|
||||
|
||||
|
||||
#include <octvocnet_pkt.h>
|
||||
|
||||
/****************************************************************************
|
||||
MODULE API ENUMERATION STRING VALUES
|
||||
****************************************************************************/
|
||||
|
||||
const value_string vals_tOCTVOCNET_PKT_CONTROL_PROTOCOL_TYPE_ENUM[] =
|
||||
{
|
||||
{ cOCTVOCNET_PKT_CONTROL_PROTOCOL_TYPE_ENUM_OCTVC1, "cOCTVOCNET_PKT_CONTROL_PROTOCOL_TYPE_ENUM_OCTVC1" },
|
||||
{ 0, NULL }
|
||||
};
|
||||
|
|
|
@ -9,19 +9,19 @@
|
|||
#include <gmodule.h>
|
||||
|
||||
#include "../include/moduleinfo.h"
|
||||
|
||||
#ifndef ENABLE_STATIC
|
||||
|
||||
#if defined(VERSION_MAJOR) && (VERSION_MAJOR > 1 || (VERSION_MAJOR == 1 && VERSION_MINOR > 8))
|
||||
#define WS_BUILD_DLL
|
||||
#include "ws_symbol_export.h"
|
||||
#define WS_EXPORT WS_DLL_PUBLIC_NOEXTERN
|
||||
#else
|
||||
#define WS_EXPORT G_MODULE_EXPORT
|
||||
#endif
|
||||
|
||||
#ifndef ENABLE_STATIC
|
||||
|
||||
#if defined(VERSION_MAJOR) && (VERSION_MAJOR > 1 || (VERSION_MAJOR == 1 && VERSION_MINOR > 8))
|
||||
#define WS_BUILD_DLL
|
||||
#include "ws_symbol_export.h"
|
||||
#define WS_EXPORT WS_DLL_PUBLIC_NOEXTERN
|
||||
#else
|
||||
#define WS_EXPORT G_MODULE_EXPORT
|
||||
#endif
|
||||
|
||||
WS_EXPORT const gchar version[] = VERSION;
|
||||
|
||||
|
||||
/* Start the functions we need for the plugin stuff */
|
||||
WS_EXPORT void
|
||||
plugin_register (void)
|
||||
|
@ -34,5 +34,5 @@ plugin_reg_handoff(void)
|
|||
{
|
||||
{extern void proto_reg_handoff_vocallonet (void); proto_reg_handoff_vocallonet ();}
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -17,10 +17,11 @@ 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.,
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
$Revision: $
|
||||
|
||||
|
|
|
@ -17,10 +17,11 @@ 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.
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
#ifndef __OCTDEV_DEVICES_SWAP_H__
|
||||
|
|
|
@ -17,10 +17,11 @@ 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.,
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
$Revision: $
|
||||
|
||||
|
|
|
@ -17,10 +17,11 @@ 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.,
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
$Revision: $
|
||||
|
||||
|
|
|
@ -17,10 +17,11 @@ 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.,
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
$Revision: $
|
||||
|
||||
|
|
|
@ -17,10 +17,11 @@ 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.,
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
$Revision: $
|
||||
|
||||
|
|
|
@ -17,10 +17,11 @@ 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.
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
#ifndef __OCTDEV_TYPES_SWAP_H__
|
||||
|
|
|
@ -0,0 +1,58 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: octoption.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Compiler conditionnal directives. 'octoptions_default'
|
||||
|
||||
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.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
$Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTOPTIONS_H__
|
||||
#define __OCTOPTIONS_H__
|
||||
|
||||
/*--------------------------------------------------------------------------
|
||||
C language
|
||||
----------------------------------------------------------------------------*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/*--------------------------------------------------------------------------
|
||||
SPECIFIC OPTIONS
|
||||
----------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
|
||||
/*--------------------------------------------------------------------------
|
||||
C language
|
||||
----------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __OCTOPTIONS_H__ */
|
||||
|
||||
|
|
@ -17,10 +17,11 @@ 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.,
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
$Revision: $
|
||||
|
||||
|
|
|
@ -17,10 +17,11 @@ 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.
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
#ifndef __OCTPKT_HDR_SWAP_H__
|
||||
|
|
|
@ -17,10 +17,11 @@ 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.,
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
$Revision: $
|
||||
|
||||
|
|
|
@ -17,10 +17,11 @@ 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.
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
#ifndef __OCTPKT_HDRXL_SWAP_H__
|
||||
|
|
|
@ -17,10 +17,11 @@ 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.,
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
$Revision: $
|
||||
|
||||
|
|
|
@ -17,10 +17,11 @@ 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.,
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
$Revision: $
|
||||
|
||||
|
|
|
@ -15,10 +15,11 @@ 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.,
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
|
|
|
@ -17,10 +17,11 @@ 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.
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
#ifndef __OCTVC1_CTRL_API_SWAP_H__
|
||||
|
|
|
@ -17,10 +17,11 @@ 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.,
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
|
|
@ -17,10 +17,11 @@ 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.,
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
|
|
@ -17,10 +17,11 @@ 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.,
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
|
|
@ -17,10 +17,11 @@ 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.,
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
@ -38,9 +39,9 @@ $Octasic_Revision: $
|
|||
bit[10:0]: Build number
|
||||
*/
|
||||
#define cOCTVC1_CTRL_VERSION_MAJOR 2
|
||||
#define cOCTVC1_CTRL_VERSION_MINOR 3
|
||||
#define cOCTVC1_CTRL_VERSION_MINOR 4
|
||||
#define cOCTVC1_CTRL_VERSION_MAINTENANCE 0
|
||||
#define cOCTVC1_CTRL_VERSION_BUILD 572
|
||||
#define cOCTVC1_CTRL_VERSION_BUILD 662
|
||||
|
||||
#define cOCTVC1_CTRL_VERSION_ID ( (cOCTVC1_CTRL_VERSION_MAJOR << 25) + \
|
||||
(cOCTVC1_CTRL_VERSION_MINOR << 18) + \
|
||||
|
|
|
@ -17,10 +17,11 @@ 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.,
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
$Revision: $
|
||||
|
||||
|
@ -111,6 +112,7 @@ $Revision: $
|
|||
#define cOCTVC1_GSM_ID_DIRECTION_ENUM_NONE 0
|
||||
#define cOCTVC1_GSM_ID_DIRECTION_ENUM_RX_BTS_MS 1
|
||||
#define cOCTVC1_GSM_ID_DIRECTION_ENUM_TX_BTS_MS 3
|
||||
#define cOCTVC1_GSM_ID_DIRECTION_ENUM_TX_RX_BTS_MS 4
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_GSM_DIRECTION_ENUM : Sub Channel Direction.
|
||||
|
@ -120,6 +122,7 @@ $Revision: $
|
|||
#define cOCTVC1_GSM_DIRECTION_ENUM_NONE cOCTVC1_GSM_ID_DIRECTION_ENUM_NONE
|
||||
#define cOCTVC1_GSM_DIRECTION_ENUM_RX_BTS_MS cOCTVC1_GSM_ID_DIRECTION_ENUM_RX_BTS_MS
|
||||
#define cOCTVC1_GSM_DIRECTION_ENUM_TX_BTS_MS cOCTVC1_GSM_ID_DIRECTION_ENUM_TX_BTS_MS
|
||||
#define cOCTVC1_GSM_DIRECTION_ENUM_TX_RX_BTS_MS cOCTVC1_GSM_ID_DIRECTION_ENUM_TX_RX_BTS_MS
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_GSM_ID_TIMESLOT_NB_ENUM : Time slot number.
|
||||
|
@ -149,6 +152,36 @@ $Revision: $
|
|||
#define cOCTVC1_GSM_TIMESLOT_NB_ENUM_6 cOCTVC1_GSM_ID_TIMESLOT_NB_ENUM_6
|
||||
#define cOCTVC1_GSM_TIMESLOT_NB_ENUM_7 cOCTVC1_GSM_ID_TIMESLOT_NB_ENUM_7
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_GSM_ID_TIMESLOT_NB_STUB_ENUM : Time slot number.
|
||||
-------------------------------------------------------------------------------------*/
|
||||
#define tOCTVC1_GSM_ID_TIMESLOT_NB_STUB_ENUM tOCT_UINT8
|
||||
|
||||
#define cOCTVC1_GSM_ID_TIMESLOT_NB_STUB_ENUM_0 0
|
||||
#define cOCTVC1_GSM_ID_TIMESLOT_NB_STUB_ENUM_1 1
|
||||
#define cOCTVC1_GSM_ID_TIMESLOT_NB_STUB_ENUM_2 2
|
||||
#define cOCTVC1_GSM_ID_TIMESLOT_NB_STUB_ENUM_3 3
|
||||
#define cOCTVC1_GSM_ID_TIMESLOT_NB_STUB_ENUM_4 4
|
||||
#define cOCTVC1_GSM_ID_TIMESLOT_NB_STUB_ENUM_5 5
|
||||
#define cOCTVC1_GSM_ID_TIMESLOT_NB_STUB_ENUM_6 6
|
||||
#define cOCTVC1_GSM_ID_TIMESLOT_NB_STUB_ENUM_7 7
|
||||
#define cOCTVC1_GSM_ID_TIMESLOT_NB_STUB_ENUM_ALL 0xFF
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_GSM_TIMESLOT_NB_STUB_ENUM : Time slot number.
|
||||
-------------------------------------------------------------------------------------*/
|
||||
#define tOCTVC1_GSM_TIMESLOT_NB_STUB_ENUM tOCT_UINT32
|
||||
|
||||
#define cOCTVC1_GSM_TIMESLOT_NB_STUB_ENUM_0 cOCTVC1_GSM_ID_TIMESLOT_NB_STUB_ENUM_0
|
||||
#define cOCTVC1_GSM_TIMESLOT_NB_STUB_ENUM_1 cOCTVC1_GSM_ID_TIMESLOT_NB_STUB_ENUM_1
|
||||
#define cOCTVC1_GSM_TIMESLOT_NB_STUB_ENUM_2 cOCTVC1_GSM_ID_TIMESLOT_NB_STUB_ENUM_2
|
||||
#define cOCTVC1_GSM_TIMESLOT_NB_STUB_ENUM_3 cOCTVC1_GSM_ID_TIMESLOT_NB_STUB_ENUM_3
|
||||
#define cOCTVC1_GSM_TIMESLOT_NB_STUB_ENUM_4 cOCTVC1_GSM_ID_TIMESLOT_NB_STUB_ENUM_4
|
||||
#define cOCTVC1_GSM_TIMESLOT_NB_STUB_ENUM_5 cOCTVC1_GSM_ID_TIMESLOT_NB_STUB_ENUM_5
|
||||
#define cOCTVC1_GSM_TIMESLOT_NB_STUB_ENUM_6 cOCTVC1_GSM_ID_TIMESLOT_NB_STUB_ENUM_6
|
||||
#define cOCTVC1_GSM_TIMESLOT_NB_STUB_ENUM_7 cOCTVC1_GSM_ID_TIMESLOT_NB_STUB_ENUM_7
|
||||
#define cOCTVC1_GSM_TIMESLOT_NB_STUB_ENUM_ALL cOCTVC1_GSM_ID_TIMESLOT_NB_STUB_ENUM_ALL
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_GSM_ID_SUB_CHANNEL_NB_ENUM : Sub Channel number.
|
||||
-------------------------------------------------------------------------------------*/
|
||||
|
@ -506,6 +539,49 @@ typedef struct
|
|||
|
||||
} tOCTVC1_GSM_CIPHER_CONFIG;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_GSM_BUFF_ADDR
|
||||
Buffer address
|
||||
|
||||
Members:
|
||||
BuffAddr_TCHFS
|
||||
Range: [0..2147483647]
|
||||
Default: 0
|
||||
Adress of Real Pointer
|
||||
BuffAddr_RACH
|
||||
Range: [0..2147483647]
|
||||
Default: 0
|
||||
Adress of Real Pointer
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCT_UINT32 BuffAddr_TCHFS;
|
||||
tOCT_UINT32 BuffAddr_RACH;
|
||||
|
||||
} tOCTVC1_GSM_BUFF_ADDR;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_GSM_STUB_CHANNEL_ID
|
||||
|
||||
Members:
|
||||
byTimeslotNb
|
||||
Default: cOCTVC1_GSM_TIMESLOT_NB_STUB_ENUM_0
|
||||
Timeslot number.
|
||||
bySubChannelNb
|
||||
Default: cOCTVC1_GSM_ID_SUB_CHANNEL_NB_ENUM_0
|
||||
Sub-Channel number.
|
||||
CHANNEL_TYPE
|
||||
Default: cOCTVC1_GSM_SAPI_ENUM_TCHF
|
||||
CHANNEL_TYPE.
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_GSM_TIMESLOT_NB_STUB_ENUM byTimeslotNb;
|
||||
tOCTVC1_GSM_ID_SUB_CHANNEL_NB_ENUM bySubChannelNb;
|
||||
tOCTVC1_GSM_SAPI_ENUM CHANNEL_TYPE;
|
||||
|
||||
} tOCTVC1_GSM_STUB_CHANNEL_ID;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_GSM_LOGICAL_CHANNEL_ID
|
||||
|
||||
|
@ -2296,6 +2372,108 @@ typedef struct
|
|||
|
||||
} tOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_CMU_LOOPBACK_TEST_RSP;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_CMD
|
||||
|
||||
Members:
|
||||
Header
|
||||
OCTVC1 Message Header
|
||||
TrxId
|
||||
Unique TRX identifier
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_MSG_HEADER Header;
|
||||
tOCTVC1_GSM_TRX_ID TrxId;
|
||||
|
||||
} tOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_CMD;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_RSP
|
||||
|
||||
Members:
|
||||
Header
|
||||
OCTVC1 Message Header
|
||||
TrxId
|
||||
Unique TRX identifier
|
||||
BuffADDR
|
||||
Buf Address pointer
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_MSG_HEADER Header;
|
||||
tOCTVC1_GSM_TRX_ID TrxId;
|
||||
tOCTVC1_GSM_BUFF_ADDR BuffADDR;
|
||||
|
||||
} tOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_RSP;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_GSM_MSG_TRX_START_STUBB_LOOPBACK_TEST_CMD
|
||||
|
||||
Members:
|
||||
Header
|
||||
OCTVC1 Message Header
|
||||
TrxId
|
||||
Unique TRX identifier
|
||||
STUB_CHANNEL_ID
|
||||
Unique channel_identifier
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_MSG_HEADER Header;
|
||||
tOCTVC1_GSM_TRX_ID TrxId;
|
||||
tOCTVC1_GSM_STUB_CHANNEL_ID STUB_CHANNEL_ID;
|
||||
|
||||
} tOCTVC1_GSM_MSG_TRX_START_STUBB_LOOPBACK_TEST_CMD;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_GSM_MSG_TRX_START_STUBB_LOOPBACK_TEST_RSP
|
||||
|
||||
Members:
|
||||
Header
|
||||
OCTVC1 Message Header
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_MSG_HEADER Header;
|
||||
|
||||
} tOCTVC1_GSM_MSG_TRX_START_STUBB_LOOPBACK_TEST_RSP;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_GSM_MSG_TRX_STOP_STUBB_LOOPBACK_TEST_CMD
|
||||
|
||||
Members:
|
||||
Header
|
||||
OCTVC1 Message Header
|
||||
TrxId
|
||||
Unique TRX identifier
|
||||
byTimeslotNb
|
||||
Timeslot number.
|
||||
bySubChannelNb
|
||||
Sub-Channel number.
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_MSG_HEADER Header;
|
||||
tOCTVC1_GSM_TRX_ID TrxId;
|
||||
tOCTVC1_GSM_TIMESLOT_NB_STUB_ENUM byTimeslotNb;
|
||||
tOCTVC1_GSM_ID_SUB_CHANNEL_NB_ENUM bySubChannelNb;
|
||||
|
||||
} tOCTVC1_GSM_MSG_TRX_STOP_STUBB_LOOPBACK_TEST_CMD;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_GSM_MSG_TRX_STOP_STUBB_LOOPBACK_TEST_RSP
|
||||
|
||||
Members:
|
||||
Header
|
||||
OCTVC1 Message Header
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_MSG_HEADER Header;
|
||||
|
||||
} tOCTVC1_GSM_MSG_TRX_STOP_STUBB_LOOPBACK_TEST_RSP;
|
||||
|
||||
|
||||
/*************** INCLUDE FILES WITH DEPENDENCIES ON THIS FILE **************/
|
||||
#include "octvc1_gsm_evt.h"
|
||||
|
|
|
@ -17,10 +17,11 @@ 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.,
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
$Revision: $
|
||||
|
||||
|
|
|
@ -15,10 +15,11 @@ 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.,
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
|
|
|
@ -17,10 +17,11 @@ 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.
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
#ifndef __OCTVC1_GSM_API_SWAP_H__
|
||||
|
@ -62,6 +63,18 @@ extern "C" {
|
|||
#endif /* _OCT_ENDIAN_TYPE_LE_ */
|
||||
|
||||
|
||||
#define mOCTVC1_GSM_ID_TIMESLOT_NB_STUB_ENUM_SWAP( pType ) /* tOCT_UINT8 */
|
||||
|
||||
#if defined( _OCT_ENDIAN_TYPE_LE_ )
|
||||
#define mOCTVC1_GSM_TIMESLOT_NB_STUB_ENUM_SWAP( pType ){ \
|
||||
*((tOCT_UINT32 *)pType) = mOCT_SWAP32_IF_LE( *((tOCT_UINT32 *)pType) ); }
|
||||
#else
|
||||
|
||||
#define mOCTVC1_GSM_TIMESLOT_NB_STUB_ENUM_SWAP( pType )
|
||||
|
||||
#endif /* _OCT_ENDIAN_TYPE_LE_ */
|
||||
|
||||
|
||||
#define mOCTVC1_GSM_ID_SUB_CHANNEL_NB_ENUM_SWAP( pType ) /* tOCT_UINT8 */
|
||||
|
||||
#if defined( _OCT_ENDIAN_TYPE_LE_ )
|
||||
|
@ -256,6 +269,27 @@ extern "C" {
|
|||
#define mOCTVC1_GSM_CIPHER_CONFIG_SWAP( pOCTVC1_GSM_CIPHER_CONFIG )
|
||||
#endif /* _OCT_ENDIAN_TYPE_LE_ */
|
||||
|
||||
#if defined( _OCT_ENDIAN_TYPE_LE_ )
|
||||
#define mOCTVC1_GSM_BUFF_ADDR_SWAP( _f_pParms ){ tOCTVC1_GSM_BUFF_ADDR * pOCTVC1_GSM_BUFF_ADDR = (_f_pParms); SWAP_UNUSED(pOCTVC1_GSM_BUFF_ADDR)\
|
||||
((tOCTVC1_GSM_BUFF_ADDR *)pOCTVC1_GSM_BUFF_ADDR)->BuffAddr_TCHFS = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_GSM_BUFF_ADDR *)pOCTVC1_GSM_BUFF_ADDR)->BuffAddr_TCHFS); \
|
||||
((tOCTVC1_GSM_BUFF_ADDR *)pOCTVC1_GSM_BUFF_ADDR)->BuffAddr_RACH = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_GSM_BUFF_ADDR *)pOCTVC1_GSM_BUFF_ADDR)->BuffAddr_RACH); \
|
||||
}
|
||||
#else
|
||||
#define mOCTVC1_GSM_BUFF_ADDR_SWAP( pOCTVC1_GSM_BUFF_ADDR )
|
||||
#endif /* _OCT_ENDIAN_TYPE_LE_ */
|
||||
|
||||
#if defined( _OCT_ENDIAN_TYPE_LE_ )
|
||||
#define mOCTVC1_GSM_STUB_CHANNEL_ID_SWAP( _f_pParms ){ tOCTVC1_GSM_STUB_CHANNEL_ID * pOCTVC1_GSM_STUB_CHANNEL_ID = (_f_pParms); SWAP_UNUSED(pOCTVC1_GSM_STUB_CHANNEL_ID)\
|
||||
{ mOCTVC1_GSM_TIMESLOT_NB_STUB_ENUM_SWAP( &((tOCTVC1_GSM_STUB_CHANNEL_ID *)pOCTVC1_GSM_STUB_CHANNEL_ID)->byTimeslotNb ); } \
|
||||
{ mOCTVC1_GSM_ID_SUB_CHANNEL_NB_ENUM_SWAP( &((tOCTVC1_GSM_STUB_CHANNEL_ID *)pOCTVC1_GSM_STUB_CHANNEL_ID)->bySubChannelNb ); } \
|
||||
{ mOCTVC1_GSM_SAPI_ENUM_SWAP( &((tOCTVC1_GSM_STUB_CHANNEL_ID *)pOCTVC1_GSM_STUB_CHANNEL_ID)->CHANNEL_TYPE ); } \
|
||||
}
|
||||
#else
|
||||
#define mOCTVC1_GSM_STUB_CHANNEL_ID_SWAP( pOCTVC1_GSM_STUB_CHANNEL_ID )
|
||||
#endif /* _OCT_ENDIAN_TYPE_LE_ */
|
||||
|
||||
#if defined( _OCT_ENDIAN_TYPE_LE_ )
|
||||
#define mOCTVC1_GSM_LOGICAL_CHANNEL_ID_SWAP( _f_pParms ){ tOCTVC1_GSM_LOGICAL_CHANNEL_ID * pOCTVC1_GSM_LOGICAL_CHANNEL_ID = (_f_pParms); SWAP_UNUSED(pOCTVC1_GSM_LOGICAL_CHANNEL_ID)\
|
||||
{ mOCTVC1_GSM_ID_TIMESLOT_NB_ENUM_SWAP( &((tOCTVC1_GSM_LOGICAL_CHANNEL_ID *)pOCTVC1_GSM_LOGICAL_CHANNEL_ID)->byTimeslotNb ); } \
|
||||
|
@ -1297,6 +1331,62 @@ extern "C" {
|
|||
#define mOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_CMU_LOOPBACK_TEST_RSP_SWAP( pOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_CMU_LOOPBACK_TEST_RSP )
|
||||
#endif /* _OCT_ENDIAN_TYPE_LE_ */
|
||||
|
||||
#if defined( _OCT_ENDIAN_TYPE_LE_ )
|
||||
#define mOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_CMD_SWAP( _f_pParms ){ tOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_CMD * pOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_CMD = (_f_pParms); SWAP_UNUSED(pOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_CMD)\
|
||||
{ mOCTVC1_MSG_HEADER_SWAP( &((tOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_CMD *)pOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_CMD)->Header ); } \
|
||||
{ mOCTVC1_GSM_TRX_ID_SWAP( &((tOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_CMD *)pOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_CMD)->TrxId ); } \
|
||||
}
|
||||
#else
|
||||
#define mOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_CMD_SWAP( pOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_CMD )
|
||||
#endif /* _OCT_ENDIAN_TYPE_LE_ */
|
||||
|
||||
#if defined( _OCT_ENDIAN_TYPE_LE_ )
|
||||
#define mOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_RSP_SWAP( _f_pParms ){ tOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_RSP * pOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_RSP = (_f_pParms); SWAP_UNUSED(pOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_RSP)\
|
||||
{ mOCTVC1_MSG_HEADER_SWAP( &((tOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_RSP *)pOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_RSP)->Header ); } \
|
||||
{ mOCTVC1_GSM_TRX_ID_SWAP( &((tOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_RSP *)pOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_RSP)->TrxId ); } \
|
||||
{ mOCTVC1_GSM_BUFF_ADDR_SWAP( &((tOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_RSP *)pOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_RSP)->BuffADDR ); } \
|
||||
}
|
||||
#else
|
||||
#define mOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_RSP_SWAP( pOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_RSP )
|
||||
#endif /* _OCT_ENDIAN_TYPE_LE_ */
|
||||
|
||||
#if defined( _OCT_ENDIAN_TYPE_LE_ )
|
||||
#define mOCTVC1_GSM_MSG_TRX_START_STUBB_LOOPBACK_TEST_CMD_SWAP( _f_pParms ){ tOCTVC1_GSM_MSG_TRX_START_STUBB_LOOPBACK_TEST_CMD * pOCTVC1_GSM_MSG_TRX_START_STUBB_LOOPBACK_TEST_CMD = (_f_pParms); SWAP_UNUSED(pOCTVC1_GSM_MSG_TRX_START_STUBB_LOOPBACK_TEST_CMD)\
|
||||
{ mOCTVC1_MSG_HEADER_SWAP( &((tOCTVC1_GSM_MSG_TRX_START_STUBB_LOOPBACK_TEST_CMD *)pOCTVC1_GSM_MSG_TRX_START_STUBB_LOOPBACK_TEST_CMD)->Header ); } \
|
||||
{ mOCTVC1_GSM_TRX_ID_SWAP( &((tOCTVC1_GSM_MSG_TRX_START_STUBB_LOOPBACK_TEST_CMD *)pOCTVC1_GSM_MSG_TRX_START_STUBB_LOOPBACK_TEST_CMD)->TrxId ); } \
|
||||
{ mOCTVC1_GSM_STUB_CHANNEL_ID_SWAP( &((tOCTVC1_GSM_MSG_TRX_START_STUBB_LOOPBACK_TEST_CMD *)pOCTVC1_GSM_MSG_TRX_START_STUBB_LOOPBACK_TEST_CMD)->STUB_CHANNEL_ID ); } \
|
||||
}
|
||||
#else
|
||||
#define mOCTVC1_GSM_MSG_TRX_START_STUBB_LOOPBACK_TEST_CMD_SWAP( pOCTVC1_GSM_MSG_TRX_START_STUBB_LOOPBACK_TEST_CMD )
|
||||
#endif /* _OCT_ENDIAN_TYPE_LE_ */
|
||||
|
||||
#if defined( _OCT_ENDIAN_TYPE_LE_ )
|
||||
#define mOCTVC1_GSM_MSG_TRX_START_STUBB_LOOPBACK_TEST_RSP_SWAP( _f_pParms ){ tOCTVC1_GSM_MSG_TRX_START_STUBB_LOOPBACK_TEST_RSP * pOCTVC1_GSM_MSG_TRX_START_STUBB_LOOPBACK_TEST_RSP = (_f_pParms); SWAP_UNUSED(pOCTVC1_GSM_MSG_TRX_START_STUBB_LOOPBACK_TEST_RSP)\
|
||||
{ mOCTVC1_MSG_HEADER_SWAP( &((tOCTVC1_GSM_MSG_TRX_START_STUBB_LOOPBACK_TEST_RSP *)pOCTVC1_GSM_MSG_TRX_START_STUBB_LOOPBACK_TEST_RSP)->Header ); } \
|
||||
}
|
||||
#else
|
||||
#define mOCTVC1_GSM_MSG_TRX_START_STUBB_LOOPBACK_TEST_RSP_SWAP( pOCTVC1_GSM_MSG_TRX_START_STUBB_LOOPBACK_TEST_RSP )
|
||||
#endif /* _OCT_ENDIAN_TYPE_LE_ */
|
||||
|
||||
#if defined( _OCT_ENDIAN_TYPE_LE_ )
|
||||
#define mOCTVC1_GSM_MSG_TRX_STOP_STUBB_LOOPBACK_TEST_CMD_SWAP( _f_pParms ){ tOCTVC1_GSM_MSG_TRX_STOP_STUBB_LOOPBACK_TEST_CMD * pOCTVC1_GSM_MSG_TRX_STOP_STUBB_LOOPBACK_TEST_CMD = (_f_pParms); SWAP_UNUSED(pOCTVC1_GSM_MSG_TRX_STOP_STUBB_LOOPBACK_TEST_CMD)\
|
||||
{ mOCTVC1_MSG_HEADER_SWAP( &((tOCTVC1_GSM_MSG_TRX_STOP_STUBB_LOOPBACK_TEST_CMD *)pOCTVC1_GSM_MSG_TRX_STOP_STUBB_LOOPBACK_TEST_CMD)->Header ); } \
|
||||
{ mOCTVC1_GSM_TRX_ID_SWAP( &((tOCTVC1_GSM_MSG_TRX_STOP_STUBB_LOOPBACK_TEST_CMD *)pOCTVC1_GSM_MSG_TRX_STOP_STUBB_LOOPBACK_TEST_CMD)->TrxId ); } \
|
||||
{ mOCTVC1_GSM_TIMESLOT_NB_STUB_ENUM_SWAP( &((tOCTVC1_GSM_MSG_TRX_STOP_STUBB_LOOPBACK_TEST_CMD *)pOCTVC1_GSM_MSG_TRX_STOP_STUBB_LOOPBACK_TEST_CMD)->byTimeslotNb ); } \
|
||||
{ mOCTVC1_GSM_ID_SUB_CHANNEL_NB_ENUM_SWAP( &((tOCTVC1_GSM_MSG_TRX_STOP_STUBB_LOOPBACK_TEST_CMD *)pOCTVC1_GSM_MSG_TRX_STOP_STUBB_LOOPBACK_TEST_CMD)->bySubChannelNb ); } \
|
||||
}
|
||||
#else
|
||||
#define mOCTVC1_GSM_MSG_TRX_STOP_STUBB_LOOPBACK_TEST_CMD_SWAP( pOCTVC1_GSM_MSG_TRX_STOP_STUBB_LOOPBACK_TEST_CMD )
|
||||
#endif /* _OCT_ENDIAN_TYPE_LE_ */
|
||||
|
||||
#if defined( _OCT_ENDIAN_TYPE_LE_ )
|
||||
#define mOCTVC1_GSM_MSG_TRX_STOP_STUBB_LOOPBACK_TEST_RSP_SWAP( _f_pParms ){ tOCTVC1_GSM_MSG_TRX_STOP_STUBB_LOOPBACK_TEST_RSP * pOCTVC1_GSM_MSG_TRX_STOP_STUBB_LOOPBACK_TEST_RSP = (_f_pParms); SWAP_UNUSED(pOCTVC1_GSM_MSG_TRX_STOP_STUBB_LOOPBACK_TEST_RSP)\
|
||||
{ mOCTVC1_MSG_HEADER_SWAP( &((tOCTVC1_GSM_MSG_TRX_STOP_STUBB_LOOPBACK_TEST_RSP *)pOCTVC1_GSM_MSG_TRX_STOP_STUBB_LOOPBACK_TEST_RSP)->Header ); } \
|
||||
}
|
||||
#else
|
||||
#define mOCTVC1_GSM_MSG_TRX_STOP_STUBB_LOOPBACK_TEST_RSP_SWAP( pOCTVC1_GSM_MSG_TRX_STOP_STUBB_LOOPBACK_TEST_RSP )
|
||||
#endif /* _OCT_ENDIAN_TYPE_LE_ */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
|
|
|
@ -17,10 +17,11 @@ 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.,
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
|
|
@ -17,10 +17,11 @@ 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.,
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
@ -2446,5 +2447,126 @@ extern const tOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_CMU_LOOPBACK_TEST_CMD *
|
|||
}
|
||||
|
||||
|
||||
/*--------------------------------------------------------------------------
|
||||
tOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_CMD
|
||||
----------------------------------------------------------------------------*/
|
||||
#ifdef OCTVC1_OPT_DECLARE_DEFAULTS
|
||||
|
||||
const tOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_CMD buf_tOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_CMD =
|
||||
{
|
||||
{ /* Header */
|
||||
((sizeof(tOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_CMD)<<cOCTVC1_MSG_LENGTH_BIT_OFFSET)&cOCTVC1_MSG_LENGTH_BIT_MASK), /* ulLength */
|
||||
0, /* ulTransactionId */
|
||||
((cOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_CID<<cOCTVC1_MSG_ID_BIT_OFFSET)&cOCTVC1_MSG_ID_BIT_MASK), /* ul_Type_R_CmdId */
|
||||
0, /* ulSessionId */
|
||||
0, /* ulReturnCode */
|
||||
0 /* ulUserInfo */
|
||||
},
|
||||
{ /* TrxId */
|
||||
0, /* byTrxId */
|
||||
{ /* abyPad */
|
||||
0, /* abyPad[0] */
|
||||
0, /* abyPad[1] */
|
||||
0 /* abyPad[2] */
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
const tOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_CMD *g_pOctDef_tOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_CMD =
|
||||
&buf_tOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_CMD;
|
||||
|
||||
#else /* OCTVC1_OPT_DECLARE_DEFAULTS */
|
||||
extern const tOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_CMD *g_pOctDef_tOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_CMD;
|
||||
#endif /* OCTVC1_OPT_DECLARE_DEFAULTS */
|
||||
|
||||
#define mOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_CMD_DEF(pSt) \
|
||||
{ \
|
||||
*pSt = *g_pOctDef_tOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_CMD; \
|
||||
}
|
||||
|
||||
|
||||
/*--------------------------------------------------------------------------
|
||||
tOCTVC1_GSM_MSG_TRX_START_STUBB_LOOPBACK_TEST_CMD
|
||||
----------------------------------------------------------------------------*/
|
||||
#ifdef OCTVC1_OPT_DECLARE_DEFAULTS
|
||||
|
||||
const tOCTVC1_GSM_MSG_TRX_START_STUBB_LOOPBACK_TEST_CMD buf_tOCTVC1_GSM_MSG_TRX_START_STUBB_LOOPBACK_TEST_CMD =
|
||||
{
|
||||
{ /* Header */
|
||||
((sizeof(tOCTVC1_GSM_MSG_TRX_START_STUBB_LOOPBACK_TEST_CMD)<<cOCTVC1_MSG_LENGTH_BIT_OFFSET)&cOCTVC1_MSG_LENGTH_BIT_MASK), /* ulLength */
|
||||
0, /* ulTransactionId */
|
||||
((cOCTVC1_GSM_MSG_TRX_START_STUBB_LOOPBACK_TEST_CID<<cOCTVC1_MSG_ID_BIT_OFFSET)&cOCTVC1_MSG_ID_BIT_MASK), /* ul_Type_R_CmdId */
|
||||
0, /* ulSessionId */
|
||||
0, /* ulReturnCode */
|
||||
0 /* ulUserInfo */
|
||||
},
|
||||
{ /* TrxId */
|
||||
0, /* byTrxId */
|
||||
{ /* abyPad */
|
||||
0, /* abyPad[0] */
|
||||
0, /* abyPad[1] */
|
||||
0 /* abyPad[2] */
|
||||
}
|
||||
},
|
||||
{ /* STUB_CHANNEL_ID */
|
||||
cOCTVC1_GSM_TIMESLOT_NB_STUB_ENUM_0, /* byTimeslotNb */
|
||||
cOCTVC1_GSM_ID_SUB_CHANNEL_NB_ENUM_0, /* bySubChannelNb */
|
||||
cOCTVC1_GSM_SAPI_ENUM_TCHF /* CHANNEL_TYPE */
|
||||
}
|
||||
};
|
||||
|
||||
const tOCTVC1_GSM_MSG_TRX_START_STUBB_LOOPBACK_TEST_CMD *g_pOctDef_tOCTVC1_GSM_MSG_TRX_START_STUBB_LOOPBACK_TEST_CMD =
|
||||
&buf_tOCTVC1_GSM_MSG_TRX_START_STUBB_LOOPBACK_TEST_CMD;
|
||||
|
||||
#else /* OCTVC1_OPT_DECLARE_DEFAULTS */
|
||||
extern const tOCTVC1_GSM_MSG_TRX_START_STUBB_LOOPBACK_TEST_CMD *g_pOctDef_tOCTVC1_GSM_MSG_TRX_START_STUBB_LOOPBACK_TEST_CMD;
|
||||
#endif /* OCTVC1_OPT_DECLARE_DEFAULTS */
|
||||
|
||||
#define mOCTVC1_GSM_MSG_TRX_START_STUBB_LOOPBACK_TEST_CMD_DEF(pSt) \
|
||||
{ \
|
||||
*pSt = *g_pOctDef_tOCTVC1_GSM_MSG_TRX_START_STUBB_LOOPBACK_TEST_CMD; \
|
||||
}
|
||||
|
||||
|
||||
/*--------------------------------------------------------------------------
|
||||
tOCTVC1_GSM_MSG_TRX_STOP_STUBB_LOOPBACK_TEST_CMD
|
||||
----------------------------------------------------------------------------*/
|
||||
#ifdef OCTVC1_OPT_DECLARE_DEFAULTS
|
||||
|
||||
const tOCTVC1_GSM_MSG_TRX_STOP_STUBB_LOOPBACK_TEST_CMD buf_tOCTVC1_GSM_MSG_TRX_STOP_STUBB_LOOPBACK_TEST_CMD =
|
||||
{
|
||||
{ /* Header */
|
||||
((sizeof(tOCTVC1_GSM_MSG_TRX_STOP_STUBB_LOOPBACK_TEST_CMD)<<cOCTVC1_MSG_LENGTH_BIT_OFFSET)&cOCTVC1_MSG_LENGTH_BIT_MASK), /* ulLength */
|
||||
0, /* ulTransactionId */
|
||||
((cOCTVC1_GSM_MSG_TRX_STOP_STUBB_LOOPBACK_TEST_CID<<cOCTVC1_MSG_ID_BIT_OFFSET)&cOCTVC1_MSG_ID_BIT_MASK), /* ul_Type_R_CmdId */
|
||||
0, /* ulSessionId */
|
||||
0, /* ulReturnCode */
|
||||
0 /* ulUserInfo */
|
||||
},
|
||||
{ /* TrxId */
|
||||
0, /* byTrxId */
|
||||
{ /* abyPad */
|
||||
0, /* abyPad[0] */
|
||||
0, /* abyPad[1] */
|
||||
0 /* abyPad[2] */
|
||||
}
|
||||
},
|
||||
0, /* byTimeslotNb */
|
||||
0 /* bySubChannelNb */
|
||||
};
|
||||
|
||||
const tOCTVC1_GSM_MSG_TRX_STOP_STUBB_LOOPBACK_TEST_CMD *g_pOctDef_tOCTVC1_GSM_MSG_TRX_STOP_STUBB_LOOPBACK_TEST_CMD =
|
||||
&buf_tOCTVC1_GSM_MSG_TRX_STOP_STUBB_LOOPBACK_TEST_CMD;
|
||||
|
||||
#else /* OCTVC1_OPT_DECLARE_DEFAULTS */
|
||||
extern const tOCTVC1_GSM_MSG_TRX_STOP_STUBB_LOOPBACK_TEST_CMD *g_pOctDef_tOCTVC1_GSM_MSG_TRX_STOP_STUBB_LOOPBACK_TEST_CMD;
|
||||
#endif /* OCTVC1_OPT_DECLARE_DEFAULTS */
|
||||
|
||||
#define mOCTVC1_GSM_MSG_TRX_STOP_STUBB_LOOPBACK_TEST_CMD_DEF(pSt) \
|
||||
{ \
|
||||
*pSt = *g_pOctDef_tOCTVC1_GSM_MSG_TRX_STOP_STUBB_LOOPBACK_TEST_CMD; \
|
||||
}
|
||||
|
||||
|
||||
#endif /* __OCTVC1_GSM_DEFAULT_H__ */
|
||||
|
||||
|
|
|
@ -17,10 +17,11 @@ 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.,
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
|
|
@ -16,10 +16,11 @@ 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.,
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
|
|
@ -16,10 +16,11 @@ 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.,
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
|
|
@ -15,10 +15,11 @@ 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.,
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
|
|
|
@ -17,10 +17,11 @@ 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.
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
#ifndef __OCTVC1_GSM_EVT_SWAP_H__
|
||||
|
|
|
@ -17,10 +17,11 @@ 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.,
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
@ -72,8 +73,11 @@ $Octasic_Revision: $
|
|||
#define cOCTVC1_GSM_MSG_TRX_START_LOGICAL_CHANNEL_RAW_DATA_INDICATIONS_CID ( 0x035 + cOCTVC1_GSM_CID_BASE )
|
||||
#define cOCTVC1_GSM_MSG_TRX_STOP_LOGICAL_CHANNEL_RAW_DATA_INDICATIONS_CID ( 0x036 + cOCTVC1_GSM_CID_BASE )
|
||||
#define cOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_CMU_LOOPBACK_TEST_CID ( 0x037 + cOCTVC1_GSM_CID_BASE )
|
||||
#define cOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_CID ( 0x038 + cOCTVC1_GSM_CID_BASE )
|
||||
#define cOCTVC1_GSM_MSG_TRX_START_STUBB_LOOPBACK_TEST_CID ( 0x039 + cOCTVC1_GSM_CID_BASE )
|
||||
#define cOCTVC1_GSM_MSG_TRX_STOP_STUBB_LOOPBACK_TEST_CID ( 0x03a + cOCTVC1_GSM_CID_BASE )
|
||||
|
||||
#define cOCTVC1_GSM_CID_MAX (( 0x037 + 1 ) & 0xFFF)
|
||||
#define cOCTVC1_GSM_CID_MAX (( 0x03a + 1 ) & 0xFFF)
|
||||
|
||||
/****************************************************************************
|
||||
Event IDs
|
||||
|
|
|
@ -17,10 +17,11 @@ 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.,
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
|
|
@ -17,10 +17,11 @@ 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.,
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
@ -97,15 +98,17 @@ $Octasic_Revision: $
|
|||
#define cOCTVC1_GSM_RC_RF_CONFIG_INVALID_RX_GAIN_DB ( 0x1 + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_RF_CONFIG_INVALID_TX_ATTND_B ( 0x2 + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_TRX_CONFIG_INVALID_US_TSC ( 0x3 + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_LOGICAL_CHANNEL_DATA_INVALID_FRAME_NUMBER ( 0x4 + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_LOGICAL_CHANNEL_DATA_INVALID_DATA_LENGTH ( 0x5 + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_LOGICAL_CHANNEL_RAW_DATA_INVALID_FRAME_NUMBER ( 0x6 + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_LOGICAL_CHANNEL_RAW_DATA_INVALID_DATA_LENGTH ( 0x7 + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_TAP_FILTER_PHYSICAL_CHANNEL_INVALID_ENTRY_CNT ( 0x8 + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_TAP_FILTER_LOGICAL_CHANNEL_INVALID_ENTRY_CNT ( 0x9 + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_TAP_FILTER_STATS_INVALID_TAP_ID_CNT ( 0xA + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_MODULE_DATA_RF_UPLINK_INPUT_HEADER_INVALID_FRAME_NUMBER ( 0xB + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_TRX_LOGICAL_CHANNEL_EMPTY_FRAME_REQUEST_INVALID_FRAME_NUMBER ( 0xC + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_BUFF_ADDR_INVALID_BUFF_ADDR__TCHFS ( 0x4 + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_BUFF_ADDR_INVALID_BUFF_ADDR__RACH ( 0x5 + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_LOGICAL_CHANNEL_DATA_INVALID_FRAME_NUMBER ( 0x6 + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_LOGICAL_CHANNEL_DATA_INVALID_DATA_LENGTH ( 0x7 + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_LOGICAL_CHANNEL_RAW_DATA_INVALID_FRAME_NUMBER ( 0x8 + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_LOGICAL_CHANNEL_RAW_DATA_INVALID_DATA_LENGTH ( 0x9 + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_TAP_FILTER_PHYSICAL_CHANNEL_INVALID_ENTRY_CNT ( 0xA + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_TAP_FILTER_LOGICAL_CHANNEL_INVALID_ENTRY_CNT ( 0xB + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_TAP_FILTER_STATS_INVALID_TAP_ID_CNT ( 0xC + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_MODULE_DATA_RF_UPLINK_INPUT_HEADER_INVALID_FRAME_NUMBER ( 0xD + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_TRX_LOGICAL_CHANNEL_EMPTY_FRAME_REQUEST_INVALID_FRAME_NUMBER ( 0xE + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
|
||||
#endif /* OCTVC1_GSM_RC_H__ */
|
||||
|
||||
|
|
|
@ -17,10 +17,11 @@ 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.,
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
|
|
@ -17,10 +17,11 @@ 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.,
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
@ -37,10 +38,10 @@ $Octasic_Revision: $
|
|||
bit[17:11]: Bug fix version
|
||||
bit[10:0]: Build number
|
||||
*/
|
||||
#define cOCTVC1_GSM_VERSION_MAJOR 1
|
||||
#define cOCTVC1_GSM_VERSION_MINOR 3
|
||||
#define cOCTVC1_GSM_VERSION_MAJOR 2
|
||||
#define cOCTVC1_GSM_VERSION_MINOR 4
|
||||
#define cOCTVC1_GSM_VERSION_MAINTENANCE 0
|
||||
#define cOCTVC1_GSM_VERSION_BUILD 572
|
||||
#define cOCTVC1_GSM_VERSION_BUILD 662
|
||||
|
||||
#define cOCTVC1_GSM_VERSION_ID ( (cOCTVC1_GSM_VERSION_MAJOR << 25) + \
|
||||
(cOCTVC1_GSM_VERSION_MINOR << 18) + \
|
||||
|
|
|
@ -17,10 +17,11 @@ 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.,
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
$Revision: $
|
||||
|
||||
|
@ -397,8 +398,8 @@ typedef struct
|
|||
Average byte receive per seconds
|
||||
ulRxAveragePeriodUs
|
||||
Average Time in micro second between two receive
|
||||
ulFrequencyHz
|
||||
Current frequency in Hz
|
||||
ulFrequencyKhz
|
||||
Current frequency in Khz
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
|
@ -406,7 +407,7 @@ typedef struct
|
|||
tOCT_UINT32 ulRxOverflowCnt;
|
||||
tOCT_UINT32 ulRxAverageBytePerSecond;
|
||||
tOCT_UINT32 ulRxAveragePeriodUs;
|
||||
tOCT_UINT32 ulFrequencyHz;
|
||||
tOCT_UINT32 ulFrequencyKhz;
|
||||
|
||||
} tOCTVC1_HW_RF_PORT_RX_STATS;
|
||||
|
||||
|
@ -423,8 +424,8 @@ typedef struct
|
|||
Average byte receive per seconds
|
||||
ulTxAveragePeriodUs
|
||||
Average Time in micro second between two send
|
||||
ulFrequencyHz
|
||||
Current frequency in Hz
|
||||
ulFrequencyKhz
|
||||
Current frequency in Khz
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
|
@ -432,7 +433,7 @@ typedef struct
|
|||
tOCT_UINT32 ulTxUnderflowCnt;
|
||||
tOCT_UINT32 ulTxAverageBytePerSecond;
|
||||
tOCT_UINT32 ulTxAveragePeriodUs;
|
||||
tOCT_UINT32 ulFrequencyHz;
|
||||
tOCT_UINT32 ulFrequencyKhz;
|
||||
|
||||
} tOCTVC1_HW_RF_PORT_TX_STATS;
|
||||
|
||||
|
@ -529,14 +530,14 @@ typedef struct
|
|||
typedef struct
|
||||
{
|
||||
tOCTVC1_MSG_HEADER Header;
|
||||
tOCT_UINT8 szName[(cOCTVC1_HW_PCB_NAME_MAX_LENGTH+1)];
|
||||
tOCT_INT8 szName[(cOCTVC1_HW_PCB_NAME_MAX_LENGTH+1)];
|
||||
tOCT_UINT32 ulDeviceId;
|
||||
tOCT_UINT8 szSerial[(cOCTVC1_HW_PCB_SERIAL_MAX_LENGTH+1)];
|
||||
tOCT_UINT8 szFilename[(cOCTVC1_HW_PCB_FILENAME_MAX_LENGTH+1)];
|
||||
tOCT_INT8 szSerial[(cOCTVC1_HW_PCB_SERIAL_MAX_LENGTH+1)];
|
||||
tOCT_INT8 szFilename[(cOCTVC1_HW_PCB_FILENAME_MAX_LENGTH+1)];
|
||||
tOCTVC1_HW_PCB_INFO_SOURCE_ENUM ulInfoSource;
|
||||
tOCTVC1_HW_PCB_INFO_STATE_ENUM ulInfoState;
|
||||
tOCT_UINT8 szGpsName[(cOCTVC1_HW_PCB_GPS_NAME_MAX_LENGTH+1)];
|
||||
tOCT_UINT8 szWifiName[(cOCTVC1_HW_PCB_WIFI_NAME_MAX_LENGTH+1)];
|
||||
tOCT_INT8 szGpsName[(cOCTVC1_HW_PCB_GPS_NAME_MAX_LENGTH+1)];
|
||||
tOCT_INT8 szWifiName[(cOCTVC1_HW_PCB_WIFI_NAME_MAX_LENGTH+1)];
|
||||
|
||||
} tOCTVC1_HW_MSG_PCB_INFO_RSP;
|
||||
|
||||
|
@ -823,10 +824,10 @@ typedef struct
|
|||
Main Rf port owner identifier.
|
||||
ulPortInterfaceId
|
||||
PCB Port Interface Id
|
||||
ulFrequencyMinHz
|
||||
RF minimum frequency (Hz)
|
||||
ulFrequencyMaxHz
|
||||
RF maximum frequency (Hz)
|
||||
ulFrequencyMinKhz
|
||||
RF minimum frequency (Khz)
|
||||
ulFrequencyMaxKhz
|
||||
RF maximum frequency (Khz)
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
|
@ -835,8 +836,8 @@ typedef struct
|
|||
tOCT_BOOL32 ulInService;
|
||||
tOCTVC1_HANDLE_OBJECT hOwner;
|
||||
tOCT_UINT32 ulPortInterfaceId;
|
||||
tOCT_UINT32 ulFrequencyMinHz;
|
||||
tOCT_UINT32 ulFrequencyMaxHz;
|
||||
tOCT_UINT32 ulFrequencyMinKhz;
|
||||
tOCT_UINT32 ulFrequencyMaxKhz;
|
||||
|
||||
} tOCTVC1_HW_MSG_RF_PORT_INFO_RSP;
|
||||
|
||||
|
|
|
@ -17,10 +17,11 @@ 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.,
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
$Revision: $
|
||||
|
||||
|
|
|
@ -15,10 +15,11 @@ 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.,
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
|
|
|
@ -17,10 +17,11 @@ 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.
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
#ifndef __OCTVC1_HW_API_SWAP_H__
|
||||
|
@ -237,8 +238,8 @@ extern "C" {
|
|||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_RF_PORT_RX_STATS *)pOCTVC1_HW_RF_PORT_RX_STATS)->ulRxAverageBytePerSecond); \
|
||||
((tOCTVC1_HW_RF_PORT_RX_STATS *)pOCTVC1_HW_RF_PORT_RX_STATS)->ulRxAveragePeriodUs = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_RF_PORT_RX_STATS *)pOCTVC1_HW_RF_PORT_RX_STATS)->ulRxAveragePeriodUs); \
|
||||
((tOCTVC1_HW_RF_PORT_RX_STATS *)pOCTVC1_HW_RF_PORT_RX_STATS)->ulFrequencyHz = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_RF_PORT_RX_STATS *)pOCTVC1_HW_RF_PORT_RX_STATS)->ulFrequencyHz); \
|
||||
((tOCTVC1_HW_RF_PORT_RX_STATS *)pOCTVC1_HW_RF_PORT_RX_STATS)->ulFrequencyKhz = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_RF_PORT_RX_STATS *)pOCTVC1_HW_RF_PORT_RX_STATS)->ulFrequencyKhz); \
|
||||
}
|
||||
#else
|
||||
#define mOCTVC1_HW_RF_PORT_RX_STATS_SWAP( pOCTVC1_HW_RF_PORT_RX_STATS )
|
||||
|
@ -254,8 +255,8 @@ extern "C" {
|
|||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_RF_PORT_TX_STATS *)pOCTVC1_HW_RF_PORT_TX_STATS)->ulTxAverageBytePerSecond); \
|
||||
((tOCTVC1_HW_RF_PORT_TX_STATS *)pOCTVC1_HW_RF_PORT_TX_STATS)->ulTxAveragePeriodUs = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_RF_PORT_TX_STATS *)pOCTVC1_HW_RF_PORT_TX_STATS)->ulTxAveragePeriodUs); \
|
||||
((tOCTVC1_HW_RF_PORT_TX_STATS *)pOCTVC1_HW_RF_PORT_TX_STATS)->ulFrequencyHz = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_RF_PORT_TX_STATS *)pOCTVC1_HW_RF_PORT_TX_STATS)->ulFrequencyHz); \
|
||||
((tOCTVC1_HW_RF_PORT_TX_STATS *)pOCTVC1_HW_RF_PORT_TX_STATS)->ulFrequencyKhz = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_RF_PORT_TX_STATS *)pOCTVC1_HW_RF_PORT_TX_STATS)->ulFrequencyKhz); \
|
||||
}
|
||||
#else
|
||||
#define mOCTVC1_HW_RF_PORT_TX_STATS_SWAP( pOCTVC1_HW_RF_PORT_TX_STATS )
|
||||
|
@ -491,10 +492,10 @@ extern "C" {
|
|||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_RF_PORT_INFO_RSP *)pOCTVC1_HW_MSG_RF_PORT_INFO_RSP)->hOwner); \
|
||||
((tOCTVC1_HW_MSG_RF_PORT_INFO_RSP *)pOCTVC1_HW_MSG_RF_PORT_INFO_RSP)->ulPortInterfaceId = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_RF_PORT_INFO_RSP *)pOCTVC1_HW_MSG_RF_PORT_INFO_RSP)->ulPortInterfaceId); \
|
||||
((tOCTVC1_HW_MSG_RF_PORT_INFO_RSP *)pOCTVC1_HW_MSG_RF_PORT_INFO_RSP)->ulFrequencyMinHz = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_RF_PORT_INFO_RSP *)pOCTVC1_HW_MSG_RF_PORT_INFO_RSP)->ulFrequencyMinHz); \
|
||||
((tOCTVC1_HW_MSG_RF_PORT_INFO_RSP *)pOCTVC1_HW_MSG_RF_PORT_INFO_RSP)->ulFrequencyMaxHz = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_RF_PORT_INFO_RSP *)pOCTVC1_HW_MSG_RF_PORT_INFO_RSP)->ulFrequencyMaxHz); \
|
||||
((tOCTVC1_HW_MSG_RF_PORT_INFO_RSP *)pOCTVC1_HW_MSG_RF_PORT_INFO_RSP)->ulFrequencyMinKhz = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_RF_PORT_INFO_RSP *)pOCTVC1_HW_MSG_RF_PORT_INFO_RSP)->ulFrequencyMinKhz); \
|
||||
((tOCTVC1_HW_MSG_RF_PORT_INFO_RSP *)pOCTVC1_HW_MSG_RF_PORT_INFO_RSP)->ulFrequencyMaxKhz = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_RF_PORT_INFO_RSP *)pOCTVC1_HW_MSG_RF_PORT_INFO_RSP)->ulFrequencyMaxKhz); \
|
||||
}
|
||||
#else
|
||||
#define mOCTVC1_HW_MSG_RF_PORT_INFO_RSP_SWAP( pOCTVC1_HW_MSG_RF_PORT_INFO_RSP )
|
||||
|
|
|
@ -17,10 +17,11 @@ 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.,
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
|
|
@ -17,10 +17,11 @@ 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.,
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
|
|
@ -17,10 +17,11 @@ 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.,
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
|
|
@ -16,10 +16,11 @@ 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.,
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
|
|
@ -16,10 +16,11 @@ 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.,
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
|
|
@ -15,10 +15,11 @@ 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.,
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
|
|
|
@ -17,10 +17,11 @@ 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.
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
#ifndef __OCTVC1_HW_EVT_SWAP_H__
|
||||
|
|
|
@ -17,10 +17,11 @@ 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.,
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
|
|
@ -17,10 +17,11 @@ 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.,
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
|
|
@ -17,10 +17,11 @@ 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.,
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
|
|
@ -17,10 +17,11 @@ 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.,
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
|
|
@ -17,10 +17,11 @@ 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.,
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
@ -38,9 +39,9 @@ $Octasic_Revision: $
|
|||
bit[10:0]: Build number
|
||||
*/
|
||||
#define cOCTVC1_HW_VERSION_MAJOR 2
|
||||
#define cOCTVC1_HW_VERSION_MINOR 3
|
||||
#define cOCTVC1_HW_VERSION_MINOR 4
|
||||
#define cOCTVC1_HW_VERSION_MAINTENANCE 0
|
||||
#define cOCTVC1_HW_VERSION_BUILD 572
|
||||
#define cOCTVC1_HW_VERSION_BUILD 662
|
||||
|
||||
#define cOCTVC1_HW_VERSION_ID ( (cOCTVC1_HW_VERSION_MAJOR << 25) + \
|
||||
(cOCTVC1_HW_VERSION_MINOR << 18) + \
|
||||
|
|
|
@ -18,10 +18,11 @@ 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.,
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
$Revision: $
|
||||
|
||||
|
@ -200,8 +201,8 @@ typedef struct
|
|||
tOCT_UINT32 hProcess;
|
||||
tOCTVC1_TAP_DIRECTION_ENUM ulDirection;
|
||||
tOCT_UINT32 ulDataSubType;
|
||||
tOCT_UINT8 szName[(cOCTVC1_HANDLE_OBJECT32_NAME_MAX_LENGTH+1)];/* NOSWAPMAC */
|
||||
tOCT_UINT8 szDescription[(cOCTVC1_IRSC_APPLICATION_TAP_MAX_DESCRIPTION_BYTE_SIZE+1)];/* NOSWAPMAC */
|
||||
tOCT_INT8 szName[(cOCTVC1_HANDLE_OBJECT32_NAME_MAX_LENGTH+1)];/* NOSWAPMAC */
|
||||
tOCT_INT8 szDescription[(cOCTVC1_IRSC_APPLICATION_TAP_MAX_DESCRIPTION_BYTE_SIZE+1)];/* NOSWAPMAC */
|
||||
|
||||
} tOCTVC1_IRSC_APPLICATION_TAP_INFO;
|
||||
|
||||
|
@ -286,8 +287,8 @@ typedef struct
|
|||
{
|
||||
tOCTVC1_MSG_HEADER Header;
|
||||
tOCT_UINT32 hProcess;
|
||||
tOCT_UINT8 szName[(cOCTVC1_HANDLE_OBJECT32_NAME_MAX_LENGTH+1)];/* NOSWAPMAC */
|
||||
tOCT_UINT8 szProcessImageName[(cOCTVC1_PROCESS_IMAGE_NAME_MAX_LENGTH+1)];/* NOSWAPMAC */
|
||||
tOCT_INT8 szName[(cOCTVC1_HANDLE_OBJECT32_NAME_MAX_LENGTH+1)];/* NOSWAPMAC */
|
||||
tOCT_INT8 szProcessImageName[(cOCTVC1_PROCESS_IMAGE_NAME_MAX_LENGTH+1)];/* NOSWAPMAC */
|
||||
tOCTVC1_PROCESS_TYPE_ENUM ulType;
|
||||
|
||||
} tOCTVC1_IRSC_MSG_PROCESS_INFO_RSP;
|
||||
|
@ -437,7 +438,7 @@ typedef struct
|
|||
tOCTVC1_HANDLE_OBJECT hRemoteProcess;
|
||||
tOCTVC1_SUB_OBJECT_ID ulRemotePortId;
|
||||
tOCT_UINT32 ulRemoteUserId;
|
||||
tOCT_UINT8 szName[(cOCTVC1_HANDLE_OBJECT32_NAME_MAX_LENGTH+1)];/* NOSWAPMAC */
|
||||
tOCT_INT8 szName[(cOCTVC1_HANDLE_OBJECT32_NAME_MAX_LENGTH+1)];/* NOSWAPMAC */
|
||||
tOCT_UINT32 ulPortIdx;
|
||||
tOCTVC1_IRSC_IPC_PORT_TYPE_ENUM ulType;
|
||||
tOCT_BOOL32 ulSystemFlag;
|
||||
|
@ -572,7 +573,7 @@ typedef struct
|
|||
tOCTVC1_MSG_HEADER Header;
|
||||
tOCTVC1_HANDLE_OBJECT hProcess;
|
||||
tOCTVC1_SUB_OBJECT_ID ulTaskIndex;
|
||||
tOCT_UINT8 szName[(cOCTVC1_HANDLE_OBJECT32_NAME_MAX_LENGTH+1)];
|
||||
tOCT_INT8 szName[(cOCTVC1_HANDLE_OBJECT32_NAME_MAX_LENGTH+1)];
|
||||
|
||||
} tOCTVC1_IRSC_MSG_PROCESS_INFO_TASK_RSP;
|
||||
|
||||
|
@ -693,7 +694,7 @@ typedef struct
|
|||
tOCT_UINT32 ulObjType;
|
||||
tOCT_UINT32 ulMaxNumObj;
|
||||
tOCT_UINT32 ulObjByteSize;
|
||||
tOCT_UINT8 szName[(cOCTVC1_HANDLE_OBJECT32_NAME_MAX_LENGTH+1)];
|
||||
tOCT_INT8 szName[(cOCTVC1_HANDLE_OBJECT32_NAME_MAX_LENGTH+1)];
|
||||
|
||||
} tOCTVC1_IRSC_MSG_OBJMGR_INFO_RSP;
|
||||
|
||||
|
|
|
@ -18,10 +18,11 @@ 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.,
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
$Revision: $
|
||||
|
||||
|
|
|
@ -15,10 +15,11 @@ 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.,
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
|
|
|
@ -17,10 +17,11 @@ 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.
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
#ifndef __OCTVC1_IRSC_API_SWAP_H__
|
||||
|
|
|
@ -17,10 +17,11 @@ 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.,
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
|
|
@ -17,10 +17,11 @@ 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.,
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
|
|
@ -17,10 +17,11 @@ 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.,
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
|
|
@ -16,10 +16,11 @@ 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.,
|
||||
with this program;if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue