Browse Source

Import OCTSDR-2G-WS-02.02.04-B403-ALPHA

master
Harald Welte 6 years ago
parent
commit
ef76d7adbc
  1. BIN
      application/tool/wireshark/1.2.6/plugins/oct_rfc4175_yuv_ws.dll
  2. BIN
      application/tool/wireshark/1.2.6/plugins/octpkt_ws.dll
  3. BIN
      application/tool/wireshark/1.6.5/plugins/oct_rfc4175_yuv_ws.dll
  4. BIN
      application/tool/wireshark/1.6.5/plugins/octpkt_ws.dll
  5. 4
      application/tool/wireshark/plugins/octasic/MakeRules.nmake
  6. 13
      application/tool/wireshark/plugins/octasic/include/oct_ws_macro.h
  7. 13
      application/tool/wireshark/plugins/octasic/include/oct_ws_priv.h
  8. 13
      application/tool/wireshark/plugins/octasic/include/oct_ws_version.h
  9. 3
      application/tool/wireshark/plugins/octasic/octpkt_ws/Makefile.am
  10. BIN
      application/tool/wireshark/plugins/octasic/octpkt_ws/Release_1.6.5/octpkt.obj
  11. BIN
      application/tool/wireshark/plugins/octasic/octpkt_ws/Release_1.6.5/octpkt_ws.dll
  12. BIN
      application/tool/wireshark/plugins/octasic/octpkt_ws/Release_1.6.5/octpkt_ws.exp
  13. BIN
      application/tool/wireshark/plugins/octasic/octpkt_ws/Release_1.6.5/octpkt_ws.lib
  14. BIN
      application/tool/wireshark/plugins/octasic/octpkt_ws/Release_1.6.5/octpkt_ws.pdb
  15. 0
      application/tool/wireshark/plugins/octasic/octpkt_ws/Release_1.6.5/octpkt_ws.rc
  16. BIN
      application/tool/wireshark/plugins/octasic/octpkt_ws/Release_1.6.5/octpkt_ws.res
  17. BIN
      application/tool/wireshark/plugins/octasic/octpkt_ws/Release_1.6.5/plugin.obj
  18. BIN
      application/tool/wireshark/plugins/octasic/octpkt_ws/Release_1.6.5/vc90.pdb
  19. 28
      application/tool/wireshark/plugins/octasic/octpkt_ws/include/moduleinfo.h
  20. 50
      application/tool/wireshark/plugins/octasic/octpkt_ws/source/octpkt.c
  21. 28
      application/tool/wireshark/plugins/octasic/octpkt_ws/source/plugin.c
  22. 36
      application/tool/wireshark/plugins/octasic/octsdr/makefile.nmake
  23. 4
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/MakeSmokeApp.nmake
  24. 3
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/Makefile.am
  25. 5
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/Makefile.common
  26. BIN
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/octdev_common.obj
  27. BIN
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/octpkt_common.obj
  28. BIN
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/octvc1_cid_eid_value_string.obj
  29. BIN
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/octvc1_common.obj
  30. BIN
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/octvc1_module_cpp.obj
  31. BIN
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/octvc1_module_ctrl.obj
  32. BIN
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/octvc1_module_gsm.obj
  33. BIN
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/octvc1_module_main.obj
  34. BIN
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/octvc1_module_net.obj
  35. BIN
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/octvc1_msg_ctrl.obj
  36. BIN
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/octvc1_msg_event.obj
  37. BIN
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/octvc1_plugin.obj
  38. BIN
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/octvc1_ws.dll
  39. BIN
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/octvc1_ws.exp
  40. BIN
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/octvc1_ws.lib
  41. BIN
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/octvc1_ws.pdb
  42. 0
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/octvc1_ws.rc
  43. BIN
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/octvc1_ws.res
  44. BIN
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/octvocnet_common.obj
  45. BIN
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/plugin.obj
  46. BIN
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/vc90.pdb
  47. BIN
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/ws_util.obj
  48. 13
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/include/module.h
  49. 40
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/include/octdev_common.h
  50. 38
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/include/octpkt_common.h
  51. 95
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/include/octvc1_common.h
  52. 35
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/include/octvocnet_common.h
  53. 13
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/include/plugin_info.h
  54. 13
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/include/ws_util.h
  55. 6
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/makefile.nmake
  56. 141
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/oasis2ws.nmake
  57. 7
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/oasis_pkgCommon.xml
  58. BIN
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/octvc1.pcap
  59. 22
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/source/octdev_common.c
  60. 33
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/source/octpkt_common.c
  61. 406
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/source/octvc1_cid_eid_value_string.c
  62. 1597
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/source/octvc1_common.c
  63. 4396
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/source/octvc1_module_cpp.c
  64. 34
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/source/octvc1_module_ctrl.c
  65. 8450
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/source/octvc1_module_gsm.c
  66. 5114
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/source/octvc1_module_hw.c
  67. 3845
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/source/octvc1_module_irsc.c
  68. 9981
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/source/octvc1_module_main.c
  69. 16794
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/source/octvc1_module_net.c
  70. 1802
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/source/octvc1_module_test.c
  71. 51
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/source/octvc1_msg_ctrl.c
  72. 52
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/source/octvc1_msg_event.c
  73. 320
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/source/octvc1_plugin.c
  74. 86
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/source/octvocnet_common.c
  75. 28
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/source/plugin.c
  76. 26
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/source/ws_util.c
  77. 100
      application/tool/wireshark/plugins/octasic/octsdr/octvocnet_ws/Makefile.am
  78. 41
      application/tool/wireshark/plugins/octasic/octsdr/octvocnet_ws/Makefile.common
  79. 45
      application/tool/wireshark/plugins/octasic/octsdr/octvocnet_ws/Makefile.nmake
  80. 40
      application/tool/wireshark/plugins/octasic/octsdr/octvocnet_ws/include/module.h
  81. 30
      application/tool/wireshark/plugins/octasic/octsdr/octvocnet_ws/include/moduleinfo.h
  82. 42
      application/tool/wireshark/plugins/octasic/octsdr/octvocnet_ws/include/octvocnet_common.h
  83. 34
      application/tool/wireshark/plugins/octasic/octsdr/octvocnet_ws/source/octvocnet.rc
  84. 49
      application/tool/wireshark/plugins/octasic/octsdr/octvocnet_ws/source/octvocnet_common.c
  85. 1390
      application/tool/wireshark/plugins/octasic/octsdr/octvocnet_ws/source/packet-vocallonet.c
  86. 38
      application/tool/wireshark/plugins/octasic/octsdr/octvocnet_ws/source/plugin.c
  87. 1
      application/tool/wireshark/ws_dev_root.nmake
  88. 46
      makefile.nmake
  89. 15
      readme.txt
  90. 21
      software/include/octdev_devices.h
  91. 63
      software/include/octdev_devices_swap.h
  92. 20
      software/include/octdev_macro.h
  93. 20
      software/include/octdev_opus_rev.h
  94. 20
      software/include/octdev_rc_base.h
  95. 65
      software/include/octdev_types.h
  96. 38
      software/include/octdev_types_swap.h
  97. 23
      software/include/octpkt/octpkt_hdr.h
  98. 43
      software/include/octpkt/octpkt_hdr_swap.h
  99. 20
      software/include/octpkt/octpkt_hdrxl.h
  100. 36
      software/include/octpkt/octpkt_hdrxl_swap.h

BIN
application/tool/wireshark/1.2.6/plugins/oct_rfc4175_yuv_ws.dll

BIN
application/tool/wireshark/1.2.6/plugins/octpkt_ws.dll

BIN
application/tool/wireshark/1.6.5/plugins/oct_rfc4175_yuv_ws.dll

BIN
application/tool/wireshark/1.6.5/plugins/octpkt_ws.dll

4
application/tool/wireshark/plugins/octasic/MakeRules.nmake

@ -22,7 +22,11 @@ CFLAGS=/DHAVE_CONFIG_H /I$(WIRESHARK_LIBS)/../ $(GLIB_CFLAGS) \
!IF EXIST("$(OCT_INC)/octcodec")
/I$(OCT_INC)/octcodec \
!ENDIF
!IF EXIST("$(OCT_INC)/octvc1")
/I$(OCT_INC)/octvc1 \
!ELSEIF EXIST("$(OCT_INC)/vocallo")
/I$(OCT_INC)/vocallo \
!ENDIF
!IF EXIST("$(OCT_INC)/../octmfa_api/include")
/I$(OCT_INC)/../octmfa_api/include \
!ENDIF

13
application/tool/wireshark/plugins/octasic/include/oct_ws_macro.h

@ -2,13 +2,13 @@
File: oct_ws_macro.c
Copyright (c) 2014 Octasic Inc. All rights reserved.
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 Affero General Public License as published by
the Free Software Foundation; either version 3 of the License, or
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,
@ -16,10 +16,11 @@ 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 Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
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-01.00.01-B497 (2014/01/09)
Release: Octasic Application Development Framework OCTADF-03.03.00-B1571 (2015/03/24)
$Octasic_Revision: 4 $

13
application/tool/wireshark/plugins/octasic/include/oct_ws_priv.h

@ -2,13 +2,13 @@
File: oct_ws_priv.c
Copyright (c) 2014 Octasic Inc. All rights reserved.
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 Affero General Public License as published by
the Free Software Foundation; either version 3 of the License, or
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,
@ -16,10 +16,11 @@ 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 Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
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-01.00.01-B497 (2014/01/09)
Release: Octasic Application Development Framework OCTADF-03.03.00-B1571 (2015/03/24)
$Octasic_Revision: 4 $

13
application/tool/wireshark/plugins/octasic/include/oct_ws_version.h

@ -2,13 +2,13 @@
File: oct_ws_version.c
Copyright (c) 2014 Octasic Inc. All rights reserved.
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 Affero General Public License as published by
the Free Software Foundation; either version 3 of the License, or
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,
@ -16,10 +16,11 @@ 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 Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
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-01.00.01-B497 (2014/01/09)
Release: Octasic Application Development Framework OCTADF-03.03.00-B1571 (2015/03/24)
$Octasic_Revision: 4 $

3
application/tool/wireshark/plugins/octasic/octpkt_ws/Makefile.am

@ -1,7 +1,8 @@
# Makefile.am
OCT_INC = $(OCT_PATH)/software/include
INCLUDES = -I$(top_srcdir) -I$(includedir) -I$(OCT_INC) -I$(OCT_INC)/vocallo -I$(OCT_INC)/octpkt
INCLUDES = -I$(top_srcdir) -I$(includedir) -I$(OCT_INC) -I$(OCT_INC)/octvc1 -I$(OCT_INC)/vocallo -I$(OCT_INC)/octpkt
include Makefile.common

BIN
application/tool/wireshark/plugins/octasic/octpkt_ws/Release_1.6.5/octpkt.obj

BIN
application/tool/wireshark/plugins/octasic/octpkt_ws/Release_1.6.5/octpkt_ws.dll

BIN
application/tool/wireshark/plugins/octasic/octpkt_ws/Release_1.6.5/octpkt_ws.exp

BIN
application/tool/wireshark/plugins/octasic/octpkt_ws/Release_1.6.5/octpkt_ws.lib

BIN
application/tool/wireshark/plugins/octasic/octpkt_ws/Release_1.6.5/octpkt_ws.pdb

0
application/tool/wireshark/plugins/octasic/octpkt_ws/Release_1.6.5/octpkt_ws.rc

BIN
application/tool/wireshark/plugins/octasic/octpkt_ws/Release_1.6.5/octpkt_ws.res

BIN
application/tool/wireshark/plugins/octasic/octpkt_ws/Release_1.6.5/plugin.obj

BIN
application/tool/wireshark/plugins/octasic/octpkt_ws/Release_1.6.5/vc90.pdb

28
application/tool/wireshark/plugins/octasic/octpkt_ws/include/moduleinfo.h

@ -1,30 +1,4 @@
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
File: moduleinfo.h
$Octasic_Copyright: $
Description: Included *after* config.h, in order to re-define these macros
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation; either version 3 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 Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
$Octasic_Release: $
$Revision: $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
/* Included *after* config.h, in order to re-define these macros */
#include "../../include/oct_ws_version.h"
#ifdef PACKAGE

50
application/tool/wireshark/plugins/octasic/octpkt_ws/source/octpkt.c

@ -1,29 +1,27 @@
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
File: octpkt.c
$Octasic_Copyright: $
Description:
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation; either version 3 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 Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
$Octasic_Release: $
$Revision: $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
/* octpkt.c
* Routines for octpkt dissection
* Copyright 2004, Ocatasic inc.
*
* $Id: README.developer 11475 2004-07-23 01:37:35Z guy $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
* 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.
*/
#ifdef HAVE_CONFIG_H
# include "config.h"

28
application/tool/wireshark/plugins/octasic/octpkt_ws/source/plugin.c

@ -1,29 +1,5 @@
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
File: plugin.c
$Octasic_Copyright: $
Description:
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation; either version 3 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 Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
$Octasic_Release: $
$Revision: $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
/* Do not modify this file. */
/* It is created automatically by the Makefile. */
#ifdef HAVE_CONFIG_H
# include "config.h"

36
application/tool/wireshark/plugins/octasic/octsdr/makefile.nmake

@ -2,23 +2,57 @@
# nmake file for Wireshark plugins
DEV_ROOT=../../../../../../..
WS_ROOT=../../../..
!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
!IF EXIST("$(WS_APP_PLUGIN)/1.6.5")
TGT_WS_VERSION=1.6.5
!ENDIF
!ENDIF
all: setup_m
@cd "octvc1"
@$(MAKE) /NOLOGO /$(MAKEFLAGS) -f makefile.nmake
@cd $(MAKEDIR)
@cd "octvocnet_ws"
@$(MAKE) /NOLOGO /$(MAKEFLAGS) -f makefile.nmake
@cd $(MAKEDIR)
clean: setup_m
@cd "octvc1"
@$(MAKE) /NOLOGO /$(MAKEFLAGS) -f makefile.nmake clean
@cd $(MAKEDIR)
@cd "octvocnet_ws"
@$(MAKE) /NOLOGO /$(MAKEFLAGS) -f makefile.nmake clean
@cd $(MAKEDIR)
install: setup_m
@cd "octvc1"
@$(MAKE) /NOLOGO /$(MAKEFLAGS) -f makefile.nmake install
@cd $(MAKEDIR)
@cd "octvocnet_ws"
@$(MAKE) /NOLOGO /$(MAKEFLAGS) -f makefile.nmake install
@cd $(MAKEDIR)
@if exist ..\..\..\$(TGT_WS_VERSION)\plugins @xcopy "..\..\..\$(TGT_WS_VERSION)\plugins\*.dll" "$(WS_APP_PLUGIN:/=\)$(TGT_WS_VERSION)" /Y /I /Q
smoke_app: setup_m
@cd "octvc1"
@$(MAKE) /NOLOGO /$(MAKEFLAGS) -f MakeSmokeApp.nmake
@cd $(MAKEDIR)
setup_m:
@SET WS_ROOT=$(WS_ROOT)
@SET DEV_ROOT=$(DEV_ROOT)

4
application/tool/wireshark/plugins/octasic/octsdr/octvc1/MakeSmokeApp.nmake

@ -63,7 +63,11 @@ CFLAGS=/DHAVE_CONFIG_H /I$(WIRESHARK_LIBS)/../ $(GLIB_CFLAGS) \
$(cflags) \
$(LOCAL_CFLAGS) \
/I ../../ \
!IF EXIST("$(OCT_INC)/octvc1")
/I$(OCT_INC)/octvc1 \
!ELSEIF EXIST("$(OCT_INC)/vocallo")
/I$(OCT_INC)/vocallo \
!ENDIF
/I$(PCAP_DIR)\include -D_U_=""
CVARSDLL=-DWIN32 -DNULL=0 -D_MT -D_DLL

3
application/tool/wireshark/plugins/octasic/octsdr/octvc1/Makefile.am

@ -1,6 +1,7 @@
# Makefile.am
OCT_INC = $(OCT_PATH)/software/include
INCLUDES = -I$(top_srcdir) -I$(includedir) -I$(OCT_INC) -I$(OCT_INC)/vocallo -I$(OCT_INC)/octpkt
INCLUDES = -I$(top_srcdir) -I$(includedir) -I$(OCT_INC) -I$(OCT_INC)/octvc1 -I$(OCT_INC)/vocallo -I$(OCT_INC)/octpkt
include Makefile.common

5
application/tool/wireshark/plugins/octasic/octsdr/octvc1/Makefile.common

@ -7,9 +7,10 @@ DISSECTOR_SRC= \
source/octvc1_common.c \
source/octvc1_module_ctrl.c \
source/octvc1_module_main.c \
source/octvc1_module_test.c \
source/octvc1_module_hw.c \
source/octvc1_module_irsc.c \
source/octvc1_module_gsm.c \
source/octvc1_module_cpp.c \
source/octvc1_module_net.c \
source/octvc1_cid_eid_value_string.c
PLUGIN_NAME=octvc1_ws

BIN
application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/octdev_common.obj

BIN
application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/octpkt_common.obj

BIN
application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/octvc1_cid_eid_value_string.obj

BIN
application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/octvc1_common.obj

BIN
application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/octvc1_module_cpp.obj

BIN
application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/octvc1_module_ctrl.obj

BIN
application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/octvc1_module_gsm.obj

BIN
application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/octvc1_module_main.obj

BIN
application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/octvc1_module_net.obj

BIN
application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/octvc1_msg_ctrl.obj

BIN
application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/octvc1_msg_event.obj

BIN
application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/octvc1_plugin.obj

BIN
application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/octvc1_ws.dll

BIN
application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/octvc1_ws.exp

BIN
application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/octvc1_ws.lib

BIN
application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/octvc1_ws.pdb

0
application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/octvc1_ws.rc

BIN
application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/octvc1_ws.res

BIN
application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/octvocnet_common.obj

BIN
application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/plugin.obj

BIN
application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/vc90.pdb

BIN
application/tool/wireshark/plugins/octasic/octsdr/octvc1/Release_1.6.5/ws_util.obj

13
application/tool/wireshark/plugins/octasic/octsdr/octvc1/include/module.h

@ -2,13 +2,13 @@
File: module.h
Copyright (c) 2014 Octasic Inc. All rights reserved.
Copyright (c) 2015 Octasic Inc. All rights reserved.
Description: Wireshark module
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation; either version 3 of the License, or
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,
@ -16,10 +16,11 @@ 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 Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
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-01.00.01-B497 (2014/01/09)
Release: Octasic Application Development Framework OCTADF-03.03.00-B1571 (2015/03/24)
$Octasic_Revision: 4 $

40
application/tool/wireshark/plugins/octasic/octsdr/octvc1/include/octdev_common.h

@ -2,24 +2,26 @@
File: octdev_common.h
Copyright (c) 2014 Octasic Inc. All rights reserved.
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 Affero General Public License as published by
the Free Software Foundation; either version 3 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 Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
$Octasic_Release: $
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.02.04-B403 (2015/04/27)
$Octasic_Revision: $
@ -34,10 +36,10 @@ $Octasic_Revision: $
/****************************************************************************
COMMON API ENUMERATION STRING VALUES
****************************************************************************/
extern const value_string vals_tOCT_BOOL32[];
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[];
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__ */

38
application/tool/wireshark/plugins/octasic/octsdr/octvc1/include/octpkt_common.h

@ -2,24 +2,26 @@
File: octpkt_common.h
Copyright (c) 2014 Octasic Inc. All rights reserved.
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 Affero General Public License as published by
the Free Software Foundation; either version 3 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 Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
$Octasic_Release: $
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.02.04-B403 (2015/04/27)
$Octasic_Revision: $
@ -34,9 +36,9 @@ $Octasic_Revision: $
/****************************************************************************
COMMON API ENUMERATION STRING VALUES
****************************************************************************/
extern const value_string vals_tOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK[];
extern const value_string vals_tOCTPKT_HDR_CONTROL_PROTOCOL_TYPE_ENUM[];
extern const value_string vals_tOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK[];
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_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK[10];
#endif /* _OCTPKT_COMMON_H__ */

95
application/tool/wireshark/plugins/octasic/octsdr/octvc1/include/octvc1_common.h

@ -2,24 +2,26 @@
File: octvc1_common.h
Copyright (c) 2014 Octasic Inc. All rights reserved.
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 Affero General Public License as published by
the Free Software Foundation; either version 3 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 Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Release: Octasic Application Development Framework OCTADF-01.00.01-B497 (2014/01/09)
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.02.04-B403 (2015/04/27)
$Octasic_Revision: $
@ -37,18 +39,31 @@ $Octasic_Revision: $
/****************************************************************************
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[];
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_TRACE_MASK[];
extern const value_string vals_tOCTVC1_FILE_TYPE_ENUM[];
extern const value_string vals_tOCTVC1_FILE_FORMAT_ENUM[];
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_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
@ -61,18 +76,28 @@ extern unsigned int dissect_tOCTVC1_CURSOR_HANDLE_OBJECT_GET(tvbuff_t *tvb, pac
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_HANDLE(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_GET(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
extern unsigned int dissect_tOCTVC1_LIST_HANDLE_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_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_HANDLE(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
@ -80,16 +105,12 @@ extern unsigned int dissect_tOCTVC1_HANDLE(tvbuff_t *tvb, packet_info *pinfo, p
void ws_register_OCTVC1_common(void);
#define cOCTVC1_PRIVATE_ID_STRING "unknowned_private"
#define cOCTVC1_UNKNOWN_STRING "Unknown"
#define cOCTVC1_GOD_USER "oct-super-user"
#define cOCTVC1_GOD_USER_ID "octsu98asic"
#define cOCTVC1_PRIVATE_VISIBILITY_USER "oct-dev"
#define cOCTVC1_GOD_USER "user_0"
#define cOCTVC1_GOD_USER_ID "user_1"
#define cOCTVC1_PRIVATE_VISIBILITY_USER "user_2"
#ifdef OCT_DECLARE_COMMON
gchar* aOCTVC1_user_list[][2] = {
{ "oct-dev","octdev98asic"},
{ "feature-spec","feature-psw"},
{ "company","company-psw"},
{ "company-2","company-2-psw"},
{NULL,NULL}
gchar* aOCTVC1_user_list[][2] = {
{NULL,NULL}
};
#else
gchar* aOCTVC1_user_list[][2];

35
application/tool/wireshark/plugins/octasic/octsdr/octvc1/include/octvocnet_common.h

@ -2,24 +2,26 @@
File: octvocnet_common.h
Copyright (c) 2014 Octasic Inc. All rights reserved.
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 Affero General Public License as published by
the Free Software Foundation; either version 3 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 Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Release: Octasic Application Development Framework OCTADF-01.00.01-B497 (2014/01/09)
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.02.04-B403 (2015/04/27)
$Octasic_Revision: $
@ -34,8 +36,7 @@ $Octasic_Revision: $
/****************************************************************************
COMMON API ENUMERATION STRING VALUES
****************************************************************************/
extern const value_string vals_tOCTVOCNET_PKT_CONTROL_PROTOCOL_TYPE_ENUM[];
extern const value_string vals_tOCTVOCNET_PKT_D_TYPE_ENUM[];
extern const value_string vals_tOCTVOCNET_PKT_CONTROL_PROTOCOL_TYPE_ENUM[];
#endif /* _OCTVOCNET_COMMON_H__ */

13
application/tool/wireshark/plugins/octasic/octsdr/octvc1/include/plugin_info.h

@ -2,13 +2,13 @@
File: plugin_info.h
Copyright (c) 2014 Octasic Inc. All rights reserved.
Copyright (c) 2015 Octasic Inc. All rights reserved.
Description: Wireshark plugin common
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation; either version 3 of the License, or
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,
@ -16,10 +16,11 @@ 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 Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
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-01.00.01-B497 (2014/01/09)
Release: Octasic Application Development Framework OCTADF-03.03.00-B1571 (2015/03/24)
$Octasic_Revision: 4 $

13
application/tool/wireshark/plugins/octasic/octsdr/octvc1/include/ws_util.h

@ -3,13 +3,13 @@
File: oct_ws_util.h
Copyright (c) 2014 Octasic Inc. All rights reserved.
Copyright (c) 2015 Octasic Inc. All rights reserved.
Description: Wireshark utility
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation; either version 3 of the License, or
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,
@ -17,10 +17,11 @@ 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 Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
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-01.00.01-B497 (2014/01/09)
Release: Octasic Application Development Framework OCTADF-03.03.00-B1571 (2015/03/24)
$Octasic_Revision: 4 $

6
application/tool/wireshark/plugins/octasic/octsdr/octvc1/makefile.nmake

@ -7,7 +7,6 @@ SRC_PATH=source
#
DEV_ROOT=../../../../../../..
WS_ROOT=../../../..
TGT_WS_VERSION=1.6.5
#
DISSECTOR_SRC= \
$(SRC_PATH)/octvc1_plugin.c $(SRC_PATH)/octvc1_msg_ctrl.c $(SRC_PATH)/octvc1_msg_event.c \
@ -19,9 +18,10 @@ DISSECTOR_SRC= \
$(SRC_PATH)/octvc1_cid_eid_value_string.c \
$(SRC_PATH)/octvc1_module_ctrl.c \
$(SRC_PATH)/octvc1_module_main.c \
$(SRC_PATH)/octvc1_module_test.c \
$(SRC_PATH)/octvc1_module_hw.c \
$(SRC_PATH)/octvc1_module_irsc.c \
$(SRC_PATH)/octvc1_module_gsm.c \
!include ..\..\..\..\$(TGT_WS_VERSION)\config.nmake

141
application/tool/wireshark/plugins/octasic/octsdr/octvc1/oasis2ws.nmake

@ -1,141 +0,0 @@
# oasis2ws.nmake
# nmake file for Wireshark plugin
#
!include $(OASIS_MAKE)/$(OASIS_PROJECT)/$(OASIS_PROJECT_PACKAGE)/oasis_project.common
!include $(OASIS2WS_PATH)/makefile/common.nmake
WS_TARGET_SRC_FILE_LIST = \
$(WS_PACKAGE_TARGET)/source/octvc1_common.c \
$(WS_PACKAGE_TARGET)/source/octvc1_cid_eid_value_string.c \
$(WS_PACKAGE_TARGET)/source/octdev_common.c \
$(WS_PACKAGE_TARGET)/source/octpkt_common.c \
$(WS_PACKAGE_TARGET)/source/octvocnet_common.c \
$(WS_PACKAGE_TARGET)/source/octvc1_module_ctrl.c \
$(WS_PACKAGE_TARGET)/source/octvc1_module_main.c \
$(WS_PACKAGE_TARGET)/source/octvc1_module_gsm.c \
$(WS_PACKAGE_TARGET)/source/octvc1_module_cpp.c \
$(WS_PACKAGE_TARGET)/source/octvc1_module_net.c \
WS_TARGET_HEADER_FILE_LIST = \
$(WS_PACKAGE_TARGET)/include/octvc1_common.h \
$(WS_PACKAGE_TARGET)/include/octdev_common.h \
$(WS_PACKAGE_TARGET)/include/octpkt_common.h \
$(WS_PACKAGE_TARGET)/include/octvocnet_common.h \
WS_TARGET_SMOKE_TEST_LIST = \
$(WS_PACKAGE_TARGET)/smoke_test/ws_smoke.c
WS_TARGET_DEFAULT_FILE_LIST = \
$(WS_PROJECT_TARGET)/include/module.h
WS_TARGET_COMPANION_FILE_LIST = \
$(WS_PACKAGE_TARGET)/../octvocnet_ws/include/octvocnet_common.h \
$(WS_PACKAGE_TARGET)/../octvocnet_ws/source/octvocnet_common.c \
OASIS_DEPENDENCIES = \
$(OASIS_SOURCE_ALL) \
$(OASIS_SOURCE_COMMON) \
$(OASIS_MAKE)/$(OASIS_PROJECT)/catalog.xml
all: about oasis2ws
# ----------------------------------------------------------------------------------
# OCTVC1 plugin transformations
# ----------------------------------------------------------------------------------
$(WS_PACKAGE_TARGET)/include/octvc1_common.h: $(OASIS_DEPENDENCIES) $(OASIS_XSLT_WS_COMMON_DIS) $(OASIS_SOURCE_MODULE)
@echo Generating: $@
$(OASIS_XSLT_PROC) --stringparam action GEN_PLUGIN --stringparam target $(WS_PACKAGE_TARGET) --output $@ $(OASIS_XSLT_WS_COMMON_DIS) $(OASIS_PACKAGE_BUILD_PATH)/catalog.xml
$(WS_PACKAGE_TARGET)/source/octvc1_common.c: $(OASIS_DEPENDENCIES) $(OASIS_XSLT_WS_MODULE_DIS) $(OASIS_SOURCE_MODULE)
@echo Generating: $@
$(OASIS_XSLT_PROC) --stringparam oasis_module NONE --stringparam action GEN_PLUGIN --output $@ $(OASIS_XSLT_WS_MODULE_DIS) $(OASIS_PACKAGE_BUILD_PATH)/catalog.xml
$(WS_PACKAGE_TARGET)/source/octvc1_cid_eid_value_string.c: $(OASIS_DEPENDENCIES) $(OASIS_XSLT_WS_CID_EID_STR) $(OASIS_SOURCE_MODULE)
@echo Generating: $@
$(OASIS_XSLT_PROC) --output $@ $(OASIS_XSLT_WS_CID_EID_STR) $(OASIS_PACKAGE_BUILD_PATH)/catalog.xml
$(WS_PACKAGE_TARGET)/include/octdev_common.h: $(OASIS_DEPENDENCIES) $(OASIS_XSLT_WS_COMMON_DIS) $(OASIS_MAKE)/$(OASIS_PROJECT)/octdev/component/catalog.xml
@echo Generating: $@
$(OASIS_XSLT_PROC) --stringparam action GEN_COMMON --output $@ $(OASIS_XSLT_WS_COMMON_DIS) $(OASIS_MAKE)/$(OASIS_PROJECT)/octdev/component/catalog.xml
$(WS_PACKAGE_TARGET)/source/octdev_common.c: $(OASIS_DEPENDENCIES) $(OASIS_XSLT_WS_MODULE_DIS) $(OASIS_MAKE)/$(OASIS_PROJECT)/octdev/component/catalog.xml
@echo Generating: $@
$(OASIS_XSLT_PROC) --stringparam oasis_module NONE --stringparam action GEN_COMMON --output $@ $(OASIS_XSLT_WS_MODULE_DIS) $(OASIS_MAKE)/$(OASIS_PROJECT)/octdev/component/catalog.xml
$(WS_PACKAGE_TARGET)/include/octpkt_common.h: $(OASIS_DEPENDENCIES) $(OASIS_XSLT_WS_COMMON_DIS) $(OASIS_MAKE)/$(OASIS_PROJECT)/octpkt/component/catalog.xml
@echo Generating: $@
$(OASIS_XSLT_PROC) --stringparam action GEN_COMMON --output $@ $(OASIS_XSLT_WS_COMMON_DIS) $(OASIS_MAKE)/$(OASIS_PROJECT)/octpkt/component/catalog.xml
$(WS_PACKAGE_TARGET)/source/octpkt_common.c: $(OASIS_DEPENDENCIES) $(OASIS_XSLT_WS_MODULE_DIS) $(OASIS_MAKE)/$(OASIS_PROJECT)/octpkt/component/catalog.xml
@echo Generating: $@
$(OASIS_XSLT_PROC) --stringparam oasis_module NONE --stringparam action GEN_COMMON --output $@ $(OASIS_XSLT_WS_MODULE_DIS) $(OASIS_MAKE)/$(OASIS_PROJECT)/octpkt/component/catalog.xml
$(WS_PACKAGE_TARGET)/include/octvocnet_common.h: $(OASIS_DEPENDENCIES) $(OASIS_XSLT_WS_COMMON_DIS) $(OASIS_MAKE)/$(OASIS_PROJECT)/octvocnet/component/catalog.xml
@echo Generating: $@
$(OASIS_XSLT_PROC) --stringparam action GEN_COMMON --output $@ $(OASIS_XSLT_WS_COMMON_DIS) $(OASIS_MAKE)/$(OASIS_PROJECT)/octvocnet/component/catalog.xml
$(WS_PACKAGE_TARGET)/source/octvocnet_common.c: $(OASIS_DEPENDENCIES) $(OASIS_XSLT_WS_MODULE_DIS) $(OASIS_MAKE)/$(OASIS_PROJECT)/octvocnet/component/catalog.xml
@echo Generating: $@
$(OASIS_XSLT_PROC) --stringparam oasis_module NONE --stringparam action GEN_COMMON --output $@ $(OASIS_XSLT_WS_MODULE_DIS) $(OASIS_MAKE)/$(OASIS_PROJECT)/octvocnet/component/catalog.xml
$(WS_PACKAGE_TARGET)/source/octvc1_module_ctrl.c: $(OASIS_DEPENDENCIES) $(OASIS_XSLT_WS_MODULE_DIS) $(OASIS_PACKAGE_BUILD_PATH)/ctrl/octvc1_ctrl_api.xml
@echo Generating: $@
$(OASIS_XSLT_PROC) --stringparam oasis_module CTRL --output $@ $(OASIS_XSLT_WS_MODULE_DIS) $(OASIS_PACKAGE_BUILD_PATH)/ctrl/octvc1_ctrl_api.xml
$(WS_PACKAGE_TARGET)/source/octvc1_module_main.c: $(OASIS_DEPENDENCIES) $(OASIS_XSLT_WS_MODULE_DIS) $(OASIS_PACKAGE_BUILD_PATH)/main/octvc1_main_api.xml
@echo Generating: $@
$(OASIS_XSLT_PROC) --stringparam oasis_module MAIN --output $@ $(OASIS_XSLT_WS_MODULE_DIS) $(OASIS_PACKAGE_BUILD_PATH)/main/octvc1_main_api.xml
$(WS_PACKAGE_TARGET)/source/octvc1_module_gsm.c: $(OASIS_DEPENDENCIES) $(OASIS_XSLT_WS_MODULE_DIS) $(OASIS_PACKAGE_BUILD_PATH)/gsm/octvc1_gsm_api.xml
@echo Generating: $@
$(OASIS_XSLT_PROC) --stringparam oasis_module GSM --output $@ $(OASIS_XSLT_WS_MODULE_DIS) $(OASIS_PACKAGE_BUILD_PATH)/gsm/octvc1_gsm_api.xml
$(WS_PACKAGE_TARGET)/source/octvc1_module_cpp.c: $(OASIS_DEPENDENCIES) $(OASIS_XSLT_WS_MODULE_DIS) $(OASIS_PACKAGE_BUILD_PATH)/cpp/octvc1_cpp_api.xml
@echo Generating: $@
$(OASIS_XSLT_PROC) --stringparam oasis_module CPP --output $@ $(OASIS_XSLT_WS_MODULE_DIS) $(OASIS_PACKAGE_BUILD_PATH)/cpp/octvc1_cpp_api.xml
$(WS_PACKAGE_TARGET)/source/octvc1_module_net.c: $(OASIS_DEPENDENCIES) $(OASIS_XSLT_WS_MODULE_DIS) $(OASIS_PACKAGE_BUILD_PATH)/net/octvc1_net_api.xml
@echo Generating: $@
$(OASIS_XSLT_PROC) --stringparam oasis_module NET --output $@ $(OASIS_XSLT_WS_MODULE_DIS) $(OASIS_PACKAGE_BUILD_PATH)/net/octvc1_net_api.xml
# ----------------------------------------------------------------------------------
# OCTVC1 plugin smoke test
# ----------------------------------------------------------------------------------
$(WS_PACKAGE_TARGET)/smoke_test/ws_smoke.c: $(OASIS_DEPENDENCIES) $(OASIS_XSLT_WS_COMMON_DIS) $(OASIS_SOURCE_MODULE)
@echo Generating: $@
$(OASIS_XSLT_PROC) --output $@ $(OASIS_XSLT_WS_SMOKE) $(OASIS_PACKAGE_BUILD_PATH)/catalog.xml
# ----------------------------------------------------------------------------------
# OCTVC1 companion plugin
# ----------------------------------------------------------------------------------
$(WS_PACKAGE_TARGET)/../octvocnet_ws/include/octvocnet_common.h: $(OASIS_DEPENDENCIES) $(OASIS_XSLT_WS_COMMON_DIS) $(OASIS_MAKE)/$(OASIS_PROJECT)/octvocnet/component/catalog.xml
@echo Generating: $@
$(OASIS_XSLT_PROC) --stringparam action GEN_COMMON --output $@ $(OASIS_XSLT_WS_COMMON_DIS) $(OASIS_MAKE)/$(OASIS_PROJECT)/octvocnet/component/catalog.xml
$(WS_PACKAGE_TARGET)/../octvocnet_ws/source/octvocnet_common.c: $(OASIS_DEPENDENCIES) $(OASIS_XSLT_WS_MODULE_DIS) $(OASIS_MAKE)/$(OASIS_PROJECT)/octvocnet/component/catalog.xml
@echo Generating: $@
$(OASIS_XSLT_PROC) --stringparam oasis_module NONE --stringparam action GEN_COMMON --output $@ $(OASIS_XSLT_WS_MODULE_DIS) $(OASIS_MAKE)/$(OASIS_PROJECT)/octvocnet/component/catalog.xml
# ----------------------------------------------------------------------------------
#Rules
# ----------------------------------------------------------------------------------
oasis2ws: ws2tgt $(WS_TARGET_SRC_FILE_LIST) $(WS_TARGET_HEADER_FILE_LIST) $(WS_TARGET_SMOKE_TEST_LIST) $(WS_TARGET_COMPANION_FILE_LIST)
clean:
-@ erase /Q $(WS_TARGET_SRC_FILE_LIST:/=\)
-@ erase /Q $(WS_TARGET_HEADER_FILE_LIST:/=\)
-@ erase /Q $(WS_TARGET_SMOKE_TEST_LIST:/=\)
-@ erase /Q $(WS_TARGET_COMPANION_FILE_LIST:/=\)
about:
@echo +++++++++++++++++++++++++++++++++++++++++++++
@echo Generating WS Sources Plugin for OCTVC1
@echo from: $(OASIS_MAKE:\=/)/$(OASIS_PROJECT)
@echo +++++++++++++++++++++++++++++++++++++++++++++
ws2tgt:
@if exist "$(WS_TARGET_ROOT:/=\)\$(OASIS_PROJECT_PACKAGE:/=\)_ws" xcopy $(WS_TARGET_ROOT:/=\)\$(OASIS_PROJECT_PACKAGE:/=\)_ws $(WS_PACKAGE_TARGET:/=\) /D /S /Q /Y /I 1> nul
@if exist "$(WS_TARGET_ROOT:/=\)\octvocnet_ws" xcopy $(WS_TARGET_ROOT:/=\)\octvocnet_ws $(WS_PACKAGE_TARGET:/=\)\..\octvocnet_ws /D /S /Q /Y /I 1>nul

7
application/tool/wireshark/plugins/octasic/octsdr/octvc1/oasis_pkgCommon.xml

@ -1,7 +0,0 @@
<?xml version="1.0"?>
<commons>
<common lower_name="octdev" href="octdev/component/catalog.xml"/>
<common lower_name="octpkt" href="octpkt/component/catalog.xml"/>
<common lower_name="octvocnet" href="octvocnet/component/catalog.xml"/>
<companion lower_name="octvocnet" href="octvocnet/component/catalog.xml"/>
</commons>

BIN
application/tool/wireshark/plugins/octasic/octsdr/octvc1/octvc1.pcap

22
application/tool/wireshark/plugins/octasic/octsdr/octvc1/source/octdev_common.c

@ -2,13 +2,26 @@
File: octdev_common.c
Copyright (c) 2014 Octasic Inc. All rights reserved.
Copyright (c) 2015 Octasic Inc. All rights reserved.
Description: Contain the wireshark module dissector related functions
$Octasic_Confidentiality: $
Release: Octasic Application Development Framework OCTADF-01.00.01-B497 (2014/01/09)
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.02.04-B403 (2015/04/27)
$Octasic_Revision: $
@ -48,6 +61,7 @@ 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 }
};

33
application/tool/wireshark/plugins/octasic/octsdr/octvc1/source/octpkt_common.c

@ -2,24 +2,26 @@
File: octpkt_common.c
Copyright (c) 2014 Octasic Inc. All rights reserved.
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 Affero General Public License as published by
the Free Software Foundation; either version 3 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 Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Release: Octasic Application Development Framework OCTADF-01.00.01-B497 (2014/01/09)
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.02.04-B403 (2015/04/27)
$Octasic_Revision: $
@ -62,7 +64,6 @@ 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_OCTSDR, "cOCTPKT_HDR_CONTROL_PROTOCOL_TYPE_ENUM_OCTSDR" },
{ 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 }

406
application/tool/wireshark/plugins/octasic/octsdr/octvc1/source/octvc1_cid_eid_value_string.c

@ -2,24 +2,25 @@
File: OCTVC1_cid_eid_value_string.c
Copyright (c) 2014 Octasic Inc. All rights reserved.
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 Affero General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later 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 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.
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 Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Release: Octasic Application Development Framework OCTADF-01.00.01-B497 (2014/01/09)
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27)
$Octasic_Revision: $
@ -33,9 +34,12 @@ $Octasic_Revision: $
#include "../include/module.h"
#include "../include/octvc1_common.h"
#include <main/octvc1_main_evt.h>
#include <ctrl/octvc1_ctrl_api.h>
#include <gsm/octvc1_gsm_evt.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>
/****************************************************************************
@ -44,7 +48,10 @@ $Octasic_Revision: $
const value_string vals_OCTVC1_module_UID[] =
{
{ (cOCTVC1_MAIN_UID), "MAIN" },
{ (cOCTVC1_CTRL_UID), "CTRL" },
{ (cOCTVC1_CTRL_UID), "CTRL" },
{ (cOCTVC1_TEST_UID), "TEST" },
{ (cOCTVC1_HW_UID), "HW" },
{ (cOCTVC1_IRSC_UID), "IRSC" },
{ (cOCTVC1_GSM_UID), "GSM" },
{ 0, NULL },
};
@ -54,32 +61,8 @@ const value_string vals_OCTVC1_module_UID[] =
****************************************************************************/
const value_string vals_OCTVC1_MAIN_CID[] =
{
{ (cOCTVC1_MAIN_MSG_MODULE_MODIFY_EVT_CID& 0x00000FFF), "MODULE_MODIFY_EVT" },
{ (cOCTVC1_MAIN_MSG_MODULE_INFO_EVT_CID& 0x00000FFF), "MODULE_INFO_EVT" },
{ (cOCTVC1_MAIN_MSG_MODULE_START_TRACING_CID& 0x00000FFF), "MODULE_START_TRACING" },
{ (cOCTVC1_MAIN_MSG_MODULE_STOP_TRACING_CID& 0x00000FFF), "MODULE_STOP_TRACING" },
{ (cOCTVC1_MAIN_MSG_BUFFER_OPEN_CID& 0x00000FFF), "BUFFER_OPEN" },
{ (cOCTVC1_MAIN_MSG_BUFFER_CLOSE_CID& 0x00000FFF), "BUFFER_CLOSE" },
{ (cOCTVC1_MAIN_MSG_BUFFER_INFO_CID& 0x00000FFF), "BUFFER_INFO" },
{ (cOCTVC1_MAIN_MSG_BUFFER_LIST_CID& 0x00000FFF), "BUFFER_LIST" },
{ (cOCTVC1_MAIN_MSG_BUFFER_MODIFY_CID& 0x00000FFF), "BUFFER_MODIFY" },
{ (cOCTVC1_MAIN_MSG_BUFFER_WRITE_CID& 0x00000FFF), "BUFFER_WRITE" },
{ (cOCTVC1_MAIN_MSG_BUFFER_READ_CID& 0x00000FFF), "BUFFER_READ" },
{ (cOCTVC1_MAIN_MSG_BUFFER_INFO_BY_NAME_CID& 0x00000FFF), "BUFFER_INFO_BY_NAME" },
{ (cOCTVC1_MAIN_MSG_DEVICE_INFO_CID& 0x00000FFF), "DEVICE_INFO" },
{ (cOCTVC1_MAIN_MSG_DEVICE_RESET_CID& 0x00000FFF), "DEVICE_RESET" },
{ (cOCTVC1_MAIN_MSG_DEVICE_STATUS_OPUS_CORE_CID& 0x00000FFF), "DEVICE_STATUS_OPUS_CORE" },
{ (cOCTVC1_MAIN_MSG_DEVICE_INFO_OPUS_CORE_CID& 0x00000FFF), "DEVICE_INFO_OPUS_CORE" },
{ (cOCTVC1_MAIN_MSG_OCT1010_INFO_CID& 0x00000FFF), "OCT1010_INFO" },
{ (cOCTVC1_MAIN_MSG_OCT1010_RESET_CID& 0x00000FFF), "OCT1010_RESET" },
{ (cOCTVC1_MAIN_MSG_OCT1010_STATS_CID& 0x00000FFF), "OCT1010_STATS" },
{ (cOCTVC1_MAIN_MSG_OCT1010_STATUS_CORE_CID& 0x00000FFF), "OCT1010_STATUS_CORE" },
{ (cOCTVC1_MAIN_MSG_OCT1010_INFO_CORE_CID& 0x00000FFF), "OCT1010_INFO_CORE" },
{ (cOCTVC1_MAIN_MSG_OCT1010_INFO_OCT1010ID_CID& 0x00000FFF), "OCT1010_INFO_OCT1010ID" },
{ (cOCTVC1_MAIN_MSG_ETH_STATS_CID& 0x00000FFF), "ETH_STATS" },
{ (cOCTVC1_MAIN_MSG_ETH_MODIFY_PORT_CONFIG_CID& 0x00000FFF), "ETH_MODIFY_PORT_CONFIG" },
{ (cOCTVC1_MAIN_MSG_ETH_INFO_PORT_CONFIG_CID& 0x00000FFF), "ETH_INFO_PORT_CONFIG" },
{ (cOCTVC1_MAIN_MSG_REGISTER_READ_CID& 0x00000FFF), "REGISTER_READ" },
{ (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" },
@ -89,33 +72,32 @@ const value_string vals_OCTVC1_MAIN_CID[] =
{ (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_DELETE_FILE_CID& 0x00000FFF), "FILE_SYSTEM_DELETE_FILE" },
{ (cOCTVC1_MAIN_MSG_LOG_ERASE_CID& 0x00000FFF), "LOG_ERASE" },
{ (cOCTVC1_MAIN_MSG_LOG_READ_ENTRY_CID& 0x00000FFF), "LOG_READ_ENTRY" },
{ (cOCTVC1_MAIN_MSG_LICENSING_INFO_CID& 0x00000FFF), "LICENSING_INFO" },
{ (cOCTVC1_MAIN_MSG_GPIO_READ_BANK_CID& 0x00000FFF), "GPIO_READ_BANK" },
{ (cOCTVC1_MAIN_MSG_GPIO_WRITE_BANK_CID& 0x00000FFF), "GPIO_WRITE_BANK" },
{ (cOCTVC1_MAIN_MSG_GPIO_MONITOR_BANK_CID& 0x00000FFF), "GPIO_MONITOR_BANK" },
{ (cOCTVC1_MAIN_MSG_GPIO_MODIFY_BANK_CONFIG_CID& 0x00000FFF), "GPIO_MODIFY_BANK_CONFIG" },
{ (cOCTVC1_MAIN_MSG_SPI_ACCESS_CID& 0x00000FFF), "SPI_ACCESS" },
{ (cOCTVC1_MAIN_MSG_MDIO_READ_PHY_CID& 0x00000FFF), "MDIO_READ_PHY" },
{ (cOCTVC1_MAIN_MSG_MDIO_WRITE_PHY_CID& 0x00000FFF), "MDIO_WRITE_PHY" },
{ (cOCTVC1_MAIN_MSG_MDIO_MONITOR_PHY_CID& 0x00000FFF), "MDIO_MONITOR_PHY" },
{ (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_DEBUG_FORWARD_OPEN_CID& 0x00000FFF), "DEBUG_FORWARD_OPEN" },
{ (cOCTVC1_MAIN_MSG_DEBUG_FORWARD_CLOSE_CID& 0x00000FFF), "DEBUG_FORWARD_CLOSE" },
{ (cOCTVC1_MAIN_MSG_DEBUG_FORWARD_INFO_CID& 0x00000FFF), "DEBUG_FORWARD_INFO" },
{ (cOCTVC1_MAIN_MSG_REDUNDANCY_SERVER_START_CID& 0x00000FFF), "REDUNDANCY_SERVER_START" },
{ (cOCTVC1_MAIN_MSG_REDUNDANCY_SERVER_STOP_CID& 0x00000FFF), "REDUNDANCY_SERVER_STOP" },
{ (cOCTVC1_MAIN_MSG_REDUNDANCY_SERVER_INFO_CID& 0x00000FFF), "REDUNDANCY_SERVER_INFO" },
{ (cOCTVC1_MAIN_MSG_REDUNDANCY_SERVER_ADD_MGW_CID& 0x00000FFF), "REDUNDANCY_SERVER_ADD_MGW" },
{ (cOCTVC1_MAIN_MSG_REDUNDANCY_SERVER_REMOVE_MGW_CID& 0x00000FFF), "REDUNDANCY_SERVER_REMOVE_MGW" },
{ (cOCTVC1_MAIN_MSG_REDUNDANCY_SERVER_LIST_MGW_CID& 0x00000FFF), "REDUNDANCY_SERVER_LIST_MGW" },
{ (cOCTVC1_MAIN_MSG_REDUNDANCY_SERVER_INFO_MGW_CID& 0x00000FFF), "REDUNDANCY_SERVER_INFO_MGW" },
{ (cOCTVC1_MAIN_MSG_REDUNDANCY_SERVER_EXECUTE_MGW_FAILOVER_CID& 0x00000FFF), "REDUNDANCY_SERVER_EXECUTE_MGW_FAILOVER" },
{ (cOCTVC1_MAIN_MSG_OCT2200_STATS_CID& 0x00000FFF), "OCT2200_STATS" },
{ (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" },
{ 0, NULL },
};
const value_string vals_OCTVC1_MAIN_CID_PRIV[] =
@ -130,34 +112,175 @@ 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 },