Import OCTSDR-2G-WS-02.03.00-B572-ALPHA

This commit is contained in:
Harald Welte 2016-01-20 18:06:40 +01:00
parent ef76d7adbc
commit c571025f25
181 changed files with 24309 additions and 20083 deletions

View File

@ -20,7 +20,7 @@ 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: Octasic Application Development Framework OCTADF-03.03.00-B1571 (2015/03/24) Release: Octasic Application Development Framework OCTADF-04.00.00-B1829 (2015/07/02)
$Octasic_Revision: 4 $ $Octasic_Revision: 4 $

View File

@ -20,7 +20,7 @@ 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: Octasic Application Development Framework OCTADF-03.03.00-B1571 (2015/03/24) Release: Octasic Application Development Framework OCTADF-04.00.00-B1829 (2015/07/02)
$Octasic_Revision: 4 $ $Octasic_Revision: 4 $

View File

@ -20,7 +20,7 @@ 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: Octasic Application Development Framework OCTADF-03.03.00-B1571 (2015/03/24) Release: Octasic Application Development Framework OCTADF-04.00.00-B1829 (2015/07/02)
$Octasic_Revision: 4 $ $Octasic_Revision: 4 $

View File

@ -20,7 +20,7 @@ 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: Octasic Application Development Framework OCTADF-03.03.00-B1571 (2015/03/24) Release: Octasic Application Development Framework OCTADF-04.00.00-B1829 (2015/07/02)
$Octasic_Revision: 4 $ $Octasic_Revision: 4 $

View File

@ -21,7 +21,7 @@ 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
$Octasic_Revision: $ $Octasic_Revision: $

View File

@ -21,7 +21,7 @@ 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
$Octasic_Revision: $ $Octasic_Revision: $
@ -38,6 +38,7 @@ $Octasic_Revision: $
****************************************************************************/ ****************************************************************************/
extern const value_string vals_tOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK[13]; 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_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]; extern const value_string vals_tOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK[10];
#endif /* _OCTPKT_COMMON_H__ */ #endif /* _OCTPKT_COMMON_H__ */

View File

@ -21,7 +21,7 @@ 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
$Octasic_Revision: $ $Octasic_Revision: $
@ -53,6 +53,8 @@ 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_TYPE_ENUM[];
extern const value_string vals_tOCTVC1_FILE_FORMAT_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_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_ENUM[];
extern const value_string vals_tOCTVC1_RADIO_STANDARD_FREQ_BAND_GSM_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_UMTS_ENUM[];
@ -68,21 +70,14 @@ extern const value_string vals_tOCTVC1_PROCESS_TASK_STATE_ENUM[];
/**************************************************************************** /****************************************************************************
COMMON API DISSECTOR COMMON API DISSECTOR
****************************************************************************/ ****************************************************************************/
extern unsigned int dissect_tOCTVC1_CURSOR_HANDLE_GET(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
extern unsigned int dissect_tOCTVC1_CURSOR_HANDLE_GET_HANDLE(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
extern unsigned int dissect_tOCTVC1_CURSOR_HANDLE_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_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_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(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_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_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(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_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_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_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_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_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_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_NAME(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
@ -93,6 +88,7 @@ extern unsigned int dissect_tOCTVC1_MSG_HEADER(tvbuff_t *tvb, packet_info *pinf
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_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_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_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_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_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_ERROR(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );

View File

@ -21,7 +21,7 @@ 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
$Octasic_Revision: $ $Octasic_Revision: $

View File

@ -20,7 +20,7 @@ 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: Octasic Application Development Framework OCTADF-03.03.00-B1571 (2015/03/24) Release: Octasic Application Development Framework OCTADF-04.00.00-B1829 (2015/07/02)
$Octasic_Revision: 4 $ $Octasic_Revision: 4 $

View File

@ -21,7 +21,7 @@ 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: Octasic Application Development Framework OCTADF-03.03.00-B1571 (2015/03/24) Release: Octasic Application Development Framework OCTADF-04.00.00-B1829 (2015/07/02)
$Octasic_Revision: 4 $ $Octasic_Revision: 4 $

View File

@ -21,7 +21,7 @@ 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
$Octasic_Revision: $ $Octasic_Revision: $

View File

@ -21,7 +21,7 @@ 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
$Octasic_Revision: $ $Octasic_Revision: $
@ -69,6 +69,14 @@ const value_string vals_tOCTPKT_HDR_CONTROL_PROTOCOL_TYPE_ENUM[] =
{ 0, NULL } { 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> #include <octpkt_hdrxl.h>
/**************************************************************************** /****************************************************************************

View File

@ -20,7 +20,7 @@ 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
$Octasic_Revision: $ $Octasic_Revision: $
@ -71,6 +71,7 @@ const value_string vals_OCTVC1_MAIN_CID[] =
{ (cOCTVC1_MAIN_MSG_FILE_LIST_CID& 0x00000FFF), "FILE_LIST" }, { (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_CID& 0x00000FFF), "FILE_SYSTEM_INFO" },
{ (cOCTVC1_MAIN_MSG_FILE_SYSTEM_INFO_FILE_CID& 0x00000FFF), "FILE_SYSTEM_INFO_FILE" }, { (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_FILE_SYSTEM_DELETE_FILE_CID& 0x00000FFF), "FILE_SYSTEM_DELETE_FILE" },
{ (cOCTVC1_MAIN_MSG_LOG_ERASE_CID& 0x00000FFF), "LOG_ERASE" }, { (cOCTVC1_MAIN_MSG_LOG_ERASE_CID& 0x00000FFF), "LOG_ERASE" },
{ (cOCTVC1_MAIN_MSG_LOG_INFO_CID& 0x00000FFF), "LOG_INFO" }, { (cOCTVC1_MAIN_MSG_LOG_INFO_CID& 0x00000FFF), "LOG_INFO" },
@ -98,6 +99,9 @@ const value_string vals_OCTVC1_MAIN_CID[] =
{ (cOCTVC1_MAIN_MSG_APPLICATION_STOP_CID& 0x00000FFF), "APPLICATION_STOP" }, { (cOCTVC1_MAIN_MSG_APPLICATION_STOP_CID& 0x00000FFF), "APPLICATION_STOP" },
{ (cOCTVC1_MAIN_MSG_APPLICATION_INFO_CID& 0x00000FFF), "APPLICATION_INFO" }, { (cOCTVC1_MAIN_MSG_APPLICATION_INFO_CID& 0x00000FFF), "APPLICATION_INFO" },
{ (cOCTVC1_MAIN_MSG_APPLICATION_INFO_SYSTEM_CID& 0x00000FFF), "APPLICATION_INFO_SYSTEM" }, { (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 }, { 0, NULL },
}; };
const value_string vals_OCTVC1_MAIN_CID_PRIV[] = const value_string vals_OCTVC1_MAIN_CID_PRIV[] =
@ -196,9 +200,7 @@ const value_string vals_OCTVC1_HW_CID[] =
{ (cOCTVC1_HW_MSG_RF_PORT_LIST_CID& 0x00000FFF), "RF_PORT_LIST" }, { (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_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_RX_CONFIG_CID& 0x00000FFF), "RF_PORT_INFO_ANTENNA_RX_CONFIG" },
{ (cOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CID& 0x00000FFF), "RF_PORT_MODIFY_ANTENNA_RX_CONFIG" },
{ (cOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CONFIG_CID& 0x00000FFF), "RF_PORT_INFO_ANTENNA_TX_CONFIG" }, { (cOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CONFIG_CID& 0x00000FFF), "RF_PORT_INFO_ANTENNA_TX_CONFIG" },
{ (cOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_CID& 0x00000FFF), "RF_PORT_MODIFY_ANTENNA_TX_CONFIG" },
{ (cOCTVC1_HW_MSG_CLOCK_SYNC_MGR_INFO_CID& 0x00000FFF), "CLOCK_SYNC_MGR_INFO" }, { (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_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_INFO_SOURCE_CID& 0x00000FFF), "CLOCK_SYNC_MGR_INFO_SOURCE" },
@ -243,6 +245,11 @@ const value_string vals_OCTVC1_IRSC_CID[] =
{ (cOCTVC1_IRSC_MSG_API_SYSTEM_STATS_SESSION_CID& 0x00000FFF), "API_SYSTEM_STATS_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_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_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 }, { 0, NULL },
}; };
const value_string vals_OCTVC1_IRSC_CID_PRIV[] = const value_string vals_OCTVC1_IRSC_CID_PRIV[] =
@ -272,6 +279,7 @@ const value_string vals_OCTVC1_GSM_CID[] =
{ (cOCTVC1_GSM_MSG_TRX_STOP_LOGICAL_CHANNEL_RAW_DATA_INDICATIONS_CID& 0x00000FFF), "TRX_STOP_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_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_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_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_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_STATUS_PHYSICAL_CHANNEL_CID& 0x00000FFF), "TRX_STATUS_PHYSICAL_CHANNEL" },
@ -281,6 +289,10 @@ const value_string vals_OCTVC1_GSM_CID[] =
{ (cOCTVC1_GSM_MSG_TRX_MODIFY_PHYSICAL_CHANNEL_CIPHERING_CID& 0x00000FFF), "TRX_MODIFY_PHYSICAL_CHANNEL_CIPHERING" }, { (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_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_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 }, { 0, NULL },
}; };
const value_string vals_OCTVC1_GSM_CID_PRIV[] = const value_string vals_OCTVC1_GSM_CID_PRIV[] =

View File

@ -21,7 +21,7 @@ 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
$Octasic_Revision: $ $Octasic_Revision: $
@ -57,155 +57,6 @@ const value_string vals_tOCTVC1_OBJECT_CURSOR_ENUM[] =
COMMON Registered COMMON Registered
****************************************************************************/ ****************************************************************************/
int ahf_tOCTVC1_CURSOR_HANDLE_GET[2];
tWS_ENTITY_HANDLE ws_htOCTVC1_CURSOR_HANDLE_GET;
void register_tOCTVC1_CURSOR_HANDLE_GET(void)
{
static hf_register_info hf[] =
{
{
&ahf_tOCTVC1_CURSOR_HANDLE_GET[0],
{ "hObject", "octvc1.cursor.handle_get.hobject",
FT_NONE, BASE_NONE, NULL, 0x0,
"hObject",HFILL }
},
{
&ahf_tOCTVC1_CURSOR_HANDLE_GET[1],
{ "ulGetMode", "octvc1.cursor.handle_get.ulgetmode",
FT_UINT32,BASE_HEX, VALS(vals_tOCTVC1_OBJECT_CURSOR_ENUM), 0x0,
"ulGetMode",HFILL }
},
};
static gint* ett[] =
{
&ws_htOCTVC1_CURSOR_HANDLE_GET.ett
};
proto_register_field_array( proto_octvc1_ctrl, hf, array_length(hf) );
};
int ahf_tOCTVC1_CURSOR_HANDLE_GET_HANDLE[3];
tWS_ENTITY_HANDLE ws_htOCTVC1_CURSOR_HANDLE_GET_HANDLE;
void register_tOCTVC1_CURSOR_HANDLE_GET_HANDLE(void)
{
static hf_register_info hf[] =
{
{
&ahf_tOCTVC1_CURSOR_HANDLE_GET_HANDLE[0],
{ "hObject", "octvc1.cursor.handle_get_handle.hobject",
FT_NONE, BASE_NONE, NULL, 0x0,
"hObject",HFILL }
},
{
&ahf_tOCTVC1_CURSOR_HANDLE_GET_HANDLE[1],
{ "ulGetMode", "octvc1.cursor.handle_get_handle.ulgetmode",
FT_UINT32,BASE_HEX, VALS(vals_tOCTVC1_OBJECT_CURSOR_ENUM), 0x0,
"ulGetMode",HFILL }
},
{
&ahf_tOCTVC1_CURSOR_HANDLE_GET_HANDLE[2],
{ "hSubObject", "octvc1.cursor.handle_get_handle.hsubobject",
FT_NONE, BASE_NONE, NULL, 0x0,
"hSubObject",HFILL }
},
};
static gint* ett[] =
{
&ws_htOCTVC1_CURSOR_HANDLE_GET_HANDLE.ett
};
proto_register_field_array( proto_octvc1_ctrl, hf, array_length(hf) );
};
int ahf_tOCTVC1_CURSOR_HANDLE_GET_HANDLE_OBJECT[3];
tWS_ENTITY_HANDLE ws_htOCTVC1_CURSOR_HANDLE_GET_HANDLE_OBJECT;
void register_tOCTVC1_CURSOR_HANDLE_GET_HANDLE_OBJECT(void)
{
static hf_register_info hf[] =
{
{
&ahf_tOCTVC1_CURSOR_HANDLE_GET_HANDLE_OBJECT[0],
{ "hObject", "octvc1.cursor.handle_get_handle_object.hobject",
FT_NONE, BASE_NONE, NULL, 0x0,
"hObject",HFILL }
},
{
&ahf_tOCTVC1_CURSOR_HANDLE_GET_HANDLE_OBJECT[1],
{ "ulGetMode", "octvc1.cursor.handle_get_handle_object.ulgetmode",
FT_UINT32,BASE_HEX, VALS(vals_tOCTVC1_OBJECT_CURSOR_ENUM), 0x0,
"ulGetMode",HFILL }
},
{
&ahf_tOCTVC1_CURSOR_HANDLE_GET_HANDLE_OBJECT[2],
{ "hHandleObject", "octvc1.cursor.handle_get_handle_object.hhandleobject",
FT_UINT32,BASE_HEX, NULL, 0x0,
"hHandleObject",HFILL }
},
};
static gint* ett[] =
{
&ws_htOCTVC1_CURSOR_HANDLE_GET_HANDLE_OBJECT.ett
};
proto_register_field_array( proto_octvc1_ctrl, hf, array_length(hf) );
};
int ahf_tOCTVC1_CURSOR_HANDLE_GET_SUB_OBJECT_ID[3];
tWS_ENTITY_HANDLE ws_htOCTVC1_CURSOR_HANDLE_GET_SUB_OBJECT_ID;
void register_tOCTVC1_CURSOR_HANDLE_GET_SUB_OBJECT_ID(void)
{
static hf_register_info hf[] =
{
{
&ahf_tOCTVC1_CURSOR_HANDLE_GET_SUB_OBJECT_ID[0],
{ "hObject", "octvc1.cursor.handle_get_sub_object_id.hobject",
FT_NONE, BASE_NONE, NULL, 0x0,
"hObject",HFILL }
},
{
&ahf_tOCTVC1_CURSOR_HANDLE_GET_SUB_OBJECT_ID[1],
{ "ulGetMode", "octvc1.cursor.handle_get_sub_object_id.ulgetmode",
FT_UINT32,BASE_HEX, VALS(vals_tOCTVC1_OBJECT_CURSOR_ENUM), 0x0,
"ulGetMode",HFILL }
},
{
&ahf_tOCTVC1_CURSOR_HANDLE_GET_SUB_OBJECT_ID[2],
{ "ulSubObjectId", "octvc1.cursor.handle_get_sub_object_id.ulsubobjectid",
FT_UINT32,BASE_HEX, NULL, 0x0,
"ulSubObjectId",HFILL }
},
};
static gint* ett[] =
{
&ws_htOCTVC1_CURSOR_HANDLE_GET_SUB_OBJECT_ID.ett
};
proto_register_field_array( proto_octvc1_ctrl, hf, array_length(hf) );
};
int ahf_tOCTVC1_CURSOR_HANDLE_OBJECT_GET[2]; int ahf_tOCTVC1_CURSOR_HANDLE_OBJECT_GET[2];
tWS_ENTITY_HANDLE ws_htOCTVC1_CURSOR_HANDLE_OBJECT_GET; tWS_ENTITY_HANDLE ws_htOCTVC1_CURSOR_HANDLE_OBJECT_GET;
@ -392,217 +243,6 @@ void register_tOCTVC1_CURSOR_INDEX_GET_SUB_INDEX(void)
****************************************************************************/ ****************************************************************************/
unsigned int dissect_tOCTVC1_CURSOR_HANDLE_GET(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue )
{
proto_tree *field_tree = tree;
unsigned int offset_0 = offset;
gint bytes = tvb_length_remaining(tvb, offset);
if (bytes < (gint)(sizeof(tOCTVC1_CURSOR_HANDLE_GET)))
{
proto_tree_add_text(tree, tvb, offset, bytes,
"tOCTVC1_CURSOR_HANDLE_GET (%d byte%s) - Malformated packet...expected(%ld)",
bytes, plurality(bytes, "", "s"),
sizeof(tOCTVC1_CURSOR_HANDLE_GET));
return 1;
}
else
{
int temp_data = 0;
proto_item *ti;
bytes = sizeof(tOCTVC1_CURSOR_HANDLE_GET);
ti = proto_tree_add_text(field_tree, tvb, offset,
mWS_FIELDSIZE(tOCTVC1_CURSOR_HANDLE_GET, hObject), "hObject:tOCTVC1_HANDLE");
{
proto_tree* sub_tree2;
sub_tree2 = proto_item_add_subtree(ti, ett_octvc1_msg_type);
offset = dissect_tOCTVC1_HANDLE( tvb, pinfo, sub_tree2, offset, pExtValue );
}
temp_data = tvb_get_ntohl( tvb, offset );
if( pExtValue && (pExtValue->lValue == temp_data ) )
{
ti = proto_tree_add_uint_format_value(field_tree, ahf_tOCTVC1_CURSOR_HANDLE_GET[1], tvb, offset,
mWS_FIELDSIZE(tOCTVC1_CURSOR_HANDLE_GET, ulGetMode), temp_data, "%s (0x%x)",pExtValue->pszValue, temp_data );
}else
{
ti = proto_tree_add_uint(field_tree, ahf_tOCTVC1_CURSOR_HANDLE_GET[1], tvb, offset,
4, temp_data);
}
offset += mWS_FIELDSIZE(tOCTVC1_CURSOR_HANDLE_GET, ulGetMode);
}
return offset;
};
unsigned int dissect_tOCTVC1_CURSOR_HANDLE_GET_HANDLE(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue )
{
proto_tree *field_tree = tree;
unsigned int offset_0 = offset;
gint bytes = tvb_length_remaining(tvb, offset);
if (bytes < (gint)(sizeof(tOCTVC1_CURSOR_HANDLE_GET_HANDLE)))
{
proto_tree_add_text(tree, tvb, offset, bytes,
"tOCTVC1_CURSOR_HANDLE_GET_HANDLE (%d byte%s) - Malformated packet...expected(%ld)",
bytes, plurality(bytes, "", "s"),
sizeof(tOCTVC1_CURSOR_HANDLE_GET_HANDLE));
return 1;
}
else
{
int temp_data = 0;
proto_item *ti;
bytes = sizeof(tOCTVC1_CURSOR_HANDLE_GET_HANDLE);
ti = proto_tree_add_text(field_tree, tvb, offset,
mWS_FIELDSIZE(tOCTVC1_CURSOR_HANDLE_GET_HANDLE, hObject), "hObject:tOCTVC1_HANDLE");
{
proto_tree* sub_tree2;
sub_tree2 = proto_item_add_subtree(ti, ett_octvc1_msg_type);
offset = dissect_tOCTVC1_HANDLE( tvb, pinfo, sub_tree2, offset, pExtValue );
}
temp_data = tvb_get_ntohl( tvb, offset );
if( pExtValue && (pExtValue->lValue == temp_data ) )
{
ti = proto_tree_add_uint_format_value(field_tree, ahf_tOCTVC1_CURSOR_HANDLE_GET_HANDLE[1], tvb, offset,
mWS_FIELDSIZE(tOCTVC1_CURSOR_HANDLE_GET_HANDLE, ulGetMode), temp_data, "%s (0x%x)",pExtValue->pszValue, temp_data );
}else
{
ti = proto_tree_add_uint(field_tree, ahf_tOCTVC1_CURSOR_HANDLE_GET_HANDLE[1], tvb, offset,
4, temp_data);
}
offset += mWS_FIELDSIZE(tOCTVC1_CURSOR_HANDLE_GET_HANDLE, ulGetMode);
ti = proto_tree_add_text(field_tree, tvb, offset,
mWS_FIELDSIZE(tOCTVC1_CURSOR_HANDLE_GET_HANDLE, hSubObject), "hSubObject:tOCTVC1_HANDLE");
{
proto_tree* sub_tree2;
sub_tree2 = proto_item_add_subtree(ti, ett_octvc1_msg_type);
offset = dissect_tOCTVC1_HANDLE( tvb, pinfo, sub_tree2, offset, pExtValue );
}
}
return offset;
};
unsigned int dissect_tOCTVC1_CURSOR_HANDLE_GET_HANDLE_OBJECT(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue )
{
proto_tree *field_tree = tree;
unsigned int offset_0 = offset;
gint bytes = tvb_length_remaining(tvb, offset);
if (bytes < (gint)(sizeof(tOCTVC1_CURSOR_HANDLE_GET_HANDLE_OBJECT)))
{
proto_tree_add_text(tree, tvb, offset, bytes,
"tOCTVC1_CURSOR_HANDLE_GET_HANDLE_OBJECT (%d byte%s) - Malformated packet...expected(%ld)",
bytes, plurality(bytes, "", "s"),
sizeof(tOCTVC1_CURSOR_HANDLE_GET_HANDLE_OBJECT));
return 1;
}
else
{
int temp_data = 0;
proto_item *ti;
bytes = sizeof(tOCTVC1_CURSOR_HANDLE_GET_HANDLE_OBJECT);
ti = proto_tree_add_text(field_tree, tvb, offset,
mWS_FIELDSIZE(tOCTVC1_CURSOR_HANDLE_GET_HANDLE_OBJECT, hObject), "hObject:tOCTVC1_HANDLE");
{
proto_tree* sub_tree2;
sub_tree2 = proto_item_add_subtree(ti, ett_octvc1_msg_type);
offset = dissect_tOCTVC1_HANDLE( tvb, pinfo, sub_tree2, offset, pExtValue );
}
temp_data = tvb_get_ntohl( tvb, offset );
if( pExtValue && (pExtValue->lValue == temp_data ) )
{
ti = proto_tree_add_uint_format_value(field_tree, ahf_tOCTVC1_CURSOR_HANDLE_GET_HANDLE_OBJECT[1], tvb, offset,
mWS_FIELDSIZE(tOCTVC1_CURSOR_HANDLE_GET_HANDLE_OBJECT, ulGetMode), temp_data, "%s (0x%x)",pExtValue->pszValue, temp_data );
}else
{
ti = proto_tree_add_uint(field_tree, ahf_tOCTVC1_CURSOR_HANDLE_GET_HANDLE_OBJECT[1], tvb, offset,
4, temp_data);
}
offset += mWS_FIELDSIZE(tOCTVC1_CURSOR_HANDLE_GET_HANDLE_OBJECT, ulGetMode);
temp_data = tvb_get_ntohl( tvb, offset );
if( pExtValue && (pExtValue->lValue == temp_data ) )
{
ti = proto_tree_add_uint_format_value(field_tree, ahf_tOCTVC1_CURSOR_HANDLE_GET_HANDLE_OBJECT[2], tvb, offset,
mWS_FIELDSIZE(tOCTVC1_CURSOR_HANDLE_GET_HANDLE_OBJECT, hHandleObject), temp_data, "%s (0x%x)",pExtValue->pszValue, temp_data );
}else
{
ti = proto_tree_add_uint(field_tree, ahf_tOCTVC1_CURSOR_HANDLE_GET_HANDLE_OBJECT[2], tvb, offset,
4, temp_data);
}
offset += mWS_FIELDSIZE(tOCTVC1_CURSOR_HANDLE_GET_HANDLE_OBJECT, hHandleObject);
}
return offset;
};
unsigned int dissect_tOCTVC1_CURSOR_HANDLE_GET_SUB_OBJECT_ID(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue )
{
proto_tree *field_tree = tree;
unsigned int offset_0 = offset;
gint bytes = tvb_length_remaining(tvb, offset);
if (bytes < (gint)(sizeof(tOCTVC1_CURSOR_HANDLE_GET_SUB_OBJECT_ID)))
{
proto_tree_add_text(tree, tvb, offset, bytes,
"tOCTVC1_CURSOR_HANDLE_GET_SUB_OBJECT_ID (%d byte%s) - Malformated packet...expected(%ld)",
bytes, plurality(bytes, "", "s"),
sizeof(tOCTVC1_CURSOR_HANDLE_GET_SUB_OBJECT_ID));
return 1;
}
else
{
int temp_data = 0;
proto_item *ti;
bytes = sizeof(tOCTVC1_CURSOR_HANDLE_GET_SUB_OBJECT_ID);
ti = proto_tree_add_text(field_tree, tvb, offset,
mWS_FIELDSIZE(tOCTVC1_CURSOR_HANDLE_GET_SUB_OBJECT_ID, hObject), "hObject:tOCTVC1_HANDLE");
{
proto_tree* sub_tree2;
sub_tree2 = proto_item_add_subtree(ti, ett_octvc1_msg_type);
offset = dissect_tOCTVC1_HANDLE( tvb, pinfo, sub_tree2, offset, pExtValue );
}
temp_data = tvb_get_ntohl( tvb, offset );
if( pExtValue && (pExtValue->lValue == temp_data ) )
{
ti = proto_tree_add_uint_format_value(field_tree, ahf_tOCTVC1_CURSOR_HANDLE_GET_SUB_OBJECT_ID[1], tvb, offset,
mWS_FIELDSIZE(tOCTVC1_CURSOR_HANDLE_GET_SUB_OBJECT_ID, ulGetMode), temp_data, "%s (0x%x)",pExtValue->pszValue, temp_data );
}else
{
ti = proto_tree_add_uint(field_tree, ahf_tOCTVC1_CURSOR_HANDLE_GET_SUB_OBJECT_ID[1], tvb, offset,
4, temp_data);
}
offset += mWS_FIELDSIZE(tOCTVC1_CURSOR_HANDLE_GET_SUB_OBJECT_ID, ulGetMode);
temp_data = tvb_get_ntohl( tvb, offset );
if( pExtValue && (pExtValue->lValue == temp_data ) )
{
ti = proto_tree_add_uint_format_value(field_tree, ahf_tOCTVC1_CURSOR_HANDLE_GET_SUB_OBJECT_ID[2], tvb, offset,
mWS_FIELDSIZE(tOCTVC1_CURSOR_HANDLE_GET_SUB_OBJECT_ID, ulSubObjectId), temp_data, "%s (0x%x)",pExtValue->pszValue, temp_data );
}else
{
ti = proto_tree_add_uint(field_tree, ahf_tOCTVC1_CURSOR_HANDLE_GET_SUB_OBJECT_ID[2], tvb, offset,
4, temp_data);
}
offset += mWS_FIELDSIZE(tOCTVC1_CURSOR_HANDLE_GET_SUB_OBJECT_ID, ulSubObjectId);
}
return offset;
};
unsigned int dissect_tOCTVC1_CURSOR_HANDLE_OBJECT_GET(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue ) unsigned int dissect_tOCTVC1_CURSOR_HANDLE_OBJECT_GET(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue )
{ {
proto_tree *field_tree = tree; proto_tree *field_tree = tree;
@ -924,31 +564,6 @@ const value_string vals_tOCTVC1_ETH_PORT_ID_ENUM[] =
COMMON Registered COMMON Registered
****************************************************************************/ ****************************************************************************/
int ahf_tOCTVC1_HANDLE[1];
tWS_ENTITY_HANDLE ws_htOCTVC1_HANDLE;
void register_tOCTVC1_HANDLE(void)
{
static hf_register_info hf[] =
{
{
&ahf_tOCTVC1_HANDLE[0],
{ "aulHandle", "octvc1.handle.toctvc1_handle.aulhandle",
FT_UINT32,BASE_HEX, NULL, 0x0,
"aulHandle",HFILL }
},
};
static gint* ett[] =
{
&ws_htOCTVC1_HANDLE.ett
};
proto_register_field_array( proto_octvc1_ctrl, hf, array_length(hf) );
};
int ahf_tOCTVC1_OBJECT32_NAME[2]; int ahf_tOCTVC1_OBJECT32_NAME[2];
tWS_ENTITY_HANDLE ws_htOCTVC1_OBJECT32_NAME; tWS_ENTITY_HANDLE ws_htOCTVC1_OBJECT32_NAME;
@ -986,52 +601,6 @@ void register_tOCTVC1_OBJECT32_NAME(void)
****************************************************************************/ ****************************************************************************/
unsigned int dissect_tOCTVC1_HANDLE(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue )
{
proto_tree *field_tree = tree;
unsigned int offset_0 = offset;
gint bytes = tvb_length_remaining(tvb, offset);
if (bytes < (gint)(sizeof(tOCTVC1_HANDLE)))
{
proto_tree_add_text(tree, tvb, offset, bytes,
"tOCTVC1_HANDLE (%d byte%s) - Malformated packet...expected(%ld)",
bytes, plurality(bytes, "", "s"),
sizeof(tOCTVC1_HANDLE));
return 1;
}
else
{
int temp_data = 0;
proto_item *ti;
bytes = sizeof(tOCTVC1_HANDLE);
ti = proto_tree_add_text(field_tree, tvb, offset,
mWS_FIELDSIZE(tOCTVC1_HANDLE, aulHandle), "aulHandle");
{
int i, ofs=offset;
proto_tree* sub_tree = proto_item_add_subtree(ti, ett_octvc1_msg_type);
for( i=0; i<3; i++ )
{
temp_data = tvb_get_ntohl( tvb, offset );
if( pExtValue && (pExtValue->lValue == temp_data ) )
{
ti = proto_tree_add_uint_format_value(sub_tree, ahf_tOCTVC1_HANDLE[0], tvb, offset,
mWS_FIELDSIZE(tOCTVC1_HANDLE, aulHandle), temp_data, "%s (0x%x)",pExtValue->pszValue, temp_data );
}else
{
ti = proto_tree_add_uint_format(sub_tree, ahf_tOCTVC1_HANDLE[0], tvb, offset,
4, temp_data, "[%d]: 0x%08x", i, temp_data );
}
offset+=4;
}
}
}
return offset;
};
unsigned int dissect_tOCTVC1_OBJECT32_NAME(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue ) unsigned int dissect_tOCTVC1_OBJECT32_NAME(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue )
{ {
proto_tree *field_tree = tree; proto_tree *field_tree = tree;
@ -1323,77 +892,6 @@ unsigned int dissect_tOCTVC1_VLAN_HEADER_INFO(tvbuff_t *tvb, packet_info *pinfo
COMMON Registered COMMON Registered
****************************************************************************/ ****************************************************************************/
int ahf_tOCTVC1_LIST_HANDLE_GET[2];
tWS_ENTITY_HANDLE ws_htOCTVC1_LIST_HANDLE_GET;
void register_tOCTVC1_LIST_HANDLE_GET(void)
{
static hf_register_info hf[] =
{
{
&ahf_tOCTVC1_LIST_HANDLE_GET[0],
{ "ulNumHandle", "octvc1.list.handle_get.ulnumhandle",
FT_UINT32,BASE_HEX, NULL, 0x0,
"ulNumHandle",HFILL }
},
{
&ahf_tOCTVC1_LIST_HANDLE_GET[1],
{ "aHandle", "octvc1.list.handle_get.ahandle",
FT_NONE, BASE_NONE, NULL, 0x0,
"aHandle",HFILL }
},
};
static gint* ett[] =
{
&ws_htOCTVC1_LIST_HANDLE_GET.ett
};
proto_register_field_array( proto_octvc1_ctrl, hf, array_length(hf) );
};
int ahf_tOCTVC1_LIST_HANDLE_GET_SUB_OBJECT_ID[3];
tWS_ENTITY_HANDLE ws_htOCTVC1_LIST_HANDLE_GET_SUB_OBJECT_ID;
void register_tOCTVC1_LIST_HANDLE_GET_SUB_OBJECT_ID(void)
{
static hf_register_info hf[] =
{
{
&ahf_tOCTVC1_LIST_HANDLE_GET_SUB_OBJECT_ID[0],
{ "hParent", "octvc1.list.handle_get_sub_object_id.hparent",
FT_NONE, BASE_NONE, NULL, 0x0,
"hParent",HFILL }
},
{
&ahf_tOCTVC1_LIST_HANDLE_GET_SUB_OBJECT_ID[1],
{ "ulNumSubObjectId", "octvc1.list.handle_get_sub_object_id.ulnumsubobjectid",
FT_UINT32,BASE_HEX, NULL, 0x0,
"ulNumSubObjectId",HFILL }
},
{
&ahf_tOCTVC1_LIST_HANDLE_GET_SUB_OBJECT_ID[2],
{ "aSubObjectId", "octvc1.list.handle_get_sub_object_id.asubobjectid",
FT_UINT32,BASE_HEX, NULL, 0x0,
"aSubObjectId",HFILL }
},
};
static gint* ett[] =
{
&ws_htOCTVC1_LIST_HANDLE_GET_SUB_OBJECT_ID.ett
};
proto_register_field_array( proto_octvc1_ctrl, hf, array_length(hf) );
};
int ahf_tOCTVC1_LIST_HANDLE_OBJECT_GET[2]; int ahf_tOCTVC1_LIST_HANDLE_OBJECT_GET[2];
tWS_ENTITY_HANDLE ws_htOCTVC1_LIST_HANDLE_OBJECT_GET; tWS_ENTITY_HANDLE ws_htOCTVC1_LIST_HANDLE_OBJECT_GET;
@ -1612,125 +1110,6 @@ void register_tOCTVC1_LIST_INDEX_GET_SUB_INDEX(void)
****************************************************************************/ ****************************************************************************/
unsigned int dissect_tOCTVC1_LIST_HANDLE_GET(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue )
{
proto_tree *field_tree = tree;
unsigned int offset_0 = offset;
gint bytes = tvb_length_remaining(tvb, offset);
if (bytes < (gint)(sizeof(tOCTVC1_LIST_HANDLE_GET)))
{
proto_tree_add_text(tree, tvb, offset, bytes,
"tOCTVC1_LIST_HANDLE_GET (%d byte%s) - Malformated packet...expected(%ld)",
bytes, plurality(bytes, "", "s"),
sizeof(tOCTVC1_LIST_HANDLE_GET));
return 1;
}
else
{
int temp_data = 0;
proto_item *ti;
bytes = sizeof(tOCTVC1_LIST_HANDLE_GET);
temp_data = tvb_get_ntohl( tvb, offset );
if( pExtValue && (pExtValue->lValue == temp_data ) )
{
ti = proto_tree_add_uint_format_value(field_tree, ahf_tOCTVC1_LIST_HANDLE_GET[0], tvb, offset,
mWS_FIELDSIZE(tOCTVC1_LIST_HANDLE_GET, ulNumHandle), temp_data, "%s (0x%x)",pExtValue->pszValue, temp_data );
}else
{
ti = proto_tree_add_uint(field_tree, ahf_tOCTVC1_LIST_HANDLE_GET[0], tvb, offset,
4, temp_data);
}
offset += mWS_FIELDSIZE(tOCTVC1_LIST_HANDLE_GET, ulNumHandle);
ti = proto_tree_add_text(field_tree, tvb, offset,
mWS_FIELDSIZE(tOCTVC1_LIST_HANDLE_GET, aHandle), "aHandle:tOCTVC1_HANDLE");
{
int i, ofs=offset;
proto_tree* sub_tree = proto_item_add_subtree(ti, ett_octvc1_msg_type);
for( i=0; i<100; i++ )
{
{
proto_tree* sub_tree2;
ti = proto_tree_add_text(sub_tree, tvb, offset,
sizeof(tOCTVC1_HANDLE), "[%d]:", i);
sub_tree2 = proto_item_add_subtree(ti, ett_octvc1_msg_type);
offset = dissect_tOCTVC1_HANDLE( tvb, pinfo, sub_tree2, offset, pExtValue );
}
}
}
}
return offset;
};
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 )
{
proto_tree *field_tree = tree;
unsigned int offset_0 = offset;
gint bytes = tvb_length_remaining(tvb, offset);
if (bytes < (gint)(sizeof(tOCTVC1_LIST_HANDLE_GET_SUB_OBJECT_ID)))
{
proto_tree_add_text(tree, tvb, offset, bytes,
"tOCTVC1_LIST_HANDLE_GET_SUB_OBJECT_ID (%d byte%s) - Malformated packet...expected(%ld)",
bytes, plurality(bytes, "", "s"),
sizeof(tOCTVC1_LIST_HANDLE_GET_SUB_OBJECT_ID));
return 1;
}
else
{
int temp_data = 0;
proto_item *ti;
bytes = sizeof(tOCTVC1_LIST_HANDLE_GET_SUB_OBJECT_ID);
ti = proto_tree_add_text(field_tree, tvb, offset,
mWS_FIELDSIZE(tOCTVC1_LIST_HANDLE_GET_SUB_OBJECT_ID, hParent), "hParent:tOCTVC1_HANDLE");
{
proto_tree* sub_tree2;
sub_tree2 = proto_item_add_subtree(ti, ett_octvc1_msg_type);
offset = dissect_tOCTVC1_HANDLE( tvb, pinfo, sub_tree2, offset, pExtValue );
}
temp_data = tvb_get_ntohl( tvb, offset );
if( pExtValue && (pExtValue->lValue == temp_data ) )
{
ti = proto_tree_add_uint_format_value(field_tree, ahf_tOCTVC1_LIST_HANDLE_GET_SUB_OBJECT_ID[1], tvb, offset,
mWS_FIELDSIZE(tOCTVC1_LIST_HANDLE_GET_SUB_OBJECT_ID, ulNumSubObjectId), temp_data, "%s (0x%x)",pExtValue->pszValue, temp_data );
}else
{
ti = proto_tree_add_uint(field_tree, ahf_tOCTVC1_LIST_HANDLE_GET_SUB_OBJECT_ID[1], tvb, offset,
4, temp_data);
}
offset += mWS_FIELDSIZE(tOCTVC1_LIST_HANDLE_GET_SUB_OBJECT_ID, ulNumSubObjectId);
ti = proto_tree_add_text(field_tree, tvb, offset,
mWS_FIELDSIZE(tOCTVC1_LIST_HANDLE_GET_SUB_OBJECT_ID, aSubObjectId), "aSubObjectId");
{
int i, ofs=offset;
proto_tree* sub_tree = proto_item_add_subtree(ti, ett_octvc1_msg_type);
for( i=0; i<100; i++ )
{
temp_data = tvb_get_ntohl( tvb, offset );
if( pExtValue && (pExtValue->lValue == temp_data ) )
{
ti = proto_tree_add_uint_format_value(sub_tree, ahf_tOCTVC1_LIST_HANDLE_GET_SUB_OBJECT_ID[2], tvb, offset,
mWS_FIELDSIZE(tOCTVC1_LIST_HANDLE_GET_SUB_OBJECT_ID, aSubObjectId), temp_data, "%s (0x%x)",pExtValue->pszValue, temp_data );
}else
{
ti = proto_tree_add_uint_format(sub_tree, ahf_tOCTVC1_LIST_HANDLE_GET_SUB_OBJECT_ID[2], tvb, offset,
4, temp_data, "[%d]: 0x%08x", i, temp_data );
}
offset+=4;
}
}
}
return offset;
};
unsigned int dissect_tOCTVC1_LIST_HANDLE_OBJECT_GET(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue ) unsigned int dissect_tOCTVC1_LIST_HANDLE_OBJECT_GET(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue )
{ {
proto_tree *field_tree = tree; proto_tree *field_tree = tree;
@ -2732,6 +2111,7 @@ const value_string vals_tOCTVC1_MODULE_ID_ENUM[] =
{ cOCTVC1_MODULE_ID_ENUM_TEST, "cOCTVC1_MODULE_ID_ENUM_TEST" }, { cOCTVC1_MODULE_ID_ENUM_TEST, "cOCTVC1_MODULE_ID_ENUM_TEST" },
{ cOCTVC1_MODULE_ID_ENUM_HW, "cOCTVC1_MODULE_ID_ENUM_HW" }, { cOCTVC1_MODULE_ID_ENUM_HW, "cOCTVC1_MODULE_ID_ENUM_HW" },
{ cOCTVC1_MODULE_ID_ENUM_IRSC, "cOCTVC1_MODULE_ID_ENUM_IRSC" }, { cOCTVC1_MODULE_ID_ENUM_IRSC, "cOCTVC1_MODULE_ID_ENUM_IRSC" },
{ cOCTVC1_MODULE_ID_ENUM_OBM, "cOCTVC1_MODULE_ID_ENUM_OBM" },
{ cOCTVC1_MODULE_ID_ENUM_SDR, "cOCTVC1_MODULE_ID_ENUM_SDR" }, { cOCTVC1_MODULE_ID_ENUM_SDR, "cOCTVC1_MODULE_ID_ENUM_SDR" },
{ cOCTVC1_MODULE_ID_ENUM_GSM, "cOCTVC1_MODULE_ID_ENUM_GSM" }, { cOCTVC1_MODULE_ID_ENUM_GSM, "cOCTVC1_MODULE_ID_ENUM_GSM" },
{ cOCTVC1_MODULE_ID_ENUM_LTE, "cOCTVC1_MODULE_ID_ENUM_LTE" }, { cOCTVC1_MODULE_ID_ENUM_LTE, "cOCTVC1_MODULE_ID_ENUM_LTE" },
@ -2740,6 +2120,123 @@ const value_string vals_tOCTVC1_MODULE_ID_ENUM[] =
{ 0, NULL } { 0, NULL }
}; };
/****************************************************************************
COMMON Registered
****************************************************************************/
int ahf_tOCTVC1_MODULE_DATA[2];
tWS_ENTITY_HANDLE ws_htOCTVC1_MODULE_DATA;
void register_tOCTVC1_MODULE_DATA(void)
{
static hf_register_info hf[] =
{
{
&ahf_tOCTVC1_MODULE_DATA[0],
{ "ulModuleId", "octvc1.module.data.ulmoduleid",
FT_UINT32,BASE_HEX, VALS(vals_tOCTVC1_MODULE_ID_ENUM), 0x0,
"ulModuleId",HFILL }
},
{
&ahf_tOCTVC1_MODULE_DATA[1],
{ "ulModuleDataId", "octvc1.module.data.ulmoduledataid",
FT_UINT32,BASE_HEX, NULL, 0x0,
"ulModuleDataId",HFILL }
},
};
static gint* ett[] =
{
&ws_htOCTVC1_MODULE_DATA.ett
};
proto_register_field_array( proto_octvc1_ctrl, hf, array_length(hf) );
};
/****************************************************************************
COMMON dissectors
****************************************************************************/
unsigned int dissect_tOCTVC1_MODULE_DATA(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue )
{
proto_tree *field_tree = tree;
unsigned int offset_0 = offset;
gint bytes = tvb_length_remaining(tvb, offset);
if (bytes < (gint)(sizeof(tOCTVC1_MODULE_DATA)))
{
proto_tree_add_text(tree, tvb, offset, bytes,
"tOCTVC1_MODULE_DATA (%d byte%s) - Malformated packet...expected(%ld)",
bytes, plurality(bytes, "", "s"),
sizeof(tOCTVC1_MODULE_DATA));
return 1;
}
else
{
int temp_data = 0;
proto_item *ti;
bytes = sizeof(tOCTVC1_MODULE_DATA);
temp_data = tvb_get_ntohl( tvb, offset );
if( pExtValue && (pExtValue->lValue == temp_data ) )
{
ti = proto_tree_add_uint_format_value(field_tree, ahf_tOCTVC1_MODULE_DATA[0], tvb, offset,
mWS_FIELDSIZE(tOCTVC1_MODULE_DATA, ulModuleId), temp_data, "%s (0x%x)",pExtValue->pszValue, temp_data );
}else
{
ti = proto_tree_add_uint(field_tree, ahf_tOCTVC1_MODULE_DATA[0], tvb, offset,
4, temp_data);
}
offset += mWS_FIELDSIZE(tOCTVC1_MODULE_DATA, ulModuleId);
temp_data = tvb_get_ntohl( tvb, offset );
if( pExtValue && (pExtValue->lValue == temp_data ) )
{
ti = proto_tree_add_uint_format_value(field_tree, ahf_tOCTVC1_MODULE_DATA[1], tvb, offset,
mWS_FIELDSIZE(tOCTVC1_MODULE_DATA, ulModuleDataId), temp_data, "%s (0x%x)",pExtValue->pszValue, temp_data );
}else
{
ti = proto_tree_add_uint(field_tree, ahf_tOCTVC1_MODULE_DATA[1], tvb, offset,
4, temp_data);
}
offset += mWS_FIELDSIZE(tOCTVC1_MODULE_DATA, ulModuleDataId);
}
return offset;
};
#include <octvc1_tap.h>
/****************************************************************************
MODULE API ENUMERATION STRING VALUES
****************************************************************************/
const value_string vals_tOCTVC1_TAP_DIRECTION_ENUM[] =
{
{ cOCTVC1_TAP_DIRECTION_ENUM_TX, "cOCTVC1_TAP_DIRECTION_ENUM_TX" },
{ cOCTVC1_TAP_DIRECTION_ENUM_RX, "cOCTVC1_TAP_DIRECTION_ENUM_RX" },
{ 0, NULL }
};
const value_string vals_tOCTVC1_TAP_ID[] =
{
{ cOCTVC1_TAP_ID_MASK_MODULE_ID_BIT, "cOCTVC1_TAP_ID_MASK_MODULE_ID_BIT" },
{ cOCTVC1_TAP_ID_MASK_MODULE_ID_BIT_OFFSET, "cOCTVC1_TAP_ID_MASK_MODULE_ID_BIT_OFFSET" },
{ cOCTVC1_TAP_ID_MASK_MODULE_ID, "cOCTVC1_TAP_ID_MASK_MODULE_ID" },
{ cOCTVC1_TAP_ID_MASK_DIRECTION_BIT, "cOCTVC1_TAP_ID_MASK_DIRECTION_BIT" },
{ cOCTVC1_TAP_ID_MASK_DIRECTION_BIT_OFFSET, "cOCTVC1_TAP_ID_MASK_DIRECTION_BIT_OFFSET" },
{ cOCTVC1_TAP_ID_MASK_DIRECTION, "cOCTVC1_TAP_ID_MASK_DIRECTION" },
{ cOCTVC1_TAP_ID_MASK_INDEX_BIT, "cOCTVC1_TAP_ID_MASK_INDEX_BIT" },
{ cOCTVC1_TAP_ID_MASK_INDEX_BIT_OFFSET, "cOCTVC1_TAP_ID_MASK_INDEX_BIT_OFFSET" },
{ cOCTVC1_TAP_ID_MASK_INDEX, "cOCTVC1_TAP_ID_MASK_INDEX" },
{ 0, NULL }
};
#include <octvc1_radio.h> #include <octvc1_radio.h>
/**************************************************************************** /****************************************************************************
@ -2757,9 +2254,13 @@ const value_string vals_tOCTVC1_RADIO_STANDARD_ENUM[] =
const value_string vals_tOCTVC1_RADIO_STANDARD_FREQ_BAND_GSM_ENUM[] = const value_string vals_tOCTVC1_RADIO_STANDARD_FREQ_BAND_GSM_ENUM[] =
{ {
{ cOCTVC1_RADIO_STANDARD_FREQ_BAND_GSM_ENUM_380, "cOCTVC1_RADIO_STANDARD_FREQ_BAND_GSM_ENUM_380" },
{ cOCTVC1_RADIO_STANDARD_FREQ_BAND_GSM_ENUM_410, "cOCTVC1_RADIO_STANDARD_FREQ_BAND_GSM_ENUM_410" },
{ cOCTVC1_RADIO_STANDARD_FREQ_BAND_GSM_ENUM_450, "cOCTVC1_RADIO_STANDARD_FREQ_BAND_GSM_ENUM_450" }, { cOCTVC1_RADIO_STANDARD_FREQ_BAND_GSM_ENUM_450, "cOCTVC1_RADIO_STANDARD_FREQ_BAND_GSM_ENUM_450" },
{ cOCTVC1_RADIO_STANDARD_FREQ_BAND_GSM_ENUM_480, "cOCTVC1_RADIO_STANDARD_FREQ_BAND_GSM_ENUM_480" }, { cOCTVC1_RADIO_STANDARD_FREQ_BAND_GSM_ENUM_480, "cOCTVC1_RADIO_STANDARD_FREQ_BAND_GSM_ENUM_480" },
{ cOCTVC1_RADIO_STANDARD_FREQ_BAND_GSM_ENUM_710, "cOCTVC1_RADIO_STANDARD_FREQ_BAND_GSM_ENUM_710" },
{ cOCTVC1_RADIO_STANDARD_FREQ_BAND_GSM_ENUM_750, "cOCTVC1_RADIO_STANDARD_FREQ_BAND_GSM_ENUM_750" }, { cOCTVC1_RADIO_STANDARD_FREQ_BAND_GSM_ENUM_750, "cOCTVC1_RADIO_STANDARD_FREQ_BAND_GSM_ENUM_750" },
{ cOCTVC1_RADIO_STANDARD_FREQ_BAND_GSM_ENUM_810, "cOCTVC1_RADIO_STANDARD_FREQ_BAND_GSM_ENUM_810" },
{ cOCTVC1_RADIO_STANDARD_FREQ_BAND_GSM_ENUM_850, "cOCTVC1_RADIO_STANDARD_FREQ_BAND_GSM_ENUM_850" }, { cOCTVC1_RADIO_STANDARD_FREQ_BAND_GSM_ENUM_850, "cOCTVC1_RADIO_STANDARD_FREQ_BAND_GSM_ENUM_850" },
{ cOCTVC1_RADIO_STANDARD_FREQ_BAND_GSM_ENUM_E_900, "cOCTVC1_RADIO_STANDARD_FREQ_BAND_GSM_ENUM_E_900" }, { cOCTVC1_RADIO_STANDARD_FREQ_BAND_GSM_ENUM_E_900, "cOCTVC1_RADIO_STANDARD_FREQ_BAND_GSM_ENUM_E_900" },
{ cOCTVC1_RADIO_STANDARD_FREQ_BAND_GSM_ENUM_P_900, "cOCTVC1_RADIO_STANDARD_FREQ_BAND_GSM_ENUM_P_900" }, { cOCTVC1_RADIO_STANDARD_FREQ_BAND_GSM_ENUM_P_900, "cOCTVC1_RADIO_STANDARD_FREQ_BAND_GSM_ENUM_P_900" },
@ -2778,10 +2279,39 @@ const value_string vals_tOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM[] =
{ cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_3, "cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_3" }, { cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_3, "cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_3" },
{ cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_4, "cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_4" }, { cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_4, "cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_4" },
{ cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_5, "cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_5" }, { cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_5, "cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_5" },
{ cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_6, "cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_6" },
{ cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_7, "cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_7" },
{ cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_8, "cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_8" }, { cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_8, "cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_8" },
{ cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_9, "cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_9" },
{ cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_10, "cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_10" },
{ cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_11, "cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_11" },
{ cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_12, "cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_12" },
{ cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_13, "cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_13" },
{ cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_14, "cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_14" },
{ cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_15, "cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_15" },
{ cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_16, "cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_16" },
{ cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_17, "cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_17" },
{ cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_18, "cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_18" },
{ cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_19, "cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_19" },
{ cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_20, "cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_20" },
{ cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_21, "cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_21" },
{ cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_22, "cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_22" },
{ cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_23, "cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_23" },
{ cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_24, "cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_24" },
{ cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_25, "cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_25" },
{ cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_26, "cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_26" },
{ cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_ADD_2, "cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_ADD_2" }, { cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_ADD_2, "cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_ADD_2" },
{ cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_ADD_4, "cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_ADD_4" }, { cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_ADD_4, "cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_ADD_4" },
{ cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_ADD_5, "cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_ADD_5" }, { cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_ADD_5, "cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_ADD_5" },
{ cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_ADD_6, "cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_ADD_6" },
{ cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_ADD_7, "cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_ADD_7" },
{ cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_ADD_10, "cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_ADD_10" },
{ cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_ADD_12, "cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_ADD_12" },
{ cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_ADD_13, "cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_ADD_13" },
{ cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_ADD_14, "cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_ADD_14" },
{ cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_ADD_19, "cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_ADD_19" },
{ cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_ADD_25, "cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_ADD_25" },
{ cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_ADD_26, "cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_ADD_26" },
{ cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_LAST, "cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_LAST" }, { cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_LAST, "cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_LAST" },
{ cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_INVALID, "cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_INVALID" }, { cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_INVALID, "cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_INVALID" },
{ 0, NULL } { 0, NULL }
@ -3634,21 +3164,14 @@ unsigned int dissect_tOCTVC1_PROCESS_CPU_USAGE_STATS(tvbuff_t *tvb, packet_info
void ws_register_OCTVC1_common(void) void ws_register_OCTVC1_common(void)
{ {
register_tOCTVC1_CURSOR_HANDLE_GET();
register_tOCTVC1_CURSOR_HANDLE_GET_HANDLE();
register_tOCTVC1_CURSOR_HANDLE_GET_HANDLE_OBJECT();
register_tOCTVC1_CURSOR_HANDLE_GET_SUB_OBJECT_ID();
register_tOCTVC1_CURSOR_HANDLE_OBJECT_GET(); register_tOCTVC1_CURSOR_HANDLE_OBJECT_GET();
register_tOCTVC1_CURSOR_HANDLE_OBJECT_GET_HANDLE_OBJECT(); register_tOCTVC1_CURSOR_HANDLE_OBJECT_GET_HANDLE_OBJECT();
register_tOCTVC1_CURSOR_HANDLE_OBJECT_GET_SUB_OBJECT_ID(); register_tOCTVC1_CURSOR_HANDLE_OBJECT_GET_SUB_OBJECT_ID();
register_tOCTVC1_CURSOR_INDEX_GET(); register_tOCTVC1_CURSOR_INDEX_GET();
register_tOCTVC1_CURSOR_INDEX_GET_SUB_INDEX(); register_tOCTVC1_CURSOR_INDEX_GET_SUB_INDEX();
register_tOCTVC1_HANDLE();
register_tOCTVC1_OBJECT32_NAME(); register_tOCTVC1_OBJECT32_NAME();
register_tOCTVC1_VLAN_TAG(); register_tOCTVC1_VLAN_TAG();
register_tOCTVC1_VLAN_HEADER_INFO(); register_tOCTVC1_VLAN_HEADER_INFO();
register_tOCTVC1_LIST_HANDLE_GET();
register_tOCTVC1_LIST_HANDLE_GET_SUB_OBJECT_ID();
register_tOCTVC1_LIST_HANDLE_OBJECT_GET(); register_tOCTVC1_LIST_HANDLE_OBJECT_GET();
register_tOCTVC1_LIST_NAME_OBJECT32_GET(); register_tOCTVC1_LIST_NAME_OBJECT32_GET();
register_tOCTVC1_LIST_HANDLE_OBJECT_GET_SUB_OBJECT_ID_NAME(); register_tOCTVC1_LIST_HANDLE_OBJECT_GET_SUB_OBJECT_ID_NAME();
@ -3659,6 +3182,7 @@ void ws_register_OCTVC1_common(void)
register_tOCTVC1_EVENT_HEADER(); register_tOCTVC1_EVENT_HEADER();
register_tOCTVC1_LOG_HEADER(); register_tOCTVC1_LOG_HEADER();
register_tOCTVC1_FILE_HEADER(); register_tOCTVC1_FILE_HEADER();
register_tOCTVC1_MODULE_DATA();
register_tOCTVC1_API_SESSION_INFO(); register_tOCTVC1_API_SESSION_INFO();
register_tOCTVC1_API_SESSION_EVT_INFO(); register_tOCTVC1_API_SESSION_EVT_INFO();
register_tOCTVC1_PROCESS_ERROR(); register_tOCTVC1_PROCESS_ERROR();

View File

@ -21,7 +21,7 @@ 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
$Octasic_Revision: $ $Octasic_Revision: $

View File

@ -21,7 +21,7 @@ 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
$Octasic_Revision: $ $Octasic_Revision: $
@ -169,6 +169,7 @@ const value_string vals_tOCTVC1_HW_CLOCK_SYNC_MGR_STATE_ENUM[] =
{ cOCTVC1_HW_CLOCK_SYNC_MGR_STATE_ENUM_UNLOCKED, "cOCTVC1_HW_CLOCK_SYNC_MGR_STATE_ENUM_UNLOCKED" }, { cOCTVC1_HW_CLOCK_SYNC_MGR_STATE_ENUM_UNLOCKED, "cOCTVC1_HW_CLOCK_SYNC_MGR_STATE_ENUM_UNLOCKED" },
{ cOCTVC1_HW_CLOCK_SYNC_MGR_STATE_ENUM_ERROR, "cOCTVC1_HW_CLOCK_SYNC_MGR_STATE_ENUM_ERROR" }, { cOCTVC1_HW_CLOCK_SYNC_MGR_STATE_ENUM_ERROR, "cOCTVC1_HW_CLOCK_SYNC_MGR_STATE_ENUM_ERROR" },
{ cOCTVC1_HW_CLOCK_SYNC_MGR_STATE_ENUM_DISABLE, "cOCTVC1_HW_CLOCK_SYNC_MGR_STATE_ENUM_DISABLE" }, { cOCTVC1_HW_CLOCK_SYNC_MGR_STATE_ENUM_DISABLE, "cOCTVC1_HW_CLOCK_SYNC_MGR_STATE_ENUM_DISABLE" },
{ cOCTVC1_HW_CLOCK_SYNC_MGR_STATE_ENUM_LOSS_EXT_CLOCK, "cOCTVC1_HW_CLOCK_SYNC_MGR_STATE_ENUM_LOSS_EXT_CLOCK" },
{ 0, NULL } { 0, NULL }
}; };
@ -1357,7 +1358,7 @@ void register_tOCTVC1_HW_MSG_RF_PORT_INFO_CMD(void)
}; };
int ahf_tOCTVC1_HW_MSG_RF_PORT_INFO_RSP[5]; int ahf_tOCTVC1_HW_MSG_RF_PORT_INFO_RSP[7];
tWS_ENTITY_HANDLE ws_htOCTVC1_HW_MSG_RF_PORT_INFO_RSP; tWS_ENTITY_HANDLE ws_htOCTVC1_HW_MSG_RF_PORT_INFO_RSP;
void register_tOCTVC1_HW_MSG_RF_PORT_INFO_RSP(void) void register_tOCTVC1_HW_MSG_RF_PORT_INFO_RSP(void)
@ -1392,6 +1393,20 @@ void register_tOCTVC1_HW_MSG_RF_PORT_INFO_RSP(void)
"ulPortInterfaceId",HFILL } "ulPortInterfaceId",HFILL }
}, },
{
&ahf_tOCTVC1_HW_MSG_RF_PORT_INFO_RSP[4],
{ "ulFrequencyMinHz", "octvc1.hw.rf_port.info.ulfrequencyminhz",
FT_UINT32,BASE_DEC, NULL, 0x0,
"ulFrequencyMinHz",HFILL }
},
{
&ahf_tOCTVC1_HW_MSG_RF_PORT_INFO_RSP[5],
{ "ulFrequencyMaxHz", "octvc1.hw.rf_port.info.ulfrequencymaxhz",
FT_UINT32,BASE_DEC, NULL, 0x0,
"ulFrequencyMaxHz",HFILL }
},
}; };
static gint* ett[] = static gint* ett[] =
@ -1680,84 +1695,6 @@ void register_tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_RX_CONFIG_RSP(void)
}; };
int ahf_tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CMD[5];
tWS_ENTITY_HANDLE ws_htOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CMD;
void register_tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CMD(void)
{
static hf_register_info hf[] =
{
{
&ahf_tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CMD[0],
{ "ulPortIndex", "octvc1.hw.rf_port.antenna.rx_config.modify.ulportindex",
FT_UINT32,BASE_HEX, NULL, 0x0,
"ulPortIndex",HFILL }
},
{
&ahf_tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CMD[1],
{ "ulAntennaIndex", "octvc1.hw.rf_port.antenna.rx_config.modify.ulantennaindex",
FT_UINT32,BASE_HEX, NULL, 0x0,
"ulAntennaIndex",HFILL }
},
{
&ahf_tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CMD[2],
{ "lRxGaindB", "octvc1.hw.rf_port.antenna.rx_config.modify.lrxgaindb",
FT_INT32,BASE_DEC, NULL, 0x0,
"lRxGaindB",HFILL }
},
{
&ahf_tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CMD[3],
{ "ulRxGainMode", "octvc1.hw.rf_port.antenna.rx_config.modify.ulrxgainmode",
FT_UINT32,BASE_HEX, VALS(vals_tOCTVC1_RADIO_RX_GAIN_CTRL_MODE_ENUM), 0x0,
"ulRxGainMode",HFILL }
},
};
static gint* ett[] =
{
&ws_htOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CMD.ett
};
proto_register_field_array( proto_octvc1_ctrl, hf, array_length(hf) );
};
int ahf_tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_RSP[3];
tWS_ENTITY_HANDLE ws_htOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_RSP;
void register_tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_RSP(void)
{
static hf_register_info hf[] =
{
{
&ahf_tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_RSP[0],
{ "ulPortIndex", "octvc1.hw.rf_port.antenna.rx_config.modify.ulportindex",
FT_UINT32,BASE_HEX, NULL, 0x0,
"ulPortIndex",HFILL }
},
{
&ahf_tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_RSP[1],
{ "ulAntennaIndex", "octvc1.hw.rf_port.antenna.rx_config.modify.ulantennaindex",
FT_UINT32,BASE_HEX, NULL, 0x0,
"ulAntennaIndex",HFILL }
},
};
static gint* ett[] =
{
&ws_htOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_RSP.ett
};
proto_register_field_array( proto_octvc1_ctrl, hf, array_length(hf) );
};
int ahf_tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CONFIG_CMD[3]; int ahf_tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CONFIG_CMD[3];
tWS_ENTITY_HANDLE ws_htOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CONFIG_CMD; tWS_ENTITY_HANDLE ws_htOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CONFIG_CMD;
@ -1836,77 +1773,6 @@ void register_tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CONFIG_RSP(void)
}; };
int ahf_tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_CMD[4];
tWS_ENTITY_HANDLE ws_htOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_CMD;
void register_tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_CMD(void)
{
static hf_register_info hf[] =
{
{
&ahf_tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_CMD[0],
{ "ulPortIndex", "octvc1.hw.rf_port.antenna.tx_config.modify.ulportindex",
FT_UINT32,BASE_HEX, NULL, 0x0,
"ulPortIndex",HFILL }
},
{
&ahf_tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_CMD[1],
{ "ulAntennaIndex", "octvc1.hw.rf_port.antenna.tx_config.modify.ulantennaindex",
FT_UINT32,BASE_HEX, NULL, 0x0,
"ulAntennaIndex",HFILL }
},
{
&ahf_tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_CMD[2],
{ "lTxGaindB", "octvc1.hw.rf_port.antenna.tx_config.modify.ltxgaindb",
FT_INT32,BASE_DEC, NULL, 0x0,
"lTxGaindB",HFILL }
},
};
static gint* ett[] =
{
&ws_htOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_CMD.ett
};
proto_register_field_array( proto_octvc1_ctrl, hf, array_length(hf) );
};
int ahf_tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_RSP[3];
tWS_ENTITY_HANDLE ws_htOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_RSP;
void register_tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_RSP(void)
{
static hf_register_info hf[] =
{
{
&ahf_tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_RSP[0],
{ "ulPortIndex", "octvc1.hw.rf_port.antenna.tx_config.modify.ulportindex",
FT_UINT32,BASE_HEX, NULL, 0x0,
"ulPortIndex",HFILL }
},
{
&ahf_tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_RSP[1],
{ "ulAntennaIndex", "octvc1.hw.rf_port.antenna.tx_config.modify.ulantennaindex",
FT_UINT32,BASE_HEX, NULL, 0x0,
"ulAntennaIndex",HFILL }
},
};
static gint* ett[] =
{
&ws_htOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_RSP.ett
};
proto_register_field_array( proto_octvc1_ctrl, hf, array_length(hf) );
};
int ahf_tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_INFO_RSP[3]; int ahf_tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_INFO_RSP[3];
tWS_ENTITY_HANDLE ws_htOCTVC1_HW_MSG_CLOCK_SYNC_MGR_INFO_RSP; tWS_ENTITY_HANDLE ws_htOCTVC1_HW_MSG_CLOCK_SYNC_MGR_INFO_RSP;
@ -3959,6 +3825,20 @@ unsigned int dissect_tOCTVC1_HW_MSG_RF_PORT_INFO_RSP(tvbuff_t *tvb, packet_info
} }
offset += mWS_FIELDSIZE(tOCTVC1_HW_MSG_RF_PORT_INFO_RSP, ulPortInterfaceId); offset += mWS_FIELDSIZE(tOCTVC1_HW_MSG_RF_PORT_INFO_RSP, ulPortInterfaceId);
temp_data = tvb_get_ntohl( tvb, offset );
{
ti = proto_tree_add_uint(field_tree, ahf_tOCTVC1_HW_MSG_RF_PORT_INFO_RSP[4], tvb, offset,
4, temp_data);
}
offset += mWS_FIELDSIZE(tOCTVC1_HW_MSG_RF_PORT_INFO_RSP, ulFrequencyMinHz);
temp_data = tvb_get_ntohl( tvb, offset );
{
ti = proto_tree_add_uint(field_tree, ahf_tOCTVC1_HW_MSG_RF_PORT_INFO_RSP[5], tvb, offset,
4, temp_data);
}
offset += mWS_FIELDSIZE(tOCTVC1_HW_MSG_RF_PORT_INFO_RSP, ulFrequencyMaxHz);
} }
@ -4332,106 +4212,6 @@ unsigned int dissect_tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_RX_CONFIG_RSP(tvbuff_t
}; };
unsigned int dissect_tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CMD(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_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CMD)-sizeof(tOCTVC1_MSG_HEADER)))
{
proto_tree_add_text(tree, tvb, offset, bytes,
"tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CMD (%d byte%s) - Malformated packet...expected(%ld)",
bytes, plurality(bytes, "", "s"),
sizeof(tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CMD)-sizeof(tOCTVC1_MSG_HEADER));
return 1;
}
else
{
int temp_data = 0;
proto_item *ti;
ti = proto_tree_add_text(tree, tvb, offset, bytes,
"tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CMD (%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_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CMD[0], tvb, offset,
4, temp_data);
}
offset += mWS_FIELDSIZE(tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CMD, ulPortIndex);
temp_data = tvb_get_ntohl( tvb, offset );
{
ti = proto_tree_add_uint(field_tree, ahf_tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CMD[1], tvb, offset,
4, temp_data);
}
offset += mWS_FIELDSIZE(tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CMD, ulAntennaIndex);
temp_data = tvb_get_ntohl( tvb, offset );
{
ti = proto_tree_add_int(field_tree, ahf_tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CMD[2], tvb, offset,
4, temp_data);
}
offset += mWS_FIELDSIZE(tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CMD, lRxGaindB);
temp_data = tvb_get_ntohl( tvb, offset );
{
ti = proto_tree_add_uint(field_tree, ahf_tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CMD[3], tvb, offset,
4, temp_data);
}
offset += mWS_FIELDSIZE(tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CMD, ulRxGainMode);
}
return 0;
};
unsigned int dissect_tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_RSP(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_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_RSP)-sizeof(tOCTVC1_MSG_HEADER)))
{
proto_tree_add_text(tree, tvb, offset, bytes,
"tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_RSP (%d byte%s) - Malformated packet...expected(%ld)",
bytes, plurality(bytes, "", "s"),
sizeof(tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_RSP)-sizeof(tOCTVC1_MSG_HEADER));
return 1;
}
else
{
int temp_data = 0;
proto_item *ti;
ti = proto_tree_add_text(tree, tvb, offset, bytes,
"tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_RSP (%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_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_RSP[0], tvb, offset,
4, temp_data);
}
offset += mWS_FIELDSIZE(tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_RSP, ulPortIndex);
temp_data = tvb_get_ntohl( tvb, offset );
{
ti = proto_tree_add_uint(field_tree, ahf_tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_RSP[1], tvb, offset,
4, temp_data);
}
offset += mWS_FIELDSIZE(tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_RSP, ulAntennaIndex);
}
return 0;
};
unsigned int dissect_tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CONFIG_CMD(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset ) unsigned int dissect_tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CONFIG_CMD(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset )
{ {
proto_tree *field_tree = tree; proto_tree *field_tree = tree;
@ -4532,99 +4312,6 @@ unsigned int dissect_tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CONFIG_RSP(tvbuff_t
}; };
unsigned int dissect_tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_CMD(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_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_CMD)-sizeof(tOCTVC1_MSG_HEADER)))
{
proto_tree_add_text(tree, tvb, offset, bytes,
"tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_CMD (%d byte%s) - Malformated packet...expected(%ld)",
bytes, plurality(bytes, "", "s"),
sizeof(tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_CMD)-sizeof(tOCTVC1_MSG_HEADER));
return 1;
}
else
{
int temp_data = 0;
proto_item *ti;
ti = proto_tree_add_text(tree, tvb, offset, bytes,
"tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_CMD (%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_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_CMD[0], tvb, offset,
4, temp_data);
}
offset += mWS_FIELDSIZE(tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_CMD, ulPortIndex);
temp_data = tvb_get_ntohl( tvb, offset );
{
ti = proto_tree_add_uint(field_tree, ahf_tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_CMD[1], tvb, offset,
4, temp_data);
}
offset += mWS_FIELDSIZE(tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_CMD, ulAntennaIndex);
temp_data = tvb_get_ntohl( tvb, offset );
{
ti = proto_tree_add_int(field_tree, ahf_tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_CMD[2], tvb, offset,
4, temp_data);
}
offset += mWS_FIELDSIZE(tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_CMD, lTxGaindB);
}
return 0;
};
unsigned int dissect_tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_RSP(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_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_RSP)-sizeof(tOCTVC1_MSG_HEADER)))
{
proto_tree_add_text(tree, tvb, offset, bytes,
"tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_RSP (%d byte%s) - Malformated packet...expected(%ld)",
bytes, plurality(bytes, "", "s"),
sizeof(tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_RSP)-sizeof(tOCTVC1_MSG_HEADER));
return 1;
}
else
{
int temp_data = 0;
proto_item *ti;
ti = proto_tree_add_text(tree, tvb, offset, bytes,
"tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_RSP (%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_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_RSP[0], tvb, offset,
4, temp_data);
}
offset += mWS_FIELDSIZE(tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_RSP, ulPortIndex);
temp_data = tvb_get_ntohl( tvb, offset );
{
ti = proto_tree_add_uint(field_tree, ahf_tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_RSP[1], tvb, offset,
4, temp_data);
}
offset += mWS_FIELDSIZE(tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_RSP, ulAntennaIndex);
}
return 0;
};
unsigned int dissect_tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_INFO_RSP(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset ) unsigned int dissect_tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_INFO_RSP(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset )
{ {
proto_tree *field_tree = tree; proto_tree *field_tree = tree;
@ -4989,12 +4676,8 @@ void ws_register_OCTVC1_HW(void)
register_tOCTVC1_HW_MSG_RF_PORT_LIST_ANTENNA_RSP(); register_tOCTVC1_HW_MSG_RF_PORT_LIST_ANTENNA_RSP();
register_tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_RX_CONFIG_CMD(); register_tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_RX_CONFIG_CMD();
register_tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_RX_CONFIG_RSP(); register_tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_RX_CONFIG_RSP();
register_tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CMD();
register_tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_RSP();
register_tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CONFIG_CMD(); register_tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CONFIG_CMD();
register_tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CONFIG_RSP(); register_tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CONFIG_RSP();
register_tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_CMD();
register_tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_RSP();
register_tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_INFO_RSP(); register_tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_INFO_RSP();
register_tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STATS_CMD(); register_tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STATS_CMD();
register_tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STATS_RSP(); register_tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STATS_RSP();
@ -5032,9 +4715,7 @@ int ws_dissect_OCTVC1_HW_CMD( guint32 CID, tvbuff_t *tvb, packet_info *pinfo, pr
case cOCTVC1_HW_MSG_RF_PORT_LIST_CID: return dissect_tOCTVC1_HW_MSG_RF_PORT_LIST_CMD( tvb, pinfo, tree, 0 ); break; case cOCTVC1_HW_MSG_RF_PORT_LIST_CID: return dissect_tOCTVC1_HW_MSG_RF_PORT_LIST_CMD( tvb, pinfo, tree, 0 ); break;
case cOCTVC1_HW_MSG_RF_PORT_LIST_ANTENNA_CID: return dissect_tOCTVC1_HW_MSG_RF_PORT_LIST_ANTENNA_CMD( tvb, pinfo, tree, 0 ); break; case cOCTVC1_HW_MSG_RF_PORT_LIST_ANTENNA_CID: return dissect_tOCTVC1_HW_MSG_RF_PORT_LIST_ANTENNA_CMD( tvb, pinfo, tree, 0 ); break;
case cOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_RX_CONFIG_CID: return dissect_tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_RX_CONFIG_CMD( tvb, pinfo, tree, 0 ); break; case cOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_RX_CONFIG_CID: return dissect_tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_RX_CONFIG_CMD( tvb, pinfo, tree, 0 ); break;
case cOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CID: return dissect_tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CMD( tvb, pinfo, tree, 0 ); break;
case cOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CONFIG_CID: return dissect_tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CONFIG_CMD( tvb, pinfo, tree, 0 ); break; case cOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CONFIG_CID: return dissect_tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CONFIG_CMD( tvb, pinfo, tree, 0 ); break;
case cOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_CID: return dissect_tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_CMD( tvb, pinfo, tree, 0 ); break;
case cOCTVC1_HW_MSG_CLOCK_SYNC_MGR_INFO_CID: return 0; break; case cOCTVC1_HW_MSG_CLOCK_SYNC_MGR_INFO_CID: return 0; break;
case cOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STATS_CID: return dissect_tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STATS_CMD( tvb, pinfo, tree, 0 ); break; case cOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STATS_CID: return dissect_tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STATS_CMD( tvb, pinfo, tree, 0 ); break;
case cOCTVC1_HW_MSG_CLOCK_SYNC_MGR_INFO_SOURCE_CID: return 0; break; case cOCTVC1_HW_MSG_CLOCK_SYNC_MGR_INFO_SOURCE_CID: return 0; break;
@ -5066,9 +4747,7 @@ int ws_dissect_OCTVC1_HW_RSP( guint32 CID, tvbuff_t *tvb, packet_info *pinfo, pr
case cOCTVC1_HW_MSG_RF_PORT_LIST_CID: return dissect_tOCTVC1_HW_MSG_RF_PORT_LIST_RSP( tvb, pinfo, tree, 0 ); break; case cOCTVC1_HW_MSG_RF_PORT_LIST_CID: return dissect_tOCTVC1_HW_MSG_RF_PORT_LIST_RSP( tvb, pinfo, tree, 0 ); break;
case cOCTVC1_HW_MSG_RF_PORT_LIST_ANTENNA_CID: return dissect_tOCTVC1_HW_MSG_RF_PORT_LIST_ANTENNA_RSP( tvb, pinfo, tree, 0 ); break; case cOCTVC1_HW_MSG_RF_PORT_LIST_ANTENNA_CID: return dissect_tOCTVC1_HW_MSG_RF_PORT_LIST_ANTENNA_RSP( tvb, pinfo, tree, 0 ); break;
case cOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_RX_CONFIG_CID: return dissect_tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_RX_CONFIG_RSP( tvb, pinfo, tree, 0 ); break; case cOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_RX_CONFIG_CID: return dissect_tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_RX_CONFIG_RSP( tvb, pinfo, tree, 0 ); break;
case cOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CID: return dissect_tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_RSP( tvb, pinfo, tree, 0 ); break;
case cOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CONFIG_CID: return dissect_tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CONFIG_RSP( tvb, pinfo, tree, 0 ); break; case cOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CONFIG_CID: return dissect_tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CONFIG_RSP( tvb, pinfo, tree, 0 ); break;
case cOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_CID: return dissect_tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_RSP( tvb, pinfo, tree, 0 ); break;
case cOCTVC1_HW_MSG_CLOCK_SYNC_MGR_INFO_CID: return dissect_tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_INFO_RSP( tvb, pinfo, tree, 0 ); break; case cOCTVC1_HW_MSG_CLOCK_SYNC_MGR_INFO_CID: return dissect_tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_INFO_RSP( tvb, pinfo, tree, 0 ); break;
case cOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STATS_CID: return dissect_tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STATS_RSP( tvb, pinfo, tree, 0 ); break; case cOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STATS_CID: return dissect_tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STATS_RSP( tvb, pinfo, tree, 0 ); break;
case cOCTVC1_HW_MSG_CLOCK_SYNC_MGR_INFO_SOURCE_CID: return dissect_tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_INFO_SOURCE_RSP( tvb, pinfo, tree, 0 ); break; case cOCTVC1_HW_MSG_CLOCK_SYNC_MGR_INFO_SOURCE_CID: return dissect_tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_INFO_SOURCE_RSP( tvb, pinfo, tree, 0 ); break;

View File

@ -21,7 +21,7 @@ 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
$Octasic_Revision: $ $Octasic_Revision: $
@ -50,6 +50,24 @@ const value_string vals_tOCTVC1_MAIN_APPLICATION_STATE_ENUM[] =
{ 0, NULL } { 0, NULL }
}; };
const value_string vals_tOCTVC1_MAIN_APPLICATION_MODULE_STATE_ENUM[] =
{
{ cOCTVC1_MAIN_APPLICATION_MODULE_STATE_ENUM_INVALID, "cOCTVC1_MAIN_APPLICATION_MODULE_STATE_ENUM_INVALID" },
{ cOCTVC1_MAIN_APPLICATION_MODULE_STATE_ENUM_STOPPED, "cOCTVC1_MAIN_APPLICATION_MODULE_STATE_ENUM_STOPPED" },
{ cOCTVC1_MAIN_APPLICATION_MODULE_STATE_ENUM_STARTED, "cOCTVC1_MAIN_APPLICATION_MODULE_STATE_ENUM_STARTED" },
{ cOCTVC1_MAIN_APPLICATION_MODULE_STATE_ENUM_ERROR, "cOCTVC1_MAIN_APPLICATION_MODULE_STATE_ENUM_ERROR" },
{ 0, NULL }
};
const value_string vals_tOCTVC1_MAIN_APPLICATION_MODULE_CONFIG_STATE_ENUM[] =
{
{ cOCTVC1_MAIN_APPLICATION_MODULE_CONFIG_STATE_ENUM_INVALID, "cOCTVC1_MAIN_APPLICATION_MODULE_CONFIG_STATE_ENUM_INVALID" },
{ cOCTVC1_MAIN_APPLICATION_MODULE_CONFIG_STATE_ENUM_DEFAULT, "cOCTVC1_MAIN_APPLICATION_MODULE_CONFIG_STATE_ENUM_DEFAULT" },
{ cOCTVC1_MAIN_APPLICATION_MODULE_CONFIG_STATE_ENUM_PARSE_OK, "cOCTVC1_MAIN_APPLICATION_MODULE_CONFIG_STATE_ENUM_PARSE_OK" },
{ cOCTVC1_MAIN_APPLICATION_MODULE_CONFIG_STATE_ENUM_PARSE_ERROR, "cOCTVC1_MAIN_APPLICATION_MODULE_CONFIG_STATE_ENUM_PARSE_ERROR" },
{ 0, NULL }
};
const value_string vals_tOCTVC1_MAIN_HEARTBEAT_STATE_ENUM[] = const value_string vals_tOCTVC1_MAIN_HEARTBEAT_STATE_ENUM[] =
{ {
{ cOCTVC1_MAIN_HEARTBEAT_STATE_ENUM_STOP, "cOCTVC1_MAIN_HEARTBEAT_STATE_ENUM_STOP" }, { cOCTVC1_MAIN_HEARTBEAT_STATE_ENUM_STOP, "cOCTVC1_MAIN_HEARTBEAT_STATE_ENUM_STOP" },
@ -82,6 +100,70 @@ const value_string vals_tOCTVC1_MAIN_EVT_PHY_MASK[] =
COMMON Registered COMMON Registered
****************************************************************************/ ****************************************************************************/
int ahf_tOCTVC1_MAIN_APPLICATION_MODULE_INFO[1];
tWS_ENTITY_HANDLE ws_htOCTVC1_MAIN_APPLICATION_MODULE_INFO;
void register_tOCTVC1_MAIN_APPLICATION_MODULE_INFO(void)
{
static hf_register_info hf[] =
{
{
&ahf_tOCTVC1_MAIN_APPLICATION_MODULE_INFO[0],
{ "ulModuleId", "octvc1.main.application_module_info.ulmoduleid",
FT_UINT32,BASE_HEX, VALS(vals_tOCTVC1_MODULE_ID_ENUM), 0x0,
"ulModuleId",HFILL }
},
};
static gint* ett[] =
{
&ws_htOCTVC1_MAIN_APPLICATION_MODULE_INFO.ett
};
proto_register_field_array( proto_octvc1_ctrl, hf, array_length(hf) );
};
int ahf_tOCTVC1_MAIN_APPLICATION_MODULE_STATS[3];
tWS_ENTITY_HANDLE ws_htOCTVC1_MAIN_APPLICATION_MODULE_STATS;
void register_tOCTVC1_MAIN_APPLICATION_MODULE_STATS(void)
{
static hf_register_info hf[] =
{
{
&ahf_tOCTVC1_MAIN_APPLICATION_MODULE_STATS[0],
{ "ulState", "octvc1.main.application_module_stats.ulstate",
FT_UINT32,BASE_HEX, VALS(vals_tOCTVC1_MAIN_APPLICATION_MODULE_STATE_ENUM), 0x0,
"ulState",HFILL }
},
{
&ahf_tOCTVC1_MAIN_APPLICATION_MODULE_STATS[1],
{ "ulConfigState", "octvc1.main.application_module_stats.ulconfigstate",
FT_UINT32,BASE_HEX, VALS(vals_tOCTVC1_MAIN_APPLICATION_MODULE_CONFIG_STATE_ENUM), 0x0,
"ulConfigState",HFILL }
},
{
&ahf_tOCTVC1_MAIN_APPLICATION_MODULE_STATS[2],
{ "ulProcessNum", "octvc1.main.application_module_stats.ulprocessnum",
FT_UINT32,BASE_DEC, NULL, 0x0,
"ulProcessNum",HFILL }
},
};
static gint* ett[] =
{
&ws_htOCTVC1_MAIN_APPLICATION_MODULE_STATS.ett
};
proto_register_field_array( proto_octvc1_ctrl, hf, array_length(hf) );
};
int ahf_tOCTVC1_MAIN_API_SESSION_HEARTBEAT_CONFIG[2]; int ahf_tOCTVC1_MAIN_API_SESSION_HEARTBEAT_CONFIG[2];
tWS_ENTITY_HANDLE ws_htOCTVC1_MAIN_API_SESSION_HEARTBEAT_CONFIG; tWS_ENTITY_HANDLE ws_htOCTVC1_MAIN_API_SESSION_HEARTBEAT_CONFIG;
@ -833,7 +915,7 @@ void register_tOCTVC1_MAIN_MSG_FILE_SYSTEM_INFO_FILE_CMD(void)
}; };
int ahf_tOCTVC1_MAIN_MSG_FILE_SYSTEM_INFO_FILE_RSP[3]; int ahf_tOCTVC1_MAIN_MSG_FILE_SYSTEM_INFO_FILE_RSP[7];
tWS_ENTITY_HANDLE ws_htOCTVC1_MAIN_MSG_FILE_SYSTEM_INFO_FILE_RSP; tWS_ENTITY_HANDLE ws_htOCTVC1_MAIN_MSG_FILE_SYSTEM_INFO_FILE_RSP;
void register_tOCTVC1_MAIN_MSG_FILE_SYSTEM_INFO_FILE_RSP(void) void register_tOCTVC1_MAIN_MSG_FILE_SYSTEM_INFO_FILE_RSP(void)
@ -854,6 +936,34 @@ void register_tOCTVC1_MAIN_MSG_FILE_SYSTEM_INFO_FILE_RSP(void)
"ulAccessMode",HFILL } "ulAccessMode",HFILL }
}, },
{
&ahf_tOCTVC1_MAIN_MSG_FILE_SYSTEM_INFO_FILE_RSP[2],
{ "ulHostOwnerFlag", "octvc1.main.file_system.file.info.ulhostownerflag",
FT_BOOLEAN, BASE_NONE, NULL, 0x0,
"ulHostOwnerFlag",HFILL }
},
{
&ahf_tOCTVC1_MAIN_MSG_FILE_SYSTEM_INFO_FILE_RSP[3],
{ "ulFileSize", "octvc1.main.file_system.file.info.ulfilesize",
FT_UINT32,BASE_HEX, NULL, 0x0,
"ulFileSize",HFILL }
},
{
&ahf_tOCTVC1_MAIN_MSG_FILE_SYSTEM_INFO_FILE_RSP[4],
{ "ulMaxFileSize", "octvc1.main.file_system.file.info.ulmaxfilesize",
FT_UINT32,BASE_HEX, NULL, 0x0,
"ulMaxFileSize",HFILL }
},
{
&ahf_tOCTVC1_MAIN_MSG_FILE_SYSTEM_INFO_FILE_RSP[5],
{ "ulInstanceNum", "octvc1.main.file_system.file.info.ulinstancenum",
FT_UINT32,BASE_HEX, NULL, 0x0,
"ulInstanceNum",HFILL }
},
}; };
static gint* ett[] = static gint* ett[] =
@ -865,6 +975,63 @@ void register_tOCTVC1_MAIN_MSG_FILE_SYSTEM_INFO_FILE_RSP(void)
}; };
int ahf_tOCTVC1_MAIN_MSG_FILE_SYSTEM_ADD_FILE_CMD[3];
tWS_ENTITY_HANDLE ws_htOCTVC1_MAIN_MSG_FILE_SYSTEM_ADD_FILE_CMD;
void register_tOCTVC1_MAIN_MSG_FILE_SYSTEM_ADD_FILE_CMD(void)
{
static hf_register_info hf[] =
{
{
&ahf_tOCTVC1_MAIN_MSG_FILE_SYSTEM_ADD_FILE_CMD[0],
{ "szFileName", "octvc1.main.file_system.file.add.szfilename",
FT_STRING, BASE_NONE, NULL, 0x0,
"szFileName",HFILL }
},
{
&ahf_tOCTVC1_MAIN_MSG_FILE_SYSTEM_ADD_FILE_CMD[1],
{ "ulMaxFilesize", "octvc1.main.file_system.file.add.ulmaxfilesize",
FT_UINT32,BASE_HEX, NULL, 0x0,
"ulMaxFilesize",HFILL }
},
};
static gint* ett[] =
{
&ws_htOCTVC1_MAIN_MSG_FILE_SYSTEM_ADD_FILE_CMD.ett
};
proto_register_field_array( proto_octvc1_ctrl, hf, array_length(hf) );
};
int ahf_tOCTVC1_MAIN_MSG_FILE_SYSTEM_ADD_FILE_RSP[2];
tWS_ENTITY_HANDLE ws_htOCTVC1_MAIN_MSG_FILE_SYSTEM_ADD_FILE_RSP;
void register_tOCTVC1_MAIN_MSG_FILE_SYSTEM_ADD_FILE_RSP(void)
{
static hf_register_info hf[] =
{
{
&ahf_tOCTVC1_MAIN_MSG_FILE_SYSTEM_ADD_FILE_RSP[0],
{ "szFileName", "octvc1.main.file_system.file.add.szfilename",
FT_STRING, BASE_NONE, NULL, 0x0,
"szFileName",HFILL }
},
};
static gint* ett[] =
{
&ws_htOCTVC1_MAIN_MSG_FILE_SYSTEM_ADD_FILE_RSP.ett
};
proto_register_field_array( proto_octvc1_ctrl, hf, array_length(hf) );
};
int ahf_tOCTVC1_MAIN_MSG_FILE_SYSTEM_DELETE_FILE_CMD[2]; int ahf_tOCTVC1_MAIN_MSG_FILE_SYSTEM_DELETE_FILE_CMD[2];
tWS_ENTITY_HANDLE ws_htOCTVC1_MAIN_MSG_FILE_SYSTEM_DELETE_FILE_CMD; tWS_ENTITY_HANDLE ws_htOCTVC1_MAIN_MSG_FILE_SYSTEM_DELETE_FILE_CMD;
@ -2046,11 +2213,296 @@ void register_tOCTVC1_MAIN_MSG_APPLICATION_INFO_SYSTEM_RSP(void)
}; };
int ahf_tOCTVC1_MAIN_MSG_APPLICATION_LIST_MODULE_CMD[2];
tWS_ENTITY_HANDLE ws_htOCTVC1_MAIN_MSG_APPLICATION_LIST_MODULE_CMD;
void register_tOCTVC1_MAIN_MSG_APPLICATION_LIST_MODULE_CMD(void)
{
static hf_register_info hf[] =
{
{
&ahf_tOCTVC1_MAIN_MSG_APPLICATION_LIST_MODULE_CMD[0],
{ "ObjectCursor", "octvc1.main.application.module.list.objectcursor",
FT_NONE, BASE_NONE, NULL, 0x0,
"ObjectCursor",HFILL }
},
};
static gint* ett[] =
{
&ws_htOCTVC1_MAIN_MSG_APPLICATION_LIST_MODULE_CMD.ett
};
proto_register_field_array( proto_octvc1_ctrl, hf, array_length(hf) );
};
int ahf_tOCTVC1_MAIN_MSG_APPLICATION_LIST_MODULE_RSP[3];
tWS_ENTITY_HANDLE ws_htOCTVC1_MAIN_MSG_APPLICATION_LIST_MODULE_RSP;
void register_tOCTVC1_MAIN_MSG_APPLICATION_LIST_MODULE_RSP(void)
{
static hf_register_info hf[] =
{
{
&ahf_tOCTVC1_MAIN_MSG_APPLICATION_LIST_MODULE_RSP[0],
{ "ObjectCursor", "octvc1.main.application.module.list.objectcursor",
FT_NONE, BASE_NONE, NULL, 0x0,
"ObjectCursor",HFILL }
},
{
&ahf_tOCTVC1_MAIN_MSG_APPLICATION_LIST_MODULE_RSP[1],
{ "ObjectNameList", "octvc1.main.application.module.list.objectnamelist",
FT_NONE, BASE_NONE, NULL, 0x0,
"ObjectNameList",HFILL }
},
};
static gint* ett[] =
{
&ws_htOCTVC1_MAIN_MSG_APPLICATION_LIST_MODULE_RSP.ett
};
proto_register_field_array( proto_octvc1_ctrl, hf, array_length(hf) );
};
int ahf_tOCTVC1_MAIN_MSG_APPLICATION_INFO_MODULE_CMD[2];
tWS_ENTITY_HANDLE ws_htOCTVC1_MAIN_MSG_APPLICATION_INFO_MODULE_CMD;
void register_tOCTVC1_MAIN_MSG_APPLICATION_INFO_MODULE_CMD(void)
{
static hf_register_info hf[] =
{
{
&ahf_tOCTVC1_MAIN_MSG_APPLICATION_INFO_MODULE_CMD[0],
{ "hModule", "octvc1.main.application.module.info.hmodule",
FT_UINT32,BASE_HEX, NULL, 0x0,
"hModule",HFILL }
},
};
static gint* ett[] =
{
&ws_htOCTVC1_MAIN_MSG_APPLICATION_INFO_MODULE_CMD.ett
};
proto_register_field_array( proto_octvc1_ctrl, hf, array_length(hf) );
};
int ahf_tOCTVC1_MAIN_MSG_APPLICATION_INFO_MODULE_RSP[4];
tWS_ENTITY_HANDLE ws_htOCTVC1_MAIN_MSG_APPLICATION_INFO_MODULE_RSP;
void register_tOCTVC1_MAIN_MSG_APPLICATION_INFO_MODULE_RSP(void)
{
static hf_register_info hf[] =
{
{
&ahf_tOCTVC1_MAIN_MSG_APPLICATION_INFO_MODULE_RSP[0],
{ "hModule", "octvc1.main.application.module.info.hmodule",
FT_UINT32,BASE_HEX, NULL, 0x0,
"hModule",HFILL }
},
{
&ahf_tOCTVC1_MAIN_MSG_APPLICATION_INFO_MODULE_RSP[1],
{ "szName", "octvc1.main.application.module.info.szname",
FT_STRING, BASE_NONE, NULL, 0x0,
"szName",HFILL }
},
{
&ahf_tOCTVC1_MAIN_MSG_APPLICATION_INFO_MODULE_RSP[2],
{ "Info", "octvc1.main.application.module.info.info",
FT_NONE, BASE_NONE, NULL, 0x0,
"Info",HFILL }
},
};
static gint* ett[] =
{
&ws_htOCTVC1_MAIN_MSG_APPLICATION_INFO_MODULE_RSP.ett
};
proto_register_field_array( proto_octvc1_ctrl, hf, array_length(hf) );
};
int ahf_tOCTVC1_MAIN_MSG_APPLICATION_STATS_MODULE_CMD[3];
tWS_ENTITY_HANDLE ws_htOCTVC1_MAIN_MSG_APPLICATION_STATS_MODULE_CMD;
void register_tOCTVC1_MAIN_MSG_APPLICATION_STATS_MODULE_CMD(void)
{
static hf_register_info hf[] =
{
{
&ahf_tOCTVC1_MAIN_MSG_APPLICATION_STATS_MODULE_CMD[0],
{ "hModule", "octvc1.main.application.module.stats.hmodule",
FT_UINT32,BASE_HEX, NULL, 0x0,
"hModule",HFILL }
},
{
&ahf_tOCTVC1_MAIN_MSG_APPLICATION_STATS_MODULE_CMD[1],
{ "ulResetStatsFlag", "octvc1.main.application.module.stats.ulresetstatsflag",
FT_BOOLEAN, BASE_NONE, NULL, 0x0,
"ulResetStatsFlag",HFILL }
},
};
static gint* ett[] =
{
&ws_htOCTVC1_MAIN_MSG_APPLICATION_STATS_MODULE_CMD.ett
};
proto_register_field_array( proto_octvc1_ctrl, hf, array_length(hf) );
};
int ahf_tOCTVC1_MAIN_MSG_APPLICATION_STATS_MODULE_RSP[3];
tWS_ENTITY_HANDLE ws_htOCTVC1_MAIN_MSG_APPLICATION_STATS_MODULE_RSP;
void register_tOCTVC1_MAIN_MSG_APPLICATION_STATS_MODULE_RSP(void)
{
static hf_register_info hf[] =
{
{
&ahf_tOCTVC1_MAIN_MSG_APPLICATION_STATS_MODULE_RSP[0],
{ "hModule", "octvc1.main.application.module.stats.hmodule",
FT_UINT32,BASE_HEX, NULL, 0x0,
"hModule",HFILL }
},
{
&ahf_tOCTVC1_MAIN_MSG_APPLICATION_STATS_MODULE_RSP[1],
{ "Stats", "octvc1.main.application.module.stats.stats",
FT_NONE, BASE_NONE, NULL, 0x0,
"Stats",HFILL }
},
};
static gint* ett[] =
{
&ws_htOCTVC1_MAIN_MSG_APPLICATION_STATS_MODULE_RSP.ett
};
proto_register_field_array( proto_octvc1_ctrl, hf, array_length(hf) );
};
/**************************************************************************** /****************************************************************************
COMMON dissectors COMMON dissectors
****************************************************************************/ ****************************************************************************/
unsigned int dissect_tOCTVC1_MAIN_APPLICATION_MODULE_INFO(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue )
{
proto_tree *field_tree = tree;
unsigned int offset_0 = offset;
gint bytes = tvb_length_remaining(tvb, offset);
if (bytes < (gint)(sizeof(tOCTVC1_MAIN_APPLICATION_MODULE_INFO)))
{
proto_tree_add_text(tree, tvb, offset, bytes,
"tOCTVC1_MAIN_APPLICATION_MODULE_INFO (%d byte%s) - Malformated packet...expected(%ld)",
bytes, plurality(bytes, "", "s"),
sizeof(tOCTVC1_MAIN_APPLICATION_MODULE_INFO));
return 1;
}
else
{
int temp_data = 0;
proto_item *ti;
bytes = sizeof(tOCTVC1_MAIN_APPLICATION_MODULE_INFO);
temp_data = tvb_get_ntohl( tvb, offset );
if( pExtValue && (pExtValue->lValue == temp_data ) )
{
ti = proto_tree_add_uint_format_value(field_tree, ahf_tOCTVC1_MAIN_APPLICATION_MODULE_INFO[0], tvb, offset,
mWS_FIELDSIZE(tOCTVC1_MAIN_APPLICATION_MODULE_INFO, ulModuleId), temp_data, "%s (0x%x)",pExtValue->pszValue, temp_data );
}else
{
ti = proto_tree_add_uint(field_tree, ahf_tOCTVC1_MAIN_APPLICATION_MODULE_INFO[0], tvb, offset,
4, temp_data);
}
offset += mWS_FIELDSIZE(tOCTVC1_MAIN_APPLICATION_MODULE_INFO, ulModuleId);
}
return offset;
};
unsigned int dissect_tOCTVC1_MAIN_APPLICATION_MODULE_STATS(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue )
{
proto_tree *field_tree = tree;
unsigned int offset_0 = offset;
gint bytes = tvb_length_remaining(tvb, offset);
if (bytes < (gint)(sizeof(tOCTVC1_MAIN_APPLICATION_MODULE_STATS)))
{
proto_tree_add_text(tree, tvb, offset, bytes,
"tOCTVC1_MAIN_APPLICATION_MODULE_STATS (%d byte%s) - Malformated packet...expected(%ld)",
bytes, plurality(bytes, "", "s"),
sizeof(tOCTVC1_MAIN_APPLICATION_MODULE_STATS));
return 1;
}
else
{
int temp_data = 0;
proto_item *ti;
bytes = sizeof(tOCTVC1_MAIN_APPLICATION_MODULE_STATS);
temp_data = tvb_get_ntohl( tvb, offset );
if( pExtValue && (pExtValue->lValue == temp_data ) )
{
ti = proto_tree_add_uint_format_value(field_tree, ahf_tOCTVC1_MAIN_APPLICATION_MODULE_STATS[0], tvb, offset,
mWS_FIELDSIZE(tOCTVC1_MAIN_APPLICATION_MODULE_STATS, ulState), temp_data, "%s (0x%x)",pExtValue->pszValue, temp_data );
}else
{
ti = proto_tree_add_uint(field_tree, ahf_tOCTVC1_MAIN_APPLICATION_MODULE_STATS[0], tvb, offset,
4, temp_data);
}
offset += mWS_FIELDSIZE(tOCTVC1_MAIN_APPLICATION_MODULE_STATS, ulState);
temp_data = tvb_get_ntohl( tvb, offset );
if( pExtValue && (pExtValue->lValue == temp_data ) )
{
ti = proto_tree_add_uint_format_value(field_tree, ahf_tOCTVC1_MAIN_APPLICATION_MODULE_STATS[1], tvb, offset,
mWS_FIELDSIZE(tOCTVC1_MAIN_APPLICATION_MODULE_STATS, ulConfigState), temp_data, "%s (0x%x)",pExtValue->pszValue, temp_data );
}else
{
ti = proto_tree_add_uint(field_tree, ahf_tOCTVC1_MAIN_APPLICATION_MODULE_STATS[1], tvb, offset,
4, temp_data);
}
offset += mWS_FIELDSIZE(tOCTVC1_MAIN_APPLICATION_MODULE_STATS, ulConfigState);
temp_data = tvb_get_ntohl( tvb, offset );
if( pExtValue && (pExtValue->lValue == temp_data ) )
{
ti = proto_tree_add_uint_format_value(field_tree, ahf_tOCTVC1_MAIN_APPLICATION_MODULE_STATS[2], tvb, offset,
mWS_FIELDSIZE(tOCTVC1_MAIN_APPLICATION_MODULE_STATS, ulProcessNum), temp_data, "%s (0x%x)",pExtValue->pszValue, temp_data );
}else
{
ti = proto_tree_add_uint(field_tree, ahf_tOCTVC1_MAIN_APPLICATION_MODULE_STATS[2], tvb, offset,
4, temp_data);
}
offset += mWS_FIELDSIZE(tOCTVC1_MAIN_APPLICATION_MODULE_STATS, ulProcessNum);
}
return offset;
};
unsigned int dissect_tOCTVC1_MAIN_API_SESSION_HEARTBEAT_CONFIG(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue ) unsigned int dissect_tOCTVC1_MAIN_API_SESSION_HEARTBEAT_CONFIG(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue )
{ {
proto_tree *field_tree = tree; proto_tree *field_tree = tree;
@ -3195,6 +3647,109 @@ unsigned int dissect_tOCTVC1_MAIN_MSG_FILE_SYSTEM_INFO_FILE_RSP(tvbuff_t *tvb,
} }
offset += mWS_FIELDSIZE(tOCTVC1_MAIN_MSG_FILE_SYSTEM_INFO_FILE_RSP, ulAccessMode); offset += mWS_FIELDSIZE(tOCTVC1_MAIN_MSG_FILE_SYSTEM_INFO_FILE_RSP, ulAccessMode);
temp_data = tvb_get_ntohl( tvb, offset );
{
ti = proto_tree_add_boolean(field_tree, ahf_tOCTVC1_MAIN_MSG_FILE_SYSTEM_INFO_FILE_RSP[2], tvb, offset,
mWS_FIELDSIZE(tOCTVC1_MAIN_MSG_FILE_SYSTEM_INFO_FILE_RSP, ulHostOwnerFlag), temp_data);
}
offset += mWS_FIELDSIZE(tOCTVC1_MAIN_MSG_FILE_SYSTEM_INFO_FILE_RSP, ulHostOwnerFlag);
temp_data = tvb_get_ntohl( tvb, offset );
{
ti = proto_tree_add_uint(field_tree, ahf_tOCTVC1_MAIN_MSG_FILE_SYSTEM_INFO_FILE_RSP[3], tvb, offset,
4, temp_data);
}
offset += mWS_FIELDSIZE(tOCTVC1_MAIN_MSG_FILE_SYSTEM_INFO_FILE_RSP, ulFileSize);
temp_data = tvb_get_ntohl( tvb, offset );
{
ti = proto_tree_add_uint(field_tree, ahf_tOCTVC1_MAIN_MSG_FILE_SYSTEM_INFO_FILE_RSP[4], tvb, offset,
4, temp_data);
}
offset += mWS_FIELDSIZE(tOCTVC1_MAIN_MSG_FILE_SYSTEM_INFO_FILE_RSP, ulMaxFileSize);
temp_data = tvb_get_ntohl( tvb, offset );
{
ti = proto_tree_add_uint(field_tree, ahf_tOCTVC1_MAIN_MSG_FILE_SYSTEM_INFO_FILE_RSP[5], tvb, offset,
4, temp_data);
}
offset += mWS_FIELDSIZE(tOCTVC1_MAIN_MSG_FILE_SYSTEM_INFO_FILE_RSP, ulInstanceNum);
}
return 0;
};
unsigned int dissect_tOCTVC1_MAIN_MSG_FILE_SYSTEM_ADD_FILE_CMD(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_MAIN_MSG_FILE_SYSTEM_ADD_FILE_CMD)-sizeof(tOCTVC1_MSG_HEADER)))
{
proto_tree_add_text(tree, tvb, offset, bytes,
"tOCTVC1_MAIN_MSG_FILE_SYSTEM_ADD_FILE_CMD (%d byte%s) - Malformated packet...expected(%ld)",
bytes, plurality(bytes, "", "s"),
sizeof(tOCTVC1_MAIN_MSG_FILE_SYSTEM_ADD_FILE_CMD)-sizeof(tOCTVC1_MSG_HEADER));
return 1;
}
else
{
int temp_data = 0;
proto_item *ti;
ti = proto_tree_add_text(tree, tvb, offset, bytes,
"tOCTVC1_MAIN_MSG_FILE_SYSTEM_ADD_FILE_CMD (%d byte%s)", bytes, plurality(bytes, "", "s"));
field_tree = proto_item_add_subtree(ti, ett_octvc1_msg_type);
ti = proto_tree_add_item(field_tree, ahf_tOCTVC1_MAIN_MSG_FILE_SYSTEM_ADD_FILE_CMD[0], tvb, offset,
mWS_FIELDSIZE(tOCTVC1_MAIN_MSG_FILE_SYSTEM_ADD_FILE_CMD, szFileName), FALSE);
offset += mWS_FIELDSIZE(tOCTVC1_MAIN_MSG_FILE_SYSTEM_ADD_FILE_CMD, szFileName);
temp_data = tvb_get_ntohl( tvb, offset );
{
ti = proto_tree_add_uint(field_tree, ahf_tOCTVC1_MAIN_MSG_FILE_SYSTEM_ADD_FILE_CMD[1], tvb, offset,
4, temp_data);
}
offset += mWS_FIELDSIZE(tOCTVC1_MAIN_MSG_FILE_SYSTEM_ADD_FILE_CMD, ulMaxFilesize);
}
return 0;
};
unsigned int dissect_tOCTVC1_MAIN_MSG_FILE_SYSTEM_ADD_FILE_RSP(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_MAIN_MSG_FILE_SYSTEM_ADD_FILE_RSP)-sizeof(tOCTVC1_MSG_HEADER)))
{
proto_tree_add_text(tree, tvb, offset, bytes,
"tOCTVC1_MAIN_MSG_FILE_SYSTEM_ADD_FILE_RSP (%d byte%s) - Malformated packet...expected(%ld)",
bytes, plurality(bytes, "", "s"),
sizeof(tOCTVC1_MAIN_MSG_FILE_SYSTEM_ADD_FILE_RSP)-sizeof(tOCTVC1_MSG_HEADER));
return 1;
}
else
{
int temp_data = 0;
proto_item *ti;
ti = proto_tree_add_text(tree, tvb, offset, bytes,
"tOCTVC1_MAIN_MSG_FILE_SYSTEM_ADD_FILE_RSP (%d byte%s)", bytes, plurality(bytes, "", "s"));
field_tree = proto_item_add_subtree(ti, ett_octvc1_msg_type);
ti = proto_tree_add_item(field_tree, ahf_tOCTVC1_MAIN_MSG_FILE_SYSTEM_ADD_FILE_RSP[0], tvb, offset,
mWS_FIELDSIZE(tOCTVC1_MAIN_MSG_FILE_SYSTEM_ADD_FILE_RSP, szFileName), FALSE);
offset += mWS_FIELDSIZE(tOCTVC1_MAIN_MSG_FILE_SYSTEM_ADD_FILE_RSP, szFileName);
} }
@ -4884,6 +5439,255 @@ unsigned int dissect_tOCTVC1_MAIN_MSG_APPLICATION_INFO_SYSTEM_RSP(tvbuff_t *tvb
} }
return 0;
};
unsigned int dissect_tOCTVC1_MAIN_MSG_APPLICATION_LIST_MODULE_CMD(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_MAIN_MSG_APPLICATION_LIST_MODULE_CMD)-sizeof(tOCTVC1_MSG_HEADER)))
{
proto_tree_add_text(tree, tvb, offset, bytes,
"tOCTVC1_MAIN_MSG_APPLICATION_LIST_MODULE_CMD (%d byte%s) - Malformated packet...expected(%ld)",
bytes, plurality(bytes, "", "s"),
sizeof(tOCTVC1_MAIN_MSG_APPLICATION_LIST_MODULE_CMD)-sizeof(tOCTVC1_MSG_HEADER));
return 1;
}
else
{
int temp_data = 0;
proto_item *ti;
ti = proto_tree_add_text(tree, tvb, offset, bytes,
"tOCTVC1_MAIN_MSG_APPLICATION_LIST_MODULE_CMD (%d byte%s)", bytes, plurality(bytes, "", "s"));
field_tree = proto_item_add_subtree(ti, ett_octvc1_msg_type);
ti = proto_tree_add_text(field_tree, tvb, offset,
mWS_FIELDSIZE(tOCTVC1_MAIN_MSG_APPLICATION_LIST_MODULE_CMD, ObjectCursor), "ObjectCursor:tOCTVC1_CURSOR_HANDLE_OBJECT_GET");
{
proto_tree* sub_tree2;
sub_tree2 = proto_item_add_subtree(ti, ett_octvc1_msg_type);
offset = dissect_tOCTVC1_CURSOR_HANDLE_OBJECT_GET( tvb, pinfo, sub_tree2, offset, NULL );
}
}
return 0;
};
unsigned int dissect_tOCTVC1_MAIN_MSG_APPLICATION_LIST_MODULE_RSP(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_MAIN_MSG_APPLICATION_LIST_MODULE_RSP)-sizeof(tOCTVC1_MSG_HEADER)))
{
proto_tree_add_text(tree, tvb, offset, bytes,
"tOCTVC1_MAIN_MSG_APPLICATION_LIST_MODULE_RSP (%d byte%s) - Malformated packet...expected(%ld)",
bytes, plurality(bytes, "", "s"),
sizeof(tOCTVC1_MAIN_MSG_APPLICATION_LIST_MODULE_RSP)-sizeof(tOCTVC1_MSG_HEADER));
return 1;
}
else
{
int temp_data = 0;
proto_item *ti;
ti = proto_tree_add_text(tree, tvb, offset, bytes,
"tOCTVC1_MAIN_MSG_APPLICATION_LIST_MODULE_RSP (%d byte%s)", bytes, plurality(bytes, "", "s"));
field_tree = proto_item_add_subtree(ti, ett_octvc1_msg_type);
ti = proto_tree_add_text(field_tree, tvb, offset,
mWS_FIELDSIZE(tOCTVC1_MAIN_MSG_APPLICATION_LIST_MODULE_RSP, ObjectCursor), "ObjectCursor:tOCTVC1_CURSOR_HANDLE_OBJECT_GET");
{
proto_tree* sub_tree2;
sub_tree2 = proto_item_add_subtree(ti, ett_octvc1_msg_type);
offset = dissect_tOCTVC1_CURSOR_HANDLE_OBJECT_GET( tvb, pinfo, sub_tree2, offset, NULL );
}
ti = proto_tree_add_text(field_tree, tvb, offset,
mWS_FIELDSIZE(tOCTVC1_MAIN_MSG_APPLICATION_LIST_MODULE_RSP, ObjectNameList), "ObjectNameList:tOCTVC1_LIST_NAME_OBJECT32_GET");
{
proto_tree* sub_tree2;
sub_tree2 = proto_item_add_subtree(ti, ett_octvc1_msg_type);
offset = dissect_tOCTVC1_LIST_NAME_OBJECT32_GET( tvb, pinfo, sub_tree2, offset, NULL );
}
}
return 0;
};
unsigned int dissect_tOCTVC1_MAIN_MSG_APPLICATION_INFO_MODULE_CMD(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_MAIN_MSG_APPLICATION_INFO_MODULE_CMD)-sizeof(tOCTVC1_MSG_HEADER)))
{
proto_tree_add_text(tree, tvb, offset, bytes,
"tOCTVC1_MAIN_MSG_APPLICATION_INFO_MODULE_CMD (%d byte%s) - Malformated packet...expected(%ld)",
bytes, plurality(bytes, "", "s"),
sizeof(tOCTVC1_MAIN_MSG_APPLICATION_INFO_MODULE_CMD)-sizeof(tOCTVC1_MSG_HEADER));
return 1;
}
else
{
int temp_data = 0;
proto_item *ti;
ti = proto_tree_add_text(tree, tvb, offset, bytes,
"tOCTVC1_MAIN_MSG_APPLICATION_INFO_MODULE_CMD (%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_MAIN_MSG_APPLICATION_INFO_MODULE_CMD[0], tvb, offset,
4, temp_data);
}
offset += mWS_FIELDSIZE(tOCTVC1_MAIN_MSG_APPLICATION_INFO_MODULE_CMD, hModule);
}
return 0;
};
unsigned int dissect_tOCTVC1_MAIN_MSG_APPLICATION_INFO_MODULE_RSP(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_MAIN_MSG_APPLICATION_INFO_MODULE_RSP)-sizeof(tOCTVC1_MSG_HEADER)))
{
proto_tree_add_text(tree, tvb, offset, bytes,
"tOCTVC1_MAIN_MSG_APPLICATION_INFO_MODULE_RSP (%d byte%s) - Malformated packet...expected(%ld)",
bytes, plurality(bytes, "", "s"),
sizeof(tOCTVC1_MAIN_MSG_APPLICATION_INFO_MODULE_RSP)-sizeof(tOCTVC1_MSG_HEADER));
return 1;
}
else
{
int temp_data = 0;
proto_item *ti;
ti = proto_tree_add_text(tree, tvb, offset, bytes,
"tOCTVC1_MAIN_MSG_APPLICATION_INFO_MODULE_RSP (%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_MAIN_MSG_APPLICATION_INFO_MODULE_RSP[0], tvb, offset,
4, temp_data);
}
offset += mWS_FIELDSIZE(tOCTVC1_MAIN_MSG_APPLICATION_INFO_MODULE_RSP, hModule);
ti = proto_tree_add_item(field_tree, ahf_tOCTVC1_MAIN_MSG_APPLICATION_INFO_MODULE_RSP[1], tvb, offset,
mWS_FIELDSIZE(tOCTVC1_MAIN_MSG_APPLICATION_INFO_MODULE_RSP, szName), FALSE);
offset += mWS_FIELDSIZE(tOCTVC1_MAIN_MSG_APPLICATION_INFO_MODULE_RSP, szName);
ti = proto_tree_add_text(field_tree, tvb, offset,
mWS_FIELDSIZE(tOCTVC1_MAIN_MSG_APPLICATION_INFO_MODULE_RSP, Info), "Info:tOCTVC1_MAIN_APPLICATION_MODULE_INFO");
{
proto_tree* sub_tree2;
sub_tree2 = proto_item_add_subtree(ti, ett_octvc1_msg_type);
offset = dissect_tOCTVC1_MAIN_APPLICATION_MODULE_INFO( tvb, pinfo, sub_tree2, offset, NULL );
}
}
return 0;
};
unsigned int dissect_tOCTVC1_MAIN_MSG_APPLICATION_STATS_MODULE_CMD(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_MAIN_MSG_APPLICATION_STATS_MODULE_CMD)-sizeof(tOCTVC1_MSG_HEADER)))
{
proto_tree_add_text(tree, tvb, offset, bytes,
"tOCTVC1_MAIN_MSG_APPLICATION_STATS_MODULE_CMD (%d byte%s) - Malformated packet...expected(%ld)",
bytes, plurality(bytes, "", "s"),
sizeof(tOCTVC1_MAIN_MSG_APPLICATION_STATS_MODULE_CMD)-sizeof(tOCTVC1_MSG_HEADER));
return 1;
}
else
{
int temp_data = 0;
proto_item *ti;
ti = proto_tree_add_text(tree, tvb, offset, bytes,
"tOCTVC1_MAIN_MSG_APPLICATION_STATS_MODULE_CMD (%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_MAIN_MSG_APPLICATION_STATS_MODULE_CMD[0], tvb, offset,
4, temp_data);
}
offset += mWS_FIELDSIZE(tOCTVC1_MAIN_MSG_APPLICATION_STATS_MODULE_CMD, hModule);
temp_data = tvb_get_ntohl( tvb, offset );
{
ti = proto_tree_add_boolean(field_tree, ahf_tOCTVC1_MAIN_MSG_APPLICATION_STATS_MODULE_CMD[1], tvb, offset,
mWS_FIELDSIZE(tOCTVC1_MAIN_MSG_APPLICATION_STATS_MODULE_CMD, ulResetStatsFlag), temp_data);
}
offset += mWS_FIELDSIZE(tOCTVC1_MAIN_MSG_APPLICATION_STATS_MODULE_CMD, ulResetStatsFlag);
}
return 0;
};
unsigned int dissect_tOCTVC1_MAIN_MSG_APPLICATION_STATS_MODULE_RSP(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_MAIN_MSG_APPLICATION_STATS_MODULE_RSP)-sizeof(tOCTVC1_MSG_HEADER)))
{
proto_tree_add_text(tree, tvb, offset, bytes,
"tOCTVC1_MAIN_MSG_APPLICATION_STATS_MODULE_RSP (%d byte%s) - Malformated packet...expected(%ld)",
bytes, plurality(bytes, "", "s"),
sizeof(tOCTVC1_MAIN_MSG_APPLICATION_STATS_MODULE_RSP)-sizeof(tOCTVC1_MSG_HEADER));
return 1;
}
else
{
int temp_data = 0;
proto_item *ti;
ti = proto_tree_add_text(tree, tvb, offset, bytes,
"tOCTVC1_MAIN_MSG_APPLICATION_STATS_MODULE_RSP (%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_MAIN_MSG_APPLICATION_STATS_MODULE_RSP[0], tvb, offset,
4, temp_data);
}
offset += mWS_FIELDSIZE(tOCTVC1_MAIN_MSG_APPLICATION_STATS_MODULE_RSP, hModule);
ti = proto_tree_add_text(field_tree, tvb, offset,
mWS_FIELDSIZE(tOCTVC1_MAIN_MSG_APPLICATION_STATS_MODULE_RSP, Stats), "Stats:tOCTVC1_MAIN_APPLICATION_MODULE_STATS");
{
proto_tree* sub_tree2;
sub_tree2 = proto_item_add_subtree(ti, ett_octvc1_msg_type);
offset = dissect_tOCTVC1_MAIN_APPLICATION_MODULE_STATS( tvb, pinfo, sub_tree2, offset, NULL );
}
}
return 0; return 0;
}; };
@ -4896,6 +5700,8 @@ void ws_register_OCTVC1_MAIN(void)
/**************************************************************************** /****************************************************************************
Register Common struct Register Common struct
****************************************************************************/ ****************************************************************************/
register_tOCTVC1_MAIN_APPLICATION_MODULE_INFO();
register_tOCTVC1_MAIN_APPLICATION_MODULE_STATS();
register_tOCTVC1_MAIN_API_SESSION_HEARTBEAT_CONFIG(); register_tOCTVC1_MAIN_API_SESSION_HEARTBEAT_CONFIG();
register_tOCTVC1_MAIN_API_SESSION_HEARTBEAT_STATS(); register_tOCTVC1_MAIN_API_SESSION_HEARTBEAT_STATS();
register_tOCTVC1_MAIN_FILE_SYSTEM_FILE_CURSOR(); register_tOCTVC1_MAIN_FILE_SYSTEM_FILE_CURSOR();
@ -4920,6 +5726,8 @@ void ws_register_OCTVC1_MAIN(void)
register_tOCTVC1_MAIN_MSG_FILE_SYSTEM_INFO_RSP(); register_tOCTVC1_MAIN_MSG_FILE_SYSTEM_INFO_RSP();
register_tOCTVC1_MAIN_MSG_FILE_SYSTEM_INFO_FILE_CMD(); register_tOCTVC1_MAIN_MSG_FILE_SYSTEM_INFO_FILE_CMD();
register_tOCTVC1_MAIN_MSG_FILE_SYSTEM_INFO_FILE_RSP(); register_tOCTVC1_MAIN_MSG_FILE_SYSTEM_INFO_FILE_RSP();
register_tOCTVC1_MAIN_MSG_FILE_SYSTEM_ADD_FILE_CMD();
register_tOCTVC1_MAIN_MSG_FILE_SYSTEM_ADD_FILE_RSP();
register_tOCTVC1_MAIN_MSG_FILE_SYSTEM_DELETE_FILE_CMD(); register_tOCTVC1_MAIN_MSG_FILE_SYSTEM_DELETE_FILE_CMD();
register_tOCTVC1_MAIN_MSG_FILE_SYSTEM_DELETE_FILE_RSP(); register_tOCTVC1_MAIN_MSG_FILE_SYSTEM_DELETE_FILE_RSP();
register_tOCTVC1_MAIN_MSG_LOG_INFO_RSP(); register_tOCTVC1_MAIN_MSG_LOG_INFO_RSP();
@ -4958,6 +5766,12 @@ void ws_register_OCTVC1_MAIN(void)
register_tOCTVC1_MAIN_MSG_APPLICATION_STOP_CMD(); register_tOCTVC1_MAIN_MSG_APPLICATION_STOP_CMD();
register_tOCTVC1_MAIN_MSG_APPLICATION_INFO_RSP(); register_tOCTVC1_MAIN_MSG_APPLICATION_INFO_RSP();
register_tOCTVC1_MAIN_MSG_APPLICATION_INFO_SYSTEM_RSP(); register_tOCTVC1_MAIN_MSG_APPLICATION_INFO_SYSTEM_RSP();
register_tOCTVC1_MAIN_MSG_APPLICATION_LIST_MODULE_CMD();
register_tOCTVC1_MAIN_MSG_APPLICATION_LIST_MODULE_RSP();
register_tOCTVC1_MAIN_MSG_APPLICATION_INFO_MODULE_CMD();
register_tOCTVC1_MAIN_MSG_APPLICATION_INFO_MODULE_RSP();
register_tOCTVC1_MAIN_MSG_APPLICATION_STATS_MODULE_CMD();
register_tOCTVC1_MAIN_MSG_APPLICATION_STATS_MODULE_RSP();
/**************************************************************************** /****************************************************************************
Event Registered Event Registered
@ -4987,6 +5801,7 @@ int ws_dissect_OCTVC1_MAIN_CMD( guint32 CID, tvbuff_t *tvb, packet_info *pinfo,
case cOCTVC1_MAIN_MSG_FILE_LIST_CID: return dissect_tOCTVC1_MAIN_MSG_FILE_LIST_CMD( tvb, pinfo, tree, 0 ); break; case cOCTVC1_MAIN_MSG_FILE_LIST_CID: return dissect_tOCTVC1_MAIN_MSG_FILE_LIST_CMD( tvb, pinfo, tree, 0 ); break;
case cOCTVC1_MAIN_MSG_FILE_SYSTEM_INFO_CID: return 0; break; case cOCTVC1_MAIN_MSG_FILE_SYSTEM_INFO_CID: return 0; break;
case cOCTVC1_MAIN_MSG_FILE_SYSTEM_INFO_FILE_CID: return dissect_tOCTVC1_MAIN_MSG_FILE_SYSTEM_INFO_FILE_CMD( tvb, pinfo, tree, 0 ); break; case cOCTVC1_MAIN_MSG_FILE_SYSTEM_INFO_FILE_CID: return dissect_tOCTVC1_MAIN_MSG_FILE_SYSTEM_INFO_FILE_CMD( tvb, pinfo, tree, 0 ); break;
case cOCTVC1_MAIN_MSG_FILE_SYSTEM_ADD_FILE_CID: return dissect_tOCTVC1_MAIN_MSG_FILE_SYSTEM_ADD_FILE_CMD( tvb, pinfo, tree, 0 ); break;
case cOCTVC1_MAIN_MSG_FILE_SYSTEM_DELETE_FILE_CID: return dissect_tOCTVC1_MAIN_MSG_FILE_SYSTEM_DELETE_FILE_CMD( tvb, pinfo, tree, 0 ); break; case cOCTVC1_MAIN_MSG_FILE_SYSTEM_DELETE_FILE_CID: return dissect_tOCTVC1_MAIN_MSG_FILE_SYSTEM_DELETE_FILE_CMD( tvb, pinfo, tree, 0 ); break;
case cOCTVC1_MAIN_MSG_LOG_ERASE_CID: return 0; break; case cOCTVC1_MAIN_MSG_LOG_ERASE_CID: return 0; break;
case cOCTVC1_MAIN_MSG_LOG_INFO_CID: return 0; break; case cOCTVC1_MAIN_MSG_LOG_INFO_CID: return 0; break;
@ -5014,6 +5829,9 @@ int ws_dissect_OCTVC1_MAIN_CMD( guint32 CID, tvbuff_t *tvb, packet_info *pinfo,
case cOCTVC1_MAIN_MSG_APPLICATION_STOP_CID: return dissect_tOCTVC1_MAIN_MSG_APPLICATION_STOP_CMD( tvb, pinfo, tree, 0 ); break; case cOCTVC1_MAIN_MSG_APPLICATION_STOP_CID: return dissect_tOCTVC1_MAIN_MSG_APPLICATION_STOP_CMD( tvb, pinfo, tree, 0 ); break;
case cOCTVC1_MAIN_MSG_APPLICATION_INFO_CID: return 0; break; case cOCTVC1_MAIN_MSG_APPLICATION_INFO_CID: return 0; break;
case cOCTVC1_MAIN_MSG_APPLICATION_INFO_SYSTEM_CID: return 0; break; case cOCTVC1_MAIN_MSG_APPLICATION_INFO_SYSTEM_CID: return 0; break;
case cOCTVC1_MAIN_MSG_APPLICATION_LIST_MODULE_CID: return dissect_tOCTVC1_MAIN_MSG_APPLICATION_LIST_MODULE_CMD( tvb, pinfo, tree, 0 ); break;
case cOCTVC1_MAIN_MSG_APPLICATION_INFO_MODULE_CID: return dissect_tOCTVC1_MAIN_MSG_APPLICATION_INFO_MODULE_CMD( tvb, pinfo, tree, 0 ); break;
case cOCTVC1_MAIN_MSG_APPLICATION_STATS_MODULE_CID: return dissect_tOCTVC1_MAIN_MSG_APPLICATION_STATS_MODULE_CMD( tvb, pinfo, tree, 0 ); break;
default: return 1; default: return 1;
} }
} }
@ -5035,6 +5853,7 @@ int ws_dissect_OCTVC1_MAIN_RSP( guint32 CID, tvbuff_t *tvb, packet_info *pinfo,
case cOCTVC1_MAIN_MSG_FILE_LIST_CID: return dissect_tOCTVC1_MAIN_MSG_FILE_LIST_RSP( tvb, pinfo, tree, 0 ); break; case cOCTVC1_MAIN_MSG_FILE_LIST_CID: return dissect_tOCTVC1_MAIN_MSG_FILE_LIST_RSP( tvb, pinfo, tree, 0 ); break;
case cOCTVC1_MAIN_MSG_FILE_SYSTEM_INFO_CID: return dissect_tOCTVC1_MAIN_MSG_FILE_SYSTEM_INFO_RSP( tvb, pinfo, tree, 0 ); break; case cOCTVC1_MAIN_MSG_FILE_SYSTEM_INFO_CID: return dissect_tOCTVC1_MAIN_MSG_FILE_SYSTEM_INFO_RSP( tvb, pinfo, tree, 0 ); break;
case cOCTVC1_MAIN_MSG_FILE_SYSTEM_INFO_FILE_CID: return dissect_tOCTVC1_MAIN_MSG_FILE_SYSTEM_INFO_FILE_RSP( tvb, pinfo, tree, 0 ); break; case cOCTVC1_MAIN_MSG_FILE_SYSTEM_INFO_FILE_CID: return dissect_tOCTVC1_MAIN_MSG_FILE_SYSTEM_INFO_FILE_RSP( tvb, pinfo, tree, 0 ); break;
case cOCTVC1_MAIN_MSG_FILE_SYSTEM_ADD_FILE_CID: return dissect_tOCTVC1_MAIN_MSG_FILE_SYSTEM_ADD_FILE_RSP( tvb, pinfo, tree, 0 ); break;
case cOCTVC1_MAIN_MSG_FILE_SYSTEM_DELETE_FILE_CID: return dissect_tOCTVC1_MAIN_MSG_FILE_SYSTEM_DELETE_FILE_RSP( tvb, pinfo, tree, 0 ); break; case cOCTVC1_MAIN_MSG_FILE_SYSTEM_DELETE_FILE_CID: return dissect_tOCTVC1_MAIN_MSG_FILE_SYSTEM_DELETE_FILE_RSP( tvb, pinfo, tree, 0 ); break;
case cOCTVC1_MAIN_MSG_LOG_ERASE_CID: return 0; break; case cOCTVC1_MAIN_MSG_LOG_ERASE_CID: return 0; break;
case cOCTVC1_MAIN_MSG_LOG_INFO_CID: return dissect_tOCTVC1_MAIN_MSG_LOG_INFO_RSP( tvb, pinfo, tree, 0 ); break; case cOCTVC1_MAIN_MSG_LOG_INFO_CID: return dissect_tOCTVC1_MAIN_MSG_LOG_INFO_RSP( tvb, pinfo, tree, 0 ); break;
@ -5062,6 +5881,9 @@ int ws_dissect_OCTVC1_MAIN_RSP( guint32 CID, tvbuff_t *tvb, packet_info *pinfo,
case cOCTVC1_MAIN_MSG_APPLICATION_STOP_CID: return 0; break; case cOCTVC1_MAIN_MSG_APPLICATION_STOP_CID: return 0; break;
case cOCTVC1_MAIN_MSG_APPLICATION_INFO_CID: return dissect_tOCTVC1_MAIN_MSG_APPLICATION_INFO_RSP( tvb, pinfo, tree, 0 ); break; case cOCTVC1_MAIN_MSG_APPLICATION_INFO_CID: return dissect_tOCTVC1_MAIN_MSG_APPLICATION_INFO_RSP( tvb, pinfo, tree, 0 ); break;
case cOCTVC1_MAIN_MSG_APPLICATION_INFO_SYSTEM_CID: return dissect_tOCTVC1_MAIN_MSG_APPLICATION_INFO_SYSTEM_RSP( tvb, pinfo, tree, 0 ); break; case cOCTVC1_MAIN_MSG_APPLICATION_INFO_SYSTEM_CID: return dissect_tOCTVC1_MAIN_MSG_APPLICATION_INFO_SYSTEM_RSP( tvb, pinfo, tree, 0 ); break;
case cOCTVC1_MAIN_MSG_APPLICATION_LIST_MODULE_CID: return dissect_tOCTVC1_MAIN_MSG_APPLICATION_LIST_MODULE_RSP( tvb, pinfo, tree, 0 ); break;
case cOCTVC1_MAIN_MSG_APPLICATION_INFO_MODULE_CID: return dissect_tOCTVC1_MAIN_MSG_APPLICATION_INFO_MODULE_RSP( tvb, pinfo, tree, 0 ); break;
case cOCTVC1_MAIN_MSG_APPLICATION_STATS_MODULE_CID: return dissect_tOCTVC1_MAIN_MSG_APPLICATION_STATS_MODULE_RSP( tvb, pinfo, tree, 0 ); break;
default: return 1; default: return 1;
} }
} }

View File

@ -21,7 +21,7 @@ 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
$Octasic_Revision: $ $Octasic_Revision: $

View File

@ -78,14 +78,13 @@ static int hf_octvc1_msg_header_ul_Type_R_CmdId_MsgId = -1;
static int hf_octvc1_msg_header_ul_Type_R_CmdId_Flag = -1; static int hf_octvc1_msg_header_ul_Type_R_CmdId_Flag = -1;
#define mWD_OCTVC1_CID_TYPE_BASE(uint32) ((uint32) & 0x00f00000) #define mWD_OCTVC1_CID_TYPE_BASE(uint32) ((uint32) & 0x0F000000)
#define mWD_OCTVC1_CID_UID(uint32) ((uint32) & 0x000f0000) #define mWD_OCTVC1_CID_UID(uint32) ((uint32) & 0x00FF0000)
#define mWD_OCTVC1_CID_CODE(uint32) ((uint32) & 0x00000FFF) #define mWD_OCTVC1_CID_CODE(uint32) ((uint32) & 0x00000FFF)
#define mWD_OCTVC1_CID_FLAG(uint32) ((uint32) & 0x0000F000) #define mWD_OCTVC1_CID_FLAG(uint32) ((uint32) & 0x0000F000)
#define mWD_OCTVC1_CID_2_FLAG(uint32) (((uint32)& 0x0000F000)>>12) #define mWD_OCTVC1_CID_2_FLAG(uint32) (((uint32)& 0x0000F000)>>12)
#define mWD_OCTVC1_CID_2_UID(uint32) (((uint32)& 0x000F0000)>>16) #define mWD_OCTVC1_CID_2_UID(uint32) (((uint32)& 0x00FF0000)>>16)
#define mWD_OCTVC1_CID_2_BASE(uint32) (((uint32)& 0x00F00000)>>20)
const value_string octvc1_message_type_vals[] = const value_string octvc1_message_type_vals[] =
@ -99,9 +98,9 @@ const value_string octvc1_message_type_vals[] =
const value_string octvc1_message_type_base_vals[] = const value_string octvc1_message_type_base_vals[] =
{ {
{ cOCTVC1_CID_BASE>>20, "Cmd/Rsp" }, { cOCTVC1_CID_BASE>>24, "Cmd/Rsp" },
{ cOCTVC1_EID_BASE>>20, "Notification" }, { cOCTVC1_EID_BASE>>24, "Notification" },
{ cOCTVC1_SID_BASE>>20, "Supervisory" }, { cOCTVC1_SID_BASE>>24, "Supervisory" },
{ 0, NULL }, { 0, NULL },
}; };
@ -429,7 +428,7 @@ void dissect_octvc1_ctrl(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
packet_offset, 1, message_resynch<<28 ); packet_offset, 1, message_resynch<<28 );
proto_tree_add_uint( field_tree, hf_octvc1_msg_header_ul_Type_R_CmdId_Base, tvb, proto_tree_add_uint( field_tree, hf_octvc1_msg_header_ul_Type_R_CmdId_Base, tvb,
packet_offset+1, 1, command_id_type_base ); packet_offset, 1, command_id_type_base );
proto_tree_add_uint( field_tree, hf_octvc1_msg_header_ul_Type_R_CmdId_ModuleId, tvb, proto_tree_add_uint( field_tree, hf_octvc1_msg_header_ul_Type_R_CmdId_ModuleId, tvb,
packet_offset+1, 1, command_id_uid ); packet_offset+1, 1, command_id_uid );
@ -673,13 +672,13 @@ void proto_register_octvc1_ctrl(void)
{ &hf_octvc1_msg_header_ul_Type_R_CmdId_Base, { &hf_octvc1_msg_header_ul_Type_R_CmdId_Base,
{ "Message Type Base", "octvc1.msg_header.type_base", { "Message Type Base", "octvc1.msg_header.type_base",
FT_UINT32, BASE_HEX, VALS(octvc1_message_type_base_vals), 0x00f00000, FT_UINT32, BASE_HEX, VALS(octvc1_message_type_base_vals), 0x0F000000,
"Message identifier", HFILL } "Message identifier", HFILL }
}, },
{ &hf_octvc1_msg_header_ul_Type_R_CmdId_ModuleId, { &hf_octvc1_msg_header_ul_Type_R_CmdId_ModuleId,
{ "Module ID", "octvc1.msg_header.module_id", { "Module ID", "octvc1.msg_header.module_id",
FT_UINT32, BASE_HEX, VALS(vals_OCTVC1_module_UID), 0x000f0000, FT_UINT32, BASE_HEX, VALS(vals_OCTVC1_module_UID), 0x00FF0000,
"Module identifier", HFILL } "Module identifier", HFILL }
}, },
{ &hf_octvc1_msg_header_ul_Type_R_CmdId_Flag, { &hf_octvc1_msg_header_ul_Type_R_CmdId_Flag,

View File

@ -61,8 +61,9 @@ static int hf_octvc1_event_header_ulEventId_Base = -1;
static int hf_octvc1_event_header_ulEventId_Type = -1; static int hf_octvc1_event_header_ulEventId_Type = -1;
static int hf_octvc1_event_header_ulEventId_Code = -1; static int hf_octvc1_event_header_ulEventId_Code = -1;
#define mWD_OCTVC1_EID_TYPE(uint32) ((uint32) & 0x0F000000)
#define mWD_OCTVC1_EID_BASE(uint32) ((uint32) & 0x00ff0000) #define mWD_OCTVC1_EID_BASE(uint32) ((uint32) & 0x00ff0000)
#define mWD_OCTVC1_EID_2_UID(uint32) (((uint32)& 0x000f0000)>>16) #define mWD_OCTVC1_EID_2_UID(uint32) (((uint32)& 0x00FF0000)>>16)
#define mWD_OCTVC1_EID_CODE(uint32) ((uint32) & 0x0000ffff) #define mWD_OCTVC1_EID_CODE(uint32) ((uint32) & 0x0000ffff)
@ -80,6 +81,7 @@ void dissect_octvc1_event(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
unsigned int packet_offset = 0; unsigned int packet_offset = 0;
guint32 evt_length; guint32 evt_length;
guint32 event_id; guint32 event_id;
guint32 msg_type_base;
guint32 event_id_base; guint32 event_id_base;
guint32 event_id_code; guint32 event_id_code;
guint32 user_event_id; guint32 user_event_id;
@ -95,6 +97,7 @@ void dissect_octvc1_event(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
evt_length = tvb_get_ntohl( tvb, packet_offset ); evt_length = tvb_get_ntohl( tvb, packet_offset );
packet_offset += sizeof(evt_length); packet_offset += sizeof(evt_length);
event_id = tvb_get_ntohl( tvb, packet_offset ); event_id = tvb_get_ntohl( tvb, packet_offset );
msg_type_base = mWD_OCTVC1_EID_TYPE(event_id);
event_id_base = mWD_OCTVC1_EID_BASE(event_id); event_id_base = mWD_OCTVC1_EID_BASE(event_id);
event_id_code = mWD_OCTVC1_EID_CODE(event_id); event_id_code = mWD_OCTVC1_EID_CODE(event_id);
packet_offset += sizeof(event_id_code); packet_offset += sizeof(event_id_code);
@ -199,7 +202,7 @@ void dissect_octvc1_event(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
field_tree = proto_item_add_subtree(tf, ett_octvc1_event_id); field_tree = proto_item_add_subtree(tf, ett_octvc1_event_id);
proto_tree_add_uint( field_tree, hf_octvc1_event_header_ulEventId_Type, tvb, proto_tree_add_uint( field_tree, hf_octvc1_event_header_ulEventId_Type, tvb,
packet_offset+1, 1, event_id_base ); packet_offset, 1, msg_type_base );
proto_tree_add_uint( field_tree, hf_octvc1_event_header_ulEventId_Base, tvb, proto_tree_add_uint( field_tree, hf_octvc1_event_header_ulEventId_Base, tvb,
packet_offset+1, 1, event_id_base ); packet_offset+1, 1, event_id_base );
@ -229,7 +232,7 @@ void dissect_octvc1_event(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
{ {
/* Call the module dissector */ /* Call the module dissector */
fDoData = aOCTVC1ModuleColInfo[module_index].Dissector_fnc( cOCTVC1_MSG_TYPE_NOTIFICATION, fDoData = aOCTVC1ModuleColInfo[module_index].Dissector_fnc( cOCTVC1_MSG_TYPE_NOTIFICATION,
event_id_base | event_id_code, msg_type_base | event_id_base | event_id_code,
tvbData, pinfo, evt_tree ); tvbData, pinfo, evt_tree );
} }
@ -278,13 +281,13 @@ void proto_register_octvc1_event(void)
{ &hf_octvc1_event_header_ulEventId_Type, { &hf_octvc1_event_header_ulEventId_Type,
{ "Message Type Base", "octvc1.event_header.type_base", { "Message Type Base", "octvc1.event_header.type_base",
FT_UINT32, BASE_HEX, NULL, 0x00f00000, FT_UINT32, BASE_HEX, NULL, 0x0F000000,
"Message identifier", HFILL } "Message identifier", HFILL }
}, },
{ &hf_octvc1_event_header_ulEventId_Base, { &hf_octvc1_event_header_ulEventId_Base,
{ "Module ID", "octvc1.event_header.module_id", { "Module ID", "octvc1.event_header.module_id",
FT_UINT32, BASE_HEX, VALS(vals_OCTVC1_module_UID), 0x000f0000, FT_UINT32, BASE_HEX, VALS(vals_OCTVC1_module_UID), 0x00FF0000,
"Module identifier", HFILL } "Module identifier", HFILL }
}, },
{ &hf_octvc1_event_header_ulEventId_Code, { &hf_octvc1_event_header_ulEventId_Code,

View File

@ -21,7 +21,7 @@ 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
$Octasic_Revision: $ $Octasic_Revision: $

View File

@ -20,7 +20,7 @@ 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: Octasic Application Development Framework OCTADF-03.03.00-B1571 (2015/03/24) Release: Octasic Application Development Framework OCTADF-04.00.00-B1829 (2015/07/02)
$Octasic_Revision: 4 $ $Octasic_Revision: 4 $

View File

@ -21,7 +21,7 @@ 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
$Octasic_Revision: $ $Octasic_Revision: $

View File

@ -21,7 +21,7 @@ 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
$Octasic_Revision: $ $Octasic_Revision: $

View File

@ -1,11 +1,11 @@
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
File: OCTDEV_DEVICES.h File: OCTDEV_DEVICES.h
Copyright (c) 2015 Octasic Inc. All rights reserved. Copyright (c) 2015 Octasic Inc. All rights reserved.
Description: Description:
This program is free software; you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or the Free Software Foundation; either version 2 of the License, or
@ -18,59 +18,59 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License along 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
$Revision: $ $Revision: $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
#ifndef __OCTDEV_DEVICES_H__ #ifndef __OCTDEV_DEVICES_H__
#define __OCTDEV_DEVICES_H__ #define __OCTDEV_DEVICES_H__
/***************************** INCLUDE FILES *******************************/ /***************************** INCLUDE FILES *******************************/
#include "octdev_types.h" #include "octdev_types.h"
/************************ COMMON DEFINITIONS *******************************/ /************************ COMMON DEFINITIONS *******************************/
/*------------------------------------------------------------------------------------- /*-------------------------------------------------------------------------------------
tOCTDEV_DEVICES_TYPE_ENUM : Octasic Device type. tOCTDEV_DEVICES_TYPE_ENUM : Octasic Device type.
-------------------------------------------------------------------------------------*/ -------------------------------------------------------------------------------------*/
#define tOCTDEV_DEVICES_TYPE_ENUM tOCT_UINT32 #define tOCTDEV_DEVICES_TYPE_ENUM tOCT_UINT32
#define cOCTDEV_DEVICES_TYPE_ENUM_INVALID 0x0 #define cOCTDEV_DEVICES_TYPE_ENUM_INVALID 0x0
#define cOCTDEV_DEVICES_TYPE_ENUM_OCT1010 0x1 #define cOCTDEV_DEVICES_TYPE_ENUM_OCT1010 0x1
#define cOCTDEV_DEVICES_TYPE_ENUM_OCT2200 0x2 #define cOCTDEV_DEVICES_TYPE_ENUM_OCT2200 0x2
#define cOCTDEV_DEVICES_TYPE_ENUM_CPU 0xF #define cOCTDEV_DEVICES_TYPE_ENUM_CPU 0xF
/*------------------------------------------------------------------------------------- /*-------------------------------------------------------------------------------------
tOCTDEV_DEVICES_DSP_CORE_TYPE_ENUM : Octasic DSP Core type. tOCTDEV_DEVICES_DSP_CORE_TYPE_ENUM : Octasic DSP Core type.
-------------------------------------------------------------------------------------*/ -------------------------------------------------------------------------------------*/
#define tOCTDEV_DEVICES_DSP_CORE_TYPE_ENUM tOCT_UINT32 #define tOCTDEV_DEVICES_DSP_CORE_TYPE_ENUM tOCT_UINT32
#define cOCTDEV_DEVICES_DSP_CORE_TYPE_ENUM_INVALID 0x0 #define cOCTDEV_DEVICES_DSP_CORE_TYPE_ENUM_INVALID 0x0
#define cOCTDEV_DEVICES_DSP_CORE_TYPE_ENUM_OPUS1 0x1 #define cOCTDEV_DEVICES_DSP_CORE_TYPE_ENUM_OPUS1 0x1
#define cOCTDEV_DEVICES_DSP_CORE_TYPE_ENUM_OPUS2 0x2 #define cOCTDEV_DEVICES_DSP_CORE_TYPE_ENUM_OPUS2 0x2
/*------------------------------------------------------------------------------------- /*-------------------------------------------------------------------------------------
OCT1010 specific definitions. OCT1010 specific definitions.
-------------------------------------------------------------------------------------*/ -------------------------------------------------------------------------------------*/
#define cOCTDEV_DEVICES_OCT1010_MAX_CORE_NUMBER 15 /* Maximum number of core in the OCT1010. */ #define cOCTDEV_DEVICES_OCT1010_MAX_CORE_NUMBER 15 /* Maximum number of core in the OCT1010. */
#define cOCTDEV_DEVICES_OCT1010_MAX_VSPMGR_THREADS 12 /* Maximum number of VSP Mgr threads that can be started on the OCT1010. */ #define cOCTDEV_DEVICES_OCT1010_MAX_VSPMGR_THREADS 12 /* Maximum number of VSP Mgr threads that can be started on the OCT1010. */
#define cOCTDEV_DEVICES_OCT1010_CORE_TYPE cOCTDEV_DEVICES_DSP_CORE_TYPE_ENUM_OPUS1 /* Type of DSP Core in the OCT1010. */ #define cOCTDEV_DEVICES_OCT1010_CORE_TYPE cOCTDEV_DEVICES_DSP_CORE_TYPE_ENUM_OPUS1 /* Type of DSP Core in the OCT1010. */
#define cOCTDEV_DEVICES_OCT1010_MAX_ETH_PORT_NUMBER 2 /* Maximum number of Ethernet port in the OCT1010. */ #define cOCTDEV_DEVICES_OCT1010_MAX_ETH_PORT_NUMBER 2 /* Maximum number of Ethernet port in the OCT1010. */
/*------------------------------------------------------------------------------------- /*-------------------------------------------------------------------------------------
OCT2200 specific definitions. OCT2200 specific definitions.
-------------------------------------------------------------------------------------*/ -------------------------------------------------------------------------------------*/
#define cOCTDEV_DEVICES_OCT2200_MAX_CORE_NUMBER 24 /* Maximum number of core in the OCT2200. */ #define cOCTDEV_DEVICES_OCT2200_MAX_CORE_NUMBER 24 /* Maximum number of core in the OCT2200. */
#define cOCTDEV_DEVICES_OCT2200_MAX_VSPMGR_THREADS 21 /* Maximum number of VSP Mgr threads that can be started on the OCT2200. */ #define cOCTDEV_DEVICES_OCT2200_MAX_VSPMGR_THREADS 21 /* Maximum number of VSP Mgr threads that can be started on the OCT2200. */
#define cOCTDEV_DEVICES_OCT2200_CORE_TYPE cOCTDEV_DEVICES_DSP_CORE_TYPE_ENUM_OPUS2 /* Type of DSP Core in the OCT2200. */ #define cOCTDEV_DEVICES_OCT2200_CORE_TYPE cOCTDEV_DEVICES_DSP_CORE_TYPE_ENUM_OPUS2 /* Type of DSP Core in the OCT2200. */
#define cOCTDEV_DEVICES_OCT2200_MAX_ETH_PORT_NUMBER 4 /* Maximum number of Ethernet port in the OCT2200. */ #define cOCTDEV_DEVICES_OCT2200_MAX_ETH_PORT_NUMBER 4 /* Maximum number of Ethernet port in the OCT2200. */
#endif /* __OCTDEV_DEVICES_H__ */ #endif /* __OCTDEV_DEVICES_H__ */

View File

@ -20,7 +20,7 @@ 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
#ifndef __OCTDEV_DEVICES_SWAP_H__ #ifndef __OCTDEV_DEVICES_SWAP_H__

View File

@ -1,11 +1,11 @@
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
File: OCTDEV_MACRO.h File: OCTDEV_MACRO.h
Copyright (c) 2015 Octasic Inc. All rights reserved. Copyright (c) 2015 Octasic Inc. All rights reserved.
Description: Description:
This program is free software; you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or the Free Software Foundation; either version 2 of the License, or
@ -18,86 +18,121 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License along 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
$Revision: $ $Revision: $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
#ifndef __OCTDEV_MACRO_H__ #ifndef __OCTDEV_MACRO_H__
#define __OCTDEV_MACRO_H__ #define __OCTDEV_MACRO_H__
/***************************** INCLUDE FILES *******************************/ /***************************** INCLUDE FILES *******************************/
#include "octdev_types.h" #include "octdev_types.h"
/************************ COMMON DEFINITIONS *******************************/ /************************ COMMON DEFINITIONS *******************************/
/*------------------------------------------------------------------------------------- /*-------------------------------------------------------------------------------------
Generic swap macros Generic swap macros
-------------------------------------------------------------------------------------*/ -------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------- /*--------------------------------------------------------------------------
32-bit Endian Swapping when target is Little Endian 64-bit Endian Swapping when target is Little Endian
----------------------------------------------------------------------------*/ ----------------------------------------------------------------------------*/
#if !defined( mOCT_SWAP32_IF_LE ) #if !defined( mOCT_SWAP64_IF_LE )
#if defined( __linux__ )
/* Linux (and probably other unices') htonl implementation is far more #if defined( _OCT_ENDIAN_TYPE_LE_ )
* efficient than our own; Win32 implementation, howerever is similar to
* our own BUT with the added cost of a function call */ #if defined( __linux__ )
/* Linux (and probably other unices') htonl implementation is far more
#include <arpa/inet.h> * efficient than our own; Win32 implementation, howerever is similar to
#define mOCT_SWAP32_IF_LE htonl * our own BUT with the added cost of a function call */
#else /* __linux__ */ #include <arpa/inet.h>
#define mOCT_SWAP64_IF_LE( f_ullValue ) (((uint64_t)ntohl(f_ullValue)) << 32 | ntohl(f_ullValue>>32))
#if defined( _OCT_ENDIAN_TYPE_LE_ )
#else /* __linux__ */
#define mOCT_SWAP32_IF_LE( f_ulValue ) \
( (((f_ulValue) & 0xff000000 ) >> 24) | \ #define mOCT_SWAP64_IF_LE( f_ullValue ) \
(((f_ulValue) & 0x00ff0000 ) >> 8) | \ (((tOCT_UINT64)(f_ullValue) << 56) | \
(((f_ulValue) & 0x0000ff00 ) << 8) | \ (((tOCT_UINT64)(f_ullValue) << 40) & 0xff000000000000ULL) | \
(((f_ulValue) & 0x000000ff ) << 24) ) (((tOCT_UINT64)(f_ullValue) << 24) & 0xff0000000000ULL) | \
#else (((tOCT_UINT64)(f_ullValue) << 8) & 0xff00000000ULL) | \
(((tOCT_UINT64)(f_ullValue) >> 8) & 0xff000000ULL) | \
#define mOCT_SWAP32_IF_LE( f_ulValue ) (f_ulValue) (((tOCT_UINT64)(f_ullValue) >> 24) & 0xff0000ULL) | \
(((tOCT_UINT64)(f_ullValue) >> 40) & 0xff00ULL) | \
#endif /* _OCT_ENDIAN_TYPE_LE_ */ ((tOCT_UINT64)(f_ullValue) >> 56))
#endif /* __linux__ */ #endif /* __linux__ */
#endif /* mOCT_SWAP32_IF_LE */ #else
/*-------------------------------------------------------------------------- #define mOCT_SWAP64_IF_LE( f_ullValue ) (f_ullValue)
16-bit Endian Swapping when target is Little Endian
----------------------------------------------------------------------------*/ #endif /* _OCT_ENDIAN_TYPE_LE_ */
#if !defined( mOCT_SWAP16_IF_LE )
#if defined( __linux__ ) #endif /* mOCT_SWAP64_IF_LE */
/* Linux (and probably other unices') htons implementation is far more
* efficient than our own; Win32 implementation, howerever is similar to /*--------------------------------------------------------------------------
* our own BUT with the added cost of a function call */ 32-bit Endian Swapping when target is Little Endian
----------------------------------------------------------------------------*/
#include <arpa/inet.h> #if !defined( mOCT_SWAP32_IF_LE )
#define mOCT_SWAP16_IF_LE htons #if defined( __linux__ )
/* Linux (and probably other unices') htonl implementation is far more
#else /* __linux__ */ * efficient than our own; Win32 implementation, howerever is similar to
* our own BUT with the added cost of a function call */
#if defined( _OCT_ENDIAN_TYPE_LE_ )
#include <arpa/inet.h>
#define mOCT_SWAP16_IF_LE( f_usValue ) \ #define mOCT_SWAP32_IF_LE htonl
( (((f_usValue) & 0x00ff ) << 8) | \
(((f_usValue) & 0xff00 ) >> 8) ) #else /* __linux__ */
#else
#if defined( _OCT_ENDIAN_TYPE_LE_ )
#define mOCT_SWAP16_IF_LE( f_usValue ) (f_usValue)
#define mOCT_SWAP32_IF_LE( f_ulValue ) \
#endif /* _OCT_ENDIAN_TYPE_LE_ */ ( (((f_ulValue) & 0xff000000 ) >> 24) | \
#endif /* __linux__ */ (((f_ulValue) & 0x00ff0000 ) >> 8) | \
#endif /* mOCT_SWAP16_IF_LE */ (((f_ulValue) & 0x0000ff00 ) << 8) | \
(((f_ulValue) & 0x000000ff ) << 24) )
#else
#endif /* __OCTDEV_MACRO_H__ */ #define mOCT_SWAP32_IF_LE( f_ulValue ) (f_ulValue)
#endif /* _OCT_ENDIAN_TYPE_LE_ */
#endif /* __linux__ */
#endif /* mOCT_SWAP32_IF_LE */
/*--------------------------------------------------------------------------
16-bit Endian Swapping when target is Little Endian
----------------------------------------------------------------------------*/
#if !defined( mOCT_SWAP16_IF_LE )
#if defined( __linux__ )
/* Linux (and probably other unices') htons implementation is far more
* efficient than our own; Win32 implementation, howerever is similar to
* our own BUT with the added cost of a function call */
#include <arpa/inet.h>
#define mOCT_SWAP16_IF_LE htons
#else /* __linux__ */
#if defined( _OCT_ENDIAN_TYPE_LE_ )
#define mOCT_SWAP16_IF_LE( f_usValue ) \
( (((f_usValue) & 0x00ff ) << 8) | \
(((f_usValue) & 0xff00 ) >> 8) )
#else
#define mOCT_SWAP16_IF_LE( f_usValue ) (f_usValue)
#endif /* _OCT_ENDIAN_TYPE_LE_ */
#endif /* __linux__ */
#endif /* mOCT_SWAP16_IF_LE */
#endif /* __OCTDEV_MACRO_H__ */

View File

@ -1,11 +1,11 @@
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
File: OCTDEV_OPUS_REV.h File: OCTDEV_OPUS_REV.h
Copyright (c) 2015 Octasic Inc. All rights reserved. Copyright (c) 2015 Octasic Inc. All rights reserved.
Description: Description:
This program is free software; you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or the Free Software Foundation; either version 2 of the License, or
@ -18,100 +18,100 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License along 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
$Revision: $ $Revision: $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
#ifndef __OCTDEV_OPUS_REV_H__ #ifndef __OCTDEV_OPUS_REV_H__
#define __OCTDEV_OPUS_REV_H__ #define __OCTDEV_OPUS_REV_H__
/************************ COMMON DEFINITIONS *******************************/ /************************ COMMON DEFINITIONS *******************************/
/*------------------------------------------------------------------------------------- /*-------------------------------------------------------------------------------------
Revision history Revision history
-------------------------------------------------------------------------------------*/ -------------------------------------------------------------------------------------*/
#ifdef _M_OPUS1 #ifdef _M_OPUS1
#define OCT1010_REV_B #define OCT1010_REV_B
#endif /* _M_OPUS1 */ #endif /* _M_OPUS1 */
#ifdef OCT1010_REV_A #ifdef OCT1010_REV_A
#define d1jnsrc d1jnsrp #define d1jnsrc d1jnsrp
#define d2jnsrc d2jnsrp #define d2jnsrc d2jnsrp
#define d4jnsrc d4jnsrp #define d4jnsrc d4jnsrp
#define d8jnsrc d8jnsrp #define d8jnsrc d8jnsrp
#define d16jnsrc d16jnsrp #define d16jnsrc d16jnsrp
#define d32jnsrc d32jnsrp #define d32jnsrc d32jnsrp
#define d64jnsrc d64jnsrp #define d64jnsrc d64jnsrp
#define d128jnsrc d128jnsrp #define d128jnsrc d128jnsrp
#define d1jnsc d1jnsrp #define d1jnsc d1jnsrp
#define d2jnsc d2jnsrp #define d2jnsc d2jnsrp
#define d4jnsc d4jnsrp #define d4jnsc d4jnsrp
#define d8jnsc d8jnsrp #define d8jnsc d8jnsrp
#define d16jnsc d16jnsrp #define d16jnsc d16jnsrp
#define d32jnsc d32jnsrp #define d32jnsc d32jnsrp
#define d64jnsc d64jnsrp #define d64jnsc d64jnsrp
#define d128jnsc d128jnsrp #define d128jnsc d128jnsrp
/* need for the migration from Rev A to Rev B /* need for the migration from Rev A to Rev B
*/ */
#define mOCTDEV_OPUS_RDTSC_CORRECTION( f_ulTimestamp ) \ #define mOCTDEV_OPUS_RDTSC_CORRECTION( f_ulTimestamp ) \
_asm and f_ulTimestamp, 0x7FFFFFFF _asm and f_ulTimestamp, 0x7FFFFFFF
#define mOCTDEV_OPUS_RDTSC_CORRECTION_C( f_ulTimestamp ) \ #define mOCTDEV_OPUS_RDTSC_CORRECTION_C( f_ulTimestamp ) \
f_ulTimestamp &= 0x7FFFFFFF; f_ulTimestamp &= 0x7FFFFFFF;
#define mOCTDEV_OPUS_UNSEIZABLE_FIX( f_ulRegister ) \ #define mOCTDEV_OPUS_UNSEIZABLE_FIX( f_ulRegister ) \
_asm { halt ( ( f_ulRegister & 0 ) != 0 ) } _asm { halt ( ( f_ulRegister & 0 ) != 0 ) }
#define mOCTDEV_OPUS_UNSEIZABLE_FIX_C( f_ulRegister ) \ #define mOCTDEV_OPUS_UNSEIZABLE_FIX_C( f_ulRegister ) \
{_chalt(( f_ulRegister & 0 ) != 0 );} {_chalt(( f_ulRegister & 0 ) != 0 );}
#endif /* OCT1010_REV_A */ #endif /* OCT1010_REV_A */
#ifdef OCT1010_REV_B #ifdef OCT1010_REV_B
#define mOCTDEV_OPUS_RDTSC_CORRECTION( f_ulTimestamp ) \ #define mOCTDEV_OPUS_RDTSC_CORRECTION( f_ulTimestamp ) \
_asm and f_ulTimestamp, 0x7FFFFFFF _asm and f_ulTimestamp, 0x7FFFFFFF
#define mOCTDEV_OPUS_RDTSC_CORRECTION_C( f_ulTimestamp ) \ #define mOCTDEV_OPUS_RDTSC_CORRECTION_C( f_ulTimestamp ) \
f_ulTimestamp &= 0x7FFFFFFF; f_ulTimestamp &= 0x7FFFFFFF;
#define mOCTDEV_OPUS_UNSEIZABLE_FIX( f_ulRegister ) \ #define mOCTDEV_OPUS_UNSEIZABLE_FIX( f_ulRegister ) \
_asm { halt ( ( f_ulRegister & 0 ) != 0 ) } _asm { halt ( ( f_ulRegister & 0 ) != 0 ) }
#define mOCTDEV_OPUS_UNSEIZABLE_FIX_C( f_ulRegister ) \ #define mOCTDEV_OPUS_UNSEIZABLE_FIX_C( f_ulRegister ) \
{_chalt(( f_ulRegister & 0 ) != 0 );} {_chalt(( f_ulRegister & 0 ) != 0 );}
#endif /* OCT1010_REV_B */ #endif /* OCT1010_REV_B */
#ifdef _M_OPUS2 #ifdef _M_OPUS2
#define OCT2200_REV_B #define OCT2200_REV_B
#endif /* _M_OPUS2 */ #endif /* _M_OPUS2 */
#ifdef OCT2200_REV_A #ifdef OCT2200_REV_A
#define mOCTDEV_OPUS_RDTSC_CORRECTION( f_ulTimestamp ) #define mOCTDEV_OPUS_RDTSC_CORRECTION( f_ulTimestamp )
#define mOCTDEV_OPUS_RDTSC_CORRECTION_C( f_ulTimestamp ) #define mOCTDEV_OPUS_RDTSC_CORRECTION_C( f_ulTimestamp )
#define mOCTDEV_OPUS_UNSEIZABLE_FIX( f_ulRegister ) #define mOCTDEV_OPUS_UNSEIZABLE_FIX( f_ulRegister )
#define mOCTDEV_OPUS_UNSEIZABLE_FIX_C( f_ulRegister ) #define mOCTDEV_OPUS_UNSEIZABLE_FIX_C( f_ulRegister )
#endif /* OCT2200_REV_A */ #endif /* OCT2200_REV_A */
#ifdef OCT2200_REV_B #ifdef OCT2200_REV_B
#define mOCTDEV_OPUS_RDTSC_CORRECTION( f_ulTimestamp ) #define mOCTDEV_OPUS_RDTSC_CORRECTION( f_ulTimestamp )
#define mOCTDEV_OPUS_RDTSC_CORRECTION_C( f_ulTimestamp ) #define mOCTDEV_OPUS_RDTSC_CORRECTION_C( f_ulTimestamp )
#define mOCTDEV_OPUS_UNSEIZABLE_FIX( f_ulRegister ) #define mOCTDEV_OPUS_UNSEIZABLE_FIX( f_ulRegister )
#define mOCTDEV_OPUS_UNSEIZABLE_FIX_C( f_ulRegister ) #define mOCTDEV_OPUS_UNSEIZABLE_FIX_C( f_ulRegister )
#endif /* OCT2200_REV_B */ #endif /* OCT2200_REV_B */
#endif /* __OCTDEV_OPUS_REV_H__ */ #endif /* __OCTDEV_OPUS_REV_H__ */

View File

@ -1,11 +1,11 @@
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
File: OCTDEV_RC_BASE.h File: OCTDEV_RC_BASE.h
Copyright (c) 2015 Octasic Inc. All rights reserved. Copyright (c) 2015 Octasic Inc. All rights reserved.
Description: Description:
This program is free software; you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or the Free Software Foundation; either version 2 of the License, or
@ -18,34 +18,34 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License along 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
$Revision: $ $Revision: $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
#ifndef __OCTDEV_RC_BASE_H__ #ifndef __OCTDEV_RC_BASE_H__
#define __OCTDEV_RC_BASE_H__ #define __OCTDEV_RC_BASE_H__
/************************ COMMON DEFINITIONS *******************************/ /************************ COMMON DEFINITIONS *******************************/
/*------------------------------------------------------------------------------------- /*-------------------------------------------------------------------------------------
Gemeric Return Code bases Gemeric Return Code bases
-------------------------------------------------------------------------------------*/ -------------------------------------------------------------------------------------*/
#define cOCTADF_TARGET_RC_BASE 0x01000000 #define cOCTADF_TARGET_RC_BASE 0x01000000
#define cOCTVC1_API_RC_BASE 0x0A000000 #define cOCTVC1_API_RC_BASE 0x0A000000
#define cOCTCOMMON_API_RC_BASE 0x0E000000 #define cOCTCOMMON_API_RC_BASE 0x0E000000
#define cOCTDEVICE_API_RC_BASE 0x0F000000 #define cOCTDEVICE_API_RC_BASE 0x0F000000
/*------------------------------------------------------------------------------------- /*-------------------------------------------------------------------------------------
Return Code fatal flag Return Code fatal flag
-------------------------------------------------------------------------------------*/ -------------------------------------------------------------------------------------*/
#define cOCTDEV_RC_FATAL_FLAG 0x80000000 #define cOCTDEV_RC_FATAL_FLAG 0x80000000
#endif /* __OCTDEV_RC_BASE_H__ */ #endif /* __OCTDEV_RC_BASE_H__ */

View File

@ -1,11 +1,11 @@
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
File: OCTDEV_TYPES.h File: OCTDEV_TYPES.h
Copyright (c) 2015 Octasic Inc. All rights reserved. Copyright (c) 2015 Octasic Inc. All rights reserved.
Description: Description:
This program is free software; you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or the Free Software Foundation; either version 2 of the License, or
@ -18,315 +18,315 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License along 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
$Revision: $ $Revision: $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
#ifndef __OCTDEV_TYPES_H__ #ifndef __OCTDEV_TYPES_H__
#define __OCTDEV_TYPES_H__ #define __OCTDEV_TYPES_H__
/***************************** INCLUDE FILES *******************************/ /***************************** INCLUDE FILES *******************************/
#include <limits.h> #include <limits.h>
/************************ COMMON DEFINITIONS *******************************/ /************************ COMMON DEFINITIONS *******************************/
/*------------------------------------------------------------------------------------- /*-------------------------------------------------------------------------------------
API Data Types API Data Types
-------------------------------------------------------------------------------------*/ -------------------------------------------------------------------------------------*/
#ifndef NULL #ifndef NULL
#ifdef __cplusplus #ifdef __cplusplus
#define NULL 0 #define NULL 0
#else #else
#define NULL ((void *)0) #define NULL ((void *)0)
#endif #endif
#endif #endif
#if SHRT_MAX == 32767 #if SHRT_MAX == 32767
/* short is 16-bit */ /* short is 16-bit */
typedef unsigned short tOCT_UINT16; typedef unsigned short tOCT_UINT16;
typedef short tOCT_INT16; typedef short tOCT_INT16;
#elif INT_MAX == 32767 #elif INT_MAX == 32767
/* integer is 16-bit */ /* integer is 16-bit */
typedef unsigned int tOCT_UINT16; typedef unsigned int tOCT_UINT16;
typedef int tOCT_INT16; typedef int tOCT_INT16;
#else #else
/* unexpected 16-bit type */ /* unexpected 16-bit type */
#error Cannot determine 16-bit type #error Cannot determine 16-bit type
#endif #endif
#if INT_MAX == 2147483647L #if INT_MAX == 2147483647L
/* integer is 32-bit */ /* integer is 32-bit */
typedef int tOCT_INT32; typedef int tOCT_INT32;
typedef unsigned int tOCT_UINT32; typedef unsigned int tOCT_UINT32;
#elif LONG_MAX == 2147483647L #elif LONG_MAX == 2147483647L
/* long is 32-bit */ /* long is 32-bit */
typedef long tOCT_INT32; typedef long tOCT_INT32;
typedef unsigned long tOCT_UINT32; typedef unsigned long tOCT_UINT32;
#else #else
/* unexpected 32-bit type */ /* unexpected 32-bit type */
#error Cannot determine 32-bit type #error Cannot determine 32-bit type
#endif #endif
typedef long long tOCT_INT64; typedef long long tOCT_INT64;
typedef unsigned long long tOCT_UINT64; typedef unsigned long long tOCT_UINT64;
typedef char tOCT_INT8; typedef char tOCT_INT8;
typedef unsigned char tOCT_UINT8; typedef unsigned char tOCT_UINT8;
/*------------------------------------------------------------------------------------- /*-------------------------------------------------------------------------------------
TRUE/FALSE TRUE/FALSE
-------------------------------------------------------------------------------------*/ -------------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------------- /*-------------------------------------------------------------------------------------
tOCT_BOOL32 : tOCT_BOOL32 :
-------------------------------------------------------------------------------------*/ -------------------------------------------------------------------------------------*/
#define tOCT_BOOL32 tOCT_UINT32 #define tOCT_BOOL32 tOCT_UINT32
#define cOCT_TRUE 1 #define cOCT_TRUE 1
#define cOCT_FALSE 0 #define cOCT_FALSE 0
/*------------------------------------------------------------------------------------- /*-------------------------------------------------------------------------------------
Generic Timeout value Generic Timeout value
-------------------------------------------------------------------------------------*/ -------------------------------------------------------------------------------------*/
#define cOCTDEV_TIMEOUT_FOREVER 0xFFFFFFFF #define cOCTDEV_TIMEOUT_FOREVER 0xFFFFFFFF
/*-------------------------------------------------------------------------- /*--------------------------------------------------------------------------
ENDIAN Determination ENDIAN Determination
_OCT_ENDIAN_TYPE_BE_: Defined when target is Big Endian _OCT_ENDIAN_TYPE_BE_: Defined when target is Big Endian
_OCT_ENDIAN_TYPE_LE_: Defined when target is Little Endian _OCT_ENDIAN_TYPE_LE_: Defined when target is Little Endian
These must be set by the user. If not set the system will try to These must be set by the user. If not set the system will try to
automatically determine them based on some common compiler #define automatically determine them based on some common compiler #define
values. values.
----------------------------------------------------------------------------*/ ----------------------------------------------------------------------------*/
#if !defined( _OCT_ENDIAN_TYPE_BE_ ) && !defined( _OCT_ENDIAN_TYPE_LE_ ) #if !defined( _OCT_ENDIAN_TYPE_BE_ ) && !defined( _OCT_ENDIAN_TYPE_LE_ )
/* Not Set - try to determine automatically */ /* Not Set - try to determine automatically */
/* Look for Intel target */ /* Look for Intel target */
#if defined( __OCT_ENV_OPUS__ ) || defined( _M_OPUS1 ) || defined( _M_OPUS2 ) || defined( _M_OPUS3 ) #if defined( __OCT_ENV_OPUS__ ) || defined( _M_OPUS1 ) || defined( _M_OPUS2 ) || defined( _M_OPUS3 )
#define _OCT_ENDIAN_TYPE_BE_ #define _OCT_ENDIAN_TYPE_BE_
#define _OCT_PLATFORM_OPUS_ #define _OCT_PLATFORM_OPUS_
#elif defined( _M_IX86 ) || defined(__x86_64__) #elif defined( _M_IX86 ) || defined(__x86_64__)
#define _OCT_ENDIAN_TYPE_LE_ #define _OCT_ENDIAN_TYPE_LE_
#define _OCT_PLATFORM_X86_ #define _OCT_PLATFORM_X86_
#elif defined( __i386 ) #elif defined( __i386 )
#define _OCT_ENDIAN_TYPE_LE_ #define _OCT_ENDIAN_TYPE_LE_
#define _OCT_PLATFORM_X86_ #define _OCT_PLATFORM_X86_
#elif defined( i386 ) #elif defined( i386 )
#define _OCT_ENDIAN_TYPE_LE_ #define _OCT_ENDIAN_TYPE_LE_
#define _OCT_PLATFORM_X86_ #define _OCT_PLATFORM_X86_
/* Look for Motorola PPC target */ /* Look for Motorola PPC target */
#elif defined( _M_MPPC ) || defined( _M_PPC ) || defined( __ppc__ ) || defined( __PPC ) #elif defined( _M_MPPC ) || defined( _M_PPC ) || defined( __ppc__ ) || defined( __PPC )
#define _OCT_ENDIAN_TYPE_BE_ #define _OCT_ENDIAN_TYPE_BE_
#define _OCT_PLATFORM_PPC_ #define _OCT_PLATFORM_PPC_
/* Look for Sparc target */ /* Look for Sparc target */
#elif defined( __sparc ) #elif defined( __sparc )
#define _OCT_ENDIAN_TYPE_BE_ #define _OCT_ENDIAN_TYPE_BE_
#define _OCT_PLATFORM_SPARC_ #define _OCT_PLATFORM_SPARC_
#elif defined( __sun__ ) #elif defined( __sun__ )
#define _OCT_ENDIAN_TYPE_BE_ #define _OCT_ENDIAN_TYPE_BE_
#define _OCT_PLATFORM_SPARC_ #define _OCT_PLATFORM_SPARC_
/* Look for ARM target */ /* Look for ARM target */
#elif defined( __ARMEL__ ) #elif defined( __ARMEL__ )
#define _OCT_ENDIAN_TYPE_LE_ #define _OCT_ENDIAN_TYPE_LE_
#define _OCT_PLATFORM_ARM_ #define _OCT_PLATFORM_ARM_
/* Look for MIPS target */ /* Look for MIPS target */
#elif defined( __mips__ ) || defined( __MIPSEB ) #elif defined( __mips__ ) || defined( __MIPSEB )
#define _OCT_ENDIAN_TYPE_BE_ #define _OCT_ENDIAN_TYPE_BE_
#define _OCT_PLATFORM_MIPS_ #define _OCT_PLATFORM_MIPS_
/* others */ /* others */
#elif defined( CPU ) #elif defined( CPU )
#if CPU==PPC860 #if CPU==PPC860
#define _OCT_ENDIAN_TYPE_BE_ #define _OCT_ENDIAN_TYPE_BE_
#define _OCT_PLATFORM_PPC_ #define _OCT_PLATFORM_PPC_
#endif #endif
#endif #endif
#endif #endif
/* Now insure the endian format is set properly */ /* Now insure the endian format is set properly */
#if !defined( _OCT_ENDIAN_TYPE_BE_ ) && !defined( _OCT_ENDIAN_TYPE_LE_ ) #if !defined( _OCT_ENDIAN_TYPE_BE_ ) && !defined( _OCT_ENDIAN_TYPE_LE_ )
#error Processor Endian not determined #error Processor Endian not determined
#endif #endif
#if defined( _OCT_ENDIAN_TYPE_BE_ ) && defined( _OCT_ENDIAN_TYPE_LE_ ) #if defined( _OCT_ENDIAN_TYPE_BE_ ) && defined( _OCT_ENDIAN_TYPE_LE_ )
#error Processor Endian Set to both Values #error Processor Endian Set to both Values
#endif #endif
/*-------------------------------------------------------------------------- /*--------------------------------------------------------------------------
PLATFORM Determination PLATFORM Determination
OCT_WINDOWS_ENV : Defined when target running under windows OCT_WINDOWS_ENV : Defined when target running under windows
OCT_LINUX_ENV : Defined when target running under linux OCT_LINUX_ENV : Defined when target running under linux
OCT_OPUS_ENV : OPUS env OCT_OPUS_ENV : OPUS env
OCT_UNKNOWN_ENV : Unknown env OCT_UNKNOWN_ENV : Unknown env
----------------------------------------------------------------------------*/ ----------------------------------------------------------------------------*/
#define __OCTDEV_TYPE_STR2__(x) #x #define __OCTDEV_TYPE_STR2__(x) #x
#define __OCTDEV_TYPE_STR1__(x) __OCTDEV_TYPE_STR2__(x) #define __OCTDEV_TYPE_STR1__(x) __OCTDEV_TYPE_STR2__(x)
#define __OCTDEV_TYPE_WARNLOC__ __FILE__ "("__OCTDEV_TYPE_STR1__(__LINE__)") : Warning Msg: " #define __OCTDEV_TYPE_WARNLOC__ __FILE__ "("__OCTDEV_TYPE_STR1__(__LINE__)") : Warning Msg: "
#if defined( __OCT_ENV_OPUS__ ) || defined( _M_OPUS1 ) || defined( _M_OPUS2 ) || defined( _M_OPUS3 ) #if defined( __OCT_ENV_OPUS__ ) || defined( _M_OPUS1 ) || defined( _M_OPUS2 ) || defined( _M_OPUS3 )
#define OCT_ENV_TYPE_OPUS #define OCT_ENV_TYPE_OPUS
#define OCT_ENV_TYPE_OCTSYS #define OCT_ENV_TYPE_OCTSYS
#ifdef _DEBUG #ifndef NDEBUG
#define OCT_ENV_MODE_DEBUG #define OCT_ENV_MODE_DEBUG
#endif #endif
#elif defined( _LINUX_ ) || defined( __linux__ ) #elif defined( _LINUX_ ) || defined( __linux__ )
#define OCT_ENV_TYPE_LINUX #define OCT_ENV_TYPE_LINUX
#define OCT_ENV_TYPE_OCTOS #define OCT_ENV_TYPE_OCTOS
#ifndef NDEBUG #ifndef NDEBUG
#define OCT_ENV_MODE_DEBUG #define OCT_ENV_MODE_DEBUG
#endif #endif
#elif defined( _WIN32 ) || defined( WIN32 ) || defined( __WIN32__ ) || defined( _WIN32_ ) || defined( WIN32S ) || defined( _WIN64 ) || defined( WIN64 ) #elif defined( _WIN32 ) || defined( WIN32 ) || defined( __WIN32__ ) || defined( _WIN32_ ) || defined( WIN32S ) || defined( _WIN64 ) || defined( WIN64 )
#define OCT_ENV_TYPE_WINDOWS #define OCT_ENV_TYPE_WINDOWS
#define OCT_ENV_TYPE_OCTOS #define OCT_ENV_TYPE_OCTOS
#ifdef _DEBUG #ifdef _DEBUG
#define OCT_ENV_MODE_DEBUG #define OCT_ENV_MODE_DEBUG
#endif #endif
#else #else
#define OCT_ENV_TYPE_UNKNOWN #define OCT_ENV_TYPE_UNKNOWN
#pragma message(__OCTDEV_TYPE_WARNLOC__"Environment platform not determined") #pragma message(__OCTDEV_TYPE_WARNLOC__"Environment platform not determined")
#endif #endif
/*-------------------------------------------------------------------------- /*--------------------------------------------------------------------------
POINTER type definition POINTER type definition
----------------------------------------------------------------------------*/ ----------------------------------------------------------------------------*/
#if defined( OCT_ENV_TYPE_WINDOWS ) #if defined( OCT_ENV_TYPE_WINDOWS )
#include <basetsd.h> #include <basetsd.h>
#define tOCT_UINT_PTR UINT_PTR #define tOCT_UINT_PTR UINT_PTR
#define tOCT_INT_PTR INT_PTR #define tOCT_INT_PTR INT_PTR
#elif defined( OCT_ENV_TYPE_LINUX ) #elif defined( OCT_ENV_TYPE_LINUX )
#include <inttypes.h> #include <inttypes.h>
#define tOCT_UINT_PTR uintptr_t #define tOCT_UINT_PTR uintptr_t
#define tOCT_INT_PTR intptr_t #define tOCT_INT_PTR intptr_t
#elif defined( OCT_ENV_TYPE_OCTSYS ) #elif defined( OCT_ENV_TYPE_OCTSYS )
#include <stdint.h> #include <stdint.h>
#define tOCT_UINT_PTR uintptr_t #define tOCT_UINT_PTR uintptr_t
#define tOCT_INT_PTR intptr_t #define tOCT_INT_PTR intptr_t
#else #else
#pragma message(__OCTDEV_TYPE_WARNLOC__"Environment pointer determined") #pragma message(__OCTDEV_TYPE_WARNLOC__"Environment pointer determined")
#endif /* OCT_ENV_TYPE_WINDOWS */ #endif /* OCT_ENV_TYPE_WINDOWS */
/*------------------------------------------------------------------------------------- /*-------------------------------------------------------------------------------------
Generic IP Address Generic IP Address
-------------------------------------------------------------------------------------*/ -------------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------------- /*-------------------------------------------------------------------------------------
tOCTDEV_IP_VERSION_ENUM : tOCTDEV_IP_VERSION_ENUM :
-------------------------------------------------------------------------------------*/ -------------------------------------------------------------------------------------*/
#define tOCTDEV_IP_VERSION_ENUM tOCT_UINT32 #define tOCTDEV_IP_VERSION_ENUM tOCT_UINT32
#define cOCTDEV_IP_VERSION_ENUM_4 0 /* IP address version 4 */ #define cOCTDEV_IP_VERSION_ENUM_4 0 /* IP address version 4 */
#define cOCTDEV_IP_VERSION_ENUM_6 1 /* IP address version 6 */ #define cOCTDEV_IP_VERSION_ENUM_6 1 /* IP address version 6 */
#define cOCTDEV_IP_VERSION_ENUM_INVALID 0xFFFFFFFF #define cOCTDEV_IP_VERSION_ENUM_INVALID 0xFFFFFFFF
/*------------------------------------------------------------------------------------- /*-------------------------------------------------------------------------------------
tOCTDEV_IP_ADDRESS tOCTDEV_IP_ADDRESS
IP address structure IP address structure
Members: Members:
ulIpVersion ulIpVersion
Default: cOCTDEV_IP_VERSION_ENUM_4 Default: cOCTDEV_IP_VERSION_ENUM_4
Version of the IP address Version of the IP address
aulIpAddress aulIpAddress
Ip address, Version 4 -> aulIpAddress[0] only. Ip address, Version 4 -> aulIpAddress[0] only.
-------------------------------------------------------------------------------------*/ -------------------------------------------------------------------------------------*/
typedef struct typedef struct
{ {
tOCTDEV_IP_VERSION_ENUM ulIpVersion; tOCTDEV_IP_VERSION_ENUM ulIpVersion;
tOCT_UINT32 aulIpAddress[4]; tOCT_UINT32 aulIpAddress[4];
} tOCTDEV_IP_ADDRESS; } tOCTDEV_IP_ADDRESS;
/*------------------------------------------------------------------------------------- /*-------------------------------------------------------------------------------------
Generic UDP Address Generic UDP Address
-------------------------------------------------------------------------------------*/ -------------------------------------------------------------------------------------*/
#define cOCTDEV_UDP_PORT_INVALID 0xFFFFFFFF /* Invalid UDP port specification. */ #define cOCTDEV_UDP_PORT_INVALID 0xFFFFFFFF /* Invalid UDP port specification. */
/*------------------------------------------------------------------------------------- /*-------------------------------------------------------------------------------------
tOCTDEV_UDP_ADDRESS tOCTDEV_UDP_ADDRESS
UDP address structure UDP address structure
Members: Members:
IpAddress IpAddress
IP version and address. IP version and address.
ulUdpPort ulUdpPort
Default: cOCTDEV_UDP_PORT_INVALID Default: cOCTDEV_UDP_PORT_INVALID
UDP port used with IP address UDP port used with IP address
-------------------------------------------------------------------------------------*/ -------------------------------------------------------------------------------------*/
typedef struct typedef struct
{ {
tOCTDEV_IP_ADDRESS IpAddress; tOCTDEV_IP_ADDRESS IpAddress;
tOCT_UINT32 ulUdpPort; tOCT_UINT32 ulUdpPort;
} tOCTDEV_UDP_ADDRESS; } tOCTDEV_UDP_ADDRESS;
/*------------------------------------------------------------------------------------- /*-------------------------------------------------------------------------------------
Generic TCP Address Generic TCP Address
-------------------------------------------------------------------------------------*/ -------------------------------------------------------------------------------------*/
#define cOCTDEV_TCP_PORT_INVALID 0xFFFFFFFF /* Invalid TCP port specification. */ #define cOCTDEV_TCP_PORT_INVALID 0xFFFFFFFF /* Invalid TCP port specification. */
/*------------------------------------------------------------------------------------- /*-------------------------------------------------------------------------------------
tOCTDEV_TCP_ADDRESS tOCTDEV_TCP_ADDRESS
TCP address structure TCP address structure
Members: Members:
IpAddress IpAddress
IP version and address. IP version and address.
ulTcpPort ulTcpPort
Default: cOCTDEV_TCP_PORT_INVALID Default: cOCTDEV_TCP_PORT_INVALID
TCP port used with IP address TCP port used with IP address
-------------------------------------------------------------------------------------*/ -------------------------------------------------------------------------------------*/
typedef struct typedef struct
{ {
tOCTDEV_IP_ADDRESS IpAddress; tOCTDEV_IP_ADDRESS IpAddress;
tOCT_UINT32 ulTcpPort; tOCT_UINT32 ulTcpPort;
} tOCTDEV_TCP_ADDRESS; } tOCTDEV_TCP_ADDRESS;
/*------------------------------------------------------------------------------------- /*-------------------------------------------------------------------------------------
Generic MAC Address Generic MAC Address
-------------------------------------------------------------------------------------*/ -------------------------------------------------------------------------------------*/
#define cOCTDEV_MAC_ADDRESS_BYTE_COUNT 6 #define cOCTDEV_MAC_ADDRESS_BYTE_COUNT 6
/*------------------------------------------------------------------------------------- /*-------------------------------------------------------------------------------------
tOCTDEV_MAC_ADDRESS tOCTDEV_MAC_ADDRESS
MAC address structure MAC address structure
Members: Members:
abyReserved abyReserved
Reserved fields inserted to ensure that the structure is an integer multiple of Reserved fields inserted to ensure that the structure is an integer multiple of
DWORDS. DWORDS.
abyMacAddress abyMacAddress
MAC address; abyMacAddress[0] = msb, abyMacAddress[5] = lsb. MAC address; abyMacAddress[0] = msb, abyMacAddress[5] = lsb.
-------------------------------------------------------------------------------------*/ -------------------------------------------------------------------------------------*/
typedef struct typedef struct
{ {
tOCT_UINT8 abyReserved[2]; tOCT_UINT8 abyReserved[2];
tOCT_UINT8 abyMacAddress[cOCTDEV_MAC_ADDRESS_BYTE_COUNT]; tOCT_UINT8 abyMacAddress[cOCTDEV_MAC_ADDRESS_BYTE_COUNT];
} tOCTDEV_MAC_ADDRESS; } tOCTDEV_MAC_ADDRESS;
#endif /* __OCTDEV_TYPES_H__ */ #endif /* __OCTDEV_TYPES_H__ */

View File

@ -20,7 +20,7 @@ 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
#ifndef __OCTDEV_TYPES_SWAP_H__ #ifndef __OCTDEV_TYPES_SWAP_H__

View File

@ -1,11 +1,11 @@
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
File: OCTPKT_HDR.h File: OCTPKT_HDR.h
Copyright (c) 2015 Octasic Inc. All rights reserved. Copyright (c) 2015 Octasic Inc. All rights reserved.
Description: Description:
This program is free software; you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or the Free Software Foundation; either version 2 of the License, or
@ -18,83 +18,93 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License along 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
$Revision: $ $Revision: $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
#ifndef __OCTPKT_HDR_H__ #ifndef __OCTPKT_HDR_H__
#define __OCTPKT_HDR_H__ #define __OCTPKT_HDR_H__
/***************************** INCLUDE FILES *******************************/ /***************************** INCLUDE FILES *******************************/
#include "../octdev_types.h" #include "../octdev_types.h"
/************************ COMMON DEFINITIONS *******************************/ /************************ COMMON DEFINITIONS *******************************/
#define cOCTPKT_HDR_ETHERTYPE 0x5200 #define cOCTPKT_HDR_ETHERTYPE 0x5200
/*------------------------------------------------------------------------------------- /*-------------------------------------------------------------------------------------
OctPkt-Packet Format Values OctPkt-Packet Format Values
-------------------------------------------------------------------------------------*/ -------------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------------- /*-------------------------------------------------------------------------------------
tOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK : tOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK :
-------------------------------------------------------------------------------------*/ -------------------------------------------------------------------------------------*/
#define tOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK tOCT_UINT32 #define tOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK tOCT_UINT32
#define cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_FORMAT_BIT_MASK 0x000000FF #define cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_FORMAT_BIT_MASK 0x000000FF
#define cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_FORMAT_BIT_OFFSET 24 #define cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_FORMAT_BIT_OFFSET 24
#define cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_FORMAT ((tOCT_UINT32)(cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_FORMAT_BIT_MASK<<cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_FORMAT_BIT_OFFSET) ) #define cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_FORMAT ((tOCT_UINT32)(cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_FORMAT_BIT_MASK<<cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_FORMAT_BIT_OFFSET) )
#define cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_TRACE_BIT_MASK 0x00000001 #define cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_TRACE_BIT_MASK 0x00000001
#define cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_TRACE_BIT_OFFSET 23 #define cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_TRACE_BIT_OFFSET 23
#define cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_TRACE ((tOCT_UINT32)(cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_TRACE_BIT_MASK<<cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_TRACE_BIT_OFFSET) ) #define cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_TRACE ((tOCT_UINT32)(cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_TRACE_BIT_MASK<<cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_TRACE_BIT_OFFSET) )
#define cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_CONTROL_PROTOCOL_TYPE_BIT_MASK 0x0000000F #define cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_CONTROL_PROTOCOL_TYPE_BIT_MASK 0x0000000F
#define cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_CONTROL_PROTOCOL_TYPE_BIT_OFFSET 11 #define cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_CONTROL_PROTOCOL_TYPE_BIT_OFFSET 11
#define cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_CONTROL_PROTOCOL_TYPE ((tOCT_UINT32)(cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_CONTROL_PROTOCOL_TYPE_BIT_MASK<<cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_CONTROL_PROTOCOL_TYPE_BIT_OFFSET) ) #define cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_CONTROL_PROTOCOL_TYPE ((tOCT_UINT32)(cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_CONTROL_PROTOCOL_TYPE_BIT_MASK<<cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_CONTROL_PROTOCOL_TYPE_BIT_OFFSET) )
#define cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_LENGTH_BIT_MASK 0x000007FF #define cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_LENGTH_BIT_MASK 0x000007FF
#define cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_LENGTH_BIT_OFFSET 0 #define cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_LENGTH_BIT_OFFSET 0
#define cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_LENGTH ((tOCT_UINT32)(cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_LENGTH_BIT_MASK<<cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_LENGTH_BIT_OFFSET) ) #define cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_LENGTH ((tOCT_UINT32)(cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_LENGTH_BIT_MASK<<cOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK_LENGTH_BIT_OFFSET) )
/*------------------------------------------------------------------------------------- /*-------------------------------------------------------------------------------------
tOCTPKT_HDR_CONTROL_PROTOCOL_TYPE_ENUM : tOCTPKT_HDR_CONTROL_PROTOCOL_TYPE_ENUM :
-------------------------------------------------------------------------------------*/ -------------------------------------------------------------------------------------*/
#define tOCTPKT_HDR_CONTROL_PROTOCOL_TYPE_ENUM tOCT_UINT32 #define tOCTPKT_HDR_CONTROL_PROTOCOL_TYPE_ENUM tOCT_UINT32
#define cOCTPKT_HDR_CONTROL_PROTOCOL_TYPE_ENUM_OCTVOCNET 0x0 /* Vocallo MGW Control Protocol */ #define cOCTPKT_HDR_CONTROL_PROTOCOL_TYPE_ENUM_OCTVOCNET 0x0 /* Vocallo MGW Control Protocol */
#define cOCTPKT_HDR_CONTROL_PROTOCOL_TYPE_ENUM_OCTMFA 0x1 /* Media Flow Aggregator Control Protocol */ #define cOCTPKT_HDR_CONTROL_PROTOCOL_TYPE_ENUM_OCTMFA 0x1 /* Media Flow Aggregator Control Protocol */
#define cOCTPKT_HDR_CONTROL_PROTOCOL_TYPE_ENUM_LTE_FAPI 0x2 /* SDR LTE femtocells API Protocol */ #define cOCTPKT_HDR_CONTROL_PROTOCOL_TYPE_ENUM_LTE_FAPI 0x2 /* SDR LTE femtocells API Protocol */
#define cOCTPKT_HDR_CONTROL_PROTOCOL_TYPE_ENUM_TEST 0xE /* TEST Protocol */ #define cOCTPKT_HDR_CONTROL_PROTOCOL_TYPE_ENUM_TEST 0xE /* TEST Protocol */
#define cOCTPKT_HDR_CONTROL_PROTOCOL_TYPE_ENUM_NONE 0xFFFFFFFF /* Not used */ #define cOCTPKT_HDR_CONTROL_PROTOCOL_TYPE_ENUM_NONE 0xFFFFFFFF /* Not used */
/*------------------------------------------------------------------------------------- /*-------------------------------------------------------------------------------------
tOCTPKT_HDR tOCTPKT_HDR
COMMON Packet Header COMMON Packet Header
32-bit value 32-bit value
bits[31:24] = Format bits[31:24] = Format
bit[23] = Trace Flag bit[23] = Trace Flag
bits[22:15] = 0=Reserved bits[22:15] = 0=Reserved
bits[14:11] = Control Protocol Type bits[14:11] = Control Protocol Type
bits[10:0] = Total Packet Size in bytes bits[10:0] = Total Packet Size in bytes
Members: Members:
ul_Format_Trace_Length ul_Format_Trace_Length
-------------------------------------------------------------------------------------*/ -------------------------------------------------------------------------------------*/
typedef struct typedef struct
{ {
tOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK ul_Format_Trace_Length; tOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK ul_Format_Trace_Length;
} tOCTPKT_HDR; } tOCTPKT_HDR;
#endif /* __OCTPKT_HDR_H__ */ /*-------------------------------------------------------------------------------------
tOCTPKT_HDR_TYPE_ENUM :
-------------------------------------------------------------------------------------*/
#define tOCTPKT_HDR_TYPE_ENUM tOCT_UINT32
#define cOCTPKT_HDR_TYPE_ENUM_NONE 0 /* Unused PktHdr */
#define cOCTPKT_HDR_TYPE_ENUM_NORMAL 1 /* Normal OctPktHdr */
#define cOCTPKT_HDR_TYPE_ENUM_XL 2 /* XL OctPktHdr */
#endif /* __OCTPKT_HDR_H__ */

View File

@ -20,7 +20,7 @@ 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
#ifndef __OCTPKT_HDR_SWAP_H__ #ifndef __OCTPKT_HDR_SWAP_H__
@ -63,6 +63,15 @@ extern "C" {
#define mOCTPKT_HDR_SWAP( pOCTPKT_HDR ) #define mOCTPKT_HDR_SWAP( pOCTPKT_HDR )
#endif /* _OCT_ENDIAN_TYPE_LE_ */ #endif /* _OCT_ENDIAN_TYPE_LE_ */
#if defined( _OCT_ENDIAN_TYPE_LE_ )
#define mOCTPKT_HDR_TYPE_ENUM_SWAP( pType ){ \
*((tOCT_UINT32 *)pType) = mOCT_SWAP32_IF_LE( *((tOCT_UINT32 *)pType) ); }
#else
#define mOCTPKT_HDR_TYPE_ENUM_SWAP( pType )
#endif /* _OCT_ENDIAN_TYPE_LE_ */
#ifdef __cplusplus #ifdef __cplusplus
} }

View File

@ -1,11 +1,11 @@
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
File: OCTPKT_HDRXL.h File: OCTPKT_HDRXL.h
Copyright (c) 2015 Octasic Inc. All rights reserved. Copyright (c) 2015 Octasic Inc. All rights reserved.
Description: Description:
This program is free software; you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or the Free Software Foundation; either version 2 of the License, or
@ -18,80 +18,80 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License along 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
$Revision: $ $Revision: $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
#ifndef __OCTPKT_HDRXL_H__ #ifndef __OCTPKT_HDRXL_H__
#define __OCTPKT_HDRXL_H__ #define __OCTPKT_HDRXL_H__
/***************************** INCLUDE FILES *******************************/ /***************************** INCLUDE FILES *******************************/
#include "../octdev_types.h" #include "../octdev_types.h"
#include "octpkt_hdr.h" #include "octpkt_hdr.h"
/************************ COMMON DEFINITIONS *******************************/ /************************ COMMON DEFINITIONS *******************************/
#define cOCTPKT_HDRXL_ETHERTYPE 0x5201 #define cOCTPKT_HDRXL_ETHERTYPE 0x5201
/*------------------------------------------------------------------------------------- /*-------------------------------------------------------------------------------------
OctPkt-Packet Format Values OctPkt-Packet Format Values
-------------------------------------------------------------------------------------*/ -------------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------------- /*-------------------------------------------------------------------------------------
tOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK : tOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK :
-------------------------------------------------------------------------------------*/ -------------------------------------------------------------------------------------*/
#define tOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK tOCT_UINT32 #define tOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK tOCT_UINT32
#define cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_FORMAT_BIT_MASK 0x000000FF #define cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_FORMAT_BIT_MASK 0x000000FF
#define cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_FORMAT_BIT_OFFSET 16 #define cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_FORMAT_BIT_OFFSET 16
#define cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_FORMAT ((tOCT_UINT32)(cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_FORMAT_BIT_MASK<<cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_FORMAT_BIT_OFFSET) ) #define cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_FORMAT ((tOCT_UINT32)(cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_FORMAT_BIT_MASK<<cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_FORMAT_BIT_OFFSET) )
#define cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_CONTROL_PROTOCOL_TYPE_BIT_MASK 0x0000000F #define cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_CONTROL_PROTOCOL_TYPE_BIT_MASK 0x0000000F
#define cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_CONTROL_PROTOCOL_TYPE_BIT_OFFSET 28 #define cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_CONTROL_PROTOCOL_TYPE_BIT_OFFSET 28
#define cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_CONTROL_PROTOCOL_TYPE ((tOCT_UINT32)(cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_CONTROL_PROTOCOL_TYPE_BIT_MASK<<cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_CONTROL_PROTOCOL_TYPE_BIT_OFFSET) ) #define cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_CONTROL_PROTOCOL_TYPE ((tOCT_UINT32)(cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_CONTROL_PROTOCOL_TYPE_BIT_MASK<<cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_CONTROL_PROTOCOL_TYPE_BIT_OFFSET) )
#define cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_LENGTH_BIT_MASK 0x0000FFFF #define cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_LENGTH_BIT_MASK 0x0000FFFF
#define cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_LENGTH_BIT_OFFSET 0 #define cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_LENGTH_BIT_OFFSET 0
#define cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_LENGTH ((tOCT_UINT32)(cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_LENGTH_BIT_MASK<<cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_LENGTH_BIT_OFFSET) ) #define cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_LENGTH ((tOCT_UINT32)(cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_LENGTH_BIT_MASK<<cOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK_LENGTH_BIT_OFFSET) )
/*------------------------------------------------------------------------------------- /*-------------------------------------------------------------------------------------
tOCTPKT_HDRXL tOCTPKT_HDRXL
COMMON Packet Header Extended Length COMMON Packet Header Extended Length
32-bit value 32-bit value
bits[31:28] = Control Protocol Type bits[31:28] = Control Protocol Type
bits[27:24] = Reserved bits[27:24] = Reserved
bits[23:16] = Format (depend of the Protocol) bits[23:16] = Format (depend of the Protocol)
bits[15:0] = Total Packet Length (size in bytes) bits[15:0] = Total Packet Length (size in bytes)
Members: Members:
ul_Proto_Format_Length ul_Proto_Format_Length
-------------------------------------------------------------------------------------*/ -------------------------------------------------------------------------------------*/
typedef struct typedef struct
{ {
tOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK ul_Proto_Format_Length; tOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK ul_Proto_Format_Length;
} tOCTPKT_HDRXL; } tOCTPKT_HDRXL;
/*------------------------------------------------------------------------------------- /*-------------------------------------------------------------------------------------
tOCTPKT_HDRXL_ETH tOCTPKT_HDRXL_ETH
Ethernet alignement header Ethernet alignement header
Members: Members:
usReserved usReserved
-------------------------------------------------------------------------------------*/ -------------------------------------------------------------------------------------*/
typedef struct typedef struct
{ {
tOCT_UINT16 usReserved; tOCT_UINT16 usReserved;
} tOCTPKT_HDRXL_ETH; } tOCTPKT_HDRXL_ETH;
#endif /* __OCTPKT_HDRXL_H__ */ #endif /* __OCTPKT_HDRXL_H__ */

View File

@ -20,7 +20,7 @@ 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
#ifndef __OCTPKT_HDRXL_SWAP_H__ #ifndef __OCTPKT_HDRXL_SWAP_H__

View File

@ -1,11 +1,11 @@
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
File: OCTVC1_CTRL_API.h File: OCTVC1_CTRL_API.h
Copyright (c) 2015 Octasic Inc. All rights reserved. Copyright (c) 2015 Octasic Inc. All rights reserved.
Description: Contains the definition of the CTRL API. Description: Contains the definition of the CTRL API.
This program is free software; you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or the Free Software Foundation; either version 2 of the License, or
@ -18,50 +18,50 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License along 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
$Revision: $ $Revision: $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
#ifndef __OCTVC1_CTRL_API_H__ #ifndef __OCTVC1_CTRL_API_H__
#define __OCTVC1_CTRL_API_H__ #define __OCTVC1_CTRL_API_H__
/***************************** INCLUDE FILES *******************************/ /***************************** INCLUDE FILES *******************************/
#include "../../octdev_types.h" #include "../../octdev_types.h"
#include "../octvc1_msg.h" #include "../octvc1_msg.h"
#include "../octvc1_handle.h" #include "../octvc1_handle.h"
#include "octvc1_ctrl_id.h" #include "octvc1_ctrl_id.h"
/************************ COMMON DEFINITIONS *******************************/ /************************ COMMON DEFINITIONS *******************************/
/***************************** SUPERVISORY *************************************/ /***************************** SUPERVISORY *************************************/
/*------------------------------------------------------------------------------------- /*-------------------------------------------------------------------------------------
tOCTVC1_CTRL_MSG_MODULE_REJECT_SPV tOCTVC1_CTRL_MSG_MODULE_REJECT_SPV
OCTVC1 Reject Supervisory Command OCTVC1 Reject Supervisory Command
Members: Members:
Header Header
VocalloNet and API header. VocalloNet and API header.
ulExpectedTransactionId ulExpectedTransactionId
Transaction ID expected for this session. Transaction ID expected for this session.
ulRejectedCmdId ulRejectedCmdId
Command ID of the command rejected. Command ID of the command rejected.
-------------------------------------------------------------------------------------*/ -------------------------------------------------------------------------------------*/
typedef struct typedef struct
{ {
tOCTVC1_MSG_HEADER Header; tOCTVC1_MSG_HEADER Header;
tOCT_UINT32 ulExpectedTransactionId; tOCT_UINT32 ulExpectedTransactionId;
tOCT_UINT32 ulRejectedCmdId; tOCT_UINT32 ulRejectedCmdId;
} tOCTVC1_CTRL_MSG_MODULE_REJECT_SPV; } tOCTVC1_CTRL_MSG_MODULE_REJECT_SPV;
/*************** INCLUDE FILES WITH DEPENDENCIES ON THIS FILE **************/ /*************** INCLUDE FILES WITH DEPENDENCIES ON THIS FILE **************/
#endif /* __OCTVC1_CTRL_API_H__ */ #endif /* __OCTVC1_CTRL_API_H__ */

View File

@ -1,11 +1,11 @@
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
File: OCTVC1_CTRL_API_PRIV.h File: OCTVC1_CTRL_API_PRIV.h
Copyright (c) 2015 Octasic Inc. All rights reserved. Copyright (c) 2015 Octasic Inc. All rights reserved.
Description: Contains the definition of the CTRL API. Description: Contains the definition of the CTRL API.
This program is free software; you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or the Free Software Foundation; either version 2 of the License, or
@ -18,27 +18,27 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License along 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
$Revision: $ $Revision: $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
#ifndef __OCTVC1_CTRL_API_PRIV_H__ #ifndef __OCTVC1_CTRL_API_PRIV_H__
#define __OCTVC1_CTRL_API_PRIV_H__ #define __OCTVC1_CTRL_API_PRIV_H__
/***************************** INCLUDE FILES *******************************/ /***************************** INCLUDE FILES *******************************/
#include "octvc1_ctrl_api.h" #include "octvc1_ctrl_api.h"
#include "octvc1_ctrl_id_priv.h" #include "octvc1_ctrl_id_priv.h"
/************************ COMMON DEFINITIONS *******************************/ /************************ COMMON DEFINITIONS *******************************/
/***************************** SUPERVISORY *************************************/ /***************************** SUPERVISORY *************************************/
/*************** INCLUDE FILES WITH DEPENDENCIES ON THIS FILE **************/ /*************** INCLUDE FILES WITH DEPENDENCIES ON THIS FILE **************/
#endif /* __OCTVC1_CTRL_API_PRIV_H__ */ #endif /* __OCTVC1_CTRL_API_PRIV_H__ */

View File

@ -18,7 +18,7 @@ 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/

View File

@ -20,7 +20,7 @@ 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
#ifndef __OCTVC1_CTRL_API_SWAP_H__ #ifndef __OCTVC1_CTRL_API_SWAP_H__

View File

@ -1,11 +1,11 @@
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
File: OCTVC1_CTRL_BASE.h File: OCTVC1_CTRL_BASE.h
Copyright (c) 2015 Octasic Inc. All rights reserved. Copyright (c) 2015 Octasic Inc. All rights reserved.
Description: Contains the definition of the OCTVC1 API. Description: Contains the definition of the OCTVC1 API.
This program is free software; you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or the Free Software Foundation; either version 2 of the License, or
@ -18,33 +18,33 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License along 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
$Octasic_Revision: $ $Octasic_Revision: $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
#ifndef __OCTVC1_CTRL_BASE_H__ #ifndef __OCTVC1_CTRL_BASE_H__
#define __OCTVC1_CTRL_BASE_H__ #define __OCTVC1_CTRL_BASE_H__
/***************************** INCLUDE FILES *******************************/ /***************************** INCLUDE FILES *******************************/
#include "../octvc1_base.h" #include "../octvc1_base.h"
#include "../octvc1_generic_rc.h" #include "../octvc1_generic_rc.h"
/**************************************************************************** /****************************************************************************
Module unique identifiers Module unique identifiers
****************************************************************************/ ****************************************************************************/
#define cOCTVC1_CTRL_UID ( 0x03 ) #define cOCTVC1_CTRL_UID ( 0x03 )
/**************************************************************************** /****************************************************************************
Module identifier bases Module identifier bases
****************************************************************************/ ****************************************************************************/
/* Module: CTRL */ /* Module: CTRL */
#define cOCTVC1_CTRL_SID_BASE ( (cOCTVC1_CTRL_UID << 16) + cOCTVC1_SID_BASE ) #define cOCTVC1_CTRL_SID_BASE ( (cOCTVC1_CTRL_UID << 16) + cOCTVC1_SID_BASE )
#endif /* __OCTVC1_CTRL_BASE_H__ */ #endif /* __OCTVC1_CTRL_BASE_H__ */

View File

@ -1,11 +1,11 @@
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
File: OCTVC1_CTRL_ID.h File: OCTVC1_CTRL_ID.h
Copyright (c) 2015 Octasic Inc. All rights reserved. Copyright (c) 2015 Octasic Inc. All rights reserved.
Description: Contains the identifiers for the CTRL API. Description: Contains the identifiers for the CTRL API.
This program is free software; you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or the Free Software Foundation; either version 2 of the License, or
@ -18,30 +18,30 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License along 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
$Octasic_Revision: $ $Octasic_Revision: $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
#ifndef __OCTVC1_CTRL_ID_H__ #ifndef __OCTVC1_CTRL_ID_H__
#define __OCTVC1_CTRL_ID_H__ #define __OCTVC1_CTRL_ID_H__
/***************************** INCLUDE FILES *******************************/ /***************************** INCLUDE FILES *******************************/
#include "../octvc1_base.h" #include "../octvc1_base.h"
#include "../octvc1_generic_rc.h" #include "../octvc1_generic_rc.h"
#include "octvc1_ctrl_base.h" #include "octvc1_ctrl_base.h"
/**************************************************************************** /****************************************************************************
Supervisory IDs Supervisory IDs
****************************************************************************/ ****************************************************************************/
#define cOCTVC1_CTRL_MSG_MODULE_REJECT_SID ( 0x0001 + cOCTVC1_CTRL_SID_BASE ) #define cOCTVC1_CTRL_MSG_MODULE_REJECT_SID ( 0x0001 + cOCTVC1_CTRL_SID_BASE )
#define cOCTVC1_CTRL_SID_MAX (( 0x0001 + 1 ) & 0xFFFF) #define cOCTVC1_CTRL_SID_MAX (( 0x0001 + 1 ) & 0xFFFF)
#endif /* __OCTVC1_CTRL_ID_H__ */ #endif /* __OCTVC1_CTRL_ID_H__ */

View File

@ -1,11 +1,11 @@
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
File: OCTVC1_CTRL_ID_PRIV.h File: OCTVC1_CTRL_ID_PRIV.h
Copyright (c) 2015 Octasic Inc. All rights reserved. Copyright (c) 2015 Octasic Inc. All rights reserved.
Description: Contains the identifiers for the CTRL API. Description: Contains the identifiers for the CTRL API.
This program is free software; you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or the Free Software Foundation; either version 2 of the License, or
@ -18,26 +18,26 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License along 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
$Octasic_Revision: $ $Octasic_Revision: $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
#ifndef __OCTVC1_CTRL_ID_PRIV_H__ #ifndef __OCTVC1_CTRL_ID_PRIV_H__
#define __OCTVC1_CTRL_ID_PRIV_H__ #define __OCTVC1_CTRL_ID_PRIV_H__
/***************************** INCLUDE FILES *******************************/ /***************************** INCLUDE FILES *******************************/
#include "octvc1_ctrl_id.h" #include "octvc1_ctrl_id.h"
#include "octvc1_ctrl_base.h" #include "octvc1_ctrl_base.h"
/**************************************************************************** /****************************************************************************
Supervisory IDs Supervisory IDs
****************************************************************************/ ****************************************************************************/
#endif /* __OCTVC1_CTRL_ID_PRIV_H__ */ #endif /* __OCTVC1_CTRL_ID_PRIV_H__ */

View File

@ -1,11 +1,11 @@
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
File: OCTVC1_CTRL_VERSION.h File: OCTVC1_CTRL_VERSION.h
Copyright (c) 2015 Octasic Inc. All rights reserved. Copyright (c) 2015 Octasic Inc. All rights reserved.
Description: Contains the version of the CTRL API interface. Description: Contains the version of the CTRL API interface.
This program is free software; you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or the Free Software Foundation; either version 2 of the License, or
@ -18,34 +18,34 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License along 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
$Octasic_Revision: $ $Octasic_Revision: $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
#ifndef __OCTVC1_CTRL_VERSION_H__ #ifndef __OCTVC1_CTRL_VERSION_H__
#define __OCTVC1_CTRL_VERSION_H__ #define __OCTVC1_CTRL_VERSION_H__
/* The version ID is separated into the following sections: /* The version ID is separated into the following sections:
bit[31:25]: Major version bit[31:25]: Major version
bit[24:18]: Minor version bit[24:18]: Minor version
bit[17:11]: Bug fix version bit[17:11]: Bug fix version
bit[10:0]: Build number bit[10:0]: Build number
*/ */
#define cOCTVC1_CTRL_VERSION_MAJOR 2 #define cOCTVC1_CTRL_VERSION_MAJOR 2
#define cOCTVC1_CTRL_VERSION_MINOR 2 #define cOCTVC1_CTRL_VERSION_MINOR 3
#define cOCTVC1_CTRL_VERSION_MAINTENANCE 4 #define cOCTVC1_CTRL_VERSION_MAINTENANCE 0
#define cOCTVC1_CTRL_VERSION_BUILD 403 #define cOCTVC1_CTRL_VERSION_BUILD 572
#define cOCTVC1_CTRL_VERSION_ID ( (cOCTVC1_CTRL_VERSION_MAJOR << 25) + \ #define cOCTVC1_CTRL_VERSION_ID ( (cOCTVC1_CTRL_VERSION_MAJOR << 25) + \
(cOCTVC1_CTRL_VERSION_MINOR << 18) + \ (cOCTVC1_CTRL_VERSION_MINOR << 18) + \
(cOCTVC1_CTRL_VERSION_MAINTENANCE << 11) + \ (cOCTVC1_CTRL_VERSION_MAINTENANCE << 11) + \
cOCTVC1_CTRL_VERSION_BUILD ) cOCTVC1_CTRL_VERSION_BUILD )
#endif /* __OCTVC1_CTRL_VERSION_H__ */ #endif /* __OCTVC1_CTRL_VERSION_H__ */

File diff suppressed because it is too large Load Diff

View File

@ -1,11 +1,11 @@
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
File: OCTVC1_GSM_API_PRIV.h File: OCTVC1_GSM_API_PRIV.h
Copyright (c) 2015 Octasic Inc. All rights reserved. Copyright (c) 2015 Octasic Inc. All rights reserved.
Description: Contains the definition of the GSM API. Description: Contains the definition of the GSM API.
This program is free software; you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or the Free Software Foundation; either version 2 of the License, or
@ -18,29 +18,32 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License along 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
$Revision: $ $Revision: $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
#ifndef __OCTVC1_GSM_API_PRIV_H__ #ifndef __OCTVC1_GSM_API_PRIV_H__
#define __OCTVC1_GSM_API_PRIV_H__ #define __OCTVC1_GSM_API_PRIV_H__
/***************************** INCLUDE FILES *******************************/ /***************************** INCLUDE FILES *******************************/
#include "octvc1_gsm_api.h" #include "octvc1_gsm_api.h"
#include "octvc1_gsm_id_priv.h" #include "octvc1_gsm_id_priv.h"
#include "octvc1_gsm_rc_priv.h" #include "octvc1_gsm_rc_priv.h"
/************************ COMMON DEFINITIONS *******************************/ /************************ COMMON DEFINITIONS *******************************/
/***************************** METHODS *************************************/
/*************** INCLUDE FILES WITH DEPENDENCIES ON THIS FILE **************/
#include "octvc1_gsm_evt_priv.h" /***************************** METHODS *************************************/
#endif /* __OCTVC1_GSM_API_PRIV_H__ */ /*************** INCLUDE FILES WITH DEPENDENCIES ON THIS FILE **************/
#include "octvc1_gsm_evt_priv.h"
#endif /* __OCTVC1_GSM_API_PRIV_H__ */

View File

@ -18,7 +18,7 @@ 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/

View File

@ -20,7 +20,7 @@ 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
#ifndef __OCTVC1_GSM_API_SWAP_H__ #ifndef __OCTVC1_GSM_API_SWAP_H__
@ -323,16 +323,22 @@ extern "C" {
#if defined( _OCT_ENDIAN_TYPE_LE_ ) #if defined( _OCT_ENDIAN_TYPE_LE_ )
#define mOCTVC1_GSM_MEASUREMENT_INFO_SWAP( _f_pParms ){ tOCTVC1_GSM_MEASUREMENT_INFO * pOCTVC1_GSM_MEASUREMENT_INFO = (_f_pParms); SWAP_UNUSED(pOCTVC1_GSM_MEASUREMENT_INFO)\ #define mOCTVC1_GSM_MEASUREMENT_INFO_SWAP( _f_pParms ){ tOCTVC1_GSM_MEASUREMENT_INFO * pOCTVC1_GSM_MEASUREMENT_INFO = (_f_pParms); SWAP_UNUSED(pOCTVC1_GSM_MEASUREMENT_INFO)\
((tOCTVC1_GSM_MEASUREMENT_INFO *)pOCTVC1_GSM_MEASUREMENT_INFO)->sSNR = \ ((tOCTVC1_GSM_MEASUREMENT_INFO *)pOCTVC1_GSM_MEASUREMENT_INFO)->sSNRDb = \
mOCT_SWAP16_IF_LE(((tOCTVC1_GSM_MEASUREMENT_INFO *)pOCTVC1_GSM_MEASUREMENT_INFO)->sSNR); \ mOCT_SWAP16_IF_LE(((tOCTVC1_GSM_MEASUREMENT_INFO *)pOCTVC1_GSM_MEASUREMENT_INFO)->sSNRDb); \
((tOCTVC1_GSM_MEASUREMENT_INFO *)pOCTVC1_GSM_MEASUREMENT_INFO)->sRSSI = \ ((tOCTVC1_GSM_MEASUREMENT_INFO *)pOCTVC1_GSM_MEASUREMENT_INFO)->sRSSIDbm = \
mOCT_SWAP16_IF_LE(((tOCTVC1_GSM_MEASUREMENT_INFO *)pOCTVC1_GSM_MEASUREMENT_INFO)->sRSSI); \ mOCT_SWAP16_IF_LE(((tOCTVC1_GSM_MEASUREMENT_INFO *)pOCTVC1_GSM_MEASUREMENT_INFO)->sRSSIDbm); \
((tOCTVC1_GSM_MEASUREMENT_INFO *)pOCTVC1_GSM_MEASUREMENT_INFO)->sBurstTiming = \ ((tOCTVC1_GSM_MEASUREMENT_INFO *)pOCTVC1_GSM_MEASUREMENT_INFO)->sBurstTiming = \
mOCT_SWAP16_IF_LE(((tOCTVC1_GSM_MEASUREMENT_INFO *)pOCTVC1_GSM_MEASUREMENT_INFO)->sBurstTiming); \ mOCT_SWAP16_IF_LE(((tOCTVC1_GSM_MEASUREMENT_INFO *)pOCTVC1_GSM_MEASUREMENT_INFO)->sBurstTiming); \
((tOCTVC1_GSM_MEASUREMENT_INFO *)pOCTVC1_GSM_MEASUREMENT_INFO)->usBERCount = \ ((tOCTVC1_GSM_MEASUREMENT_INFO *)pOCTVC1_GSM_MEASUREMENT_INFO)->sBurstTiming4x = \
mOCT_SWAP16_IF_LE(((tOCTVC1_GSM_MEASUREMENT_INFO *)pOCTVC1_GSM_MEASUREMENT_INFO)->usBERCount); \ mOCT_SWAP16_IF_LE(((tOCTVC1_GSM_MEASUREMENT_INFO *)pOCTVC1_GSM_MEASUREMENT_INFO)->sBurstTiming4x); \
((tOCTVC1_GSM_MEASUREMENT_INFO *)pOCTVC1_GSM_MEASUREMENT_INFO)->usBERTOtalBitCOunt = \ ((tOCTVC1_GSM_MEASUREMENT_INFO *)pOCTVC1_GSM_MEASUREMENT_INFO)->usBERCnt = \
mOCT_SWAP16_IF_LE(((tOCTVC1_GSM_MEASUREMENT_INFO *)pOCTVC1_GSM_MEASUREMENT_INFO)->usBERTOtalBitCOunt); \ mOCT_SWAP16_IF_LE(((tOCTVC1_GSM_MEASUREMENT_INFO *)pOCTVC1_GSM_MEASUREMENT_INFO)->usBERCnt); \
((tOCTVC1_GSM_MEASUREMENT_INFO *)pOCTVC1_GSM_MEASUREMENT_INFO)->usBERTotalBitCnt = \
mOCT_SWAP16_IF_LE(((tOCTVC1_GSM_MEASUREMENT_INFO *)pOCTVC1_GSM_MEASUREMENT_INFO)->usBERTotalBitCnt); \
((tOCTVC1_GSM_MEASUREMENT_INFO *)pOCTVC1_GSM_MEASUREMENT_INFO)->usRxQualFullUp = \
mOCT_SWAP16_IF_LE(((tOCTVC1_GSM_MEASUREMENT_INFO *)pOCTVC1_GSM_MEASUREMENT_INFO)->usRxQualFullUp); \
((tOCTVC1_GSM_MEASUREMENT_INFO *)pOCTVC1_GSM_MEASUREMENT_INFO)->usRxLevelFullUp = \
mOCT_SWAP16_IF_LE(((tOCTVC1_GSM_MEASUREMENT_INFO *)pOCTVC1_GSM_MEASUREMENT_INFO)->usRxLevelFullUp); \
} }
#else #else
#define mOCTVC1_GSM_MEASUREMENT_INFO_SWAP( pOCTVC1_GSM_MEASUREMENT_INFO ) #define mOCTVC1_GSM_MEASUREMENT_INFO_SWAP( pOCTVC1_GSM_MEASUREMENT_INFO )
@ -340,22 +346,24 @@ extern "C" {
#if defined( _OCT_ENDIAN_TYPE_LE_ ) #if defined( _OCT_ENDIAN_TYPE_LE_ )
#define mOCTVC1_GSM_RAW_MEASUREMENT_INFO_SWAP( _f_pParms ){ tOCTVC1_GSM_RAW_MEASUREMENT_INFO * pOCTVC1_GSM_RAW_MEASUREMENT_INFO = (_f_pParms); SWAP_UNUSED(pOCTVC1_GSM_RAW_MEASUREMENT_INFO)\ #define mOCTVC1_GSM_RAW_MEASUREMENT_INFO_SWAP( _f_pParms ){ tOCTVC1_GSM_RAW_MEASUREMENT_INFO * pOCTVC1_GSM_RAW_MEASUREMENT_INFO = (_f_pParms); SWAP_UNUSED(pOCTVC1_GSM_RAW_MEASUREMENT_INFO)\
((tOCTVC1_GSM_RAW_MEASUREMENT_INFO *)pOCTVC1_GSM_RAW_MEASUREMENT_INFO)->sSNR = \ ((tOCTVC1_GSM_RAW_MEASUREMENT_INFO *)pOCTVC1_GSM_RAW_MEASUREMENT_INFO)->sSNRDb = \
mOCT_SWAP16_IF_LE(((tOCTVC1_GSM_RAW_MEASUREMENT_INFO *)pOCTVC1_GSM_RAW_MEASUREMENT_INFO)->sSNR); \ mOCT_SWAP16_IF_LE(((tOCTVC1_GSM_RAW_MEASUREMENT_INFO *)pOCTVC1_GSM_RAW_MEASUREMENT_INFO)->sSNRDb); \
((tOCTVC1_GSM_RAW_MEASUREMENT_INFO *)pOCTVC1_GSM_RAW_MEASUREMENT_INFO)->sRSSI = \ ((tOCTVC1_GSM_RAW_MEASUREMENT_INFO *)pOCTVC1_GSM_RAW_MEASUREMENT_INFO)->sRSSIDbm = \
mOCT_SWAP16_IF_LE(((tOCTVC1_GSM_RAW_MEASUREMENT_INFO *)pOCTVC1_GSM_RAW_MEASUREMENT_INFO)->sRSSI); \ mOCT_SWAP16_IF_LE(((tOCTVC1_GSM_RAW_MEASUREMENT_INFO *)pOCTVC1_GSM_RAW_MEASUREMENT_INFO)->sRSSIDbm); \
((tOCTVC1_GSM_RAW_MEASUREMENT_INFO *)pOCTVC1_GSM_RAW_MEASUREMENT_INFO)->sBurstTiming = \ ((tOCTVC1_GSM_RAW_MEASUREMENT_INFO *)pOCTVC1_GSM_RAW_MEASUREMENT_INFO)->sBurstTiming = \
mOCT_SWAP16_IF_LE(((tOCTVC1_GSM_RAW_MEASUREMENT_INFO *)pOCTVC1_GSM_RAW_MEASUREMENT_INFO)->sBurstTiming); \ mOCT_SWAP16_IF_LE(((tOCTVC1_GSM_RAW_MEASUREMENT_INFO *)pOCTVC1_GSM_RAW_MEASUREMENT_INFO)->sBurstTiming); \
((tOCTVC1_GSM_RAW_MEASUREMENT_INFO *)pOCTVC1_GSM_RAW_MEASUREMENT_INFO)->usBERCount = \ ((tOCTVC1_GSM_RAW_MEASUREMENT_INFO *)pOCTVC1_GSM_RAW_MEASUREMENT_INFO)->sBurstTiming4x = \
mOCT_SWAP16_IF_LE(((tOCTVC1_GSM_RAW_MEASUREMENT_INFO *)pOCTVC1_GSM_RAW_MEASUREMENT_INFO)->usBERCount); \ mOCT_SWAP16_IF_LE(((tOCTVC1_GSM_RAW_MEASUREMENT_INFO *)pOCTVC1_GSM_RAW_MEASUREMENT_INFO)->sBurstTiming4x); \
((tOCTVC1_GSM_RAW_MEASUREMENT_INFO *)pOCTVC1_GSM_RAW_MEASUREMENT_INFO)->usBERTOtalBitCOunt = \ ((tOCTVC1_GSM_RAW_MEASUREMENT_INFO *)pOCTVC1_GSM_RAW_MEASUREMENT_INFO)->usBERCnt = \
mOCT_SWAP16_IF_LE(((tOCTVC1_GSM_RAW_MEASUREMENT_INFO *)pOCTVC1_GSM_RAW_MEASUREMENT_INFO)->usBERTOtalBitCOunt); \ mOCT_SWAP16_IF_LE(((tOCTVC1_GSM_RAW_MEASUREMENT_INFO *)pOCTVC1_GSM_RAW_MEASUREMENT_INFO)->usBERCnt); \
((tOCTVC1_GSM_RAW_MEASUREMENT_INFO *)pOCTVC1_GSM_RAW_MEASUREMENT_INFO)->usTrnSqErrorCount = \ ((tOCTVC1_GSM_RAW_MEASUREMENT_INFO *)pOCTVC1_GSM_RAW_MEASUREMENT_INFO)->usBERTotalBitCnt = \
mOCT_SWAP16_IF_LE(((tOCTVC1_GSM_RAW_MEASUREMENT_INFO *)pOCTVC1_GSM_RAW_MEASUREMENT_INFO)->usTrnSqErrorCount); \ mOCT_SWAP16_IF_LE(((tOCTVC1_GSM_RAW_MEASUREMENT_INFO *)pOCTVC1_GSM_RAW_MEASUREMENT_INFO)->usBERTotalBitCnt); \
((tOCTVC1_GSM_RAW_MEASUREMENT_INFO *)pOCTVC1_GSM_RAW_MEASUREMENT_INFO)->usTrnSqTotalBitCount = \ ((tOCTVC1_GSM_RAW_MEASUREMENT_INFO *)pOCTVC1_GSM_RAW_MEASUREMENT_INFO)->usTrSqErrCnt = \
mOCT_SWAP16_IF_LE(((tOCTVC1_GSM_RAW_MEASUREMENT_INFO *)pOCTVC1_GSM_RAW_MEASUREMENT_INFO)->usTrnSqTotalBitCount); \ mOCT_SWAP16_IF_LE(((tOCTVC1_GSM_RAW_MEASUREMENT_INFO *)pOCTVC1_GSM_RAW_MEASUREMENT_INFO)->usTrSqErrCnt); \
((tOCTVC1_GSM_RAW_MEASUREMENT_INFO *)pOCTVC1_GSM_RAW_MEASUREMENT_INFO)->sfrquencyError = \ ((tOCTVC1_GSM_RAW_MEASUREMENT_INFO *)pOCTVC1_GSM_RAW_MEASUREMENT_INFO)->usTrSqTotalBitCnt = \
mOCT_SWAP16_IF_LE(((tOCTVC1_GSM_RAW_MEASUREMENT_INFO *)pOCTVC1_GSM_RAW_MEASUREMENT_INFO)->sfrquencyError); \ mOCT_SWAP16_IF_LE(((tOCTVC1_GSM_RAW_MEASUREMENT_INFO *)pOCTVC1_GSM_RAW_MEASUREMENT_INFO)->usTrSqTotalBitCnt); \
((tOCTVC1_GSM_RAW_MEASUREMENT_INFO *)pOCTVC1_GSM_RAW_MEASUREMENT_INFO)->sFreqErrHz = \
mOCT_SWAP16_IF_LE(((tOCTVC1_GSM_RAW_MEASUREMENT_INFO *)pOCTVC1_GSM_RAW_MEASUREMENT_INFO)->sFreqErrHz); \
} }
#else #else
#define mOCTVC1_GSM_RAW_MEASUREMENT_INFO_SWAP( pOCTVC1_GSM_RAW_MEASUREMENT_INFO ) #define mOCTVC1_GSM_RAW_MEASUREMENT_INFO_SWAP( pOCTVC1_GSM_RAW_MEASUREMENT_INFO )
@ -432,6 +440,122 @@ extern "C" {
#define mOCTVC1_GSM_SCHED_STATUS_SWAP( pOCTVC1_GSM_SCHED_STATUS ) #define mOCTVC1_GSM_SCHED_STATUS_SWAP( pOCTVC1_GSM_SCHED_STATUS )
#endif /* _OCT_ENDIAN_TYPE_LE_ */ #endif /* _OCT_ENDIAN_TYPE_LE_ */
#if defined( _OCT_ENDIAN_TYPE_LE_ )
#define mOCTVC1_GSM_TAP_FILTER_TYPE_ENUM_SWAP( pType ){ \
*((tOCT_UINT32 *)pType) = mOCT_SWAP32_IF_LE( *((tOCT_UINT32 *)pType) ); }
#else
#define mOCTVC1_GSM_TAP_FILTER_TYPE_ENUM_SWAP( pType )
#endif /* _OCT_ENDIAN_TYPE_LE_ */
#if defined( _OCT_ENDIAN_TYPE_LE_ )
#define mOCTVC1_GSM_TAP_FILTER_PHYSICAL_CHANNEL_ENTRY_SWAP( _f_pParms ){ tOCTVC1_GSM_TAP_FILTER_PHYSICAL_CHANNEL_ENTRY * pOCTVC1_GSM_TAP_FILTER_PHYSICAL_CHANNEL_ENTRY = (_f_pParms); SWAP_UNUSED(pOCTVC1_GSM_TAP_FILTER_PHYSICAL_CHANNEL_ENTRY)\
{ mOCTVC1_GSM_TRX_ID_SWAP( &((tOCTVC1_GSM_TAP_FILTER_PHYSICAL_CHANNEL_ENTRY *)pOCTVC1_GSM_TAP_FILTER_PHYSICAL_CHANNEL_ENTRY)->TrxId ); } \
{ mOCTVC1_GSM_PHYSICAL_CHANNEL_ID_SWAP( &((tOCTVC1_GSM_TAP_FILTER_PHYSICAL_CHANNEL_ENTRY *)pOCTVC1_GSM_TAP_FILTER_PHYSICAL_CHANNEL_ENTRY)->PchId ); } \
}
#else
#define mOCTVC1_GSM_TAP_FILTER_PHYSICAL_CHANNEL_ENTRY_SWAP( pOCTVC1_GSM_TAP_FILTER_PHYSICAL_CHANNEL_ENTRY )
#endif /* _OCT_ENDIAN_TYPE_LE_ */
#if defined( _OCT_ENDIAN_TYPE_LE_ )
#define mOCTVC1_GSM_TAP_FILTER_LOGICAL_CHANNEL_ENTRY_SWAP( _f_pParms ){ tOCTVC1_GSM_TAP_FILTER_LOGICAL_CHANNEL_ENTRY * pOCTVC1_GSM_TAP_FILTER_LOGICAL_CHANNEL_ENTRY = (_f_pParms); SWAP_UNUSED(pOCTVC1_GSM_TAP_FILTER_LOGICAL_CHANNEL_ENTRY)\
{ mOCTVC1_GSM_TRX_ID_SWAP( &((tOCTVC1_GSM_TAP_FILTER_LOGICAL_CHANNEL_ENTRY *)pOCTVC1_GSM_TAP_FILTER_LOGICAL_CHANNEL_ENTRY)->TrxId ); } \
{ mOCTVC1_GSM_LOGICAL_CHANNEL_ID_SWAP( &((tOCTVC1_GSM_TAP_FILTER_LOGICAL_CHANNEL_ENTRY *)pOCTVC1_GSM_TAP_FILTER_LOGICAL_CHANNEL_ENTRY)->LchId ); } \
}
#else
#define mOCTVC1_GSM_TAP_FILTER_LOGICAL_CHANNEL_ENTRY_SWAP( pOCTVC1_GSM_TAP_FILTER_LOGICAL_CHANNEL_ENTRY )
#endif /* _OCT_ENDIAN_TYPE_LE_ */
#if defined( _OCT_ENDIAN_TYPE_LE_ )
#define mOCTVC1_GSM_TAP_FILTER_MASK_SWAP( pType ){ \
*((tOCT_UINT32 *)pType) = mOCT_SWAP32_IF_LE( *((tOCT_UINT32 *)pType) ); }
#else
#define mOCTVC1_GSM_TAP_FILTER_MASK_SWAP( pType )
#endif /* _OCT_ENDIAN_TYPE_LE_ */
#if defined( _OCT_ENDIAN_TYPE_LE_ )
#define mOCTVC1_GSM_TAP_FILTER_TRX_SWAP( _f_pParms ){ tOCTVC1_GSM_TAP_FILTER_TRX * pOCTVC1_GSM_TAP_FILTER_TRX = (_f_pParms); SWAP_UNUSED(pOCTVC1_GSM_TAP_FILTER_TRX)\
((tOCTVC1_GSM_TAP_FILTER_TRX *)pOCTVC1_GSM_TAP_FILTER_TRX)->ulAllTrxFlag = \
mOCT_SWAP32_IF_LE(((tOCTVC1_GSM_TAP_FILTER_TRX *)pOCTVC1_GSM_TAP_FILTER_TRX)->ulAllTrxFlag); \
{ mOCTVC1_GSM_TRX_ID_SWAP( &((tOCTVC1_GSM_TAP_FILTER_TRX *)pOCTVC1_GSM_TAP_FILTER_TRX)->TrxId ); } \
}
#else
#define mOCTVC1_GSM_TAP_FILTER_TRX_SWAP( pOCTVC1_GSM_TAP_FILTER_TRX )
#endif /* _OCT_ENDIAN_TYPE_LE_ */
#if defined( _OCT_ENDIAN_TYPE_LE_ )
#define mOCTVC1_GSM_TAP_FILTER_PHYSICAL_CHANNEL_SWAP( _f_pParms ){ tOCTVC1_GSM_TAP_FILTER_PHYSICAL_CHANNEL * pOCTVC1_GSM_TAP_FILTER_PHYSICAL_CHANNEL = (_f_pParms); SWAP_UNUSED(pOCTVC1_GSM_TAP_FILTER_PHYSICAL_CHANNEL)\
((tOCTVC1_GSM_TAP_FILTER_PHYSICAL_CHANNEL *)pOCTVC1_GSM_TAP_FILTER_PHYSICAL_CHANNEL)->ulEntryCnt = \
mOCT_SWAP32_IF_LE(((tOCTVC1_GSM_TAP_FILTER_PHYSICAL_CHANNEL *)pOCTVC1_GSM_TAP_FILTER_PHYSICAL_CHANNEL)->ulEntryCnt); \
{ tOCT_UINT32 jOCTVC1_GSM_TAP_FILTER_PHYSICAL_CHANNEL; \
for( jOCTVC1_GSM_TAP_FILTER_PHYSICAL_CHANNEL=0; \
jOCTVC1_GSM_TAP_FILTER_PHYSICAL_CHANNEL<(cOCTVC1_GSM_TAP_FILTER_PHYSICAL_CHANNEL_ENTRY_COUNT_MAX);jOCTVC1_GSM_TAP_FILTER_PHYSICAL_CHANNEL++ ) \
{ mOCTVC1_GSM_TAP_FILTER_PHYSICAL_CHANNEL_ENTRY_SWAP( &((tOCTVC1_GSM_TAP_FILTER_PHYSICAL_CHANNEL *)pOCTVC1_GSM_TAP_FILTER_PHYSICAL_CHANNEL)->aEntry[jOCTVC1_GSM_TAP_FILTER_PHYSICAL_CHANNEL] ); }} \
}
#else
#define mOCTVC1_GSM_TAP_FILTER_PHYSICAL_CHANNEL_SWAP( pOCTVC1_GSM_TAP_FILTER_PHYSICAL_CHANNEL )
#endif /* _OCT_ENDIAN_TYPE_LE_ */
#if defined( _OCT_ENDIAN_TYPE_LE_ )
#define mOCTVC1_GSM_TAP_FILTER_LOGICAL_CHANNEL_SWAP( _f_pParms ){ tOCTVC1_GSM_TAP_FILTER_LOGICAL_CHANNEL * pOCTVC1_GSM_TAP_FILTER_LOGICAL_CHANNEL = (_f_pParms); SWAP_UNUSED(pOCTVC1_GSM_TAP_FILTER_LOGICAL_CHANNEL)\
((tOCTVC1_GSM_TAP_FILTER_LOGICAL_CHANNEL *)pOCTVC1_GSM_TAP_FILTER_LOGICAL_CHANNEL)->ulEntryCnt = \
mOCT_SWAP32_IF_LE(((tOCTVC1_GSM_TAP_FILTER_LOGICAL_CHANNEL *)pOCTVC1_GSM_TAP_FILTER_LOGICAL_CHANNEL)->ulEntryCnt); \
{ tOCT_UINT32 jOCTVC1_GSM_TAP_FILTER_LOGICAL_CHANNEL; \
for( jOCTVC1_GSM_TAP_FILTER_LOGICAL_CHANNEL=0; \
jOCTVC1_GSM_TAP_FILTER_LOGICAL_CHANNEL<(cOCTVC1_GSM_TAP_FILTER_LOGICAL_CHANNEL_ENTRY_COUNT_MAX);jOCTVC1_GSM_TAP_FILTER_LOGICAL_CHANNEL++ ) \
{ mOCTVC1_GSM_TAP_FILTER_LOGICAL_CHANNEL_ENTRY_SWAP( &((tOCTVC1_GSM_TAP_FILTER_LOGICAL_CHANNEL *)pOCTVC1_GSM_TAP_FILTER_LOGICAL_CHANNEL)->aEntry[jOCTVC1_GSM_TAP_FILTER_LOGICAL_CHANNEL] ); }} \
}
#else
#define mOCTVC1_GSM_TAP_FILTER_LOGICAL_CHANNEL_SWAP( pOCTVC1_GSM_TAP_FILTER_LOGICAL_CHANNEL )
#endif /* _OCT_ENDIAN_TYPE_LE_ */
#if defined( _OCT_ENDIAN_TYPE_LE_ )
#define mOCTVC1_GSM_TAP_FILTER_SWAP( _f_pParms ){ tOCTVC1_GSM_TAP_FILTER * pOCTVC1_GSM_TAP_FILTER = (_f_pParms); SWAP_UNUSED(pOCTVC1_GSM_TAP_FILTER)\
{ mOCTVC1_GSM_TAP_FILTER_TYPE_ENUM_SWAP( &((tOCTVC1_GSM_TAP_FILTER *)pOCTVC1_GSM_TAP_FILTER)->ulType ); } \
{ mOCTVC1_GSM_TAP_FILTER_MASK_SWAP( &((tOCTVC1_GSM_TAP_FILTER *)pOCTVC1_GSM_TAP_FILTER)->ulMask ); } \
{ mOCTVC1_GSM_TAP_FILTER_TRX_SWAP( &((tOCTVC1_GSM_TAP_FILTER *)pOCTVC1_GSM_TAP_FILTER)->Trx ); } \
{ mOCTVC1_GSM_TAP_FILTER_PHYSICAL_CHANNEL_SWAP( &((tOCTVC1_GSM_TAP_FILTER *)pOCTVC1_GSM_TAP_FILTER)->PhysicalChannel ); } \
{ mOCTVC1_GSM_TAP_FILTER_LOGICAL_CHANNEL_SWAP( &((tOCTVC1_GSM_TAP_FILTER *)pOCTVC1_GSM_TAP_FILTER)->LogicalChannel ); } \
}
#else
#define mOCTVC1_GSM_TAP_FILTER_SWAP( pOCTVC1_GSM_TAP_FILTER )
#endif /* _OCT_ENDIAN_TYPE_LE_ */
#if defined( _OCT_ENDIAN_TYPE_LE_ )
#define mOCTVC1_GSM_TAP_FILTER_STATS_SWAP( _f_pParms ){ tOCTVC1_GSM_TAP_FILTER_STATS * pOCTVC1_GSM_TAP_FILTER_STATS = (_f_pParms); SWAP_UNUSED(pOCTVC1_GSM_TAP_FILTER_STATS)\
((tOCTVC1_GSM_TAP_FILTER_STATS *)pOCTVC1_GSM_TAP_FILTER_STATS)->ulTapIdCnt = \
mOCT_SWAP32_IF_LE(((tOCTVC1_GSM_TAP_FILTER_STATS *)pOCTVC1_GSM_TAP_FILTER_STATS)->ulTapIdCnt); \
{ tOCT_UINT32 iOCTVC1_GSM_TAP_FILTER_STATS; \
for( iOCTVC1_GSM_TAP_FILTER_STATS=0; \
iOCTVC1_GSM_TAP_FILTER_STATS<(cOCTVC1_GSM_TAP_FILTER_TAP_COUNT_MAX);iOCTVC1_GSM_TAP_FILTER_STATS++ ) \
((tOCTVC1_GSM_TAP_FILTER_STATS *)pOCTVC1_GSM_TAP_FILTER_STATS)->ahTapId[iOCTVC1_GSM_TAP_FILTER_STATS] = \
mOCT_SWAP32_IF_LE(((tOCTVC1_GSM_TAP_FILTER_STATS *)pOCTVC1_GSM_TAP_FILTER_STATS)->ahTapId[iOCTVC1_GSM_TAP_FILTER_STATS]);}\
}
#else
#define mOCTVC1_GSM_TAP_FILTER_STATS_SWAP( pOCTVC1_GSM_TAP_FILTER_STATS )
#endif /* _OCT_ENDIAN_TYPE_LE_ */
#if defined( _OCT_ENDIAN_TYPE_LE_ )
#define mOCTVC1_GSM_MODULE_DATA_RF_UPLINK_INPUT_HEADER_SWAP( _f_pParms ){ tOCTVC1_GSM_MODULE_DATA_RF_UPLINK_INPUT_HEADER * pOCTVC1_GSM_MODULE_DATA_RF_UPLINK_INPUT_HEADER = (_f_pParms); SWAP_UNUSED(pOCTVC1_GSM_MODULE_DATA_RF_UPLINK_INPUT_HEADER)\
{ mOCTVC1_MODULE_DATA_SWAP( &((tOCTVC1_GSM_MODULE_DATA_RF_UPLINK_INPUT_HEADER *)pOCTVC1_GSM_MODULE_DATA_RF_UPLINK_INPUT_HEADER)->ModuleData ); } \
{ mOCTVC1_GSM_TRX_ID_SWAP( &((tOCTVC1_GSM_MODULE_DATA_RF_UPLINK_INPUT_HEADER *)pOCTVC1_GSM_MODULE_DATA_RF_UPLINK_INPUT_HEADER)->TrxId ); } \
{ mOCTVC1_GSM_LOGICAL_CHANNEL_ID_SWAP( &((tOCTVC1_GSM_MODULE_DATA_RF_UPLINK_INPUT_HEADER *)pOCTVC1_GSM_MODULE_DATA_RF_UPLINK_INPUT_HEADER)->LchId ); } \
((tOCTVC1_GSM_MODULE_DATA_RF_UPLINK_INPUT_HEADER *)pOCTVC1_GSM_MODULE_DATA_RF_UPLINK_INPUT_HEADER)->ulAntennaIndex = \
mOCT_SWAP32_IF_LE(((tOCTVC1_GSM_MODULE_DATA_RF_UPLINK_INPUT_HEADER *)pOCTVC1_GSM_MODULE_DATA_RF_UPLINK_INPUT_HEADER)->ulAntennaIndex); \
((tOCTVC1_GSM_MODULE_DATA_RF_UPLINK_INPUT_HEADER *)pOCTVC1_GSM_MODULE_DATA_RF_UPLINK_INPUT_HEADER)->ulFrameNumber = \
mOCT_SWAP32_IF_LE(((tOCTVC1_GSM_MODULE_DATA_RF_UPLINK_INPUT_HEADER *)pOCTVC1_GSM_MODULE_DATA_RF_UPLINK_INPUT_HEADER)->ulFrameNumber); \
((tOCTVC1_GSM_MODULE_DATA_RF_UPLINK_INPUT_HEADER *)pOCTVC1_GSM_MODULE_DATA_RF_UPLINK_INPUT_HEADER)->ulPower = \
mOCT_SWAP32_IF_LE(((tOCTVC1_GSM_MODULE_DATA_RF_UPLINK_INPUT_HEADER *)pOCTVC1_GSM_MODULE_DATA_RF_UPLINK_INPUT_HEADER)->ulPower); \
((tOCTVC1_GSM_MODULE_DATA_RF_UPLINK_INPUT_HEADER *)pOCTVC1_GSM_MODULE_DATA_RF_UPLINK_INPUT_HEADER)->ulDataSizeInBytes = \
mOCT_SWAP32_IF_LE(((tOCTVC1_GSM_MODULE_DATA_RF_UPLINK_INPUT_HEADER *)pOCTVC1_GSM_MODULE_DATA_RF_UPLINK_INPUT_HEADER)->ulDataSizeInBytes); \
}
#else
#define mOCTVC1_GSM_MODULE_DATA_RF_UPLINK_INPUT_HEADER_SWAP( pOCTVC1_GSM_MODULE_DATA_RF_UPLINK_INPUT_HEADER )
#endif /* _OCT_ENDIAN_TYPE_LE_ */
#if defined( _OCT_ENDIAN_TYPE_LE_ ) #if defined( _OCT_ENDIAN_TYPE_LE_ )
#define mOCTVC1_GSM_MSG_TRX_OPEN_CMD_SWAP( _f_pParms ){ tOCTVC1_GSM_MSG_TRX_OPEN_CMD * pOCTVC1_GSM_MSG_TRX_OPEN_CMD = (_f_pParms); SWAP_UNUSED(pOCTVC1_GSM_MSG_TRX_OPEN_CMD)\ #define mOCTVC1_GSM_MSG_TRX_OPEN_CMD_SWAP( _f_pParms ){ tOCTVC1_GSM_MSG_TRX_OPEN_CMD * pOCTVC1_GSM_MSG_TRX_OPEN_CMD = (_f_pParms); SWAP_UNUSED(pOCTVC1_GSM_MSG_TRX_OPEN_CMD)\
{ mOCTVC1_MSG_HEADER_SWAP( &((tOCTVC1_GSM_MSG_TRX_OPEN_CMD *)pOCTVC1_GSM_MSG_TRX_OPEN_CMD)->Header ); } \ { mOCTVC1_MSG_HEADER_SWAP( &((tOCTVC1_GSM_MSG_TRX_OPEN_CMD *)pOCTVC1_GSM_MSG_TRX_OPEN_CMD)->Header ); } \
@ -1029,6 +1153,88 @@ extern "C" {
#define mOCTVC1_GSM_MSG_TRX_MODIFY_RF_RSP_SWAP( pOCTVC1_GSM_MSG_TRX_MODIFY_RF_RSP ) #define mOCTVC1_GSM_MSG_TRX_MODIFY_RF_RSP_SWAP( pOCTVC1_GSM_MSG_TRX_MODIFY_RF_RSP )
#endif /* _OCT_ENDIAN_TYPE_LE_ */ #endif /* _OCT_ENDIAN_TYPE_LE_ */
#if defined( _OCT_ENDIAN_TYPE_LE_ )
#define mOCTVC1_GSM_MSG_TAP_FILTER_LIST_CMD_SWAP( _f_pParms ){ tOCTVC1_GSM_MSG_TAP_FILTER_LIST_CMD * pOCTVC1_GSM_MSG_TAP_FILTER_LIST_CMD = (_f_pParms); SWAP_UNUSED(pOCTVC1_GSM_MSG_TAP_FILTER_LIST_CMD)\
{ mOCTVC1_MSG_HEADER_SWAP( &((tOCTVC1_GSM_MSG_TAP_FILTER_LIST_CMD *)pOCTVC1_GSM_MSG_TAP_FILTER_LIST_CMD)->Header ); } \
{ mOCTVC1_CURSOR_INDEX_GET_SWAP( &((tOCTVC1_GSM_MSG_TAP_FILTER_LIST_CMD *)pOCTVC1_GSM_MSG_TAP_FILTER_LIST_CMD)->IndexGet ); } \
}
#else
#define mOCTVC1_GSM_MSG_TAP_FILTER_LIST_CMD_SWAP( pOCTVC1_GSM_MSG_TAP_FILTER_LIST_CMD )
#endif /* _OCT_ENDIAN_TYPE_LE_ */
#if defined( _OCT_ENDIAN_TYPE_LE_ )
#define mOCTVC1_GSM_MSG_TAP_FILTER_LIST_RSP_SWAP( _f_pParms ){ tOCTVC1_GSM_MSG_TAP_FILTER_LIST_RSP * pOCTVC1_GSM_MSG_TAP_FILTER_LIST_RSP = (_f_pParms); SWAP_UNUSED(pOCTVC1_GSM_MSG_TAP_FILTER_LIST_RSP)\
{ mOCTVC1_MSG_HEADER_SWAP( &((tOCTVC1_GSM_MSG_TAP_FILTER_LIST_RSP *)pOCTVC1_GSM_MSG_TAP_FILTER_LIST_RSP)->Header ); } \
{ mOCTVC1_CURSOR_INDEX_GET_SWAP( &((tOCTVC1_GSM_MSG_TAP_FILTER_LIST_RSP *)pOCTVC1_GSM_MSG_TAP_FILTER_LIST_RSP)->IndexGet ); } \
{ mOCTVC1_LIST_INDEX_GET_SWAP( &((tOCTVC1_GSM_MSG_TAP_FILTER_LIST_RSP *)pOCTVC1_GSM_MSG_TAP_FILTER_LIST_RSP)->IndexList ); } \
}
#else
#define mOCTVC1_GSM_MSG_TAP_FILTER_LIST_RSP_SWAP( pOCTVC1_GSM_MSG_TAP_FILTER_LIST_RSP )
#endif /* _OCT_ENDIAN_TYPE_LE_ */
#if defined( _OCT_ENDIAN_TYPE_LE_ )
#define mOCTVC1_GSM_MSG_TAP_FILTER_INFO_CMD_SWAP( _f_pParms ){ tOCTVC1_GSM_MSG_TAP_FILTER_INFO_CMD * pOCTVC1_GSM_MSG_TAP_FILTER_INFO_CMD = (_f_pParms); SWAP_UNUSED(pOCTVC1_GSM_MSG_TAP_FILTER_INFO_CMD)\
{ mOCTVC1_MSG_HEADER_SWAP( &((tOCTVC1_GSM_MSG_TAP_FILTER_INFO_CMD *)pOCTVC1_GSM_MSG_TAP_FILTER_INFO_CMD)->Header ); } \
((tOCTVC1_GSM_MSG_TAP_FILTER_INFO_CMD *)pOCTVC1_GSM_MSG_TAP_FILTER_INFO_CMD)->ulFilterIndex = \
mOCT_SWAP32_IF_LE(((tOCTVC1_GSM_MSG_TAP_FILTER_INFO_CMD *)pOCTVC1_GSM_MSG_TAP_FILTER_INFO_CMD)->ulFilterIndex); \
}
#else
#define mOCTVC1_GSM_MSG_TAP_FILTER_INFO_CMD_SWAP( pOCTVC1_GSM_MSG_TAP_FILTER_INFO_CMD )
#endif /* _OCT_ENDIAN_TYPE_LE_ */
#if defined( _OCT_ENDIAN_TYPE_LE_ )
#define mOCTVC1_GSM_MSG_TAP_FILTER_INFO_RSP_SWAP( _f_pParms ){ tOCTVC1_GSM_MSG_TAP_FILTER_INFO_RSP * pOCTVC1_GSM_MSG_TAP_FILTER_INFO_RSP = (_f_pParms); SWAP_UNUSED(pOCTVC1_GSM_MSG_TAP_FILTER_INFO_RSP)\
{ mOCTVC1_MSG_HEADER_SWAP( &((tOCTVC1_GSM_MSG_TAP_FILTER_INFO_RSP *)pOCTVC1_GSM_MSG_TAP_FILTER_INFO_RSP)->Header ); } \
((tOCTVC1_GSM_MSG_TAP_FILTER_INFO_RSP *)pOCTVC1_GSM_MSG_TAP_FILTER_INFO_RSP)->ulFilterIndex = \
mOCT_SWAP32_IF_LE(((tOCTVC1_GSM_MSG_TAP_FILTER_INFO_RSP *)pOCTVC1_GSM_MSG_TAP_FILTER_INFO_RSP)->ulFilterIndex); \
{ mOCTVC1_GSM_TAP_FILTER_SWAP( &((tOCTVC1_GSM_MSG_TAP_FILTER_INFO_RSP *)pOCTVC1_GSM_MSG_TAP_FILTER_INFO_RSP)->Filter ); } \
}
#else
#define mOCTVC1_GSM_MSG_TAP_FILTER_INFO_RSP_SWAP( pOCTVC1_GSM_MSG_TAP_FILTER_INFO_RSP )
#endif /* _OCT_ENDIAN_TYPE_LE_ */
#if defined( _OCT_ENDIAN_TYPE_LE_ )
#define mOCTVC1_GSM_MSG_TAP_FILTER_STATS_CMD_SWAP( _f_pParms ){ tOCTVC1_GSM_MSG_TAP_FILTER_STATS_CMD * pOCTVC1_GSM_MSG_TAP_FILTER_STATS_CMD = (_f_pParms); SWAP_UNUSED(pOCTVC1_GSM_MSG_TAP_FILTER_STATS_CMD)\
{ mOCTVC1_MSG_HEADER_SWAP( &((tOCTVC1_GSM_MSG_TAP_FILTER_STATS_CMD *)pOCTVC1_GSM_MSG_TAP_FILTER_STATS_CMD)->Header ); } \
((tOCTVC1_GSM_MSG_TAP_FILTER_STATS_CMD *)pOCTVC1_GSM_MSG_TAP_FILTER_STATS_CMD)->ulFilterIndex = \
mOCT_SWAP32_IF_LE(((tOCTVC1_GSM_MSG_TAP_FILTER_STATS_CMD *)pOCTVC1_GSM_MSG_TAP_FILTER_STATS_CMD)->ulFilterIndex); \
}
#else
#define mOCTVC1_GSM_MSG_TAP_FILTER_STATS_CMD_SWAP( pOCTVC1_GSM_MSG_TAP_FILTER_STATS_CMD )
#endif /* _OCT_ENDIAN_TYPE_LE_ */
#if defined( _OCT_ENDIAN_TYPE_LE_ )
#define mOCTVC1_GSM_MSG_TAP_FILTER_STATS_RSP_SWAP( _f_pParms ){ tOCTVC1_GSM_MSG_TAP_FILTER_STATS_RSP * pOCTVC1_GSM_MSG_TAP_FILTER_STATS_RSP = (_f_pParms); SWAP_UNUSED(pOCTVC1_GSM_MSG_TAP_FILTER_STATS_RSP)\
{ mOCTVC1_MSG_HEADER_SWAP( &((tOCTVC1_GSM_MSG_TAP_FILTER_STATS_RSP *)pOCTVC1_GSM_MSG_TAP_FILTER_STATS_RSP)->Header ); } \
((tOCTVC1_GSM_MSG_TAP_FILTER_STATS_RSP *)pOCTVC1_GSM_MSG_TAP_FILTER_STATS_RSP)->ulFilterIndex = \
mOCT_SWAP32_IF_LE(((tOCTVC1_GSM_MSG_TAP_FILTER_STATS_RSP *)pOCTVC1_GSM_MSG_TAP_FILTER_STATS_RSP)->ulFilterIndex); \
{ mOCTVC1_GSM_TAP_FILTER_STATS_SWAP( &((tOCTVC1_GSM_MSG_TAP_FILTER_STATS_RSP *)pOCTVC1_GSM_MSG_TAP_FILTER_STATS_RSP)->Stats ); } \
}
#else
#define mOCTVC1_GSM_MSG_TAP_FILTER_STATS_RSP_SWAP( pOCTVC1_GSM_MSG_TAP_FILTER_STATS_RSP )
#endif /* _OCT_ENDIAN_TYPE_LE_ */
#if defined( _OCT_ENDIAN_TYPE_LE_ )
#define mOCTVC1_GSM_MSG_TAP_FILTER_MODIFY_CMD_SWAP( _f_pParms ){ tOCTVC1_GSM_MSG_TAP_FILTER_MODIFY_CMD * pOCTVC1_GSM_MSG_TAP_FILTER_MODIFY_CMD = (_f_pParms); SWAP_UNUSED(pOCTVC1_GSM_MSG_TAP_FILTER_MODIFY_CMD)\
{ mOCTVC1_MSG_HEADER_SWAP( &((tOCTVC1_GSM_MSG_TAP_FILTER_MODIFY_CMD *)pOCTVC1_GSM_MSG_TAP_FILTER_MODIFY_CMD)->Header ); } \
((tOCTVC1_GSM_MSG_TAP_FILTER_MODIFY_CMD *)pOCTVC1_GSM_MSG_TAP_FILTER_MODIFY_CMD)->ulFilterIndex = \
mOCT_SWAP32_IF_LE(((tOCTVC1_GSM_MSG_TAP_FILTER_MODIFY_CMD *)pOCTVC1_GSM_MSG_TAP_FILTER_MODIFY_CMD)->ulFilterIndex); \
{ mOCTVC1_GSM_TAP_FILTER_SWAP( &((tOCTVC1_GSM_MSG_TAP_FILTER_MODIFY_CMD *)pOCTVC1_GSM_MSG_TAP_FILTER_MODIFY_CMD)->Filter ); } \
}
#else
#define mOCTVC1_GSM_MSG_TAP_FILTER_MODIFY_CMD_SWAP( pOCTVC1_GSM_MSG_TAP_FILTER_MODIFY_CMD )
#endif /* _OCT_ENDIAN_TYPE_LE_ */
#if defined( _OCT_ENDIAN_TYPE_LE_ )
#define mOCTVC1_GSM_MSG_TAP_FILTER_MODIFY_RSP_SWAP( _f_pParms ){ tOCTVC1_GSM_MSG_TAP_FILTER_MODIFY_RSP * pOCTVC1_GSM_MSG_TAP_FILTER_MODIFY_RSP = (_f_pParms); SWAP_UNUSED(pOCTVC1_GSM_MSG_TAP_FILTER_MODIFY_RSP)\
{ mOCTVC1_MSG_HEADER_SWAP( &((tOCTVC1_GSM_MSG_TAP_FILTER_MODIFY_RSP *)pOCTVC1_GSM_MSG_TAP_FILTER_MODIFY_RSP)->Header ); } \
((tOCTVC1_GSM_MSG_TAP_FILTER_MODIFY_RSP *)pOCTVC1_GSM_MSG_TAP_FILTER_MODIFY_RSP)->ulFilterIndex = \
mOCT_SWAP32_IF_LE(((tOCTVC1_GSM_MSG_TAP_FILTER_MODIFY_RSP *)pOCTVC1_GSM_MSG_TAP_FILTER_MODIFY_RSP)->ulFilterIndex); \
}
#else
#define mOCTVC1_GSM_MSG_TAP_FILTER_MODIFY_RSP_SWAP( pOCTVC1_GSM_MSG_TAP_FILTER_MODIFY_RSP )
#endif /* _OCT_ENDIAN_TYPE_LE_ */
#if defined( _OCT_ENDIAN_TYPE_LE_ ) #if defined( _OCT_ENDIAN_TYPE_LE_ )
#define mOCTVC1_GSM_MSG_TRX_START_LOGICAL_CHANNEL_RAW_DATA_INDICATIONS_CMD_SWAP( _f_pParms ){ tOCTVC1_GSM_MSG_TRX_START_LOGICAL_CHANNEL_RAW_DATA_INDICATIONS_CMD * pOCTVC1_GSM_MSG_TRX_START_LOGICAL_CHANNEL_RAW_DATA_INDICATIONS_CMD = (_f_pParms); SWAP_UNUSED(pOCTVC1_GSM_MSG_TRX_START_LOGICAL_CHANNEL_RAW_DATA_INDICATIONS_CMD)\ #define mOCTVC1_GSM_MSG_TRX_START_LOGICAL_CHANNEL_RAW_DATA_INDICATIONS_CMD_SWAP( _f_pParms ){ tOCTVC1_GSM_MSG_TRX_START_LOGICAL_CHANNEL_RAW_DATA_INDICATIONS_CMD * pOCTVC1_GSM_MSG_TRX_START_LOGICAL_CHANNEL_RAW_DATA_INDICATIONS_CMD = (_f_pParms); SWAP_UNUSED(pOCTVC1_GSM_MSG_TRX_START_LOGICAL_CHANNEL_RAW_DATA_INDICATIONS_CMD)\
{ mOCTVC1_MSG_HEADER_SWAP( &((tOCTVC1_GSM_MSG_TRX_START_LOGICAL_CHANNEL_RAW_DATA_INDICATIONS_CMD *)pOCTVC1_GSM_MSG_TRX_START_LOGICAL_CHANNEL_RAW_DATA_INDICATIONS_CMD)->Header ); } \ { mOCTVC1_MSG_HEADER_SWAP( &((tOCTVC1_GSM_MSG_TRX_START_LOGICAL_CHANNEL_RAW_DATA_INDICATIONS_CMD *)pOCTVC1_GSM_MSG_TRX_START_LOGICAL_CHANNEL_RAW_DATA_INDICATIONS_CMD)->Header ); } \
@ -1069,6 +1275,28 @@ extern "C" {
#define mOCTVC1_GSM_MSG_TRX_STOP_LOGICAL_CHANNEL_RAW_DATA_INDICATIONS_RSP_SWAP( pOCTVC1_GSM_MSG_TRX_STOP_LOGICAL_CHANNEL_RAW_DATA_INDICATIONS_RSP ) #define mOCTVC1_GSM_MSG_TRX_STOP_LOGICAL_CHANNEL_RAW_DATA_INDICATIONS_RSP_SWAP( pOCTVC1_GSM_MSG_TRX_STOP_LOGICAL_CHANNEL_RAW_DATA_INDICATIONS_RSP )
#endif /* _OCT_ENDIAN_TYPE_LE_ */ #endif /* _OCT_ENDIAN_TYPE_LE_ */
#if defined( _OCT_ENDIAN_TYPE_LE_ )
#define mOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_CMU_LOOPBACK_TEST_CMD_SWAP( _f_pParms ){ tOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_CMU_LOOPBACK_TEST_CMD * pOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_CMU_LOOPBACK_TEST_CMD = (_f_pParms); SWAP_UNUSED(pOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_CMU_LOOPBACK_TEST_CMD)\
{ mOCTVC1_MSG_HEADER_SWAP( &((tOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_CMU_LOOPBACK_TEST_CMD *)pOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_CMU_LOOPBACK_TEST_CMD)->Header ); } \
{ mOCTVC1_GSM_TRX_ID_SWAP( &((tOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_CMU_LOOPBACK_TEST_CMD *)pOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_CMU_LOOPBACK_TEST_CMD)->TrxId ); } \
{ mOCTVC1_GSM_LOGICAL_CHANNEL_ID_SWAP( &((tOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_CMU_LOOPBACK_TEST_CMD *)pOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_CMU_LOOPBACK_TEST_CMD)->LchId ); } \
((tOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_CMU_LOOPBACK_TEST_CMD *)pOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_CMU_LOOPBACK_TEST_CMD)->ulResetFlag = \
mOCT_SWAP32_IF_LE(((tOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_CMU_LOOPBACK_TEST_CMD *)pOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_CMU_LOOPBACK_TEST_CMD)->ulResetFlag); \
}
#else
#define mOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_CMU_LOOPBACK_TEST_CMD_SWAP( pOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_CMU_LOOPBACK_TEST_CMD )
#endif /* _OCT_ENDIAN_TYPE_LE_ */
#if defined( _OCT_ENDIAN_TYPE_LE_ )
#define mOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_CMU_LOOPBACK_TEST_RSP_SWAP( _f_pParms ){ tOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_CMU_LOOPBACK_TEST_RSP * pOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_CMU_LOOPBACK_TEST_RSP = (_f_pParms); SWAP_UNUSED(pOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_CMU_LOOPBACK_TEST_RSP)\
{ mOCTVC1_MSG_HEADER_SWAP( &((tOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_CMU_LOOPBACK_TEST_RSP *)pOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_CMU_LOOPBACK_TEST_RSP)->Header ); } \
{ mOCTVC1_GSM_TRX_ID_SWAP( &((tOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_CMU_LOOPBACK_TEST_RSP *)pOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_CMU_LOOPBACK_TEST_RSP)->TrxId ); } \
{ mOCTVC1_GSM_LOGICAL_CHANNEL_ID_SWAP( &((tOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_CMU_LOOPBACK_TEST_RSP *)pOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_CMU_LOOPBACK_TEST_RSP)->LchId ); } \
}
#else
#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_ */
#ifdef __cplusplus #ifdef __cplusplus
} }

View File

@ -1,11 +1,11 @@
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
File: OCTVC1_GSM_BASE.h File: OCTVC1_GSM_BASE.h
Copyright (c) 2015 Octasic Inc. All rights reserved. Copyright (c) 2015 Octasic Inc. All rights reserved.
Description: Contains the definition of the OCTVC1 API. Description: Contains the definition of the OCTVC1 API.
This program is free software; you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or the Free Software Foundation; either version 2 of the License, or
@ -18,34 +18,34 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License along 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
$Octasic_Revision: $ $Octasic_Revision: $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
#ifndef __OCTVC1_GSM_BASE_H__ #ifndef __OCTVC1_GSM_BASE_H__
#define __OCTVC1_GSM_BASE_H__ #define __OCTVC1_GSM_BASE_H__
/***************************** INCLUDE FILES *******************************/ /***************************** INCLUDE FILES *******************************/
#include "../octvc1_base.h" #include "../octvc1_base.h"
/**************************************************************************** /****************************************************************************
Module unique identifiers Module unique identifiers
****************************************************************************/ ****************************************************************************/
#define cOCTVC1_GSM_UID ( 0x0B ) #define cOCTVC1_GSM_UID ( 0x0B )
/**************************************************************************** /****************************************************************************
Module identifier bases Module identifier bases
****************************************************************************/ ****************************************************************************/
/* Module: GSM */ /* Module: GSM */
#define cOCTVC1_GSM_CID_BASE ( (cOCTVC1_GSM_UID << 16) + cOCTVC1_CID_BASE ) #define cOCTVC1_GSM_CID_BASE ( (cOCTVC1_GSM_UID << 16) + cOCTVC1_CID_BASE )
#define cOCTVC1_GSM_EID_BASE ( (cOCTVC1_GSM_UID << 16) + cOCTVC1_EID_BASE ) #define cOCTVC1_GSM_EID_BASE ( (cOCTVC1_GSM_UID << 16) + cOCTVC1_EID_BASE )
#define cOCTVC1_GSM_RC_BASE ( (cOCTVC1_GSM_UID << 16) + cOCTVC1_RC_BASE ) #define cOCTVC1_GSM_RC_BASE ( (cOCTVC1_GSM_UID << 16) + cOCTVC1_RC_BASE )
#endif /* __OCTVC1_GSM_BASE_H__ */ #endif /* __OCTVC1_GSM_BASE_H__ */

File diff suppressed because it is too large Load Diff

View File

@ -1,11 +1,11 @@
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
File: OCTVC1_GSM_DEFAULT_PRIV.h File: OCTVC1_GSM_DEFAULT_PRIV.h
Copyright (c) 2015 Octasic Inc. All rights reserved. Copyright (c) 2015 Octasic Inc. All rights reserved.
Description: Contains the event definition of the GSM API. Description: Contains the event definition of the GSM API.
This program is free software; you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or the Free Software Foundation; either version 2 of the License, or
@ -18,23 +18,23 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License along 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
$Octasic_Revision: $ $Octasic_Revision: $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
#ifndef __OCTVC1_GSM_DEFAULT_PRIV_H__ #ifndef __OCTVC1_GSM_DEFAULT_PRIV_H__
#define __OCTVC1_GSM_DEFAULT_PRIV_H__ #define __OCTVC1_GSM_DEFAULT_PRIV_H__
/***************************** INCLUDE FILES *******************************/ /***************************** INCLUDE FILES *******************************/
#include "octvc1_gsm_api_priv.h" #include "octvc1_gsm_api_priv.h"
#include "octvc1_gsm_default.h" #include "octvc1_gsm_default.h"
/***************************** COMMAND DEFAULT *****************************/ /***************************** COMMAND DEFAULT *****************************/
#endif /* __OCTVC1_GSM_DEFAULT_PRIV_H__ */ #endif /* __OCTVC1_GSM_DEFAULT_PRIV_H__ */

View File

@ -1,10 +1,10 @@
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
File: OCTVC1_GSM_EVT.h File: OCTVC1_GSM_EVT.h
Copyright (c) 2015 Octasic Inc. All rights reserved. Copyright (c) 2015 Octasic Inc. All rights reserved.
Description: Contains the event definition of the GSM API. Description: Contains the event definition of the GSM API.
This program is free software; you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or the Free Software Foundation; either version 2 of the License, or
@ -17,157 +17,157 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License along 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
$Octasic_Revision: $ $Octasic_Revision: $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
#ifndef __OCTVC1_GSM_EVT_H__ #ifndef __OCTVC1_GSM_EVT_H__
#define __OCTVC1_GSM_EVT_H__ #define __OCTVC1_GSM_EVT_H__
/***************************** INCLUDE FILES *******************************/ /***************************** INCLUDE FILES *******************************/
#include "octvc1_gsm_api.h" #include "octvc1_gsm_api.h"
/************************ COMMON DEFINITIONS *******************************/ /************************ COMMON DEFINITIONS *******************************/
/***************************** NOTIFICATIONS **********************************/ /***************************** NOTIFICATIONS **********************************/
/*------------------------------------------------------------------------------------- /*-------------------------------------------------------------------------------------
tOCTVC1_GSM_MSG_TRX_LOGICAL_CHANNEL_DATA_INDICATION_EVT tOCTVC1_GSM_MSG_TRX_LOGICAL_CHANNEL_DATA_INDICATION_EVT
Members: Members:
Header Header
TrxId TrxId
Unique TRX identifier Unique TRX identifier
LchId LchId
Unique Logical channel identifier Unique Logical channel identifier
MeasurementInfo MeasurementInfo
Data Data
-------------------------------------------------------------------------------------*/ -------------------------------------------------------------------------------------*/
typedef struct typedef struct
{ {
tOCTVC1_EVENT_HEADER Header; tOCTVC1_EVENT_HEADER Header;
tOCTVC1_GSM_TRX_ID TrxId; tOCTVC1_GSM_TRX_ID TrxId;
tOCTVC1_GSM_LOGICAL_CHANNEL_ID LchId; tOCTVC1_GSM_LOGICAL_CHANNEL_ID LchId;
tOCTVC1_GSM_MEASUREMENT_INFO MeasurementInfo; tOCTVC1_GSM_MEASUREMENT_INFO MeasurementInfo;
tOCTVC1_GSM_LOGICAL_CHANNEL_DATA Data; tOCTVC1_GSM_LOGICAL_CHANNEL_DATA Data;
} tOCTVC1_GSM_MSG_TRX_LOGICAL_CHANNEL_DATA_INDICATION_EVT; } tOCTVC1_GSM_MSG_TRX_LOGICAL_CHANNEL_DATA_INDICATION_EVT;
/*------------------------------------------------------------------------------------- /*-------------------------------------------------------------------------------------
tOCTVC1_GSM_MSG_TRX_LOGICAL_CHANNEL_READY_TO_SEND_INDICATION_EVT tOCTVC1_GSM_MSG_TRX_LOGICAL_CHANNEL_READY_TO_SEND_INDICATION_EVT
Members: Members:
Header Header
TrxId TrxId
Unique TRX identifier Unique TRX identifier
LchId LchId
Unique Logical channel identifier Unique Logical channel identifier
ulFrameNumber ulFrameNumber
Range: [..cOCTVC1_GSM_MAX_FRAME_COUNT] Range: [..cOCTVC1_GSM_MAX_FRAME_COUNT]
-------------------------------------------------------------------------------------*/ -------------------------------------------------------------------------------------*/
typedef struct typedef struct
{ {
tOCTVC1_EVENT_HEADER Header; tOCTVC1_EVENT_HEADER Header;
tOCTVC1_GSM_TRX_ID TrxId; tOCTVC1_GSM_TRX_ID TrxId;
tOCTVC1_GSM_LOGICAL_CHANNEL_ID LchId; tOCTVC1_GSM_LOGICAL_CHANNEL_ID LchId;
tOCT_UINT32 ulFrameNumber; tOCT_UINT32 ulFrameNumber;
} tOCTVC1_GSM_MSG_TRX_LOGICAL_CHANNEL_READY_TO_SEND_INDICATION_EVT; } tOCTVC1_GSM_MSG_TRX_LOGICAL_CHANNEL_READY_TO_SEND_INDICATION_EVT;
/*------------------------------------------------------------------------------------- /*-------------------------------------------------------------------------------------
tOCTVC1_GSM_MSG_TRX_LOGICAL_CHANNEL_RACH_INDICATION_EVT tOCTVC1_GSM_MSG_TRX_LOGICAL_CHANNEL_RACH_INDICATION_EVT
Members: Members:
Header Header
TrxId TrxId
Unique TRX identifier Unique TRX identifier
LchId LchId
Unique Logical channel identifier Unique Logical channel identifier
ulBurstType ulBurstType
ulFrameNumber ulFrameNumber
Range: [..cOCTVC1_GSM_MAX_FRAME_COUNT] Range: [..cOCTVC1_GSM_MAX_FRAME_COUNT]
MeasurementInfo MeasurementInfo
ulMsgLength ulMsgLength
Range: [..cOCTVC1_GSM_RACH_IND_MSG_SIZE] Range: [..cOCTVC1_GSM_RACH_IND_MSG_SIZE]
abyMsg abyMsg
-------------------------------------------------------------------------------------*/ -------------------------------------------------------------------------------------*/
typedef struct typedef struct
{ {
tOCTVC1_EVENT_HEADER Header; tOCTVC1_EVENT_HEADER Header;
tOCTVC1_GSM_TRX_ID TrxId; tOCTVC1_GSM_TRX_ID TrxId;
tOCTVC1_GSM_LOGICAL_CHANNEL_ID LchId; tOCTVC1_GSM_LOGICAL_CHANNEL_ID LchId;
tOCTVC1_GSM_BURST_TYPE_ENUM ulBurstType; tOCTVC1_GSM_BURST_TYPE_ENUM ulBurstType;
tOCT_UINT32 ulFrameNumber; tOCT_UINT32 ulFrameNumber;
tOCTVC1_GSM_MEASUREMENT_INFO MeasurementInfo; tOCTVC1_GSM_MEASUREMENT_INFO MeasurementInfo;
tOCT_UINT32 ulMsgLength; tOCT_UINT32 ulMsgLength;
tOCT_UINT8 abyMsg[cOCTVC1_GSM_RACH_IND_MSG_SIZE]; tOCT_UINT8 abyMsg[cOCTVC1_GSM_RACH_IND_MSG_SIZE];
} tOCTVC1_GSM_MSG_TRX_LOGICAL_CHANNEL_RACH_INDICATION_EVT; } tOCTVC1_GSM_MSG_TRX_LOGICAL_CHANNEL_RACH_INDICATION_EVT;
/*------------------------------------------------------------------------------------- /*-------------------------------------------------------------------------------------
tOCTVC1_GSM_MSG_TRX_LOGICAL_CHANNEL_RAW_DATA_INDICATION_EVT tOCTVC1_GSM_MSG_TRX_LOGICAL_CHANNEL_RAW_DATA_INDICATION_EVT
Members: Members:
Header Header
TrxId TrxId
Unique TRX identifier Unique TRX identifier
LchId LchId
Unique Logical channel identifier Unique Logical channel identifier
MeasurementInfo MeasurementInfo
Data Data
-------------------------------------------------------------------------------------*/ -------------------------------------------------------------------------------------*/
typedef struct typedef struct
{ {
tOCTVC1_EVENT_HEADER Header; tOCTVC1_EVENT_HEADER Header;
tOCTVC1_GSM_TRX_ID TrxId; tOCTVC1_GSM_TRX_ID TrxId;
tOCTVC1_GSM_LOGICAL_CHANNEL_ID LchId; tOCTVC1_GSM_LOGICAL_CHANNEL_ID LchId;
tOCTVC1_GSM_RAW_MEASUREMENT_INFO MeasurementInfo; tOCTVC1_GSM_RAW_MEASUREMENT_INFO MeasurementInfo;
tOCTVC1_GSM_LOGICAL_CHANNEL_RAW_DATA Data; tOCTVC1_GSM_LOGICAL_CHANNEL_RAW_DATA Data;
} tOCTVC1_GSM_MSG_TRX_LOGICAL_CHANNEL_RAW_DATA_INDICATION_EVT; } tOCTVC1_GSM_MSG_TRX_LOGICAL_CHANNEL_RAW_DATA_INDICATION_EVT;
/*------------------------------------------------------------------------------------- /*-------------------------------------------------------------------------------------
tOCTVC1_GSM_MSG_TRX_TIME_INDICATION_EVT tOCTVC1_GSM_MSG_TRX_TIME_INDICATION_EVT
Members: Members:
Header Header
TrxId TrxId
Unique TRX identifier Unique TRX identifier
ulFrameNumber ulFrameNumber
-------------------------------------------------------------------------------------*/ -------------------------------------------------------------------------------------*/
typedef struct typedef struct
{ {
tOCTVC1_EVENT_HEADER Header; tOCTVC1_EVENT_HEADER Header;
tOCTVC1_GSM_TRX_ID TrxId; tOCTVC1_GSM_TRX_ID TrxId;
tOCT_UINT32 ulFrameNumber; tOCT_UINT32 ulFrameNumber;
} tOCTVC1_GSM_MSG_TRX_TIME_INDICATION_EVT; } tOCTVC1_GSM_MSG_TRX_TIME_INDICATION_EVT;
/*------------------------------------------------------------------------------------- /*-------------------------------------------------------------------------------------
tOCTVC1_GSM_MSG_TRX_STATUS_CHANGE_EVT tOCTVC1_GSM_MSG_TRX_STATUS_CHANGE_EVT
Members: Members:
Header Header
TrxId TrxId
Unique TRX identifier Unique TRX identifier
ulStatus ulStatus
TRX STATUS event TRX STATUS event
ulFrameNumber ulFrameNumber
-------------------------------------------------------------------------------------*/ -------------------------------------------------------------------------------------*/
typedef struct typedef struct
{ {
tOCTVC1_EVENT_HEADER Header; tOCTVC1_EVENT_HEADER Header;
tOCTVC1_GSM_TRX_ID TrxId; tOCTVC1_GSM_TRX_ID TrxId;
tOCTVC1_GSM_TRX_STATUS_ENUM ulStatus; tOCTVC1_GSM_TRX_STATUS_ENUM ulStatus;
tOCT_UINT32 ulFrameNumber; tOCT_UINT32 ulFrameNumber;
} tOCTVC1_GSM_MSG_TRX_STATUS_CHANGE_EVT; } tOCTVC1_GSM_MSG_TRX_STATUS_CHANGE_EVT;
#endif /* __OCTVC1_GSM_EVT_H__ */ #endif /* __OCTVC1_GSM_EVT_H__ */

View File

@ -1,10 +1,10 @@
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
File: OCTVC1_GSM_EVT_PRIV.h File: OCTVC1_GSM_EVT_PRIV.h
Copyright (c) 2015 Octasic Inc. All rights reserved. Copyright (c) 2015 Octasic Inc. All rights reserved.
Description: Contains the event definition of the GSM API. Description: Contains the event definition of the GSM API.
This program is free software; you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or the Free Software Foundation; either version 2 of the License, or
@ -17,25 +17,25 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License along 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
$Octasic_Revision: $ $Octasic_Revision: $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
#ifndef __OCTVC1_GSM_EVT_PRIV_H__ #ifndef __OCTVC1_GSM_EVT_PRIV_H__
#define __OCTVC1_GSM_EVT_PRIV_H__ #define __OCTVC1_GSM_EVT_PRIV_H__
/***************************** INCLUDE FILES *******************************/ /***************************** INCLUDE FILES *******************************/
#include "octvc1_gsm_api_priv.h" #include "octvc1_gsm_api_priv.h"
/************************ COMMON DEFINITIONS *******************************/ /************************ COMMON DEFINITIONS *******************************/
/***************************** NOTIFICATIONS **********************************/ /***************************** NOTIFICATIONS **********************************/
#endif /* __OCTVC1_GSM_EVT_PRIV_H__ */ #endif /* __OCTVC1_GSM_EVT_PRIV_H__ */

View File

@ -18,7 +18,7 @@ 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/

View File

@ -20,7 +20,7 @@ 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
#ifndef __OCTVC1_GSM_EVT_SWAP_H__ #ifndef __OCTVC1_GSM_EVT_SWAP_H__

View File

@ -1,11 +1,11 @@
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
File: OCTVC1_GSM_ID.h File: OCTVC1_GSM_ID.h
Copyright (c) 2015 Octasic Inc. All rights reserved. Copyright (c) 2015 Octasic Inc. All rights reserved.
Description: Contains the identifiers for the GSM API. Description: Contains the identifiers for the GSM API.
This program is free software; you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or the Free Software Foundation; either version 2 of the License, or
@ -18,70 +18,75 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License along 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
$Octasic_Revision: $ $Octasic_Revision: $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
#ifndef __OCTVC1_GSM_ID_H__ #ifndef __OCTVC1_GSM_ID_H__
#define __OCTVC1_GSM_ID_H__ #define __OCTVC1_GSM_ID_H__
/***************************** INCLUDE FILES *******************************/ /***************************** INCLUDE FILES *******************************/
#include "../octvc1_base.h" #include "../octvc1_base.h"
#include "octvc1_gsm_base.h" #include "octvc1_gsm_base.h"
/**************************************************************************** /****************************************************************************
Command IDs Command IDs
****************************************************************************/ ****************************************************************************/
#define cOCTVC1_GSM_MSG_TRX_OPEN_CID ( ( 0x001 + cOCTVC1_GSM_CID_BASE )| cOCTVC1_MSG_LONG_PROCESSING_FLAG ) #define cOCTVC1_GSM_MSG_TRX_OPEN_CID ( ( 0x001 + cOCTVC1_GSM_CID_BASE )| cOCTVC1_MSG_LONG_PROCESSING_FLAG )
#define cOCTVC1_GSM_MSG_TRX_CLOSE_CID ( 0x002 + cOCTVC1_GSM_CID_BASE ) #define cOCTVC1_GSM_MSG_TRX_CLOSE_CID ( 0x002 + cOCTVC1_GSM_CID_BASE )
#define cOCTVC1_GSM_MSG_TRX_STATUS_CID ( 0x003 + cOCTVC1_GSM_CID_BASE ) #define cOCTVC1_GSM_MSG_TRX_STATUS_CID ( 0x003 + cOCTVC1_GSM_CID_BASE )
#define cOCTVC1_GSM_MSG_TRX_INFO_CID ( 0x004 + cOCTVC1_GSM_CID_BASE ) #define cOCTVC1_GSM_MSG_TRX_INFO_CID ( 0x004 + cOCTVC1_GSM_CID_BASE )
#define cOCTVC1_GSM_MSG_TRX_RESET_CID ( 0x005 + cOCTVC1_GSM_CID_BASE ) #define cOCTVC1_GSM_MSG_TRX_RESET_CID ( 0x005 + cOCTVC1_GSM_CID_BASE )
#define cOCTVC1_GSM_MSG_TRX_MODIFY_CID ( 0x006 + cOCTVC1_GSM_CID_BASE ) #define cOCTVC1_GSM_MSG_TRX_MODIFY_CID ( 0x006 + cOCTVC1_GSM_CID_BASE )
#define cOCTVC1_GSM_MSG_TRX_LIST_CID ( 0x007 + cOCTVC1_GSM_CID_BASE ) #define cOCTVC1_GSM_MSG_TRX_LIST_CID ( 0x007 + cOCTVC1_GSM_CID_BASE )
#define cOCTVC1_GSM_MSG_TRX_CLOSE_ALL_CID ( 0x008 + cOCTVC1_GSM_CID_BASE ) #define cOCTVC1_GSM_MSG_TRX_CLOSE_ALL_CID ( 0x008 + cOCTVC1_GSM_CID_BASE )
#define cOCTVC1_GSM_MSG_TRX_START_RECORD_CID ( 0x009 + cOCTVC1_GSM_CID_BASE ) #define cOCTVC1_GSM_MSG_TRX_START_RECORD_CID ( 0x009 + cOCTVC1_GSM_CID_BASE )
#define cOCTVC1_GSM_MSG_TRX_STOP_RECORD_CID ( 0x00a + cOCTVC1_GSM_CID_BASE ) #define cOCTVC1_GSM_MSG_TRX_STOP_RECORD_CID ( 0x00a + cOCTVC1_GSM_CID_BASE )
#define cOCTVC1_GSM_MSG_TRX_ACTIVATE_LOGICAL_CHANNEL_CID ( 0x00b + cOCTVC1_GSM_CID_BASE ) #define cOCTVC1_GSM_MSG_TRX_ACTIVATE_LOGICAL_CHANNEL_CID ( 0x00b + cOCTVC1_GSM_CID_BASE )
#define cOCTVC1_GSM_MSG_TRX_DEACTIVATE_LOGICAL_CHANNEL_CID ( 0x00c + cOCTVC1_GSM_CID_BASE ) #define cOCTVC1_GSM_MSG_TRX_DEACTIVATE_LOGICAL_CHANNEL_CID ( 0x00c + cOCTVC1_GSM_CID_BASE )
#define cOCTVC1_GSM_MSG_TRX_STATUS_LOGICAL_CHANNEL_CID ( 0x00d + cOCTVC1_GSM_CID_BASE ) #define cOCTVC1_GSM_MSG_TRX_STATUS_LOGICAL_CHANNEL_CID ( 0x00d + cOCTVC1_GSM_CID_BASE )
#define cOCTVC1_GSM_MSG_TRX_INFO_LOGICAL_CHANNEL_CID ( 0x00e + cOCTVC1_GSM_CID_BASE ) #define cOCTVC1_GSM_MSG_TRX_INFO_LOGICAL_CHANNEL_CID ( 0x00e + cOCTVC1_GSM_CID_BASE )
#define cOCTVC1_GSM_MSG_TRX_LIST_LOGICAL_CHANNEL_CID ( 0x00f + cOCTVC1_GSM_CID_BASE ) #define cOCTVC1_GSM_MSG_TRX_LIST_LOGICAL_CHANNEL_CID ( 0x00f + cOCTVC1_GSM_CID_BASE )
#define cOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_EMPTY_FRAME_CID ( 0x010 + cOCTVC1_GSM_CID_BASE ) #define cOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_EMPTY_FRAME_CID ( 0x010 + cOCTVC1_GSM_CID_BASE )
#define cOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_DATA_CID ( 0x011 + cOCTVC1_GSM_CID_BASE ) #define cOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_DATA_CID ( 0x011 + cOCTVC1_GSM_CID_BASE )
#define cOCTVC1_GSM_MSG_TRX_ACTIVATE_PHYSICAL_CHANNEL_CID ( 0x012 + cOCTVC1_GSM_CID_BASE ) #define cOCTVC1_GSM_MSG_TRX_ACTIVATE_PHYSICAL_CHANNEL_CID ( 0x012 + cOCTVC1_GSM_CID_BASE )
#define cOCTVC1_GSM_MSG_TRX_DEACTIVATE_PHYSICAL_CHANNEL_CID ( 0x013 + cOCTVC1_GSM_CID_BASE ) #define cOCTVC1_GSM_MSG_TRX_DEACTIVATE_PHYSICAL_CHANNEL_CID ( 0x013 + cOCTVC1_GSM_CID_BASE )
#define cOCTVC1_GSM_MSG_TRX_STATUS_PHYSICAL_CHANNEL_CID ( 0x014 + cOCTVC1_GSM_CID_BASE ) #define cOCTVC1_GSM_MSG_TRX_STATUS_PHYSICAL_CHANNEL_CID ( 0x014 + cOCTVC1_GSM_CID_BASE )
#define cOCTVC1_GSM_MSG_TRX_RESET_PHYSICAL_CHANNEL_CID ( 0x015 + cOCTVC1_GSM_CID_BASE ) #define cOCTVC1_GSM_MSG_TRX_RESET_PHYSICAL_CHANNEL_CID ( 0x015 + cOCTVC1_GSM_CID_BASE )
#define cOCTVC1_GSM_MSG_TRX_LIST_PHYSICAL_CHANNEL_CID ( 0x016 + cOCTVC1_GSM_CID_BASE ) #define cOCTVC1_GSM_MSG_TRX_LIST_PHYSICAL_CHANNEL_CID ( 0x016 + cOCTVC1_GSM_CID_BASE )
#define cOCTVC1_GSM_MSG_TRX_INFO_PHYSICAL_CHANNEL_CID ( 0x017 + cOCTVC1_GSM_CID_BASE ) #define cOCTVC1_GSM_MSG_TRX_INFO_PHYSICAL_CHANNEL_CID ( 0x017 + cOCTVC1_GSM_CID_BASE )
#define cOCTVC1_GSM_MSG_TRX_MODIFY_PHYSICAL_CHANNEL_CIPHERING_CID ( 0x018 + cOCTVC1_GSM_CID_BASE ) #define cOCTVC1_GSM_MSG_TRX_MODIFY_PHYSICAL_CHANNEL_CIPHERING_CID ( 0x018 + cOCTVC1_GSM_CID_BASE )
#define cOCTVC1_GSM_MSG_TRX_INFO_PHYSICAL_CHANNEL_CIPHERING_CID ( 0x019 + cOCTVC1_GSM_CID_BASE ) #define cOCTVC1_GSM_MSG_TRX_INFO_PHYSICAL_CHANNEL_CIPHERING_CID ( 0x019 + cOCTVC1_GSM_CID_BASE )
#define cOCTVC1_GSM_MSG_TRX_INFO_PHYSICAL_CHANNEL_MEASUREMENT_CID ( 0x01a + cOCTVC1_GSM_CID_BASE ) #define cOCTVC1_GSM_MSG_TRX_INFO_PHYSICAL_CHANNEL_MEASUREMENT_CID ( 0x01a + cOCTVC1_GSM_CID_BASE )
#define cOCTVC1_GSM_MSG_TRX_INFO_RF_CID ( 0x01b + cOCTVC1_GSM_CID_BASE ) #define cOCTVC1_GSM_MSG_TRX_INFO_RF_CID ( 0x01b + cOCTVC1_GSM_CID_BASE )
#define cOCTVC1_GSM_MSG_TRX_MODIFY_RF_CID ( 0x01c + cOCTVC1_GSM_CID_BASE ) #define cOCTVC1_GSM_MSG_TRX_MODIFY_RF_CID ( 0x01c + cOCTVC1_GSM_CID_BASE )
#define cOCTVC1_GSM_MSG_TRX_START_LOGICAL_CHANNEL_RAW_DATA_INDICATIONS_CID ( 0x035 + cOCTVC1_GSM_CID_BASE ) #define cOCTVC1_GSM_MSG_TAP_FILTER_LIST_CID ( 0x01d + 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_TAP_FILTER_INFO_CID ( 0x01e + cOCTVC1_GSM_CID_BASE )
#define cOCTVC1_GSM_MSG_TAP_FILTER_STATS_CID ( 0x01f + cOCTVC1_GSM_CID_BASE )
#define cOCTVC1_GSM_CID_MAX (( 0x036 + 1 ) & 0xFFF) #define cOCTVC1_GSM_MSG_TAP_FILTER_MODIFY_CID ( 0x020 + cOCTVC1_GSM_CID_BASE )
#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 )
Event IDs #define cOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_CMU_LOOPBACK_TEST_CID ( 0x037 + cOCTVC1_GSM_CID_BASE )
****************************************************************************/
#define cOCTVC1_GSM_MSG_TRX_TIME_INDICATION_EID ( 0x0020 + cOCTVC1_GSM_EID_BASE ) #define cOCTVC1_GSM_CID_MAX (( 0x037 + 1 ) & 0xFFF)
#define cOCTVC1_GSM_MSG_TRX_STATUS_CHANGE_EID ( 0x0021 + cOCTVC1_GSM_EID_BASE )
#define cOCTVC1_GSM_MSG_TRX_LOGICAL_CHANNEL_DATA_INDICATION_EID ( 0x0031 + cOCTVC1_GSM_EID_BASE ) /****************************************************************************
#define cOCTVC1_GSM_MSG_TRX_LOGICAL_CHANNEL_READY_TO_SEND_INDICATION_EID ( 0x0032 + cOCTVC1_GSM_EID_BASE ) Event IDs
#define cOCTVC1_GSM_MSG_TRX_LOGICAL_CHANNEL_RACH_INDICATION_EID ( 0x0033 + cOCTVC1_GSM_EID_BASE ) ****************************************************************************/
#define cOCTVC1_GSM_MSG_TRX_LOGICAL_CHANNEL_RAW_DATA_INDICATION_EID ( 0x0034 + cOCTVC1_GSM_EID_BASE ) #define cOCTVC1_GSM_MSG_TRX_TIME_INDICATION_EID ( 0x0020 + cOCTVC1_GSM_EID_BASE )
#define cOCTVC1_GSM_MSG_TRX_STATUS_CHANGE_EID ( 0x0021 + cOCTVC1_GSM_EID_BASE )
#define cOCTVC1_GSM_EID_MAX (( 0x0034 + 1 ) & 0xFFFF) #define cOCTVC1_GSM_MSG_TRX_LOGICAL_CHANNEL_DATA_INDICATION_EID ( 0x0031 + cOCTVC1_GSM_EID_BASE )
#define cOCTVC1_GSM_MSG_TRX_LOGICAL_CHANNEL_READY_TO_SEND_INDICATION_EID ( 0x0032 + cOCTVC1_GSM_EID_BASE )
#define cOCTVC1_GSM_MSG_TRX_LOGICAL_CHANNEL_RACH_INDICATION_EID ( 0x0033 + cOCTVC1_GSM_EID_BASE )
#endif /* __OCTVC1_GSM_ID_H__ */ #define cOCTVC1_GSM_MSG_TRX_LOGICAL_CHANNEL_RAW_DATA_INDICATION_EID ( 0x0034 + cOCTVC1_GSM_EID_BASE )
#define cOCTVC1_GSM_EID_MAX (( 0x0034 + 1 ) & 0xFFFF)
#endif /* __OCTVC1_GSM_ID_H__ */

View File

@ -1,11 +1,11 @@
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
File: OCTVC1_GSM_ID_PRIV.h File: OCTVC1_GSM_ID_PRIV.h
Copyright (c) 2015 Octasic Inc. All rights reserved. Copyright (c) 2015 Octasic Inc. All rights reserved.
Description: Contains the identifiers for the GSM API. Description: Contains the identifiers for the GSM API.
This program is free software; you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or the Free Software Foundation; either version 2 of the License, or
@ -18,30 +18,30 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License along 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
$Octasic_Revision: $ $Octasic_Revision: $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
#ifndef __OCTVC1_GSM_ID_PRIV_H__ #ifndef __OCTVC1_GSM_ID_PRIV_H__
#define __OCTVC1_GSM_ID_PRIV_H__ #define __OCTVC1_GSM_ID_PRIV_H__
/***************************** INCLUDE FILES *******************************/ /***************************** INCLUDE FILES *******************************/
#include "octvc1_gsm_id.h" #include "octvc1_gsm_id.h"
#include "octvc1_gsm_base.h" #include "octvc1_gsm_base.h"
/**************************************************************************** /****************************************************************************
Command IDs Command IDs
****************************************************************************/ ****************************************************************************/
/**************************************************************************** /****************************************************************************
Event IDs Event IDs
****************************************************************************/ ****************************************************************************/
#endif /* __OCTVC1_GSM_ID_PRIV_H__ */ #endif /* __OCTVC1_GSM_ID_PRIV_H__ */

View File

@ -1,11 +1,11 @@
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
File: OCTVC1_GSM_RC.h File: OCTVC1_GSM_RC.h
Copyright (c) 2015 Octasic Inc. All rights reserved. Copyright (c) 2015 Octasic Inc. All rights reserved.
Description: Contains the return codes for the GSM API. Description: Contains the return codes for the GSM API.
This program is free software; you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or the Free Software Foundation; either version 2 of the License, or
@ -18,90 +18,94 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License along 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
$Octasic_Revision: $ $Octasic_Revision: $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
#ifndef OCTVC1_GSM_RC_H__ #ifndef OCTVC1_GSM_RC_H__
#define OCTVC1_GSM_RC_H__ #define OCTVC1_GSM_RC_H__
/***************************** INCLUDE FILES *******************************/ /***************************** INCLUDE FILES *******************************/
#include "../octvc1_base.h" #include "../octvc1_base.h"
#include "octvc1_gsm_base.h" #include "octvc1_gsm_base.h"
/**************************************************************************** /****************************************************************************
GSM return codes GSM return codes
****************************************************************************/ ****************************************************************************/
/**************************************************************************** /****************************************************************************
GENERIC return codes GENERIC return codes
****************************************************************************/ ****************************************************************************/
#define cOCTVC1_GSM_GENERIC_RC_BASE ( 0x0100 + cOCTVC1_GSM_RC_BASE ) #define cOCTVC1_GSM_GENERIC_RC_BASE ( 0x0100 + cOCTVC1_GSM_RC_BASE )
#define cOCTVC1_GSM_RC_GENERIC_EVENT_MASK_INVALID ( 0x0000 + cOCTVC1_GSM_GENERIC_RC_BASE ) #define cOCTVC1_GSM_RC_GENERIC_EVENT_MASK_INVALID ( 0x0000 + cOCTVC1_GSM_GENERIC_RC_BASE )
/**************************************************************************** /****************************************************************************
TRX return codes TRX return codes
****************************************************************************/ ****************************************************************************/
#define cOCTVC1_GSM_TRX_RC_BASE ( 0x0200 + cOCTVC1_GSM_RC_BASE ) #define cOCTVC1_GSM_TRX_RC_BASE ( 0x0200 + cOCTVC1_GSM_RC_BASE )
#define cOCTVC1_GSM_RC_TRX_RESOURCE_UNAVAILABLE ( 0x0000 + cOCTVC1_GSM_TRX_RC_BASE ) #define cOCTVC1_GSM_RC_TRX_RESOURCE_UNAVAILABLE ( 0x0000 + cOCTVC1_GSM_TRX_RC_BASE )
#define cOCTVC1_GSM_RC_TRX_ALREADY_OPENED ( 0x0001 + cOCTVC1_GSM_TRX_RC_BASE ) #define cOCTVC1_GSM_RC_TRX_ALREADY_OPENED ( 0x0001 + cOCTVC1_GSM_TRX_RC_BASE )
#define cOCTVC1_GSM_RC_TRX_ID_INVALID ( 0x0002 + cOCTVC1_GSM_TRX_RC_BASE ) #define cOCTVC1_GSM_RC_TRX_ID_INVALID ( 0x0002 + cOCTVC1_GSM_TRX_RC_BASE )
#define cOCTVC1_GSM_RC_TRX_NOT_FOUND ( 0x0003 + cOCTVC1_GSM_TRX_RC_BASE ) #define cOCTVC1_GSM_RC_TRX_NOT_FOUND ( 0x0003 + cOCTVC1_GSM_TRX_RC_BASE )
#define cOCTVC1_GSM_RC_TRX_RADIO_INIT ( 0x0004 + cOCTVC1_GSM_TRX_RC_BASE ) #define cOCTVC1_GSM_RC_TRX_RADIO_INIT ( 0x0004 + cOCTVC1_GSM_TRX_RC_BASE )
#define cOCTVC1_GSM_RC_TRX_RADIO_CONFIG ( 0x0005 + cOCTVC1_GSM_TRX_RC_BASE ) #define cOCTVC1_GSM_RC_TRX_RADIO_CONFIG ( 0x0005 + cOCTVC1_GSM_TRX_RC_BASE )
#define cOCTVC1_GSM_RC_TRX_RADIO_RESET ( 0x0006 + cOCTVC1_GSM_TRX_RC_BASE ) #define cOCTVC1_GSM_RC_TRX_RADIO_RESET ( 0x0006 + cOCTVC1_GSM_TRX_RC_BASE )
#define cOCTVC1_GSM_RC_TRX_RADIO_TERMINATE ( 0x0007 + cOCTVC1_GSM_TRX_RC_BASE ) #define cOCTVC1_GSM_RC_TRX_RADIO_TERMINATE ( 0x0007 + cOCTVC1_GSM_TRX_RC_BASE )
/**************************************************************************** /****************************************************************************
PHYSICAL_CHANNEL return codes PHYSICAL_CHANNEL return codes
****************************************************************************/ ****************************************************************************/
#define cOCTVC1_GSM_PHYSICAL_CHANNEL_RC_BASE ( 0x0300 + cOCTVC1_GSM_RC_BASE ) #define cOCTVC1_GSM_PHYSICAL_CHANNEL_RC_BASE ( 0x0300 + cOCTVC1_GSM_RC_BASE )
#define cOCTVC1_GSM_RC_PHYSICAL_CHANNEL_RESOURCE_UNAVAILABLE ( 0x0000 + cOCTVC1_GSM_PHYSICAL_CHANNEL_RC_BASE ) #define cOCTVC1_GSM_RC_PHYSICAL_CHANNEL_RESOURCE_UNAVAILABLE ( 0x0000 + cOCTVC1_GSM_PHYSICAL_CHANNEL_RC_BASE )
#define cOCTVC1_GSM_RC_PHYSICAL_CHANNEL_ALREADY_ACTIVATED ( 0x0001 + cOCTVC1_GSM_PHYSICAL_CHANNEL_RC_BASE ) #define cOCTVC1_GSM_RC_PHYSICAL_CHANNEL_ALREADY_ACTIVATED ( 0x0001 + cOCTVC1_GSM_PHYSICAL_CHANNEL_RC_BASE )
#define cOCTVC1_GSM_RC_PHYSICAL_CHANNEL_NOT_ACTIVATED ( 0x0002 + cOCTVC1_GSM_PHYSICAL_CHANNEL_RC_BASE ) #define cOCTVC1_GSM_RC_PHYSICAL_CHANNEL_NOT_ACTIVATED ( 0x0002 + cOCTVC1_GSM_PHYSICAL_CHANNEL_RC_BASE )
#define cOCTVC1_GSM_RC_PHYSICAL_CHANNEL_ID_INVALID ( 0x0003 + cOCTVC1_GSM_PHYSICAL_CHANNEL_RC_BASE ) #define cOCTVC1_GSM_RC_PHYSICAL_CHANNEL_ID_INVALID ( 0x0003 + cOCTVC1_GSM_PHYSICAL_CHANNEL_RC_BASE )
/**************************************************************************** /****************************************************************************
SUB_CHANNEL return codes SUB_CHANNEL return codes
****************************************************************************/ ****************************************************************************/
#define cOCTVC1_GSM_SUB_CHANNEL_RC_BASE ( 0x0350 + cOCTVC1_GSM_RC_BASE ) #define cOCTVC1_GSM_SUB_CHANNEL_RC_BASE ( 0x0350 + cOCTVC1_GSM_RC_BASE )
#define cOCTVC1_GSM_RC_SUB_CHANNEL_ID_INVALID ( 0x0000 + cOCTVC1_GSM_SUB_CHANNEL_RC_BASE ) #define cOCTVC1_GSM_RC_SUB_CHANNEL_ID_INVALID ( 0x0000 + cOCTVC1_GSM_SUB_CHANNEL_RC_BASE )
#define cOCTVC1_GSM_RC_SUB_CHANNEL_DIRECTION_INVALID ( 0x0001 + cOCTVC1_GSM_SUB_CHANNEL_RC_BASE ) #define cOCTVC1_GSM_RC_SUB_CHANNEL_DIRECTION_INVALID ( 0x0001 + cOCTVC1_GSM_SUB_CHANNEL_RC_BASE )
/**************************************************************************** /****************************************************************************
LOGICAL_CHANNEL return codes LOGICAL_CHANNEL return codes
****************************************************************************/ ****************************************************************************/
#define cOCTVC1_GSM_LOGICAL_CHANNEL_RC_BASE ( 0x0400 + cOCTVC1_GSM_RC_BASE ) #define cOCTVC1_GSM_LOGICAL_CHANNEL_RC_BASE ( 0x0400 + cOCTVC1_GSM_RC_BASE )
#define cOCTVC1_GSM_RC_LOGICAL_CHANNEL_RESOURCE_UNAVAILABLE ( 0x0000 + cOCTVC1_GSM_LOGICAL_CHANNEL_RC_BASE ) #define cOCTVC1_GSM_RC_LOGICAL_CHANNEL_RESOURCE_UNAVAILABLE ( 0x0000 + cOCTVC1_GSM_LOGICAL_CHANNEL_RC_BASE )
#define cOCTVC1_GSM_RC_LOGICAL_CHANNEL_ALREADY_ACTIVATED ( 0x0001 + cOCTVC1_GSM_LOGICAL_CHANNEL_RC_BASE ) #define cOCTVC1_GSM_RC_LOGICAL_CHANNEL_ALREADY_ACTIVATED ( 0x0001 + cOCTVC1_GSM_LOGICAL_CHANNEL_RC_BASE )
#define cOCTVC1_GSM_RC_LOGICAL_CHANNEL_NOT_ACTIVATED ( 0x0002 + cOCTVC1_GSM_LOGICAL_CHANNEL_RC_BASE ) #define cOCTVC1_GSM_RC_LOGICAL_CHANNEL_NOT_ACTIVATED ( 0x0002 + cOCTVC1_GSM_LOGICAL_CHANNEL_RC_BASE )
#define cOCTVC1_GSM_RC_LOGICAL_CHANNEL_ID_INVALID ( 0x0003 + cOCTVC1_GSM_LOGICAL_CHANNEL_RC_BASE ) #define cOCTVC1_GSM_RC_LOGICAL_CHANNEL_ID_INVALID ( 0x0003 + cOCTVC1_GSM_LOGICAL_CHANNEL_RC_BASE )
#define cOCTVC1_GSM_RC_LOGICAL_CHANNEL_DIRECTION_INVALID ( 0x0004 + cOCTVC1_GSM_LOGICAL_CHANNEL_RC_BASE ) #define cOCTVC1_GSM_RC_LOGICAL_CHANNEL_DIRECTION_INVALID ( 0x0004 + cOCTVC1_GSM_LOGICAL_CHANNEL_RC_BASE )
#define cOCTVC1_GSM_RC_LOGICAL_CHANNEL_SAPI_INVALID ( 0x0005 + cOCTVC1_GSM_LOGICAL_CHANNEL_RC_BASE ) #define cOCTVC1_GSM_RC_LOGICAL_CHANNEL_SAPI_INVALID ( 0x0005 + cOCTVC1_GSM_LOGICAL_CHANNEL_RC_BASE )
/**************************************************************************** /****************************************************************************
Validate return codes Validate return codes
****************************************************************************/ ****************************************************************************/
#define cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE ( 0xF000 + cOCTVC1_GSM_RC_BASE ) #define cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE ( 0xF000 + cOCTVC1_GSM_RC_BASE )
#define cOCTVC1_GSM_RC_RF_CONFIG_INVALID_RX_GAIN_DB ( 0x1 + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE ) #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_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_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_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_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_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_LOGICAL_CHANNEL_RAW_DATA_INVALID_DATA_LENGTH ( 0x7 + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
#define cOCTVC1_GSM_RC_TRX_LOGICAL_CHANNEL_EMPTY_FRAME_REQUEST_INVALID_FRAME_NUMBER ( 0x8 + 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 )
#endif /* OCTVC1_GSM_RC_H__ */ #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 )
#endif /* OCTVC1_GSM_RC_H__ */

View File

@ -1,11 +1,11 @@
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
File: OCTVC1_GSM_RC_PRIV.h File: OCTVC1_GSM_RC_PRIV.h
Copyright (c) 2015 Octasic Inc. All rights reserved. Copyright (c) 2015 Octasic Inc. All rights reserved.
Description: Contains the return codes for the GSM API. Description: Contains the return codes for the GSM API.
This program is free software; you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or the Free Software Foundation; either version 2 of the License, or
@ -18,29 +18,29 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License along 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
$Octasic_Revision: $ $Octasic_Revision: $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
#ifndef OCTVC1_GSM_RC_PRIV_H__ #ifndef OCTVC1_GSM_RC_PRIV_H__
#define OCTVC1_GSM_RC_PRIV_H__ #define OCTVC1_GSM_RC_PRIV_H__
/***************************** INCLUDE FILES *******************************/ /***************************** INCLUDE FILES *******************************/
#include "octvc1_gsm_rc.h" #include "octvc1_gsm_rc.h"
#include "octvc1_gsm_base.h" #include "octvc1_gsm_base.h"
/**************************************************************************** /****************************************************************************
GSM return codes GSM return codes
****************************************************************************/ ****************************************************************************/
/**************************************************************************** /****************************************************************************
Validate return codes Validate return codes
****************************************************************************/ ****************************************************************************/
#endif /* OCTVC1_GSM_RC_PRIV_H__ */ #endif /* OCTVC1_GSM_RC_PRIV_H__ */

View File

@ -1,11 +1,11 @@
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
File: OCTVC1_GSM_VERSION.h File: OCTVC1_GSM_VERSION.h
Copyright (c) 2015 Octasic Inc. All rights reserved. Copyright (c) 2015 Octasic Inc. All rights reserved.
Description: Contains the version of the GSM API interface. Description: Contains the version of the GSM API interface.
This program is free software; you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or the Free Software Foundation; either version 2 of the License, or
@ -18,34 +18,34 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License along 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
$Octasic_Revision: $ $Octasic_Revision: $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
#ifndef __OCTVC1_GSM_VERSION_H__ #ifndef __OCTVC1_GSM_VERSION_H__
#define __OCTVC1_GSM_VERSION_H__ #define __OCTVC1_GSM_VERSION_H__
/* The version ID is separated into the following sections: /* The version ID is separated into the following sections:
bit[31:25]: Major version bit[31:25]: Major version
bit[24:18]: Minor version bit[24:18]: Minor version
bit[17:11]: Bug fix version bit[17:11]: Bug fix version
bit[10:0]: Build number bit[10:0]: Build number
*/ */
#define cOCTVC1_GSM_VERSION_MAJOR 1 #define cOCTVC1_GSM_VERSION_MAJOR 1
#define cOCTVC1_GSM_VERSION_MINOR 2 #define cOCTVC1_GSM_VERSION_MINOR 3
#define cOCTVC1_GSM_VERSION_MAINTENANCE 4 #define cOCTVC1_GSM_VERSION_MAINTENANCE 0
#define cOCTVC1_GSM_VERSION_BUILD 403 #define cOCTVC1_GSM_VERSION_BUILD 572
#define cOCTVC1_GSM_VERSION_ID ( (cOCTVC1_GSM_VERSION_MAJOR << 25) + \ #define cOCTVC1_GSM_VERSION_ID ( (cOCTVC1_GSM_VERSION_MAJOR << 25) + \
(cOCTVC1_GSM_VERSION_MINOR << 18) + \ (cOCTVC1_GSM_VERSION_MINOR << 18) + \
(cOCTVC1_GSM_VERSION_MAINTENANCE << 11) + \ (cOCTVC1_GSM_VERSION_MAINTENANCE << 11) + \
cOCTVC1_GSM_VERSION_BUILD ) cOCTVC1_GSM_VERSION_BUILD )
#endif /* __OCTVC1_GSM_VERSION_H__ */ #endif /* __OCTVC1_GSM_VERSION_H__ */

File diff suppressed because it is too large Load Diff

View File

@ -1,11 +1,11 @@
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
File: OCTVC1_HW_API_PRIV.h File: OCTVC1_HW_API_PRIV.h
Copyright (c) 2015 Octasic Inc. All rights reserved. Copyright (c) 2015 Octasic Inc. All rights reserved.
Description: Contains the definition of the HW API. Description: Contains the definition of the HW API.
This program is free software; you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or the Free Software Foundation; either version 2 of the License, or
@ -18,142 +18,142 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License along 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
$Revision: $ $Revision: $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
#ifndef __OCTVC1_HW_API_PRIV_H__ #ifndef __OCTVC1_HW_API_PRIV_H__
#define __OCTVC1_HW_API_PRIV_H__ #define __OCTVC1_HW_API_PRIV_H__
/***************************** INCLUDE FILES *******************************/ /***************************** INCLUDE FILES *******************************/
#include "octvc1_hw_api.h" #include "octvc1_hw_api.h"
#include "octvc1_hw_id_priv.h" #include "octvc1_hw_id_priv.h"
#include "octvc1_hw_rc_priv.h" #include "octvc1_hw_rc_priv.h"
/************************ COMMON DEFINITIONS *******************************/ /************************ COMMON DEFINITIONS *******************************/
/*------------------------------------------------------------------------------------- /*-------------------------------------------------------------------------------------
MAIN API private definitions MAIN API private definitions
-------------------------------------------------------------------------------------*/ -------------------------------------------------------------------------------------*/
#define cOCTVC1_HW_PRIVATE_API_CMD_PASSWORD 0x1FE75CB2 #define cOCTVC1_HW_PRIVATE_API_CMD_PASSWORD 0x1FE75CB2
/***************************** METHODS *************************************/ /***************************** METHODS *************************************/
/*------------------------------------------------------------------------------------- /*-------------------------------------------------------------------------------------
tOCTVC1_HW_MSG_ETH_PORT_RESTRICTED_UNBLOCK_CMD tOCTVC1_HW_MSG_ETH_PORT_RESTRICTED_UNBLOCK_CMD
Private restricted api unblock command and response structure. Private restricted api unblock command and response structure.
Members: Members:
Header Header
OCTVC1 Message Header OCTVC1 Message Header
ulPortIndex ulPortIndex
Unique ETH port identifier Unique ETH port identifier
ulPassword ulPassword
Default: cOCTVC1_HW_PRIVATE_API_CMD_PASSWORD Default: cOCTVC1_HW_PRIVATE_API_CMD_PASSWORD
Command password! Command password!
-------------------------------------------------------------------------------------*/ -------------------------------------------------------------------------------------*/
typedef struct typedef struct
{ {
tOCTVC1_MSG_HEADER Header; tOCTVC1_MSG_HEADER Header;
tOCTVC1_INDEX ulPortIndex; tOCTVC1_INDEX ulPortIndex;
tOCT_UINT32 ulPassword; tOCT_UINT32 ulPassword;
} tOCTVC1_HW_MSG_ETH_PORT_RESTRICTED_UNBLOCK_CMD; } tOCTVC1_HW_MSG_ETH_PORT_RESTRICTED_UNBLOCK_CMD;
/*------------------------------------------------------------------------------------- /*-------------------------------------------------------------------------------------
tOCTVC1_HW_MSG_ETH_PORT_RESTRICTED_UNBLOCK_RSP tOCTVC1_HW_MSG_ETH_PORT_RESTRICTED_UNBLOCK_RSP
Members: Members:
Header Header
OCTVC1 Message Header OCTVC1 Message Header
ulPortIndex ulPortIndex
Unique ETH port identifier Unique ETH port identifier
-------------------------------------------------------------------------------------*/ -------------------------------------------------------------------------------------*/
typedef struct typedef struct
{ {
tOCTVC1_MSG_HEADER Header; tOCTVC1_MSG_HEADER Header;
tOCTVC1_INDEX ulPortIndex; tOCTVC1_INDEX ulPortIndex;
} tOCTVC1_HW_MSG_ETH_PORT_RESTRICTED_UNBLOCK_RSP; } tOCTVC1_HW_MSG_ETH_PORT_RESTRICTED_UNBLOCK_RSP;
/*------------------------------------------------------------------------------------- /*-------------------------------------------------------------------------------------
tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_CMD tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_CMD
Members: Members:
Header Header
OCTVC1 Message Header OCTVC1 Message Header
ulDacInitValue ulDacInitValue
Default: 0x00007600 Default: 0x00007600
DAC initial value. DAC initial value.
ulSyncWindowSize ulSyncWindowSize
Default: 7 Default: 7
Number of consecutive values within iSyncThreshold to consider that the clock Number of consecutive values within iSyncThreshold to consider that the clock
manager is synchronized to its reference. manager is synchronized to its reference.
lSyncThreshold lSyncThreshold
Default: 10 Default: 10
Maximum allowed delta to consider that the clock manager is synchronized to its Maximum allowed delta to consider that the clock manager is synchronized to its
reference. reference.
-------------------------------------------------------------------------------------*/ -------------------------------------------------------------------------------------*/
typedef struct typedef struct
{ {
tOCTVC1_MSG_HEADER Header; tOCTVC1_MSG_HEADER Header;
tOCT_UINT32 ulDacInitValue; tOCT_UINT32 ulDacInitValue;
tOCT_UINT32 ulSyncWindowSize; tOCT_UINT32 ulSyncWindowSize;
tOCT_INT32 lSyncThreshold; tOCT_INT32 lSyncThreshold;
} tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_CMD; } tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_CMD;
/*------------------------------------------------------------------------------------- /*-------------------------------------------------------------------------------------
tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_RSP tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_RSP
Members: Members:
Header Header
OCTVC1 Message Header OCTVC1 Message Header
-------------------------------------------------------------------------------------*/ -------------------------------------------------------------------------------------*/
typedef struct typedef struct
{ {
tOCTVC1_MSG_HEADER Header; tOCTVC1_MSG_HEADER Header;
} tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_RSP; } tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_RSP;
/*------------------------------------------------------------------------------------- /*-------------------------------------------------------------------------------------
tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STOP_SYNCHRO_CMD tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STOP_SYNCHRO_CMD
Members: Members:
Header Header
OCTVC1 Message Header OCTVC1 Message Header
-------------------------------------------------------------------------------------*/ -------------------------------------------------------------------------------------*/
typedef struct typedef struct
{ {
tOCTVC1_MSG_HEADER Header; tOCTVC1_MSG_HEADER Header;
} tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STOP_SYNCHRO_CMD; } tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STOP_SYNCHRO_CMD;
/*------------------------------------------------------------------------------------- /*-------------------------------------------------------------------------------------
tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STOP_SYNCHRO_RSP tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STOP_SYNCHRO_RSP
Members: Members:
Header Header
OCTVC1 Message Header OCTVC1 Message Header
-------------------------------------------------------------------------------------*/ -------------------------------------------------------------------------------------*/
typedef struct typedef struct
{ {
tOCTVC1_MSG_HEADER Header; tOCTVC1_MSG_HEADER Header;
} tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STOP_SYNCHRO_RSP; } tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STOP_SYNCHRO_RSP;
/*************** INCLUDE FILES WITH DEPENDENCIES ON THIS FILE **************/ /*************** INCLUDE FILES WITH DEPENDENCIES ON THIS FILE **************/
#include "octvc1_hw_evt_priv.h" #include "octvc1_hw_evt_priv.h"
#endif /* __OCTVC1_HW_API_PRIV_H__ */ #endif /* __OCTVC1_HW_API_PRIV_H__ */

View File

@ -18,7 +18,7 @@ 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/

View File

@ -20,7 +20,7 @@ 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
#ifndef __OCTVC1_HW_API_SWAP_H__ #ifndef __OCTVC1_HW_API_SWAP_H__
@ -491,6 +491,10 @@ extern "C" {
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_RF_PORT_INFO_RSP *)pOCTVC1_HW_MSG_RF_PORT_INFO_RSP)->hOwner); \ 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 = \ ((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); \ 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); \
} }
#else #else
#define mOCTVC1_HW_MSG_RF_PORT_INFO_RSP_SWAP( pOCTVC1_HW_MSG_RF_PORT_INFO_RSP ) #define mOCTVC1_HW_MSG_RF_PORT_INFO_RSP_SWAP( pOCTVC1_HW_MSG_RF_PORT_INFO_RSP )
@ -588,33 +592,6 @@ extern "C" {
#define mOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_RX_CONFIG_RSP_SWAP( pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_RX_CONFIG_RSP ) #define mOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_RX_CONFIG_RSP_SWAP( pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_RX_CONFIG_RSP )
#endif /* _OCT_ENDIAN_TYPE_LE_ */ #endif /* _OCT_ENDIAN_TYPE_LE_ */
#if defined( _OCT_ENDIAN_TYPE_LE_ )
#define mOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CMD_SWAP( _f_pParms ){ tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CMD * pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CMD = (_f_pParms); SWAP_UNUSED(pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CMD)\
{ mOCTVC1_MSG_HEADER_SWAP( &((tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CMD *)pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CMD)->Header ); } \
((tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CMD *)pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CMD)->ulPortIndex = \
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CMD *)pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CMD)->ulPortIndex); \
((tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CMD *)pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CMD)->ulAntennaIndex = \
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CMD *)pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CMD)->ulAntennaIndex); \
((tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CMD *)pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CMD)->lRxGaindB = \
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CMD *)pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CMD)->lRxGaindB); \
{ mOCTVC1_RADIO_RX_GAIN_CTRL_MODE_ENUM_SWAP( &((tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CMD *)pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CMD)->ulRxGainMode ); } \
}
#else
#define mOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CMD_SWAP( pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CMD )
#endif /* _OCT_ENDIAN_TYPE_LE_ */
#if defined( _OCT_ENDIAN_TYPE_LE_ )
#define mOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_RSP_SWAP( _f_pParms ){ tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_RSP * pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_RSP = (_f_pParms); SWAP_UNUSED(pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_RSP)\
{ mOCTVC1_MSG_HEADER_SWAP( &((tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_RSP *)pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_RSP)->Header ); } \
((tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_RSP *)pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_RSP)->ulPortIndex = \
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_RSP *)pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_RSP)->ulPortIndex); \
((tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_RSP *)pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_RSP)->ulAntennaIndex = \
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_RSP *)pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_RSP)->ulAntennaIndex); \
}
#else
#define mOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_RSP_SWAP( pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_RSP )
#endif /* _OCT_ENDIAN_TYPE_LE_ */
#if defined( _OCT_ENDIAN_TYPE_LE_ ) #if defined( _OCT_ENDIAN_TYPE_LE_ )
#define mOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CONFIG_CMD_SWAP( _f_pParms ){ tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CONFIG_CMD * pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CONFIG_CMD = (_f_pParms); SWAP_UNUSED(pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CONFIG_CMD)\ #define mOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CONFIG_CMD_SWAP( _f_pParms ){ tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CONFIG_CMD * pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CONFIG_CMD = (_f_pParms); SWAP_UNUSED(pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CONFIG_CMD)\
{ mOCTVC1_MSG_HEADER_SWAP( &((tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CONFIG_CMD *)pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CONFIG_CMD)->Header ); } \ { mOCTVC1_MSG_HEADER_SWAP( &((tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CONFIG_CMD *)pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CONFIG_CMD)->Header ); } \
@ -643,32 +620,6 @@ extern "C" {
#define mOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CONFIG_RSP_SWAP( pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CONFIG_RSP ) #define mOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CONFIG_RSP_SWAP( pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CONFIG_RSP )
#endif /* _OCT_ENDIAN_TYPE_LE_ */ #endif /* _OCT_ENDIAN_TYPE_LE_ */
#if defined( _OCT_ENDIAN_TYPE_LE_ )
#define mOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_CMD_SWAP( _f_pParms ){ tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_CMD * pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_CMD = (_f_pParms); SWAP_UNUSED(pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_CMD)\
{ mOCTVC1_MSG_HEADER_SWAP( &((tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_CMD *)pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_CMD)->Header ); } \
((tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_CMD *)pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_CMD)->ulPortIndex = \
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_CMD *)pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_CMD)->ulPortIndex); \
((tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_CMD *)pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_CMD)->ulAntennaIndex = \
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_CMD *)pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_CMD)->ulAntennaIndex); \
((tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_CMD *)pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_CMD)->lTxGaindB = \
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_CMD *)pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_CMD)->lTxGaindB); \
}
#else
#define mOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_CMD_SWAP( pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_CMD )
#endif /* _OCT_ENDIAN_TYPE_LE_ */
#if defined( _OCT_ENDIAN_TYPE_LE_ )
#define mOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_RSP_SWAP( _f_pParms ){ tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_RSP * pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_RSP = (_f_pParms); SWAP_UNUSED(pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_RSP)\
{ mOCTVC1_MSG_HEADER_SWAP( &((tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_RSP *)pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_RSP)->Header ); } \
((tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_RSP *)pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_RSP)->ulPortIndex = \
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_RSP *)pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_RSP)->ulPortIndex); \
((tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_RSP *)pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_RSP)->ulAntennaIndex = \
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_RSP *)pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_RSP)->ulAntennaIndex); \
}
#else
#define mOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_RSP_SWAP( pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_RSP )
#endif /* _OCT_ENDIAN_TYPE_LE_ */
#if defined( _OCT_ENDIAN_TYPE_LE_ ) #if defined( _OCT_ENDIAN_TYPE_LE_ )
#define mOCTVC1_HW_MSG_CLOCK_SYNC_MGR_INFO_CMD_SWAP( _f_pParms ){ tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_INFO_CMD * pOCTVC1_HW_MSG_CLOCK_SYNC_MGR_INFO_CMD = (_f_pParms); SWAP_UNUSED(pOCTVC1_HW_MSG_CLOCK_SYNC_MGR_INFO_CMD)\ #define mOCTVC1_HW_MSG_CLOCK_SYNC_MGR_INFO_CMD_SWAP( _f_pParms ){ tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_INFO_CMD * pOCTVC1_HW_MSG_CLOCK_SYNC_MGR_INFO_CMD = (_f_pParms); SWAP_UNUSED(pOCTVC1_HW_MSG_CLOCK_SYNC_MGR_INFO_CMD)\
{ mOCTVC1_MSG_HEADER_SWAP( &((tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_INFO_CMD *)pOCTVC1_HW_MSG_CLOCK_SYNC_MGR_INFO_CMD)->Header ); } \ { mOCTVC1_MSG_HEADER_SWAP( &((tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_INFO_CMD *)pOCTVC1_HW_MSG_CLOCK_SYNC_MGR_INFO_CMD)->Header ); } \

View File

@ -1,11 +1,11 @@
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
File: OCTVC1_HW_BASE.h File: OCTVC1_HW_BASE.h
Copyright (c) 2015 Octasic Inc. All rights reserved. Copyright (c) 2015 Octasic Inc. All rights reserved.
Description: Contains the definition of the OCTVC1 API. Description: Contains the definition of the OCTVC1 API.
This program is free software; you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or the Free Software Foundation; either version 2 of the License, or
@ -18,34 +18,34 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License along 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
$Octasic_Revision: $ $Octasic_Revision: $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
#ifndef __OCTVC1_HW_BASE_H__ #ifndef __OCTVC1_HW_BASE_H__
#define __OCTVC1_HW_BASE_H__ #define __OCTVC1_HW_BASE_H__
/***************************** INCLUDE FILES *******************************/ /***************************** INCLUDE FILES *******************************/
#include "../octvc1_base.h" #include "../octvc1_base.h"
/**************************************************************************** /****************************************************************************
Module unique identifiers Module unique identifiers
****************************************************************************/ ****************************************************************************/
#define cOCTVC1_HW_UID ( 0x06 ) #define cOCTVC1_HW_UID ( 0x06 )
/**************************************************************************** /****************************************************************************
Module identifier bases Module identifier bases
****************************************************************************/ ****************************************************************************/
/* Module: HW */ /* Module: HW */
#define cOCTVC1_HW_CID_BASE ( (cOCTVC1_HW_UID << 16) + cOCTVC1_CID_BASE ) #define cOCTVC1_HW_CID_BASE ( (cOCTVC1_HW_UID << 16) + cOCTVC1_CID_BASE )
#define cOCTVC1_HW_EID_BASE ( (cOCTVC1_HW_UID << 16) + cOCTVC1_EID_BASE ) #define cOCTVC1_HW_EID_BASE ( (cOCTVC1_HW_UID << 16) + cOCTVC1_EID_BASE )
#define cOCTVC1_HW_RC_BASE ( (cOCTVC1_HW_UID << 16) + cOCTVC1_RC_BASE ) #define cOCTVC1_HW_RC_BASE ( (cOCTVC1_HW_UID << 16) + cOCTVC1_RC_BASE )
#endif /* __OCTVC1_HW_BASE_H__ */ #endif /* __OCTVC1_HW_BASE_H__ */

File diff suppressed because it is too large Load Diff

View File

@ -1,11 +1,11 @@
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
File: OCTVC1_HW_DEFAULT_PRIV.h File: OCTVC1_HW_DEFAULT_PRIV.h
Copyright (c) 2015 Octasic Inc. All rights reserved. Copyright (c) 2015 Octasic Inc. All rights reserved.
Description: Contains the event definition of the HW API. Description: Contains the event definition of the HW API.
This program is free software; you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or the Free Software Foundation; either version 2 of the License, or
@ -18,118 +18,118 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License along 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
$Octasic_Revision: $ $Octasic_Revision: $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
#ifndef __OCTVC1_HW_DEFAULT_PRIV_H__ #ifndef __OCTVC1_HW_DEFAULT_PRIV_H__
#define __OCTVC1_HW_DEFAULT_PRIV_H__ #define __OCTVC1_HW_DEFAULT_PRIV_H__
/***************************** INCLUDE FILES *******************************/ /***************************** INCLUDE FILES *******************************/
#include "octvc1_hw_api_priv.h" #include "octvc1_hw_api_priv.h"
#include "octvc1_hw_default.h" #include "octvc1_hw_default.h"
/***************************** COMMAND DEFAULT *****************************/ /***************************** COMMAND DEFAULT *****************************/
/*-------------------------------------------------------------------------- /*--------------------------------------------------------------------------
tOCTVC1_HW_MSG_ETH_PORT_RESTRICTED_UNBLOCK_CMD tOCTVC1_HW_MSG_ETH_PORT_RESTRICTED_UNBLOCK_CMD
----------------------------------------------------------------------------*/ ----------------------------------------------------------------------------*/
#ifdef OCTVC1_OPT_DECLARE_DEFAULTS #ifdef OCTVC1_OPT_DECLARE_DEFAULTS
const tOCTVC1_HW_MSG_ETH_PORT_RESTRICTED_UNBLOCK_CMD buf_tOCTVC1_HW_MSG_ETH_PORT_RESTRICTED_UNBLOCK_CMD = const tOCTVC1_HW_MSG_ETH_PORT_RESTRICTED_UNBLOCK_CMD buf_tOCTVC1_HW_MSG_ETH_PORT_RESTRICTED_UNBLOCK_CMD =
{ {
{ /* Header */ { /* Header */
((sizeof(tOCTVC1_HW_MSG_ETH_PORT_RESTRICTED_UNBLOCK_CMD)<<cOCTVC1_MSG_LENGTH_BIT_OFFSET)&cOCTVC1_MSG_LENGTH_BIT_MASK), /* ulLength */ ((sizeof(tOCTVC1_HW_MSG_ETH_PORT_RESTRICTED_UNBLOCK_CMD)<<cOCTVC1_MSG_LENGTH_BIT_OFFSET)&cOCTVC1_MSG_LENGTH_BIT_MASK), /* ulLength */
0, /* ulTransactionId */ 0, /* ulTransactionId */
((cOCTVC1_HW_MSG_ETH_PORT_RESTRICTED_UNBLOCK_CID<<cOCTVC1_MSG_ID_BIT_OFFSET)&cOCTVC1_MSG_ID_BIT_MASK), /* ul_Type_R_CmdId */ ((cOCTVC1_HW_MSG_ETH_PORT_RESTRICTED_UNBLOCK_CID<<cOCTVC1_MSG_ID_BIT_OFFSET)&cOCTVC1_MSG_ID_BIT_MASK), /* ul_Type_R_CmdId */
0, /* ulSessionId */ 0, /* ulSessionId */
0, /* ulReturnCode */ 0, /* ulReturnCode */
0 /* ulUserInfo */ 0 /* ulUserInfo */
}, },
0, /* ulPortIndex */ 0, /* ulPortIndex */
cOCTVC1_HW_PRIVATE_API_CMD_PASSWORD /* ulPassword */ cOCTVC1_HW_PRIVATE_API_CMD_PASSWORD /* ulPassword */
}; };
const tOCTVC1_HW_MSG_ETH_PORT_RESTRICTED_UNBLOCK_CMD *g_pOctDef_tOCTVC1_HW_MSG_ETH_PORT_RESTRICTED_UNBLOCK_CMD = const tOCTVC1_HW_MSG_ETH_PORT_RESTRICTED_UNBLOCK_CMD *g_pOctDef_tOCTVC1_HW_MSG_ETH_PORT_RESTRICTED_UNBLOCK_CMD =
&buf_tOCTVC1_HW_MSG_ETH_PORT_RESTRICTED_UNBLOCK_CMD; &buf_tOCTVC1_HW_MSG_ETH_PORT_RESTRICTED_UNBLOCK_CMD;
#else /* OCTVC1_OPT_DECLARE_DEFAULTS */ #else /* OCTVC1_OPT_DECLARE_DEFAULTS */
extern const tOCTVC1_HW_MSG_ETH_PORT_RESTRICTED_UNBLOCK_CMD *g_pOctDef_tOCTVC1_HW_MSG_ETH_PORT_RESTRICTED_UNBLOCK_CMD; extern const tOCTVC1_HW_MSG_ETH_PORT_RESTRICTED_UNBLOCK_CMD *g_pOctDef_tOCTVC1_HW_MSG_ETH_PORT_RESTRICTED_UNBLOCK_CMD;
#endif /* OCTVC1_OPT_DECLARE_DEFAULTS */ #endif /* OCTVC1_OPT_DECLARE_DEFAULTS */
#define mOCTVC1_HW_MSG_ETH_PORT_RESTRICTED_UNBLOCK_CMD_DEF(pSt) \ #define mOCTVC1_HW_MSG_ETH_PORT_RESTRICTED_UNBLOCK_CMD_DEF(pSt) \
{ \ { \
*pSt = *g_pOctDef_tOCTVC1_HW_MSG_ETH_PORT_RESTRICTED_UNBLOCK_CMD; \ *pSt = *g_pOctDef_tOCTVC1_HW_MSG_ETH_PORT_RESTRICTED_UNBLOCK_CMD; \
} }
/*-------------------------------------------------------------------------- /*--------------------------------------------------------------------------
tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_CMD tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_CMD
----------------------------------------------------------------------------*/ ----------------------------------------------------------------------------*/
#ifdef OCTVC1_OPT_DECLARE_DEFAULTS #ifdef OCTVC1_OPT_DECLARE_DEFAULTS
const tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_CMD buf_tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_CMD = const tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_CMD buf_tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_CMD =
{ {
{ /* Header */ { /* Header */
((sizeof(tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_CMD)<<cOCTVC1_MSG_LENGTH_BIT_OFFSET)&cOCTVC1_MSG_LENGTH_BIT_MASK), /* ulLength */ ((sizeof(tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_CMD)<<cOCTVC1_MSG_LENGTH_BIT_OFFSET)&cOCTVC1_MSG_LENGTH_BIT_MASK), /* ulLength */
0, /* ulTransactionId */ 0, /* ulTransactionId */
((cOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_CID<<cOCTVC1_MSG_ID_BIT_OFFSET)&cOCTVC1_MSG_ID_BIT_MASK), /* ul_Type_R_CmdId */ ((cOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_CID<<cOCTVC1_MSG_ID_BIT_OFFSET)&cOCTVC1_MSG_ID_BIT_MASK), /* ul_Type_R_CmdId */
0, /* ulSessionId */ 0, /* ulSessionId */
0, /* ulReturnCode */ 0, /* ulReturnCode */
0 /* ulUserInfo */ 0 /* ulUserInfo */
}, },
0x00007600, /* ulDacInitValue */ 0x00007600, /* ulDacInitValue */
7, /* ulSyncWindowSize */ 7, /* ulSyncWindowSize */
10 /* lSyncThreshold */ 10 /* lSyncThreshold */
}; };
const tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_CMD *g_pOctDef_tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_CMD = const tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_CMD *g_pOctDef_tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_CMD =
&buf_tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_CMD; &buf_tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_CMD;
#else /* OCTVC1_OPT_DECLARE_DEFAULTS */ #else /* OCTVC1_OPT_DECLARE_DEFAULTS */
extern const tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_CMD *g_pOctDef_tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_CMD; extern const tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_CMD *g_pOctDef_tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_CMD;
#endif /* OCTVC1_OPT_DECLARE_DEFAULTS */ #endif /* OCTVC1_OPT_DECLARE_DEFAULTS */
#define mOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_CMD_DEF(pSt) \ #define mOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_CMD_DEF(pSt) \
{ \ { \
*pSt = *g_pOctDef_tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_CMD; \ *pSt = *g_pOctDef_tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_CMD; \
} }
/*-------------------------------------------------------------------------- /*--------------------------------------------------------------------------
tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STOP_SYNCHRO_CMD tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STOP_SYNCHRO_CMD
----------------------------------------------------------------------------*/ ----------------------------------------------------------------------------*/
#ifdef OCTVC1_OPT_DECLARE_DEFAULTS #ifdef OCTVC1_OPT_DECLARE_DEFAULTS
const tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STOP_SYNCHRO_CMD buf_tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STOP_SYNCHRO_CMD = const tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STOP_SYNCHRO_CMD buf_tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STOP_SYNCHRO_CMD =
{ {
{ /* Header */ { /* Header */
((sizeof(tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STOP_SYNCHRO_CMD)<<cOCTVC1_MSG_LENGTH_BIT_OFFSET)&cOCTVC1_MSG_LENGTH_BIT_MASK), /* ulLength */ ((sizeof(tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STOP_SYNCHRO_CMD)<<cOCTVC1_MSG_LENGTH_BIT_OFFSET)&cOCTVC1_MSG_LENGTH_BIT_MASK), /* ulLength */
0, /* ulTransactionId */ 0, /* ulTransactionId */
((cOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STOP_SYNCHRO_CID<<cOCTVC1_MSG_ID_BIT_OFFSET)&cOCTVC1_MSG_ID_BIT_MASK), /* ul_Type_R_CmdId */ ((cOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STOP_SYNCHRO_CID<<cOCTVC1_MSG_ID_BIT_OFFSET)&cOCTVC1_MSG_ID_BIT_MASK), /* ul_Type_R_CmdId */
0, /* ulSessionId */ 0, /* ulSessionId */
0, /* ulReturnCode */ 0, /* ulReturnCode */
0 /* ulUserInfo */ 0 /* ulUserInfo */
} }
}; };
const tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STOP_SYNCHRO_CMD *g_pOctDef_tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STOP_SYNCHRO_CMD = const tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STOP_SYNCHRO_CMD *g_pOctDef_tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STOP_SYNCHRO_CMD =
&buf_tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STOP_SYNCHRO_CMD; &buf_tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STOP_SYNCHRO_CMD;
#else /* OCTVC1_OPT_DECLARE_DEFAULTS */ #else /* OCTVC1_OPT_DECLARE_DEFAULTS */
extern const tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STOP_SYNCHRO_CMD *g_pOctDef_tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STOP_SYNCHRO_CMD; extern const tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STOP_SYNCHRO_CMD *g_pOctDef_tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STOP_SYNCHRO_CMD;
#endif /* OCTVC1_OPT_DECLARE_DEFAULTS */ #endif /* OCTVC1_OPT_DECLARE_DEFAULTS */
#define mOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STOP_SYNCHRO_CMD_DEF(pSt) \ #define mOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STOP_SYNCHRO_CMD_DEF(pSt) \
{ \ { \
*pSt = *g_pOctDef_tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STOP_SYNCHRO_CMD; \ *pSt = *g_pOctDef_tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STOP_SYNCHRO_CMD; \
} }
#endif /* __OCTVC1_HW_DEFAULT_PRIV_H__ */ #endif /* __OCTVC1_HW_DEFAULT_PRIV_H__ */

View File

@ -1,10 +1,10 @@
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
File: OCTVC1_HW_EVT.h File: OCTVC1_HW_EVT.h
Copyright (c) 2015 Octasic Inc. All rights reserved. Copyright (c) 2015 Octasic Inc. All rights reserved.
Description: Contains the event definition of the HW API. Description: Contains the event definition of the HW API.
This program is free software; you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or the Free Software Foundation; either version 2 of the License, or
@ -17,62 +17,62 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License along 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
$Octasic_Revision: $ $Octasic_Revision: $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
#ifndef __OCTVC1_HW_EVT_H__ #ifndef __OCTVC1_HW_EVT_H__
#define __OCTVC1_HW_EVT_H__ #define __OCTVC1_HW_EVT_H__
/***************************** INCLUDE FILES *******************************/ /***************************** INCLUDE FILES *******************************/
#include "octvc1_hw_api.h" #include "octvc1_hw_api.h"
/************************ COMMON DEFINITIONS *******************************/ /************************ COMMON DEFINITIONS *******************************/
/***************************** NOTIFICATIONS **********************************/ /***************************** NOTIFICATIONS **********************************/
/*------------------------------------------------------------------------------------- /*-------------------------------------------------------------------------------------
tOCTVC1_HW_MSG_CPU_CORE_EXEC_REPORT_EVT tOCTVC1_HW_MSG_CPU_CORE_EXEC_REPORT_EVT
Members: Members:
Header Header
ulCoreIndex ulCoreIndex
Cpu Core identifier Cpu Core identifier
ulCoreUseMask ulCoreUseMask
One-hot vector indicating which cores are used. One-hot vector indicating which cores are used.
ulCoreHaltMask ulCoreHaltMask
One-hot vector indicating which cores are halted. One-hot vector indicating which cores are halted.
-------------------------------------------------------------------------------------*/ -------------------------------------------------------------------------------------*/
typedef struct typedef struct
{ {
tOCTVC1_EVENT_HEADER Header; tOCTVC1_EVENT_HEADER Header;
tOCTVC1_INDEX ulCoreIndex; tOCTVC1_INDEX ulCoreIndex;
tOCTVC1_HW_CPU_CORE_MASK ulCoreUseMask; tOCTVC1_HW_CPU_CORE_MASK ulCoreUseMask;
tOCTVC1_HW_CPU_CORE_MASK ulCoreHaltMask; tOCTVC1_HW_CPU_CORE_MASK ulCoreHaltMask;
} tOCTVC1_HW_MSG_CPU_CORE_EXEC_REPORT_EVT; } tOCTVC1_HW_MSG_CPU_CORE_EXEC_REPORT_EVT;
/*------------------------------------------------------------------------------------- /*-------------------------------------------------------------------------------------
tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STATUS_CHANGE_EVT tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STATUS_CHANGE_EVT
Members: Members:
Header Header
ulState ulState
ulPreviousState ulPreviousState
-------------------------------------------------------------------------------------*/ -------------------------------------------------------------------------------------*/
typedef struct typedef struct
{ {
tOCTVC1_EVENT_HEADER Header; tOCTVC1_EVENT_HEADER Header;
tOCTVC1_HW_CLOCK_SYNC_MGR_STATE_ENUM ulState; tOCTVC1_HW_CLOCK_SYNC_MGR_STATE_ENUM ulState;
tOCTVC1_HW_CLOCK_SYNC_MGR_STATE_ENUM ulPreviousState; tOCTVC1_HW_CLOCK_SYNC_MGR_STATE_ENUM ulPreviousState;
} tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STATUS_CHANGE_EVT; } tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STATUS_CHANGE_EVT;
#endif /* __OCTVC1_HW_EVT_H__ */ #endif /* __OCTVC1_HW_EVT_H__ */

View File

@ -1,10 +1,10 @@
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
File: OCTVC1_HW_EVT_PRIV.h File: OCTVC1_HW_EVT_PRIV.h
Copyright (c) 2015 Octasic Inc. All rights reserved. Copyright (c) 2015 Octasic Inc. All rights reserved.
Description: Contains the event definition of the HW API. Description: Contains the event definition of the HW API.
This program is free software; you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or the Free Software Foundation; either version 2 of the License, or
@ -17,25 +17,25 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License along 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
$Octasic_Revision: $ $Octasic_Revision: $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
#ifndef __OCTVC1_HW_EVT_PRIV_H__ #ifndef __OCTVC1_HW_EVT_PRIV_H__
#define __OCTVC1_HW_EVT_PRIV_H__ #define __OCTVC1_HW_EVT_PRIV_H__
/***************************** INCLUDE FILES *******************************/ /***************************** INCLUDE FILES *******************************/
#include "octvc1_hw_api_priv.h" #include "octvc1_hw_api_priv.h"
/************************ COMMON DEFINITIONS *******************************/ /************************ COMMON DEFINITIONS *******************************/
/***************************** NOTIFICATIONS **********************************/ /***************************** NOTIFICATIONS **********************************/
#endif /* __OCTVC1_HW_EVT_PRIV_H__ */ #endif /* __OCTVC1_HW_EVT_PRIV_H__ */

View File

@ -18,7 +18,7 @@ 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/

View File

@ -20,7 +20,7 @@ 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
#ifndef __OCTVC1_HW_EVT_SWAP_H__ #ifndef __OCTVC1_HW_EVT_SWAP_H__

View File

@ -1,11 +1,11 @@
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
File: OCTVC1_HW_ID.h File: OCTVC1_HW_ID.h
Copyright (c) 2015 Octasic Inc. All rights reserved. Copyright (c) 2015 Octasic Inc. All rights reserved.
Description: Contains the identifiers for the HW API. Description: Contains the identifiers for the HW API.
This program is free software; you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or the Free Software Foundation; either version 2 of the License, or
@ -18,56 +18,54 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License along 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
$Octasic_Revision: $ $Octasic_Revision: $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
#ifndef __OCTVC1_HW_ID_H__ #ifndef __OCTVC1_HW_ID_H__
#define __OCTVC1_HW_ID_H__ #define __OCTVC1_HW_ID_H__
/***************************** INCLUDE FILES *******************************/ /***************************** INCLUDE FILES *******************************/
#include "../octvc1_base.h" #include "../octvc1_base.h"
#include "octvc1_hw_base.h" #include "octvc1_hw_base.h"
/**************************************************************************** /****************************************************************************
Command IDs Command IDs
****************************************************************************/ ****************************************************************************/
#define cOCTVC1_HW_MSG_PCB_INFO_CID ( 0x001 + cOCTVC1_HW_CID_BASE ) #define cOCTVC1_HW_MSG_PCB_INFO_CID ( 0x001 + cOCTVC1_HW_CID_BASE )
#define cOCTVC1_HW_MSG_CPU_CORE_STATS_CID ( 0x002 + cOCTVC1_HW_CID_BASE ) #define cOCTVC1_HW_MSG_CPU_CORE_STATS_CID ( 0x002 + cOCTVC1_HW_CID_BASE )
#define cOCTVC1_HW_MSG_CPU_CORE_INFO_CID ( 0x003 + cOCTVC1_HW_CID_BASE ) #define cOCTVC1_HW_MSG_CPU_CORE_INFO_CID ( 0x003 + cOCTVC1_HW_CID_BASE )
#define cOCTVC1_HW_MSG_CPU_CORE_LIST_CID ( 0x004 + cOCTVC1_HW_CID_BASE ) #define cOCTVC1_HW_MSG_CPU_CORE_LIST_CID ( 0x004 + cOCTVC1_HW_CID_BASE )
#define cOCTVC1_HW_MSG_ETH_PORT_INFO_CID ( 0x005 + cOCTVC1_HW_CID_BASE ) #define cOCTVC1_HW_MSG_ETH_PORT_INFO_CID ( 0x005 + cOCTVC1_HW_CID_BASE )
#define cOCTVC1_HW_MSG_ETH_PORT_LIST_CID ( 0x006 + cOCTVC1_HW_CID_BASE ) #define cOCTVC1_HW_MSG_ETH_PORT_LIST_CID ( 0x006 + cOCTVC1_HW_CID_BASE )
#define cOCTVC1_HW_MSG_ETH_PORT_STATS_CID ( 0x007 + cOCTVC1_HW_CID_BASE ) #define cOCTVC1_HW_MSG_ETH_PORT_STATS_CID ( 0x007 + cOCTVC1_HW_CID_BASE )
#define cOCTVC1_HW_MSG_ETH_PORT_MODIFY_CID ( 0x009 + cOCTVC1_HW_CID_BASE ) #define cOCTVC1_HW_MSG_ETH_PORT_MODIFY_CID ( 0x009 + cOCTVC1_HW_CID_BASE )
#define cOCTVC1_HW_MSG_RF_PORT_INFO_CID ( 0x00a + cOCTVC1_HW_CID_BASE ) #define cOCTVC1_HW_MSG_RF_PORT_INFO_CID ( 0x00a + cOCTVC1_HW_CID_BASE )
#define cOCTVC1_HW_MSG_RF_PORT_STATS_CID ( 0x00b + cOCTVC1_HW_CID_BASE ) #define cOCTVC1_HW_MSG_RF_PORT_STATS_CID ( 0x00b + cOCTVC1_HW_CID_BASE )
#define cOCTVC1_HW_MSG_RF_PORT_LIST_CID ( 0x00c + cOCTVC1_HW_CID_BASE ) #define cOCTVC1_HW_MSG_RF_PORT_LIST_CID ( 0x00c + cOCTVC1_HW_CID_BASE )
#define cOCTVC1_HW_MSG_RF_PORT_LIST_ANTENNA_CID ( 0x00d + cOCTVC1_HW_CID_BASE ) #define cOCTVC1_HW_MSG_RF_PORT_LIST_ANTENNA_CID ( 0x00d + cOCTVC1_HW_CID_BASE )
#define cOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_RX_CONFIG_CID ( 0x00e + cOCTVC1_HW_CID_BASE ) #define cOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_RX_CONFIG_CID ( 0x00e + cOCTVC1_HW_CID_BASE )
#define cOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CID ( 0x00f + cOCTVC1_HW_CID_BASE ) #define cOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CONFIG_CID ( 0x00f + cOCTVC1_HW_CID_BASE )
#define cOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CONFIG_CID ( 0x010 + cOCTVC1_HW_CID_BASE ) #define cOCTVC1_HW_MSG_CLOCK_SYNC_MGR_INFO_CID ( 0x012 + cOCTVC1_HW_CID_BASE )
#define cOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_CID ( 0x011 + cOCTVC1_HW_CID_BASE ) #define cOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STATS_CID ( 0x013 + cOCTVC1_HW_CID_BASE )
#define cOCTVC1_HW_MSG_CLOCK_SYNC_MGR_INFO_CID ( 0x012 + cOCTVC1_HW_CID_BASE ) #define cOCTVC1_HW_MSG_CLOCK_SYNC_MGR_INFO_SOURCE_CID ( 0x014 + cOCTVC1_HW_CID_BASE )
#define cOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STATS_CID ( 0x013 + cOCTVC1_HW_CID_BASE ) #define cOCTVC1_HW_MSG_CLOCK_SYNC_MGR_MODIFY_SOURCE_CID ( 0x015 + cOCTVC1_HW_CID_BASE )
#define cOCTVC1_HW_MSG_CLOCK_SYNC_MGR_INFO_SOURCE_CID ( 0x014 + cOCTVC1_HW_CID_BASE )
#define cOCTVC1_HW_MSG_CLOCK_SYNC_MGR_MODIFY_SOURCE_CID ( 0x015 + cOCTVC1_HW_CID_BASE ) #define cOCTVC1_HW_CID_MAX (( 0x017 + 1 ) & 0xFFF)
#define cOCTVC1_HW_CID_MAX (( 0x017 + 1 ) & 0xFFF) /****************************************************************************
Event IDs
/**************************************************************************** ****************************************************************************/
Event IDs #define cOCTVC1_HW_MSG_CPU_CORE_EXEC_REPORT_EID ( 0x0001 + cOCTVC1_HW_EID_BASE )
****************************************************************************/ #define cOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STATUS_CHANGE_EID ( 0x0002 + cOCTVC1_HW_EID_BASE )
#define cOCTVC1_HW_MSG_CPU_CORE_EXEC_REPORT_EID ( 0x0001 + cOCTVC1_HW_EID_BASE )
#define cOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STATUS_CHANGE_EID ( 0x0002 + cOCTVC1_HW_EID_BASE ) #define cOCTVC1_HW_EID_MAX (( 0x0002 + 1 ) & 0xFFFF)
#define cOCTVC1_HW_EID_MAX (( 0x0002 + 1 ) & 0xFFFF)
#endif /* __OCTVC1_HW_ID_H__ */
#endif /* __OCTVC1_HW_ID_H__ */

View File

@ -1,11 +1,11 @@
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
File: OCTVC1_HW_ID_PRIV.h File: OCTVC1_HW_ID_PRIV.h
Copyright (c) 2015 Octasic Inc. All rights reserved. Copyright (c) 2015 Octasic Inc. All rights reserved.
Description: Contains the identifiers for the HW API. Description: Contains the identifiers for the HW API.
This program is free software; you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or the Free Software Foundation; either version 2 of the License, or
@ -18,33 +18,33 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License along 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
$Octasic_Revision: $ $Octasic_Revision: $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
#ifndef __OCTVC1_HW_ID_PRIV_H__ #ifndef __OCTVC1_HW_ID_PRIV_H__
#define __OCTVC1_HW_ID_PRIV_H__ #define __OCTVC1_HW_ID_PRIV_H__
/***************************** INCLUDE FILES *******************************/ /***************************** INCLUDE FILES *******************************/
#include "octvc1_hw_id.h" #include "octvc1_hw_id.h"
#include "octvc1_hw_base.h" #include "octvc1_hw_base.h"
/**************************************************************************** /****************************************************************************
Command IDs Command IDs
****************************************************************************/ ****************************************************************************/
#define cOCTVC1_HW_MSG_ETH_PORT_RESTRICTED_UNBLOCK_CID ( 0x008 + cOCTVC1_HW_CID_BASE ) #define cOCTVC1_HW_MSG_ETH_PORT_RESTRICTED_UNBLOCK_CID ( 0x008 + cOCTVC1_HW_CID_BASE )
#define cOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_CID ( 0x016 + cOCTVC1_HW_CID_BASE ) #define cOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_CID ( 0x016 + cOCTVC1_HW_CID_BASE )
#define cOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STOP_SYNCHRO_CID ( 0x017 + cOCTVC1_HW_CID_BASE ) #define cOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STOP_SYNCHRO_CID ( 0x017 + cOCTVC1_HW_CID_BASE )
/**************************************************************************** /****************************************************************************
Event IDs Event IDs
****************************************************************************/ ****************************************************************************/
#endif /* __OCTVC1_HW_ID_PRIV_H__ */ #endif /* __OCTVC1_HW_ID_PRIV_H__ */

View File

@ -1,11 +1,11 @@
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
File: OCTVC1_HW_RC.h File: OCTVC1_HW_RC.h
Copyright (c) 2015 Octasic Inc. All rights reserved. Copyright (c) 2015 Octasic Inc. All rights reserved.
Description: Contains the return codes for the HW API. Description: Contains the return codes for the HW API.
This program is free software; you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or the Free Software Foundation; either version 2 of the License, or
@ -18,61 +18,61 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License along 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
$Octasic_Revision: $ $Octasic_Revision: $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
#ifndef OCTVC1_HW_RC_H__ #ifndef OCTVC1_HW_RC_H__
#define OCTVC1_HW_RC_H__ #define OCTVC1_HW_RC_H__
/***************************** INCLUDE FILES *******************************/ /***************************** INCLUDE FILES *******************************/
#include "../octvc1_base.h" #include "../octvc1_base.h"
#include "../octvc1_generic_rc.h" #include "../octvc1_generic_rc.h"
#include "octvc1_hw_base.h" #include "octvc1_hw_base.h"
/**************************************************************************** /****************************************************************************
HW return codes HW return codes
****************************************************************************/ ****************************************************************************/
#define cOCTVC1_HW_RC_CORE_NOT_FOUND ( 0x0004 + cOCTVC1_HW_RC_BASE ) #define cOCTVC1_HW_RC_CORE_NOT_FOUND ( 0x0004 + cOCTVC1_HW_RC_BASE )
#define cOCTVC1_HW_RC_ETH_PORT_RESTRICTED_API_DENIED ( 0x0006 + cOCTVC1_HW_RC_BASE ) #define cOCTVC1_HW_RC_ETH_PORT_RESTRICTED_API_DENIED ( 0x0006 + cOCTVC1_HW_RC_BASE )
/**************************************************************************** /****************************************************************************
ETH return codes ETH return codes
****************************************************************************/ ****************************************************************************/
#define cOCTVC1_HW_ETH_RC_BASE ( 0x0010 + cOCTVC1_HW_RC_BASE ) #define cOCTVC1_HW_ETH_RC_BASE ( 0x0010 + cOCTVC1_HW_RC_BASE )
#define cOCTVC1_HW_RC_ETH_PORT_IN_USED ( 0x0001 + cOCTVC1_HW_ETH_RC_BASE ) #define cOCTVC1_HW_RC_ETH_PORT_IN_USED ( 0x0001 + cOCTVC1_HW_ETH_RC_BASE )
/**************************************************************************** /****************************************************************************
RF_PORT return codes RF_PORT return codes
****************************************************************************/ ****************************************************************************/
#define cOCTVC1_HW_RF_PORT_RC_BASE ( 0x0020 + cOCTVC1_HW_RC_BASE ) #define cOCTVC1_HW_RF_PORT_RC_BASE ( 0x0020 + cOCTVC1_HW_RC_BASE )
#define cOCTVC1_HW_RC_RF_PORT_UNUSED ( 0x0001 + cOCTVC1_HW_RF_PORT_RC_BASE ) #define cOCTVC1_HW_RC_RF_PORT_UNUSED ( 0x0001 + cOCTVC1_HW_RF_PORT_RC_BASE )
#define cOCTVC1_HW_RC_RF_PORT_ANTENNA_UNUSED ( 0x0002 + cOCTVC1_HW_RF_PORT_RC_BASE ) #define cOCTVC1_HW_RC_RF_PORT_ANTENNA_UNUSED ( 0x0002 + cOCTVC1_HW_RF_PORT_RC_BASE )
#define cOCTVC1_HW_RC_RF_PORT_ANTENNA_INTERNAL_ERROR ( 0x0003 + cOCTVC1_HW_RF_PORT_RC_BASE ) #define cOCTVC1_HW_RC_RF_PORT_ANTENNA_INTERNAL_ERROR ( 0x0003 + cOCTVC1_HW_RF_PORT_RC_BASE )
#define cOCTVC1_HW_RC_RF_PORT_ANTENNA_CANNOT_MODIFY ( 0x0004 + cOCTVC1_HW_RF_PORT_RC_BASE ) #define cOCTVC1_HW_RC_RF_PORT_ANTENNA_CANNOT_MODIFY ( 0x0004 + cOCTVC1_HW_RF_PORT_RC_BASE )
/**************************************************************************** /****************************************************************************
CLOCK_SYNC_MGR return codes CLOCK_SYNC_MGR return codes
****************************************************************************/ ****************************************************************************/
#define cOCTVC1_HW_CLOCK_SYNC_MGR_RC_BASE ( 0x0050 + cOCTVC1_HW_RC_BASE ) #define cOCTVC1_HW_CLOCK_SYNC_MGR_RC_BASE ( 0x0050 + cOCTVC1_HW_RC_BASE )
#define cOCTVC1_HW_RC_CLOCK_SYNC_MGR_ALREADY_OPEN ( 0x0000 + cOCTVC1_HW_CLOCK_SYNC_MGR_RC_BASE ) #define cOCTVC1_HW_RC_CLOCK_SYNC_MGR_ALREADY_OPEN ( 0x0000 + cOCTVC1_HW_CLOCK_SYNC_MGR_RC_BASE )
#define cOCTVC1_HW_RC_CLOCK_SYNC_MGR_OPEN_ERROR ( 0x0001 + cOCTVC1_HW_CLOCK_SYNC_MGR_RC_BASE ) #define cOCTVC1_HW_RC_CLOCK_SYNC_MGR_OPEN_ERROR ( 0x0001 + cOCTVC1_HW_CLOCK_SYNC_MGR_RC_BASE )
#define cOCTVC1_HW_RC_CLOCK_SYNC_MGR_CLOSE_ERROR ( 0x0002 + cOCTVC1_HW_CLOCK_SYNC_MGR_RC_BASE ) #define cOCTVC1_HW_RC_CLOCK_SYNC_MGR_CLOSE_ERROR ( 0x0002 + cOCTVC1_HW_CLOCK_SYNC_MGR_RC_BASE )
#define cOCTVC1_HW_RC_CLOCK_SYNC_MGR_BAD_PCB_INFO ( 0x0003 + cOCTVC1_HW_CLOCK_SYNC_MGR_RC_BASE ) #define cOCTVC1_HW_RC_CLOCK_SYNC_MGR_BAD_PCB_INFO ( 0x0003 + cOCTVC1_HW_CLOCK_SYNC_MGR_RC_BASE )
#define cOCTVC1_HW_RC_CLOCK_SYNC_MGR_DAC_OPEN_ERROR ( 0x0004 + cOCTVC1_HW_CLOCK_SYNC_MGR_RC_BASE ) #define cOCTVC1_HW_RC_CLOCK_SYNC_MGR_DAC_OPEN_ERROR ( 0x0004 + cOCTVC1_HW_CLOCK_SYNC_MGR_RC_BASE )
#define cOCTVC1_HW_RC_CLOCK_SYNC_MGR_PROCESS_OPEN_ERROR ( 0x0005 + cOCTVC1_HW_CLOCK_SYNC_MGR_RC_BASE ) #define cOCTVC1_HW_RC_CLOCK_SYNC_MGR_PROCESS_OPEN_ERROR ( 0x0005 + cOCTVC1_HW_CLOCK_SYNC_MGR_RC_BASE )
#define cOCTVC1_HW_RC_CLOCK_SYNC_MGR_PROCESS_CLOSE_ERROR ( 0x0006 + cOCTVC1_HW_CLOCK_SYNC_MGR_RC_BASE ) #define cOCTVC1_HW_RC_CLOCK_SYNC_MGR_PROCESS_CLOSE_ERROR ( 0x0006 + cOCTVC1_HW_CLOCK_SYNC_MGR_RC_BASE )
#define cOCTVC1_HW_RC_CLOCK_SYNC_MGR_DAC_CLOSE_ERROR ( 0x0007 + cOCTVC1_HW_CLOCK_SYNC_MGR_RC_BASE ) #define cOCTVC1_HW_RC_CLOCK_SYNC_MGR_DAC_CLOSE_ERROR ( 0x0007 + cOCTVC1_HW_CLOCK_SYNC_MGR_RC_BASE )
#define cOCTVC1_HW_RC_CLOCK_SYNC_MGR_STATS_ERROR ( 0x0008 + cOCTVC1_HW_CLOCK_SYNC_MGR_RC_BASE ) #define cOCTVC1_HW_RC_CLOCK_SYNC_MGR_STATS_ERROR ( 0x0008 + cOCTVC1_HW_CLOCK_SYNC_MGR_RC_BASE )
#define cOCTVC1_HW_RC_CLOCK_SYNC_MGR_NOT_SUPPORTED ( 0x0009 + cOCTVC1_HW_CLOCK_SYNC_MGR_RC_BASE ) #define cOCTVC1_HW_RC_CLOCK_SYNC_MGR_NOT_SUPPORTED ( 0x0009 + cOCTVC1_HW_CLOCK_SYNC_MGR_RC_BASE )
#endif /* OCTVC1_HW_RC_H__ */ #endif /* OCTVC1_HW_RC_H__ */

View File

@ -1,11 +1,11 @@
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
File: OCTVC1_HW_RC_PRIV.h File: OCTVC1_HW_RC_PRIV.h
Copyright (c) 2015 Octasic Inc. All rights reserved. Copyright (c) 2015 Octasic Inc. All rights reserved.
Description: Contains the return codes for the HW API. Description: Contains the return codes for the HW API.
This program is free software; you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or the Free Software Foundation; either version 2 of the License, or
@ -18,25 +18,25 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License along 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
$Octasic_Revision: $ $Octasic_Revision: $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
#ifndef OCTVC1_HW_RC_PRIV_H__ #ifndef OCTVC1_HW_RC_PRIV_H__
#define OCTVC1_HW_RC_PRIV_H__ #define OCTVC1_HW_RC_PRIV_H__
/***************************** INCLUDE FILES *******************************/ /***************************** INCLUDE FILES *******************************/
#include "octvc1_hw_rc.h" #include "octvc1_hw_rc.h"
#include "octvc1_hw_base.h" #include "octvc1_hw_base.h"
/**************************************************************************** /****************************************************************************
HW return codes HW return codes
****************************************************************************/ ****************************************************************************/
#endif /* OCTVC1_HW_RC_PRIV_H__ */ #endif /* OCTVC1_HW_RC_PRIV_H__ */

View File

@ -1,11 +1,11 @@
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
File: OCTVC1_HW_VERSION.h File: OCTVC1_HW_VERSION.h
Copyright (c) 2015 Octasic Inc. All rights reserved. Copyright (c) 2015 Octasic Inc. All rights reserved.
Description: Contains the version of the HW API interface. Description: Contains the version of the HW API interface.
This program is free software; you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or the Free Software Foundation; either version 2 of the License, or
@ -18,34 +18,34 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License along 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
$Octasic_Revision: $ $Octasic_Revision: $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
#ifndef __OCTVC1_HW_VERSION_H__ #ifndef __OCTVC1_HW_VERSION_H__
#define __OCTVC1_HW_VERSION_H__ #define __OCTVC1_HW_VERSION_H__
/* The version ID is separated into the following sections: /* The version ID is separated into the following sections:
bit[31:25]: Major version bit[31:25]: Major version
bit[24:18]: Minor version bit[24:18]: Minor version
bit[17:11]: Bug fix version bit[17:11]: Bug fix version
bit[10:0]: Build number bit[10:0]: Build number
*/ */
#define cOCTVC1_HW_VERSION_MAJOR 2 #define cOCTVC1_HW_VERSION_MAJOR 2
#define cOCTVC1_HW_VERSION_MINOR 2 #define cOCTVC1_HW_VERSION_MINOR 3
#define cOCTVC1_HW_VERSION_MAINTENANCE 4 #define cOCTVC1_HW_VERSION_MAINTENANCE 0
#define cOCTVC1_HW_VERSION_BUILD 403 #define cOCTVC1_HW_VERSION_BUILD 572
#define cOCTVC1_HW_VERSION_ID ( (cOCTVC1_HW_VERSION_MAJOR << 25) + \ #define cOCTVC1_HW_VERSION_ID ( (cOCTVC1_HW_VERSION_MAJOR << 25) + \
(cOCTVC1_HW_VERSION_MINOR << 18) + \ (cOCTVC1_HW_VERSION_MINOR << 18) + \
(cOCTVC1_HW_VERSION_MAINTENANCE << 11) + \ (cOCTVC1_HW_VERSION_MAINTENANCE << 11) + \
cOCTVC1_HW_VERSION_BUILD ) cOCTVC1_HW_VERSION_BUILD )
#endif /* __OCTVC1_HW_VERSION_H__ */ #endif /* __OCTVC1_HW_VERSION_H__ */

File diff suppressed because it is too large Load Diff

View File

@ -1,12 +1,12 @@
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
File: OCTVC1_IRSC_API_PRIV.h File: OCTVC1_IRSC_API_PRIV.h
Copyright (c) 2015 Octasic Inc. All rights reserved. Copyright (c) 2015 Octasic Inc. All rights reserved.
Description: Contains the definition of the IRSC API. Description: Contains the definition of the IRSC API.
OCTVC1 Internal Resources OCTVC1 Internal Resources
This program is free software; you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or the Free Software Foundation; either version 2 of the License, or
@ -19,31 +19,32 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License along 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
$Revision: $ $Revision: $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
#ifndef __OCTVC1_IRSC_API_PRIV_H__ #ifndef __OCTVC1_IRSC_API_PRIV_H__
#define __OCTVC1_IRSC_API_PRIV_H__ #define __OCTVC1_IRSC_API_PRIV_H__
/***************************** INCLUDE FILES *******************************/ /***************************** INCLUDE FILES *******************************/
#include "octvc1_irsc_api.h" #include "octvc1_irsc_api.h"
#include "octvc1_irsc_id_priv.h" #include "octvc1_irsc_id_priv.h"
#include "octvc1_irsc_rc_priv.h" #include "octvc1_irsc_rc_priv.h"
/************************ COMMON DEFINITIONS *******************************/ /************************ COMMON DEFINITIONS *******************************/
/***************************** METHODS *************************************/
/***************************** METHODS *************************************/
/*************** INCLUDE FILES WITH DEPENDENCIES ON THIS FILE **************/
#include "octvc1_irsc_evt_priv.h" /*************** INCLUDE FILES WITH DEPENDENCIES ON THIS FILE **************/
#include "octvc1_irsc_evt_priv.h"
#endif /* __OCTVC1_IRSC_API_PRIV_H__ */
#endif /* __OCTVC1_IRSC_API_PRIV_H__ */

View File

@ -18,7 +18,7 @@ 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/

View File

@ -20,7 +20,7 @@ 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
#ifndef __OCTVC1_IRSC_API_SWAP_H__ #ifndef __OCTVC1_IRSC_API_SWAP_H__
@ -101,6 +101,63 @@ extern "C" {
#define mOCTVC1_IRSC_SESSION_STATS_SWAP( pOCTVC1_IRSC_SESSION_STATS ) #define mOCTVC1_IRSC_SESSION_STATS_SWAP( pOCTVC1_IRSC_SESSION_STATS )
#endif /* _OCT_ENDIAN_TYPE_LE_ */ #endif /* _OCT_ENDIAN_TYPE_LE_ */
#if defined( _OCT_ENDIAN_TYPE_LE_ )
#define mOCTVC1_IRSC_APPLICATION_TAP_STATE_ENUM_SWAP( pType ){ \
*((tOCT_UINT32 *)pType) = mOCT_SWAP32_IF_LE( *((tOCT_UINT32 *)pType) ); }
#else
#define mOCTVC1_IRSC_APPLICATION_TAP_STATE_ENUM_SWAP( pType )
#endif /* _OCT_ENDIAN_TYPE_LE_ */
#if defined( _OCT_ENDIAN_TYPE_LE_ )
#define mOCTVC1_IRSC_APPLICATION_TAP_MODE_ENUM_SWAP( pType ){ \
*((tOCT_UINT32 *)pType) = mOCT_SWAP32_IF_LE( *((tOCT_UINT32 *)pType) ); }
#else
#define mOCTVC1_IRSC_APPLICATION_TAP_MODE_ENUM_SWAP( pType )
#endif /* _OCT_ENDIAN_TYPE_LE_ */
#if defined( _OCT_ENDIAN_TYPE_LE_ )
#define mOCTVC1_IRSC_APPLICATION_TAP_INFO_SWAP( _f_pParms ){ tOCTVC1_IRSC_APPLICATION_TAP_INFO * pOCTVC1_IRSC_APPLICATION_TAP_INFO = (_f_pParms); SWAP_UNUSED(pOCTVC1_IRSC_APPLICATION_TAP_INFO)\
{ mOCTVC1_MODULE_ID_ENUM_SWAP( &((tOCTVC1_IRSC_APPLICATION_TAP_INFO *)pOCTVC1_IRSC_APPLICATION_TAP_INFO)->ulModuleId ); } \
((tOCTVC1_IRSC_APPLICATION_TAP_INFO *)pOCTVC1_IRSC_APPLICATION_TAP_INFO)->hProcess = \
mOCT_SWAP32_IF_LE(((tOCTVC1_IRSC_APPLICATION_TAP_INFO *)pOCTVC1_IRSC_APPLICATION_TAP_INFO)->hProcess); \
{ mOCTVC1_TAP_DIRECTION_ENUM_SWAP( &((tOCTVC1_IRSC_APPLICATION_TAP_INFO *)pOCTVC1_IRSC_APPLICATION_TAP_INFO)->ulDirection ); } \
((tOCTVC1_IRSC_APPLICATION_TAP_INFO *)pOCTVC1_IRSC_APPLICATION_TAP_INFO)->ulDataSubType = \
mOCT_SWAP32_IF_LE(((tOCTVC1_IRSC_APPLICATION_TAP_INFO *)pOCTVC1_IRSC_APPLICATION_TAP_INFO)->ulDataSubType); \
}
#else
#define mOCTVC1_IRSC_APPLICATION_TAP_INFO_SWAP( pOCTVC1_IRSC_APPLICATION_TAP_INFO )
#endif /* _OCT_ENDIAN_TYPE_LE_ */
#if defined( _OCT_ENDIAN_TYPE_LE_ )
#define mOCTVC1_IRSC_APPLICATION_TAP_STATS_SWAP( _f_pParms ){ tOCTVC1_IRSC_APPLICATION_TAP_STATS * pOCTVC1_IRSC_APPLICATION_TAP_STATS = (_f_pParms); SWAP_UNUSED(pOCTVC1_IRSC_APPLICATION_TAP_STATS)\
{ mOCTVC1_IRSC_APPLICATION_TAP_STATE_ENUM_SWAP( &((tOCTVC1_IRSC_APPLICATION_TAP_STATS *)pOCTVC1_IRSC_APPLICATION_TAP_STATS)->ulState ); } \
((tOCTVC1_IRSC_APPLICATION_TAP_STATS *)pOCTVC1_IRSC_APPLICATION_TAP_STATS)->ulFilterIndex = \
mOCT_SWAP32_IF_LE(((tOCTVC1_IRSC_APPLICATION_TAP_STATS *)pOCTVC1_IRSC_APPLICATION_TAP_STATS)->ulFilterIndex); \
((tOCTVC1_IRSC_APPLICATION_TAP_STATS *)pOCTVC1_IRSC_APPLICATION_TAP_STATS)->ulUserId = \
mOCT_SWAP32_IF_LE(((tOCTVC1_IRSC_APPLICATION_TAP_STATS *)pOCTVC1_IRSC_APPLICATION_TAP_STATS)->ulUserId); \
}
#else
#define mOCTVC1_IRSC_APPLICATION_TAP_STATS_SWAP( pOCTVC1_IRSC_APPLICATION_TAP_STATS )
#endif /* _OCT_ENDIAN_TYPE_LE_ */
#if defined( _OCT_ENDIAN_TYPE_LE_ )
#define mOCTVC1_IRSC_APPLICATION_TAP_START_SWAP( _f_pParms ){ tOCTVC1_IRSC_APPLICATION_TAP_START * pOCTVC1_IRSC_APPLICATION_TAP_START = (_f_pParms); SWAP_UNUSED(pOCTVC1_IRSC_APPLICATION_TAP_START)\
{ mOCTVC1_IRSC_APPLICATION_TAP_MODE_ENUM_SWAP( &((tOCTVC1_IRSC_APPLICATION_TAP_START *)pOCTVC1_IRSC_APPLICATION_TAP_START)->ulMode ); } \
((tOCTVC1_IRSC_APPLICATION_TAP_START *)pOCTVC1_IRSC_APPLICATION_TAP_START)->ulMaxTransportDataSize = \
mOCT_SWAP32_IF_LE(((tOCTVC1_IRSC_APPLICATION_TAP_START *)pOCTVC1_IRSC_APPLICATION_TAP_START)->ulMaxTransportDataSize); \
((tOCTVC1_IRSC_APPLICATION_TAP_START *)pOCTVC1_IRSC_APPLICATION_TAP_START)->ulFilterIndex = \
mOCT_SWAP32_IF_LE(((tOCTVC1_IRSC_APPLICATION_TAP_START *)pOCTVC1_IRSC_APPLICATION_TAP_START)->ulFilterIndex); \
((tOCTVC1_IRSC_APPLICATION_TAP_START *)pOCTVC1_IRSC_APPLICATION_TAP_START)->ulUserId = \
mOCT_SWAP32_IF_LE(((tOCTVC1_IRSC_APPLICATION_TAP_START *)pOCTVC1_IRSC_APPLICATION_TAP_START)->ulUserId); \
}
#else
#define mOCTVC1_IRSC_APPLICATION_TAP_START_SWAP( pOCTVC1_IRSC_APPLICATION_TAP_START )
#endif /* _OCT_ENDIAN_TYPE_LE_ */
#if defined( _OCT_ENDIAN_TYPE_LE_ ) #if defined( _OCT_ENDIAN_TYPE_LE_ )
#define mOCTVC1_IRSC_MSG_PROCESS_INFO_CMD_SWAP( _f_pParms ){ tOCTVC1_IRSC_MSG_PROCESS_INFO_CMD * pOCTVC1_IRSC_MSG_PROCESS_INFO_CMD = (_f_pParms); SWAP_UNUSED(pOCTVC1_IRSC_MSG_PROCESS_INFO_CMD)\ #define mOCTVC1_IRSC_MSG_PROCESS_INFO_CMD_SWAP( _f_pParms ){ tOCTVC1_IRSC_MSG_PROCESS_INFO_CMD * pOCTVC1_IRSC_MSG_PROCESS_INFO_CMD = (_f_pParms); SWAP_UNUSED(pOCTVC1_IRSC_MSG_PROCESS_INFO_CMD)\
{ mOCTVC1_MSG_HEADER_SWAP( &((tOCTVC1_IRSC_MSG_PROCESS_INFO_CMD *)pOCTVC1_IRSC_MSG_PROCESS_INFO_CMD)->Header ); } \ { mOCTVC1_MSG_HEADER_SWAP( &((tOCTVC1_IRSC_MSG_PROCESS_INFO_CMD *)pOCTVC1_IRSC_MSG_PROCESS_INFO_CMD)->Header ); } \
@ -582,6 +639,110 @@ extern "C" {
#define mOCTVC1_IRSC_MSG_API_SYSTEM_STATS_SESSION_EVT_RSP_SWAP( pOCTVC1_IRSC_MSG_API_SYSTEM_STATS_SESSION_EVT_RSP ) #define mOCTVC1_IRSC_MSG_API_SYSTEM_STATS_SESSION_EVT_RSP_SWAP( pOCTVC1_IRSC_MSG_API_SYSTEM_STATS_SESSION_EVT_RSP )
#endif /* _OCT_ENDIAN_TYPE_LE_ */ #endif /* _OCT_ENDIAN_TYPE_LE_ */
#if defined( _OCT_ENDIAN_TYPE_LE_ )
#define mOCTVC1_IRSC_MSG_APPLICATION_LIST_TAP_CMD_SWAP( _f_pParms ){ tOCTVC1_IRSC_MSG_APPLICATION_LIST_TAP_CMD * pOCTVC1_IRSC_MSG_APPLICATION_LIST_TAP_CMD = (_f_pParms); SWAP_UNUSED(pOCTVC1_IRSC_MSG_APPLICATION_LIST_TAP_CMD)\
{ mOCTVC1_MSG_HEADER_SWAP( &((tOCTVC1_IRSC_MSG_APPLICATION_LIST_TAP_CMD *)pOCTVC1_IRSC_MSG_APPLICATION_LIST_TAP_CMD)->Header ); } \
{ mOCTVC1_CURSOR_HANDLE_OBJECT_GET_SWAP( &((tOCTVC1_IRSC_MSG_APPLICATION_LIST_TAP_CMD *)pOCTVC1_IRSC_MSG_APPLICATION_LIST_TAP_CMD)->ObjectCursor ); } \
}
#else
#define mOCTVC1_IRSC_MSG_APPLICATION_LIST_TAP_CMD_SWAP( pOCTVC1_IRSC_MSG_APPLICATION_LIST_TAP_CMD )
#endif /* _OCT_ENDIAN_TYPE_LE_ */
#if defined( _OCT_ENDIAN_TYPE_LE_ )
#define mOCTVC1_IRSC_MSG_APPLICATION_LIST_TAP_RSP_SWAP( _f_pParms ){ tOCTVC1_IRSC_MSG_APPLICATION_LIST_TAP_RSP * pOCTVC1_IRSC_MSG_APPLICATION_LIST_TAP_RSP = (_f_pParms); SWAP_UNUSED(pOCTVC1_IRSC_MSG_APPLICATION_LIST_TAP_RSP)\
{ mOCTVC1_MSG_HEADER_SWAP( &((tOCTVC1_IRSC_MSG_APPLICATION_LIST_TAP_RSP *)pOCTVC1_IRSC_MSG_APPLICATION_LIST_TAP_RSP)->Header ); } \
{ mOCTVC1_CURSOR_HANDLE_OBJECT_GET_SWAP( &((tOCTVC1_IRSC_MSG_APPLICATION_LIST_TAP_RSP *)pOCTVC1_IRSC_MSG_APPLICATION_LIST_TAP_RSP)->ObjectCursor ); } \
{ mOCTVC1_LIST_NAME_OBJECT32_GET_SWAP( &((tOCTVC1_IRSC_MSG_APPLICATION_LIST_TAP_RSP *)pOCTVC1_IRSC_MSG_APPLICATION_LIST_TAP_RSP)->ObjectNameList ); } \
}
#else
#define mOCTVC1_IRSC_MSG_APPLICATION_LIST_TAP_RSP_SWAP( pOCTVC1_IRSC_MSG_APPLICATION_LIST_TAP_RSP )
#endif /* _OCT_ENDIAN_TYPE_LE_ */
#if defined( _OCT_ENDIAN_TYPE_LE_ )
#define mOCTVC1_IRSC_MSG_APPLICATION_INFO_TAP_CMD_SWAP( _f_pParms ){ tOCTVC1_IRSC_MSG_APPLICATION_INFO_TAP_CMD * pOCTVC1_IRSC_MSG_APPLICATION_INFO_TAP_CMD = (_f_pParms); SWAP_UNUSED(pOCTVC1_IRSC_MSG_APPLICATION_INFO_TAP_CMD)\
{ mOCTVC1_MSG_HEADER_SWAP( &((tOCTVC1_IRSC_MSG_APPLICATION_INFO_TAP_CMD *)pOCTVC1_IRSC_MSG_APPLICATION_INFO_TAP_CMD)->Header ); } \
((tOCTVC1_IRSC_MSG_APPLICATION_INFO_TAP_CMD *)pOCTVC1_IRSC_MSG_APPLICATION_INFO_TAP_CMD)->hTapId = \
mOCT_SWAP32_IF_LE(((tOCTVC1_IRSC_MSG_APPLICATION_INFO_TAP_CMD *)pOCTVC1_IRSC_MSG_APPLICATION_INFO_TAP_CMD)->hTapId); \
}
#else
#define mOCTVC1_IRSC_MSG_APPLICATION_INFO_TAP_CMD_SWAP( pOCTVC1_IRSC_MSG_APPLICATION_INFO_TAP_CMD )
#endif /* _OCT_ENDIAN_TYPE_LE_ */
#if defined( _OCT_ENDIAN_TYPE_LE_ )
#define mOCTVC1_IRSC_MSG_APPLICATION_INFO_TAP_RSP_SWAP( _f_pParms ){ tOCTVC1_IRSC_MSG_APPLICATION_INFO_TAP_RSP * pOCTVC1_IRSC_MSG_APPLICATION_INFO_TAP_RSP = (_f_pParms); SWAP_UNUSED(pOCTVC1_IRSC_MSG_APPLICATION_INFO_TAP_RSP)\
{ mOCTVC1_MSG_HEADER_SWAP( &((tOCTVC1_IRSC_MSG_APPLICATION_INFO_TAP_RSP *)pOCTVC1_IRSC_MSG_APPLICATION_INFO_TAP_RSP)->Header ); } \
((tOCTVC1_IRSC_MSG_APPLICATION_INFO_TAP_RSP *)pOCTVC1_IRSC_MSG_APPLICATION_INFO_TAP_RSP)->hTapId = \
mOCT_SWAP32_IF_LE(((tOCTVC1_IRSC_MSG_APPLICATION_INFO_TAP_RSP *)pOCTVC1_IRSC_MSG_APPLICATION_INFO_TAP_RSP)->hTapId); \
{ mOCTVC1_IRSC_APPLICATION_TAP_INFO_SWAP( &((tOCTVC1_IRSC_MSG_APPLICATION_INFO_TAP_RSP *)pOCTVC1_IRSC_MSG_APPLICATION_INFO_TAP_RSP)->Info ); } \
}
#else
#define mOCTVC1_IRSC_MSG_APPLICATION_INFO_TAP_RSP_SWAP( pOCTVC1_IRSC_MSG_APPLICATION_INFO_TAP_RSP )
#endif /* _OCT_ENDIAN_TYPE_LE_ */
#if defined( _OCT_ENDIAN_TYPE_LE_ )
#define mOCTVC1_IRSC_MSG_APPLICATION_STATS_TAP_CMD_SWAP( _f_pParms ){ tOCTVC1_IRSC_MSG_APPLICATION_STATS_TAP_CMD * pOCTVC1_IRSC_MSG_APPLICATION_STATS_TAP_CMD = (_f_pParms); SWAP_UNUSED(pOCTVC1_IRSC_MSG_APPLICATION_STATS_TAP_CMD)\
{ mOCTVC1_MSG_HEADER_SWAP( &((tOCTVC1_IRSC_MSG_APPLICATION_STATS_TAP_CMD *)pOCTVC1_IRSC_MSG_APPLICATION_STATS_TAP_CMD)->Header ); } \
((tOCTVC1_IRSC_MSG_APPLICATION_STATS_TAP_CMD *)pOCTVC1_IRSC_MSG_APPLICATION_STATS_TAP_CMD)->hTapId = \
mOCT_SWAP32_IF_LE(((tOCTVC1_IRSC_MSG_APPLICATION_STATS_TAP_CMD *)pOCTVC1_IRSC_MSG_APPLICATION_STATS_TAP_CMD)->hTapId); \
}
#else
#define mOCTVC1_IRSC_MSG_APPLICATION_STATS_TAP_CMD_SWAP( pOCTVC1_IRSC_MSG_APPLICATION_STATS_TAP_CMD )
#endif /* _OCT_ENDIAN_TYPE_LE_ */
#if defined( _OCT_ENDIAN_TYPE_LE_ )
#define mOCTVC1_IRSC_MSG_APPLICATION_STATS_TAP_RSP_SWAP( _f_pParms ){ tOCTVC1_IRSC_MSG_APPLICATION_STATS_TAP_RSP * pOCTVC1_IRSC_MSG_APPLICATION_STATS_TAP_RSP = (_f_pParms); SWAP_UNUSED(pOCTVC1_IRSC_MSG_APPLICATION_STATS_TAP_RSP)\
{ mOCTVC1_MSG_HEADER_SWAP( &((tOCTVC1_IRSC_MSG_APPLICATION_STATS_TAP_RSP *)pOCTVC1_IRSC_MSG_APPLICATION_STATS_TAP_RSP)->Header ); } \
((tOCTVC1_IRSC_MSG_APPLICATION_STATS_TAP_RSP *)pOCTVC1_IRSC_MSG_APPLICATION_STATS_TAP_RSP)->hTapId = \
mOCT_SWAP32_IF_LE(((tOCTVC1_IRSC_MSG_APPLICATION_STATS_TAP_RSP *)pOCTVC1_IRSC_MSG_APPLICATION_STATS_TAP_RSP)->hTapId); \
{ mOCTVC1_IRSC_APPLICATION_TAP_STATS_SWAP( &((tOCTVC1_IRSC_MSG_APPLICATION_STATS_TAP_RSP *)pOCTVC1_IRSC_MSG_APPLICATION_STATS_TAP_RSP)->Stats ); } \
}
#else
#define mOCTVC1_IRSC_MSG_APPLICATION_STATS_TAP_RSP_SWAP( pOCTVC1_IRSC_MSG_APPLICATION_STATS_TAP_RSP )
#endif /* _OCT_ENDIAN_TYPE_LE_ */
#if defined( _OCT_ENDIAN_TYPE_LE_ )
#define mOCTVC1_IRSC_MSG_APPLICATION_START_TAP_CMD_SWAP( _f_pParms ){ tOCTVC1_IRSC_MSG_APPLICATION_START_TAP_CMD * pOCTVC1_IRSC_MSG_APPLICATION_START_TAP_CMD = (_f_pParms); SWAP_UNUSED(pOCTVC1_IRSC_MSG_APPLICATION_START_TAP_CMD)\
{ mOCTVC1_MSG_HEADER_SWAP( &((tOCTVC1_IRSC_MSG_APPLICATION_START_TAP_CMD *)pOCTVC1_IRSC_MSG_APPLICATION_START_TAP_CMD)->Header ); } \
((tOCTVC1_IRSC_MSG_APPLICATION_START_TAP_CMD *)pOCTVC1_IRSC_MSG_APPLICATION_START_TAP_CMD)->hTapId = \
mOCT_SWAP32_IF_LE(((tOCTVC1_IRSC_MSG_APPLICATION_START_TAP_CMD *)pOCTVC1_IRSC_MSG_APPLICATION_START_TAP_CMD)->hTapId); \
{ mOCTVC1_IRSC_APPLICATION_TAP_START_SWAP( &((tOCTVC1_IRSC_MSG_APPLICATION_START_TAP_CMD *)pOCTVC1_IRSC_MSG_APPLICATION_START_TAP_CMD)->Start ); } \
}
#else
#define mOCTVC1_IRSC_MSG_APPLICATION_START_TAP_CMD_SWAP( pOCTVC1_IRSC_MSG_APPLICATION_START_TAP_CMD )
#endif /* _OCT_ENDIAN_TYPE_LE_ */
#if defined( _OCT_ENDIAN_TYPE_LE_ )
#define mOCTVC1_IRSC_MSG_APPLICATION_START_TAP_RSP_SWAP( _f_pParms ){ tOCTVC1_IRSC_MSG_APPLICATION_START_TAP_RSP * pOCTVC1_IRSC_MSG_APPLICATION_START_TAP_RSP = (_f_pParms); SWAP_UNUSED(pOCTVC1_IRSC_MSG_APPLICATION_START_TAP_RSP)\
{ mOCTVC1_MSG_HEADER_SWAP( &((tOCTVC1_IRSC_MSG_APPLICATION_START_TAP_RSP *)pOCTVC1_IRSC_MSG_APPLICATION_START_TAP_RSP)->Header ); } \
((tOCTVC1_IRSC_MSG_APPLICATION_START_TAP_RSP *)pOCTVC1_IRSC_MSG_APPLICATION_START_TAP_RSP)->hTapId = \
mOCT_SWAP32_IF_LE(((tOCTVC1_IRSC_MSG_APPLICATION_START_TAP_RSP *)pOCTVC1_IRSC_MSG_APPLICATION_START_TAP_RSP)->hTapId); \
((tOCTVC1_IRSC_MSG_APPLICATION_START_TAP_RSP *)pOCTVC1_IRSC_MSG_APPLICATION_START_TAP_RSP)->hLogicalObj = \
mOCT_SWAP32_IF_LE(((tOCTVC1_IRSC_MSG_APPLICATION_START_TAP_RSP *)pOCTVC1_IRSC_MSG_APPLICATION_START_TAP_RSP)->hLogicalObj); \
}
#else
#define mOCTVC1_IRSC_MSG_APPLICATION_START_TAP_RSP_SWAP( pOCTVC1_IRSC_MSG_APPLICATION_START_TAP_RSP )
#endif /* _OCT_ENDIAN_TYPE_LE_ */
#if defined( _OCT_ENDIAN_TYPE_LE_ )
#define mOCTVC1_IRSC_MSG_APPLICATION_STOP_TAP_CMD_SWAP( _f_pParms ){ tOCTVC1_IRSC_MSG_APPLICATION_STOP_TAP_CMD * pOCTVC1_IRSC_MSG_APPLICATION_STOP_TAP_CMD = (_f_pParms); SWAP_UNUSED(pOCTVC1_IRSC_MSG_APPLICATION_STOP_TAP_CMD)\
{ mOCTVC1_MSG_HEADER_SWAP( &((tOCTVC1_IRSC_MSG_APPLICATION_STOP_TAP_CMD *)pOCTVC1_IRSC_MSG_APPLICATION_STOP_TAP_CMD)->Header ); } \
((tOCTVC1_IRSC_MSG_APPLICATION_STOP_TAP_CMD *)pOCTVC1_IRSC_MSG_APPLICATION_STOP_TAP_CMD)->hTapId = \
mOCT_SWAP32_IF_LE(((tOCTVC1_IRSC_MSG_APPLICATION_STOP_TAP_CMD *)pOCTVC1_IRSC_MSG_APPLICATION_STOP_TAP_CMD)->hTapId); \
}
#else
#define mOCTVC1_IRSC_MSG_APPLICATION_STOP_TAP_CMD_SWAP( pOCTVC1_IRSC_MSG_APPLICATION_STOP_TAP_CMD )
#endif /* _OCT_ENDIAN_TYPE_LE_ */
#if defined( _OCT_ENDIAN_TYPE_LE_ )
#define mOCTVC1_IRSC_MSG_APPLICATION_STOP_TAP_RSP_SWAP( _f_pParms ){ tOCTVC1_IRSC_MSG_APPLICATION_STOP_TAP_RSP * pOCTVC1_IRSC_MSG_APPLICATION_STOP_TAP_RSP = (_f_pParms); SWAP_UNUSED(pOCTVC1_IRSC_MSG_APPLICATION_STOP_TAP_RSP)\
{ mOCTVC1_MSG_HEADER_SWAP( &((tOCTVC1_IRSC_MSG_APPLICATION_STOP_TAP_RSP *)pOCTVC1_IRSC_MSG_APPLICATION_STOP_TAP_RSP)->Header ); } \
((tOCTVC1_IRSC_MSG_APPLICATION_STOP_TAP_RSP *)pOCTVC1_IRSC_MSG_APPLICATION_STOP_TAP_RSP)->hTapId = \
mOCT_SWAP32_IF_LE(((tOCTVC1_IRSC_MSG_APPLICATION_STOP_TAP_RSP *)pOCTVC1_IRSC_MSG_APPLICATION_STOP_TAP_RSP)->hTapId); \
}
#else
#define mOCTVC1_IRSC_MSG_APPLICATION_STOP_TAP_RSP_SWAP( pOCTVC1_IRSC_MSG_APPLICATION_STOP_TAP_RSP )
#endif /* _OCT_ENDIAN_TYPE_LE_ */
#ifdef __cplusplus #ifdef __cplusplus
} }

View File

@ -1,11 +1,11 @@
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
File: OCTVC1_IRSC_BASE.h File: OCTVC1_IRSC_BASE.h
Copyright (c) 2015 Octasic Inc. All rights reserved. Copyright (c) 2015 Octasic Inc. All rights reserved.
Description: Contains the definition of the OCTVC1 API. Description: Contains the definition of the OCTVC1 API.
This program is free software; you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or the Free Software Foundation; either version 2 of the License, or
@ -18,34 +18,34 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License along 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
$Octasic_Revision: $ $Octasic_Revision: $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
#ifndef __OCTVC1_IRSC_BASE_H__ #ifndef __OCTVC1_IRSC_BASE_H__
#define __OCTVC1_IRSC_BASE_H__ #define __OCTVC1_IRSC_BASE_H__
/***************************** INCLUDE FILES *******************************/ /***************************** INCLUDE FILES *******************************/
#include "../octvc1_base.h" #include "../octvc1_base.h"
/**************************************************************************** /****************************************************************************
Module unique identifiers Module unique identifiers
****************************************************************************/ ****************************************************************************/
#define cOCTVC1_IRSC_UID ( 0x07 ) #define cOCTVC1_IRSC_UID ( 0x07 )
/**************************************************************************** /****************************************************************************
Module identifier bases Module identifier bases
****************************************************************************/ ****************************************************************************/
/* Module: IRSC */ /* Module: IRSC */
#define cOCTVC1_IRSC_CID_BASE ( (cOCTVC1_IRSC_UID << 16) + cOCTVC1_CID_BASE ) #define cOCTVC1_IRSC_CID_BASE ( (cOCTVC1_IRSC_UID << 16) + cOCTVC1_CID_BASE )
#define cOCTVC1_IRSC_EID_BASE ( (cOCTVC1_IRSC_UID << 16) + cOCTVC1_EID_BASE ) #define cOCTVC1_IRSC_EID_BASE ( (cOCTVC1_IRSC_UID << 16) + cOCTVC1_EID_BASE )
#define cOCTVC1_IRSC_RC_BASE ( (cOCTVC1_IRSC_UID << 16) + cOCTVC1_RC_BASE ) #define cOCTVC1_IRSC_RC_BASE ( (cOCTVC1_IRSC_UID << 16) + cOCTVC1_RC_BASE )
#endif /* __OCTVC1_IRSC_BASE_H__ */ #endif /* __OCTVC1_IRSC_BASE_H__ */

File diff suppressed because it is too large Load Diff

View File

@ -1,11 +1,11 @@
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
File: OCTVC1_IRSC_DEFAULT_PRIV.h File: OCTVC1_IRSC_DEFAULT_PRIV.h
Copyright (c) 2015 Octasic Inc. All rights reserved. Copyright (c) 2015 Octasic Inc. All rights reserved.
Description: Contains the event definition of the IRSC API. Description: Contains the event definition of the IRSC API.
This program is free software; you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or the Free Software Foundation; either version 2 of the License, or
@ -18,23 +18,23 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License along 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
$Octasic_Revision: $ $Octasic_Revision: $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
#ifndef __OCTVC1_IRSC_DEFAULT_PRIV_H__ #ifndef __OCTVC1_IRSC_DEFAULT_PRIV_H__
#define __OCTVC1_IRSC_DEFAULT_PRIV_H__ #define __OCTVC1_IRSC_DEFAULT_PRIV_H__
/***************************** INCLUDE FILES *******************************/ /***************************** INCLUDE FILES *******************************/
#include "octvc1_irsc_api_priv.h" #include "octvc1_irsc_api_priv.h"
#include "octvc1_irsc_default.h" #include "octvc1_irsc_default.h"
/***************************** COMMAND DEFAULT *****************************/ /***************************** COMMAND DEFAULT *****************************/
#endif /* __OCTVC1_IRSC_DEFAULT_PRIV_H__ */ #endif /* __OCTVC1_IRSC_DEFAULT_PRIV_H__ */

View File

@ -1,10 +1,10 @@
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
File: OCTVC1_IRSC_EVT.h File: OCTVC1_IRSC_EVT.h
Copyright (c) 2015 Octasic Inc. All rights reserved. Copyright (c) 2015 Octasic Inc. All rights reserved.
Description: Contains the event definition of the IRSC API. Description: Contains the event definition of the IRSC API.
This program is free software; you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or the Free Software Foundation; either version 2 of the License, or
@ -17,39 +17,39 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License along 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
$Octasic_Revision: $ $Octasic_Revision: $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
#ifndef __OCTVC1_IRSC_EVT_H__ #ifndef __OCTVC1_IRSC_EVT_H__
#define __OCTVC1_IRSC_EVT_H__ #define __OCTVC1_IRSC_EVT_H__
/***************************** INCLUDE FILES *******************************/ /***************************** INCLUDE FILES *******************************/
#include "octvc1_irsc_api.h" #include "octvc1_irsc_api.h"
/************************ COMMON DEFINITIONS *******************************/ /************************ COMMON DEFINITIONS *******************************/
/***************************** NOTIFICATIONS **********************************/ /***************************** NOTIFICATIONS **********************************/
/*------------------------------------------------------------------------------------- /*-------------------------------------------------------------------------------------
tOCTVC1_IRSC_MSG_PROCESS_DUMP_EVT tOCTVC1_IRSC_MSG_PROCESS_DUMP_EVT
Members: Members:
Header Header
hProcess hProcess
-------------------------------------------------------------------------------------*/ -------------------------------------------------------------------------------------*/
typedef struct typedef struct
{ {
tOCTVC1_EVENT_HEADER Header; tOCTVC1_EVENT_HEADER Header;
tOCT_UINT32 hProcess; tOCT_UINT32 hProcess;
} tOCTVC1_IRSC_MSG_PROCESS_DUMP_EVT; } tOCTVC1_IRSC_MSG_PROCESS_DUMP_EVT;
#endif /* __OCTVC1_IRSC_EVT_H__ */ #endif /* __OCTVC1_IRSC_EVT_H__ */

View File

@ -1,10 +1,10 @@
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
File: OCTVC1_IRSC_EVT_PRIV.h File: OCTVC1_IRSC_EVT_PRIV.h
Copyright (c) 2015 Octasic Inc. All rights reserved. Copyright (c) 2015 Octasic Inc. All rights reserved.
Description: Contains the event definition of the IRSC API. Description: Contains the event definition of the IRSC API.
This program is free software; you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or the Free Software Foundation; either version 2 of the License, or
@ -17,25 +17,25 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License along 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
$Octasic_Revision: $ $Octasic_Revision: $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
#ifndef __OCTVC1_IRSC_EVT_PRIV_H__ #ifndef __OCTVC1_IRSC_EVT_PRIV_H__
#define __OCTVC1_IRSC_EVT_PRIV_H__ #define __OCTVC1_IRSC_EVT_PRIV_H__
/***************************** INCLUDE FILES *******************************/ /***************************** INCLUDE FILES *******************************/
#include "octvc1_irsc_api_priv.h" #include "octvc1_irsc_api_priv.h"
/************************ COMMON DEFINITIONS *******************************/ /************************ COMMON DEFINITIONS *******************************/
/***************************** NOTIFICATIONS **********************************/ /***************************** NOTIFICATIONS **********************************/
#endif /* __OCTVC1_IRSC_EVT_PRIV_H__ */ #endif /* __OCTVC1_IRSC_EVT_PRIV_H__ */

View File

@ -18,7 +18,7 @@ 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/

View File

@ -20,7 +20,7 @@ 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
#ifndef __OCTVC1_IRSC_EVT_SWAP_H__ #ifndef __OCTVC1_IRSC_EVT_SWAP_H__

View File

@ -1,11 +1,11 @@
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
File: OCTVC1_IRSC_ID.h File: OCTVC1_IRSC_ID.h
Copyright (c) 2015 Octasic Inc. All rights reserved. Copyright (c) 2015 Octasic Inc. All rights reserved.
Description: Contains the identifiers for the IRSC API. Description: Contains the identifiers for the IRSC API.
This program is free software; you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or the Free Software Foundation; either version 2 of the License, or
@ -18,56 +18,61 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License along 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
$Octasic_Revision: $ $Octasic_Revision: $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
#ifndef __OCTVC1_IRSC_ID_H__ #ifndef __OCTVC1_IRSC_ID_H__
#define __OCTVC1_IRSC_ID_H__ #define __OCTVC1_IRSC_ID_H__
/***************************** INCLUDE FILES *******************************/ /***************************** INCLUDE FILES *******************************/
#include "../octvc1_base.h" #include "../octvc1_base.h"
#include "octvc1_irsc_base.h" #include "octvc1_irsc_base.h"
/**************************************************************************** /****************************************************************************
Command IDs Command IDs
****************************************************************************/ ****************************************************************************/
#define cOCTVC1_IRSC_MSG_PROCESS_INFO_CID ( 0x001 + cOCTVC1_IRSC_CID_BASE ) #define cOCTVC1_IRSC_MSG_PROCESS_INFO_CID ( 0x001 + cOCTVC1_IRSC_CID_BASE )
#define cOCTVC1_IRSC_MSG_PROCESS_STATS_CID ( 0x002 + cOCTVC1_IRSC_CID_BASE ) #define cOCTVC1_IRSC_MSG_PROCESS_STATS_CID ( 0x002 + cOCTVC1_IRSC_CID_BASE )
#define cOCTVC1_IRSC_MSG_PROCESS_LIST_CID ( 0x003 + cOCTVC1_IRSC_CID_BASE ) #define cOCTVC1_IRSC_MSG_PROCESS_LIST_CID ( 0x003 + cOCTVC1_IRSC_CID_BASE )
#define cOCTVC1_IRSC_MSG_PROCESS_INFO_IPC_PORT_CID ( 0x004 + cOCTVC1_IRSC_CID_BASE ) #define cOCTVC1_IRSC_MSG_PROCESS_INFO_IPC_PORT_CID ( 0x004 + cOCTVC1_IRSC_CID_BASE )
#define cOCTVC1_IRSC_MSG_PROCESS_STATS_IPC_PORT_CID ( 0x005 + cOCTVC1_IRSC_CID_BASE ) #define cOCTVC1_IRSC_MSG_PROCESS_STATS_IPC_PORT_CID ( 0x005 + cOCTVC1_IRSC_CID_BASE )
#define cOCTVC1_IRSC_MSG_PROCESS_LIST_IPC_PORT_CID ( 0x006 + cOCTVC1_IRSC_CID_BASE ) #define cOCTVC1_IRSC_MSG_PROCESS_LIST_IPC_PORT_CID ( 0x006 + cOCTVC1_IRSC_CID_BASE )
#define cOCTVC1_IRSC_MSG_PROCESS_INFO_TASK_CID ( 0x007 + cOCTVC1_IRSC_CID_BASE ) #define cOCTVC1_IRSC_MSG_PROCESS_INFO_TASK_CID ( 0x007 + cOCTVC1_IRSC_CID_BASE )
#define cOCTVC1_IRSC_MSG_PROCESS_STATS_TASK_CID ( 0x008 + cOCTVC1_IRSC_CID_BASE ) #define cOCTVC1_IRSC_MSG_PROCESS_STATS_TASK_CID ( 0x008 + cOCTVC1_IRSC_CID_BASE )
#define cOCTVC1_IRSC_MSG_PROCESS_LIST_TASK_CID ( 0x009 + cOCTVC1_IRSC_CID_BASE ) #define cOCTVC1_IRSC_MSG_PROCESS_LIST_TASK_CID ( 0x009 + cOCTVC1_IRSC_CID_BASE )
#define cOCTVC1_IRSC_MSG_OBJMGR_INFO_CID ( 0x00a + cOCTVC1_IRSC_CID_BASE ) #define cOCTVC1_IRSC_MSG_OBJMGR_INFO_CID ( 0x00a + cOCTVC1_IRSC_CID_BASE )
#define cOCTVC1_IRSC_MSG_OBJMGR_STATS_CID ( 0x00b + cOCTVC1_IRSC_CID_BASE ) #define cOCTVC1_IRSC_MSG_OBJMGR_STATS_CID ( 0x00b + cOCTVC1_IRSC_CID_BASE )
#define cOCTVC1_IRSC_MSG_OBJMGR_LIST_CID ( 0x00c + cOCTVC1_IRSC_CID_BASE ) #define cOCTVC1_IRSC_MSG_OBJMGR_LIST_CID ( 0x00c + cOCTVC1_IRSC_CID_BASE )
#define cOCTVC1_IRSC_MSG_API_SYSTEM_START_MONITORING_CID ( 0x00d + cOCTVC1_IRSC_CID_BASE ) #define cOCTVC1_IRSC_MSG_API_SYSTEM_START_MONITORING_CID ( 0x00d + cOCTVC1_IRSC_CID_BASE )
#define cOCTVC1_IRSC_MSG_API_SYSTEM_STOP_MONITORING_CID ( 0x00e + cOCTVC1_IRSC_CID_BASE ) #define cOCTVC1_IRSC_MSG_API_SYSTEM_STOP_MONITORING_CID ( 0x00e + cOCTVC1_IRSC_CID_BASE )
#define cOCTVC1_IRSC_MSG_API_SYSTEM_LIST_COMMAND_CID ( 0x00f + cOCTVC1_IRSC_CID_BASE ) #define cOCTVC1_IRSC_MSG_API_SYSTEM_LIST_COMMAND_CID ( 0x00f + cOCTVC1_IRSC_CID_BASE )
#define cOCTVC1_IRSC_MSG_API_SYSTEM_STATS_COMMAND_CID ( 0x010 + cOCTVC1_IRSC_CID_BASE ) #define cOCTVC1_IRSC_MSG_API_SYSTEM_STATS_COMMAND_CID ( 0x010 + cOCTVC1_IRSC_CID_BASE )
#define cOCTVC1_IRSC_MSG_API_SYSTEM_LIST_SESSION_CID ( 0x011 + cOCTVC1_IRSC_CID_BASE ) #define cOCTVC1_IRSC_MSG_API_SYSTEM_LIST_SESSION_CID ( 0x011 + cOCTVC1_IRSC_CID_BASE )
#define cOCTVC1_IRSC_MSG_API_SYSTEM_INFO_SESSION_CID ( 0x012 + cOCTVC1_IRSC_CID_BASE ) #define cOCTVC1_IRSC_MSG_API_SYSTEM_INFO_SESSION_CID ( 0x012 + cOCTVC1_IRSC_CID_BASE )
#define cOCTVC1_IRSC_MSG_API_SYSTEM_STATS_SESSION_CID ( 0x013 + cOCTVC1_IRSC_CID_BASE ) #define cOCTVC1_IRSC_MSG_API_SYSTEM_STATS_SESSION_CID ( 0x013 + cOCTVC1_IRSC_CID_BASE )
#define cOCTVC1_IRSC_MSG_API_SYSTEM_INFO_SESSION_EVT_CID ( 0x014 + cOCTVC1_IRSC_CID_BASE ) #define cOCTVC1_IRSC_MSG_API_SYSTEM_INFO_SESSION_EVT_CID ( 0x014 + cOCTVC1_IRSC_CID_BASE )
#define cOCTVC1_IRSC_MSG_API_SYSTEM_STATS_SESSION_EVT_CID ( 0x015 + cOCTVC1_IRSC_CID_BASE ) #define cOCTVC1_IRSC_MSG_API_SYSTEM_STATS_SESSION_EVT_CID ( 0x015 + cOCTVC1_IRSC_CID_BASE )
#define cOCTVC1_IRSC_MSG_APPLICATION_LIST_TAP_CID ( 0x016 + cOCTVC1_IRSC_CID_BASE )
#define cOCTVC1_IRSC_CID_MAX (( 0x015 + 1 ) & 0xFFF) #define cOCTVC1_IRSC_MSG_APPLICATION_INFO_TAP_CID ( 0x017 + cOCTVC1_IRSC_CID_BASE )
#define cOCTVC1_IRSC_MSG_APPLICATION_STATS_TAP_CID ( 0x018 + cOCTVC1_IRSC_CID_BASE )
/**************************************************************************** #define cOCTVC1_IRSC_MSG_APPLICATION_START_TAP_CID ( 0x019 + cOCTVC1_IRSC_CID_BASE )
Event IDs #define cOCTVC1_IRSC_MSG_APPLICATION_STOP_TAP_CID ( 0x01a + cOCTVC1_IRSC_CID_BASE )
****************************************************************************/
#define cOCTVC1_IRSC_MSG_PROCESS_DUMP_EID ( 0x0001 + cOCTVC1_IRSC_EID_BASE ) #define cOCTVC1_IRSC_CID_MAX (( 0x01a + 1 ) & 0xFFF)
#define cOCTVC1_IRSC_EID_MAX (( 0x0001 + 1 ) & 0xFFFF) /****************************************************************************
Event IDs
****************************************************************************/
#endif /* __OCTVC1_IRSC_ID_H__ */ #define cOCTVC1_IRSC_MSG_PROCESS_DUMP_EID ( 0x0001 + cOCTVC1_IRSC_EID_BASE )
#define cOCTVC1_IRSC_EID_MAX (( 0x0001 + 1 ) & 0xFFFF)
#endif /* __OCTVC1_IRSC_ID_H__ */

View File

@ -1,11 +1,11 @@
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
File: OCTVC1_IRSC_ID_PRIV.h File: OCTVC1_IRSC_ID_PRIV.h
Copyright (c) 2015 Octasic Inc. All rights reserved. Copyright (c) 2015 Octasic Inc. All rights reserved.
Description: Contains the identifiers for the IRSC API. Description: Contains the identifiers for the IRSC API.
This program is free software; you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or the Free Software Foundation; either version 2 of the License, or
@ -18,30 +18,30 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License along 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
$Octasic_Revision: $ $Octasic_Revision: $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
#ifndef __OCTVC1_IRSC_ID_PRIV_H__ #ifndef __OCTVC1_IRSC_ID_PRIV_H__
#define __OCTVC1_IRSC_ID_PRIV_H__ #define __OCTVC1_IRSC_ID_PRIV_H__
/***************************** INCLUDE FILES *******************************/ /***************************** INCLUDE FILES *******************************/
#include "octvc1_irsc_id.h" #include "octvc1_irsc_id.h"
#include "octvc1_irsc_base.h" #include "octvc1_irsc_base.h"
/**************************************************************************** /****************************************************************************
Command IDs Command IDs
****************************************************************************/ ****************************************************************************/
/**************************************************************************** /****************************************************************************
Event IDs Event IDs
****************************************************************************/ ****************************************************************************/
#endif /* __OCTVC1_IRSC_ID_PRIV_H__ */ #endif /* __OCTVC1_IRSC_ID_PRIV_H__ */

View File

@ -1,11 +1,11 @@
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
File: OCTVC1_IRSC_RC.h File: OCTVC1_IRSC_RC.h
Copyright (c) 2015 Octasic Inc. All rights reserved. Copyright (c) 2015 Octasic Inc. All rights reserved.
Description: Contains the return codes for the IRSC API. Description: Contains the return codes for the IRSC API.
This program is free software; you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or the Free Software Foundation; either version 2 of the License, or
@ -18,47 +18,47 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License along 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
$Octasic_Revision: $ $Octasic_Revision: $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
#ifndef OCTVC1_IRSC_RC_H__ #ifndef OCTVC1_IRSC_RC_H__
#define OCTVC1_IRSC_RC_H__ #define OCTVC1_IRSC_RC_H__
/***************************** INCLUDE FILES *******************************/ /***************************** INCLUDE FILES *******************************/
#include "../octvc1_base.h" #include "../octvc1_base.h"
#include "../octvc1_generic_rc.h" #include "../octvc1_generic_rc.h"
#include "octvc1_irsc_base.h" #include "octvc1_irsc_base.h"
/**************************************************************************** /****************************************************************************
IRSC return codes IRSC return codes
****************************************************************************/ ****************************************************************************/
#define cOCTVC1_IRSC_RC_INVALID_TASK ( 0x000A + cOCTVC1_IRSC_RC_BASE ) #define cOCTVC1_IRSC_RC_INVALID_TASK ( 0x000A + cOCTVC1_IRSC_RC_BASE )
/**************************************************************************** /****************************************************************************
OBJMGR return codes OBJMGR return codes
****************************************************************************/ ****************************************************************************/
#define cOCTVC1_IRSC_OBJMGR_RC_BASE ( 0x0450 + cOCTVC1_IRSC_RC_BASE ) #define cOCTVC1_IRSC_OBJMGR_RC_BASE ( 0x0450 + cOCTVC1_IRSC_RC_BASE )
#define cOCTVC1_IRSC_RC_OBJMGR_LIST_ERROR ( 0x0001 + cOCTVC1_IRSC_OBJMGR_RC_BASE ) #define cOCTVC1_IRSC_RC_OBJMGR_LIST_ERROR ( 0x0001 + cOCTVC1_IRSC_OBJMGR_RC_BASE )
#define cOCTVC1_IRSC_RC_OBJMGR_INVALID_OBJECT ( 0x0002 + cOCTVC1_IRSC_OBJMGR_RC_BASE ) #define cOCTVC1_IRSC_RC_OBJMGR_INVALID_OBJECT ( 0x0002 + cOCTVC1_IRSC_OBJMGR_RC_BASE )
#define cOCTVC1_IRSC_RC_OBJMGR_INTERNAL_ERROR ( 0x0003 + cOCTVC1_IRSC_OBJMGR_RC_BASE ) #define cOCTVC1_IRSC_RC_OBJMGR_INTERNAL_ERROR ( 0x0003 + cOCTVC1_IRSC_OBJMGR_RC_BASE )
#define cOCTVC1_IRSC_RC_OBJMGR_NOT_INIT ( 0x0004 + cOCTVC1_IRSC_OBJMGR_RC_BASE ) #define cOCTVC1_IRSC_RC_OBJMGR_NOT_INIT ( 0x0004 + cOCTVC1_IRSC_OBJMGR_RC_BASE )
/**************************************************************************** /****************************************************************************
API_COMMAND return codes API_COMMAND return codes
****************************************************************************/ ****************************************************************************/
#define cOCTVC1_IRSC_API_COMMAND_RC_BASE ( 0x0550 + cOCTVC1_IRSC_RC_BASE ) #define cOCTVC1_IRSC_API_COMMAND_RC_BASE ( 0x0550 + cOCTVC1_IRSC_RC_BASE )
#define cOCTVC1_IRSC_RC_API_COMMAND_MONITORING_DISABLE ( 0x0002 + cOCTVC1_IRSC_API_COMMAND_RC_BASE ) #define cOCTVC1_IRSC_RC_API_COMMAND_MONITORING_DISABLE ( 0x0002 + cOCTVC1_IRSC_API_COMMAND_RC_BASE )
#define cOCTVC1_IRSC_RC_API_COMMAND_MAX_REACHED ( 0x0003 + cOCTVC1_IRSC_API_COMMAND_RC_BASE ) #define cOCTVC1_IRSC_RC_API_COMMAND_MAX_REACHED ( 0x0003 + cOCTVC1_IRSC_API_COMMAND_RC_BASE )
#define cOCTVC1_IRSC_RC_API_COMMAND_MONITORING_ALREADY_START ( 0x0004 + cOCTVC1_IRSC_API_COMMAND_RC_BASE ) #define cOCTVC1_IRSC_RC_API_COMMAND_MONITORING_ALREADY_START ( 0x0004 + cOCTVC1_IRSC_API_COMMAND_RC_BASE )
#define cOCTVC1_IRSC_RC_API_COMMAND_INTERNAL_ERROR ( 0x0005 + cOCTVC1_IRSC_API_COMMAND_RC_BASE ) #define cOCTVC1_IRSC_RC_API_COMMAND_INTERNAL_ERROR ( 0x0005 + cOCTVC1_IRSC_API_COMMAND_RC_BASE )
#endif /* OCTVC1_IRSC_RC_H__ */ #endif /* OCTVC1_IRSC_RC_H__ */

View File

@ -1,11 +1,11 @@
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
File: OCTVC1_IRSC_RC_PRIV.h File: OCTVC1_IRSC_RC_PRIV.h
Copyright (c) 2015 Octasic Inc. All rights reserved. Copyright (c) 2015 Octasic Inc. All rights reserved.
Description: Contains the return codes for the IRSC API. Description: Contains the return codes for the IRSC API.
This program is free software; you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or the Free Software Foundation; either version 2 of the License, or
@ -18,25 +18,25 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License along 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
$Octasic_Revision: $ $Octasic_Revision: $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
#ifndef OCTVC1_IRSC_RC_PRIV_H__ #ifndef OCTVC1_IRSC_RC_PRIV_H__
#define OCTVC1_IRSC_RC_PRIV_H__ #define OCTVC1_IRSC_RC_PRIV_H__
/***************************** INCLUDE FILES *******************************/ /***************************** INCLUDE FILES *******************************/
#include "octvc1_irsc_rc.h" #include "octvc1_irsc_rc.h"
#include "octvc1_irsc_base.h" #include "octvc1_irsc_base.h"
/**************************************************************************** /****************************************************************************
IRSC return codes IRSC return codes
****************************************************************************/ ****************************************************************************/
#endif /* OCTVC1_IRSC_RC_PRIV_H__ */ #endif /* OCTVC1_IRSC_RC_PRIV_H__ */

View File

@ -1,11 +1,11 @@
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\ /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
File: OCTVC1_IRSC_VERSION.h File: OCTVC1_IRSC_VERSION.h
Copyright (c) 2015 Octasic Inc. All rights reserved. Copyright (c) 2015 Octasic Inc. All rights reserved.
Description: Contains the version of the IRSC API interface. Description: Contains the version of the IRSC API interface.
This program is free software; you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or the Free Software Foundation; either version 2 of the License, or
@ -18,34 +18,34 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License along 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. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27) Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
$Octasic_Revision: $ $Octasic_Revision: $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/ \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
#ifndef __OCTVC1_IRSC_VERSION_H__ #ifndef __OCTVC1_IRSC_VERSION_H__
#define __OCTVC1_IRSC_VERSION_H__ #define __OCTVC1_IRSC_VERSION_H__
/* The version ID is separated into the following sections: /* The version ID is separated into the following sections:
bit[31:25]: Major version bit[31:25]: Major version
bit[24:18]: Minor version bit[24:18]: Minor version
bit[17:11]: Bug fix version bit[17:11]: Bug fix version
bit[10:0]: Build number bit[10:0]: Build number
*/ */
#define cOCTVC1_IRSC_VERSION_MAJOR 2 #define cOCTVC1_IRSC_VERSION_MAJOR 2
#define cOCTVC1_IRSC_VERSION_MINOR 2 #define cOCTVC1_IRSC_VERSION_MINOR 3
#define cOCTVC1_IRSC_VERSION_MAINTENANCE 4 #define cOCTVC1_IRSC_VERSION_MAINTENANCE 0
#define cOCTVC1_IRSC_VERSION_BUILD 403 #define cOCTVC1_IRSC_VERSION_BUILD 572
#define cOCTVC1_IRSC_VERSION_ID ( (cOCTVC1_IRSC_VERSION_MAJOR << 25) + \ #define cOCTVC1_IRSC_VERSION_ID ( (cOCTVC1_IRSC_VERSION_MAJOR << 25) + \
(cOCTVC1_IRSC_VERSION_MINOR << 18) + \ (cOCTVC1_IRSC_VERSION_MINOR << 18) + \
(cOCTVC1_IRSC_VERSION_MAINTENANCE << 11) + \ (cOCTVC1_IRSC_VERSION_MAINTENANCE << 11) + \
cOCTVC1_IRSC_VERSION_BUILD ) cOCTVC1_IRSC_VERSION_BUILD )
#endif /* __OCTVC1_IRSC_VERSION_H__ */ #endif /* __OCTVC1_IRSC_VERSION_H__ */

File diff suppressed because it is too large Load Diff

Some files were not shown because too many files have changed in this diff Show More