Import OCTSDR-2G-WS-02.03.00-B572-ALPHA
This commit is contained in:
parent
ef76d7adbc
commit
c571025f25
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -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.,
|
||||
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 $
|
||||
|
||||
|
|
|
@ -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.,
|
||||
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 $
|
||||
|
||||
|
|
|
@ -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.,
|
||||
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 $
|
||||
|
||||
|
|
|
@ -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.,
|
||||
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 $
|
||||
|
||||
|
|
|
@ -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.,
|
||||
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: $
|
||||
|
||||
|
|
|
@ -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.,
|
||||
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: $
|
||||
|
||||
|
@ -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_CONTROL_PROTOCOL_TYPE_ENUM[];
|
||||
extern const value_string vals_tOCTPKT_HDR_TYPE_ENUM[];
|
||||
extern const value_string vals_tOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK[10];
|
||||
|
||||
#endif /* _OCTPKT_COMMON_H__ */
|
||||
|
|
|
@ -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.,
|
||||
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: $
|
||||
|
||||
|
@ -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_FORMAT_ENUM[];
|
||||
extern const value_string vals_tOCTVC1_MODULE_ID_ENUM[];
|
||||
extern const value_string vals_tOCTVC1_TAP_DIRECTION_ENUM[];
|
||||
extern const value_string vals_tOCTVC1_TAP_ID[10];
|
||||
extern const value_string vals_tOCTVC1_RADIO_STANDARD_ENUM[];
|
||||
extern const value_string vals_tOCTVC1_RADIO_STANDARD_FREQ_BAND_GSM_ENUM[];
|
||||
extern const value_string vals_tOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM[];
|
||||
|
@ -68,21 +70,14 @@ extern const value_string vals_tOCTVC1_PROCESS_TASK_STATE_ENUM[];
|
|||
/****************************************************************************
|
||||
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_HANDLE_OBJECT(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
extern unsigned int dissect_tOCTVC1_CURSOR_HANDLE_OBJECT_GET_SUB_OBJECT_ID(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
extern unsigned int dissect_tOCTVC1_CURSOR_INDEX_GET(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
extern unsigned int dissect_tOCTVC1_CURSOR_INDEX_GET_SUB_INDEX(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
extern unsigned int dissect_tOCTVC1_HANDLE(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
extern unsigned int dissect_tOCTVC1_OBJECT32_NAME(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
extern unsigned int dissect_tOCTVC1_VLAN_TAG(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
extern unsigned int dissect_tOCTVC1_VLAN_HEADER_INFO(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
extern unsigned int dissect_tOCTVC1_LIST_HANDLE_GET(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
extern unsigned int dissect_tOCTVC1_LIST_HANDLE_GET_SUB_OBJECT_ID(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
extern unsigned int dissect_tOCTVC1_LIST_HANDLE_OBJECT_GET(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
extern unsigned int dissect_tOCTVC1_LIST_NAME_OBJECT32_GET(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
extern unsigned int dissect_tOCTVC1_LIST_HANDLE_OBJECT_GET_SUB_OBJECT_ID_NAME(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
|
@ -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_LOG_HEADER(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
extern unsigned int dissect_tOCTVC1_FILE_HEADER(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
extern unsigned int dissect_tOCTVC1_MODULE_DATA(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
extern unsigned int dissect_tOCTVC1_API_SESSION_INFO(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
extern unsigned int dissect_tOCTVC1_API_SESSION_EVT_INFO(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
extern unsigned int dissect_tOCTVC1_PROCESS_ERROR(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
|
||||
|
|
|
@ -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.,
|
||||
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: $
|
||||
|
||||
|
|
|
@ -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.,
|
||||
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 $
|
||||
|
||||
|
|
|
@ -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.,
|
||||
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 $
|
||||
|
||||
|
|
Binary file not shown.
|
@ -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.,
|
||||
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: $
|
||||
|
||||
|
|
|
@ -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.,
|
||||
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: $
|
||||
|
||||
|
@ -69,6 +69,14 @@ const value_string vals_tOCTPKT_HDR_CONTROL_PROTOCOL_TYPE_ENUM[] =
|
|||
{ 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>
|
||||
|
||||
/****************************************************************************
|
||||
|
|
|
@ -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.,
|
||||
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: $
|
||||
|
||||
|
@ -71,6 +71,7 @@ const value_string vals_OCTVC1_MAIN_CID[] =
|
|||
{ (cOCTVC1_MAIN_MSG_FILE_LIST_CID& 0x00000FFF), "FILE_LIST" },
|
||||
{ (cOCTVC1_MAIN_MSG_FILE_SYSTEM_INFO_CID& 0x00000FFF), "FILE_SYSTEM_INFO" },
|
||||
{ (cOCTVC1_MAIN_MSG_FILE_SYSTEM_INFO_FILE_CID& 0x00000FFF), "FILE_SYSTEM_INFO_FILE" },
|
||||
{ (cOCTVC1_MAIN_MSG_FILE_SYSTEM_ADD_FILE_CID& 0x00000FFF), "FILE_SYSTEM_ADD_FILE" },
|
||||
{ (cOCTVC1_MAIN_MSG_FILE_SYSTEM_DELETE_FILE_CID& 0x00000FFF), "FILE_SYSTEM_DELETE_FILE" },
|
||||
{ (cOCTVC1_MAIN_MSG_LOG_ERASE_CID& 0x00000FFF), "LOG_ERASE" },
|
||||
{ (cOCTVC1_MAIN_MSG_LOG_INFO_CID& 0x00000FFF), "LOG_INFO" },
|
||||
|
@ -98,6 +99,9 @@ const value_string vals_OCTVC1_MAIN_CID[] =
|
|||
{ (cOCTVC1_MAIN_MSG_APPLICATION_STOP_CID& 0x00000FFF), "APPLICATION_STOP" },
|
||||
{ (cOCTVC1_MAIN_MSG_APPLICATION_INFO_CID& 0x00000FFF), "APPLICATION_INFO" },
|
||||
{ (cOCTVC1_MAIN_MSG_APPLICATION_INFO_SYSTEM_CID& 0x00000FFF), "APPLICATION_INFO_SYSTEM" },
|
||||
{ (cOCTVC1_MAIN_MSG_APPLICATION_LIST_MODULE_CID& 0x00000FFF), "APPLICATION_LIST_MODULE" },
|
||||
{ (cOCTVC1_MAIN_MSG_APPLICATION_INFO_MODULE_CID& 0x00000FFF), "APPLICATION_INFO_MODULE" },
|
||||
{ (cOCTVC1_MAIN_MSG_APPLICATION_STATS_MODULE_CID& 0x00000FFF), "APPLICATION_STATS_MODULE" },
|
||||
{ 0, NULL },
|
||||
};
|
||||
const value_string vals_OCTVC1_MAIN_CID_PRIV[] =
|
||||
|
@ -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_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_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_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_STATS_CID& 0x00000FFF), "CLOCK_SYNC_MGR_STATS" },
|
||||
{ (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_INFO_SESSION_EVT_CID& 0x00000FFF), "API_SYSTEM_INFO_SESSION_EVT" },
|
||||
{ (cOCTVC1_IRSC_MSG_API_SYSTEM_STATS_SESSION_EVT_CID& 0x00000FFF), "API_SYSTEM_STATS_SESSION_EVT" },
|
||||
{ (cOCTVC1_IRSC_MSG_APPLICATION_LIST_TAP_CID& 0x00000FFF), "APPLICATION_LIST_TAP" },
|
||||
{ (cOCTVC1_IRSC_MSG_APPLICATION_INFO_TAP_CID& 0x00000FFF), "APPLICATION_INFO_TAP" },
|
||||
{ (cOCTVC1_IRSC_MSG_APPLICATION_STATS_TAP_CID& 0x00000FFF), "APPLICATION_STATS_TAP" },
|
||||
{ (cOCTVC1_IRSC_MSG_APPLICATION_START_TAP_CID& 0x00000FFF), "APPLICATION_START_TAP" },
|
||||
{ (cOCTVC1_IRSC_MSG_APPLICATION_STOP_TAP_CID& 0x00000FFF), "APPLICATION_STOP_TAP" },
|
||||
{ 0, NULL },
|
||||
};
|
||||
const value_string vals_OCTVC1_IRSC_CID_PRIV[] =
|
||||
|
@ -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_REQUEST_LOGICAL_CHANNEL_EMPTY_FRAME_CID& 0x00000FFF), "TRX_REQUEST_LOGICAL_CHANNEL_EMPTY_FRAME" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_DATA_CID& 0x00000FFF), "TRX_REQUEST_LOGICAL_CHANNEL_DATA" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_CMU_LOOPBACK_TEST_CID& 0x00000FFF), "TRX_REQUEST_LOGICAL_CHANNEL_CMU_LOOPBACK_TEST" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_ACTIVATE_PHYSICAL_CHANNEL_CID& 0x00000FFF), "TRX_ACTIVATE_PHYSICAL_CHANNEL" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_DEACTIVATE_PHYSICAL_CHANNEL_CID& 0x00000FFF), "TRX_DEACTIVATE_PHYSICAL_CHANNEL" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_STATUS_PHYSICAL_CHANNEL_CID& 0x00000FFF), "TRX_STATUS_PHYSICAL_CHANNEL" },
|
||||
|
@ -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_INFO_PHYSICAL_CHANNEL_CIPHERING_CID& 0x00000FFF), "TRX_INFO_PHYSICAL_CHANNEL_CIPHERING" },
|
||||
{ (cOCTVC1_GSM_MSG_TRX_INFO_PHYSICAL_CHANNEL_MEASUREMENT_CID& 0x00000FFF), "TRX_INFO_PHYSICAL_CHANNEL_MEASUREMENT" },
|
||||
{ (cOCTVC1_GSM_MSG_TAP_FILTER_LIST_CID& 0x00000FFF), "TAP_FILTER_LIST" },
|
||||
{ (cOCTVC1_GSM_MSG_TAP_FILTER_INFO_CID& 0x00000FFF), "TAP_FILTER_INFO" },
|
||||
{ (cOCTVC1_GSM_MSG_TAP_FILTER_STATS_CID& 0x00000FFF), "TAP_FILTER_STATS" },
|
||||
{ (cOCTVC1_GSM_MSG_TAP_FILTER_MODIFY_CID& 0x00000FFF), "TAP_FILTER_MODIFY" },
|
||||
{ 0, NULL },
|
||||
};
|
||||
const value_string vals_OCTVC1_GSM_CID_PRIV[] =
|
||||
|
|
|
@ -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.,
|
||||
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: $
|
||||
|
||||
|
@ -57,155 +57,6 @@ const value_string vals_tOCTVC1_OBJECT_CURSOR_ENUM[] =
|
|||
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];
|
||||
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 )
|
||||
{
|
||||
proto_tree *field_tree = tree;
|
||||
|
@ -924,31 +564,6 @@ const value_string vals_tOCTVC1_ETH_PORT_ID_ENUM[] =
|
|||
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];
|
||||
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 )
|
||||
{
|
||||
proto_tree *field_tree = tree;
|
||||
|
@ -1323,77 +892,6 @@ unsigned int dissect_tOCTVC1_VLAN_HEADER_INFO(tvbuff_t *tvb, packet_info *pinfo
|
|||
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];
|
||||
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 )
|
||||
{
|
||||
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_HW, "cOCTVC1_MODULE_ID_ENUM_HW" },
|
||||
{ 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_GSM, "cOCTVC1_MODULE_ID_ENUM_GSM" },
|
||||
{ cOCTVC1_MODULE_ID_ENUM_LTE, "cOCTVC1_MODULE_ID_ENUM_LTE" },
|
||||
|
@ -2740,6 +2120,123 @@ const value_string vals_tOCTVC1_MODULE_ID_ENUM[] =
|
|||
{ 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>
|
||||
|
||||
/****************************************************************************
|
||||
|
@ -2757,9 +2254,13 @@ const value_string vals_tOCTVC1_RADIO_STANDARD_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_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_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_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" },
|
||||
|
@ -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_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_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_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_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_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_INVALID, "cOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM_INVALID" },
|
||||
{ 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)
|
||||
{
|
||||
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_HANDLE_OBJECT();
|
||||
register_tOCTVC1_CURSOR_HANDLE_OBJECT_GET_SUB_OBJECT_ID();
|
||||
register_tOCTVC1_CURSOR_INDEX_GET();
|
||||
register_tOCTVC1_CURSOR_INDEX_GET_SUB_INDEX();
|
||||
register_tOCTVC1_HANDLE();
|
||||
register_tOCTVC1_OBJECT32_NAME();
|
||||
register_tOCTVC1_VLAN_TAG();
|
||||
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_NAME_OBJECT32_GET();
|
||||
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_LOG_HEADER();
|
||||
register_tOCTVC1_FILE_HEADER();
|
||||
register_tOCTVC1_MODULE_DATA();
|
||||
register_tOCTVC1_API_SESSION_INFO();
|
||||
register_tOCTVC1_API_SESSION_EVT_INFO();
|
||||
register_tOCTVC1_PROCESS_ERROR();
|
||||
|
|
|
@ -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.,
|
||||
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: $
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -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.,
|
||||
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: $
|
||||
|
||||
|
@ -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_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_LOSS_EXT_CLOCK, "cOCTVC1_HW_CLOCK_SYNC_MGR_STATE_ENUM_LOSS_EXT_CLOCK" },
|
||||
{ 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;
|
||||
|
||||
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 }
|
||||
|
||||
},
|
||||
{
|
||||
&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[] =
|
||||
|
@ -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];
|
||||
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];
|
||||
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);
|
||||
|
||||
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 )
|
||||
{
|
||||
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 )
|
||||
{
|
||||
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_INFO_ANTENNA_RX_CONFIG_CMD();
|
||||
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_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_STATS_CMD();
|
||||
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_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_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_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_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;
|
||||
|
@ -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_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_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_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_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;
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -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.,
|
||||
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: $
|
||||
|
||||
|
@ -50,6 +50,24 @@ const value_string vals_tOCTVC1_MAIN_APPLICATION_STATE_ENUM[] =
|
|||
{ 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[] =
|
||||
{
|
||||
{ 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
|
||||
****************************************************************************/
|
||||
|
||||
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];
|
||||
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;
|
||||
|
||||
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 }
|
||||
|
||||
},
|
||||
{
|
||||
&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[] =
|
||||
|
@ -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];
|
||||
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
|
||||
****************************************************************************/
|
||||
|
||||
|
||||
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 )
|
||||
{
|
||||
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);
|
||||
|
||||
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;
|
||||
|
||||
};
|
||||
|
@ -4896,6 +5700,8 @@ void ws_register_OCTVC1_MAIN(void)
|
|||
/****************************************************************************
|
||||
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_STATS();
|
||||
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_FILE_CMD();
|
||||
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_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_INFO_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
|
||||
|
@ -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_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_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_LOG_ERASE_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_INFO_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;
|
||||
}
|
||||
}
|
||||
|
@ -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_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_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_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;
|
||||
|
@ -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_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_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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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.,
|
||||
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: $
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
||||
#define mWD_OCTVC1_CID_TYPE_BASE(uint32) ((uint32) & 0x00f00000)
|
||||
#define mWD_OCTVC1_CID_UID(uint32) ((uint32) & 0x000f0000)
|
||||
#define mWD_OCTVC1_CID_TYPE_BASE(uint32) ((uint32) & 0x0F000000)
|
||||
#define mWD_OCTVC1_CID_UID(uint32) ((uint32) & 0x00FF0000)
|
||||
#define mWD_OCTVC1_CID_CODE(uint32) ((uint32) & 0x00000FFF)
|
||||
#define mWD_OCTVC1_CID_FLAG(uint32) ((uint32) & 0x0000F000)
|
||||
|
||||
#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_BASE(uint32) (((uint32)& 0x00F00000)>>20)
|
||||
#define mWD_OCTVC1_CID_2_UID(uint32) (((uint32)& 0x00FF0000)>>16)
|
||||
|
||||
|
||||
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[] =
|
||||
{
|
||||
{ cOCTVC1_CID_BASE>>20, "Cmd/Rsp" },
|
||||
{ cOCTVC1_EID_BASE>>20, "Notification" },
|
||||
{ cOCTVC1_SID_BASE>>20, "Supervisory" },
|
||||
{ cOCTVC1_CID_BASE>>24, "Cmd/Rsp" },
|
||||
{ cOCTVC1_EID_BASE>>24, "Notification" },
|
||||
{ cOCTVC1_SID_BASE>>24, "Supervisory" },
|
||||
{ 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 );
|
||||
|
||||
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,
|
||||
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,
|
||||
{ "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 }
|
||||
},
|
||||
|
||||
{ &hf_octvc1_msg_header_ul_Type_R_CmdId_ModuleId,
|
||||
{ "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 }
|
||||
},
|
||||
{ &hf_octvc1_msg_header_ul_Type_R_CmdId_Flag,
|
||||
|
|
|
@ -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_Code = -1;
|
||||
|
||||
#define mWD_OCTVC1_EID_TYPE(uint32) ((uint32) & 0x0F000000)
|
||||
#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)
|
||||
|
||||
|
||||
|
@ -80,6 +81,7 @@ void dissect_octvc1_event(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
|
|||
unsigned int packet_offset = 0;
|
||||
guint32 evt_length;
|
||||
guint32 event_id;
|
||||
guint32 msg_type_base;
|
||||
guint32 event_id_base;
|
||||
guint32 event_id_code;
|
||||
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 );
|
||||
packet_offset += sizeof(evt_length);
|
||||
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_code = mWD_OCTVC1_EID_CODE(event_id);
|
||||
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);
|
||||
|
||||
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,
|
||||
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 */
|
||||
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 );
|
||||
}
|
||||
|
||||
|
@ -278,13 +281,13 @@ void proto_register_octvc1_event(void)
|
|||
|
||||
{ &hf_octvc1_event_header_ulEventId_Type,
|
||||
{ "Message Type Base", "octvc1.event_header.type_base",
|
||||
FT_UINT32, BASE_HEX, NULL, 0x00f00000,
|
||||
FT_UINT32, BASE_HEX, NULL, 0x0F000000,
|
||||
"Message identifier", HFILL }
|
||||
},
|
||||
|
||||
{ &hf_octvc1_event_header_ulEventId_Base,
|
||||
{ "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 }
|
||||
},
|
||||
{ &hf_octvc1_event_header_ulEventId_Code,
|
||||
|
|
|
@ -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.,
|
||||
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: $
|
||||
|
||||
|
|
|
@ -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.,
|
||||
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 $
|
||||
|
||||
|
|
|
@ -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.,
|
||||
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: $
|
||||
|
||||
|
|
|
@ -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.,
|
||||
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: $
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,11 +1,11 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTDEV_DEVICES.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description:
|
||||
|
||||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTDEV_DEVICES.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description:
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
|
@ -18,59 +18,59 @@ GNU General Public License for more details.
|
|||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27)
|
||||
|
||||
$Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTDEV_DEVICES_H__
|
||||
#define __OCTDEV_DEVICES_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "octdev_types.h"
|
||||
|
||||
|
||||
/************************ COMMON DEFINITIONS *******************************/
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTDEV_DEVICES_TYPE_ENUM : Octasic Device type.
|
||||
-------------------------------------------------------------------------------------*/
|
||||
#define tOCTDEV_DEVICES_TYPE_ENUM tOCT_UINT32
|
||||
|
||||
#define cOCTDEV_DEVICES_TYPE_ENUM_INVALID 0x0
|
||||
#define cOCTDEV_DEVICES_TYPE_ENUM_OCT1010 0x1
|
||||
#define cOCTDEV_DEVICES_TYPE_ENUM_OCT2200 0x2
|
||||
#define cOCTDEV_DEVICES_TYPE_ENUM_CPU 0xF
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTDEV_DEVICES_DSP_CORE_TYPE_ENUM : Octasic DSP Core type.
|
||||
-------------------------------------------------------------------------------------*/
|
||||
#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_OPUS1 0x1
|
||||
#define cOCTDEV_DEVICES_DSP_CORE_TYPE_ENUM_OPUS2 0x2
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
OCT1010 specific definitions.
|
||||
-------------------------------------------------------------------------------------*/
|
||||
#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_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. */
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
OCT2200 specific definitions.
|
||||
-------------------------------------------------------------------------------------*/
|
||||
#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_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. */
|
||||
|
||||
|
||||
#endif /* __OCTDEV_DEVICES_H__ */
|
||||
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
$Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTDEV_DEVICES_H__
|
||||
#define __OCTDEV_DEVICES_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "octdev_types.h"
|
||||
|
||||
|
||||
/************************ COMMON DEFINITIONS *******************************/
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTDEV_DEVICES_TYPE_ENUM : Octasic Device type.
|
||||
-------------------------------------------------------------------------------------*/
|
||||
#define tOCTDEV_DEVICES_TYPE_ENUM tOCT_UINT32
|
||||
|
||||
#define cOCTDEV_DEVICES_TYPE_ENUM_INVALID 0x0
|
||||
#define cOCTDEV_DEVICES_TYPE_ENUM_OCT1010 0x1
|
||||
#define cOCTDEV_DEVICES_TYPE_ENUM_OCT2200 0x2
|
||||
#define cOCTDEV_DEVICES_TYPE_ENUM_CPU 0xF
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTDEV_DEVICES_DSP_CORE_TYPE_ENUM : Octasic DSP Core type.
|
||||
-------------------------------------------------------------------------------------*/
|
||||
#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_OPUS1 0x1
|
||||
#define cOCTDEV_DEVICES_DSP_CORE_TYPE_ENUM_OPUS2 0x2
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
OCT1010 specific definitions.
|
||||
-------------------------------------------------------------------------------------*/
|
||||
#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_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. */
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
OCT2200 specific definitions.
|
||||
-------------------------------------------------------------------------------------*/
|
||||
#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_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. */
|
||||
|
||||
|
||||
#endif /* __OCTDEV_DEVICES_H__ */
|
||||
|
||||
|
|
|
@ -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.,
|
||||
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__
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTDEV_MACRO.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description:
|
||||
|
||||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTDEV_MACRO.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description:
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
|
@ -18,86 +18,121 @@ GNU General Public License for more details.
|
|||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27)
|
||||
|
||||
$Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTDEV_MACRO_H__
|
||||
#define __OCTDEV_MACRO_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "octdev_types.h"
|
||||
|
||||
|
||||
/************************ COMMON DEFINITIONS *******************************/
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
Generic swap macros
|
||||
-------------------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
/*--------------------------------------------------------------------------
|
||||
32-bit Endian Swapping when target is Little Endian
|
||||
----------------------------------------------------------------------------*/
|
||||
#if !defined( mOCT_SWAP32_IF_LE )
|
||||
#if defined( __linux__ )
|
||||
/* Linux (and probably other unices') htonl 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_SWAP32_IF_LE htonl
|
||||
|
||||
#else /* __linux__ */
|
||||
|
||||
#if defined( _OCT_ENDIAN_TYPE_LE_ )
|
||||
|
||||
#define mOCT_SWAP32_IF_LE( f_ulValue ) \
|
||||
( (((f_ulValue) & 0xff000000 ) >> 24) | \
|
||||
(((f_ulValue) & 0x00ff0000 ) >> 8) | \
|
||||
(((f_ulValue) & 0x0000ff00 ) << 8) | \
|
||||
(((f_ulValue) & 0x000000ff ) << 24) )
|
||||
#else
|
||||
|
||||
#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__ */
|
||||
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
$Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTDEV_MACRO_H__
|
||||
#define __OCTDEV_MACRO_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "octdev_types.h"
|
||||
|
||||
|
||||
/************************ COMMON DEFINITIONS *******************************/
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
Generic swap macros
|
||||
-------------------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
/*--------------------------------------------------------------------------
|
||||
64-bit Endian Swapping when target is Little Endian
|
||||
----------------------------------------------------------------------------*/
|
||||
#if !defined( mOCT_SWAP64_IF_LE )
|
||||
|
||||
#if defined( _OCT_ENDIAN_TYPE_LE_ )
|
||||
|
||||
#if defined( __linux__ )
|
||||
/* Linux (and probably other unices') htonl 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_SWAP64_IF_LE( f_ullValue ) (((uint64_t)ntohl(f_ullValue)) << 32 | ntohl(f_ullValue>>32))
|
||||
|
||||
#else /* __linux__ */
|
||||
|
||||
#define mOCT_SWAP64_IF_LE( f_ullValue ) \
|
||||
(((tOCT_UINT64)(f_ullValue) << 56) | \
|
||||
(((tOCT_UINT64)(f_ullValue) << 40) & 0xff000000000000ULL) | \
|
||||
(((tOCT_UINT64)(f_ullValue) << 24) & 0xff0000000000ULL) | \
|
||||
(((tOCT_UINT64)(f_ullValue) << 8) & 0xff00000000ULL) | \
|
||||
(((tOCT_UINT64)(f_ullValue) >> 8) & 0xff000000ULL) | \
|
||||
(((tOCT_UINT64)(f_ullValue) >> 24) & 0xff0000ULL) | \
|
||||
(((tOCT_UINT64)(f_ullValue) >> 40) & 0xff00ULL) | \
|
||||
((tOCT_UINT64)(f_ullValue) >> 56))
|
||||
#endif /* __linux__ */
|
||||
#else
|
||||
|
||||
#define mOCT_SWAP64_IF_LE( f_ullValue ) (f_ullValue)
|
||||
|
||||
#endif /* _OCT_ENDIAN_TYPE_LE_ */
|
||||
|
||||
#endif /* mOCT_SWAP64_IF_LE */
|
||||
|
||||
/*--------------------------------------------------------------------------
|
||||
32-bit Endian Swapping when target is Little Endian
|
||||
----------------------------------------------------------------------------*/
|
||||
#if !defined( mOCT_SWAP32_IF_LE )
|
||||
#if defined( __linux__ )
|
||||
/* Linux (and probably other unices') htonl 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_SWAP32_IF_LE htonl
|
||||
|
||||
#else /* __linux__ */
|
||||
|
||||
#if defined( _OCT_ENDIAN_TYPE_LE_ )
|
||||
|
||||
#define mOCT_SWAP32_IF_LE( f_ulValue ) \
|
||||
( (((f_ulValue) & 0xff000000 ) >> 24) | \
|
||||
(((f_ulValue) & 0x00ff0000 ) >> 8) | \
|
||||
(((f_ulValue) & 0x0000ff00 ) << 8) | \
|
||||
(((f_ulValue) & 0x000000ff ) << 24) )
|
||||
#else
|
||||
|
||||
#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__ */
|
||||
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTDEV_OPUS_REV.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description:
|
||||
|
||||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTDEV_OPUS_REV.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description:
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
|
@ -18,100 +18,100 @@ GNU General Public License for more details.
|
|||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27)
|
||||
|
||||
$Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTDEV_OPUS_REV_H__
|
||||
#define __OCTDEV_OPUS_REV_H__
|
||||
|
||||
|
||||
/************************ COMMON DEFINITIONS *******************************/
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
Revision history
|
||||
-------------------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#ifdef _M_OPUS1
|
||||
#define OCT1010_REV_B
|
||||
#endif /* _M_OPUS1 */
|
||||
|
||||
#ifdef OCT1010_REV_A
|
||||
#define d1jnsrc d1jnsrp
|
||||
#define d2jnsrc d2jnsrp
|
||||
#define d4jnsrc d4jnsrp
|
||||
#define d8jnsrc d8jnsrp
|
||||
#define d16jnsrc d16jnsrp
|
||||
#define d32jnsrc d32jnsrp
|
||||
#define d64jnsrc d64jnsrp
|
||||
#define d128jnsrc d128jnsrp
|
||||
#define d1jnsc d1jnsrp
|
||||
#define d2jnsc d2jnsrp
|
||||
#define d4jnsc d4jnsrp
|
||||
#define d8jnsc d8jnsrp
|
||||
#define d16jnsc d16jnsrp
|
||||
#define d32jnsc d32jnsrp
|
||||
#define d64jnsc d64jnsrp
|
||||
#define d128jnsc d128jnsrp
|
||||
|
||||
/* need for the migration from Rev A to Rev B
|
||||
*/
|
||||
#define mOCTDEV_OPUS_RDTSC_CORRECTION( f_ulTimestamp ) \
|
||||
_asm and f_ulTimestamp, 0x7FFFFFFF
|
||||
|
||||
#define mOCTDEV_OPUS_RDTSC_CORRECTION_C( f_ulTimestamp ) \
|
||||
f_ulTimestamp &= 0x7FFFFFFF;
|
||||
|
||||
#define mOCTDEV_OPUS_UNSEIZABLE_FIX( f_ulRegister ) \
|
||||
_asm { halt ( ( f_ulRegister & 0 ) != 0 ) }
|
||||
|
||||
#define mOCTDEV_OPUS_UNSEIZABLE_FIX_C( f_ulRegister ) \
|
||||
{_chalt(( f_ulRegister & 0 ) != 0 );}
|
||||
|
||||
#endif /* OCT1010_REV_A */
|
||||
|
||||
#ifdef OCT1010_REV_B
|
||||
#define mOCTDEV_OPUS_RDTSC_CORRECTION( f_ulTimestamp ) \
|
||||
_asm and f_ulTimestamp, 0x7FFFFFFF
|
||||
|
||||
#define mOCTDEV_OPUS_RDTSC_CORRECTION_C( f_ulTimestamp ) \
|
||||
f_ulTimestamp &= 0x7FFFFFFF;
|
||||
|
||||
#define mOCTDEV_OPUS_UNSEIZABLE_FIX( f_ulRegister ) \
|
||||
_asm { halt ( ( f_ulRegister & 0 ) != 0 ) }
|
||||
|
||||
#define mOCTDEV_OPUS_UNSEIZABLE_FIX_C( f_ulRegister ) \
|
||||
{_chalt(( f_ulRegister & 0 ) != 0 );}
|
||||
|
||||
#endif /* OCT1010_REV_B */
|
||||
|
||||
#ifdef _M_OPUS2
|
||||
#define OCT2200_REV_B
|
||||
#endif /* _M_OPUS2 */
|
||||
|
||||
#ifdef OCT2200_REV_A
|
||||
#define mOCTDEV_OPUS_RDTSC_CORRECTION( f_ulTimestamp )
|
||||
#define mOCTDEV_OPUS_RDTSC_CORRECTION_C( f_ulTimestamp )
|
||||
|
||||
#define mOCTDEV_OPUS_UNSEIZABLE_FIX( f_ulRegister )
|
||||
#define mOCTDEV_OPUS_UNSEIZABLE_FIX_C( f_ulRegister )
|
||||
|
||||
#endif /* OCT2200_REV_A */
|
||||
|
||||
#ifdef OCT2200_REV_B
|
||||
#define mOCTDEV_OPUS_RDTSC_CORRECTION( f_ulTimestamp )
|
||||
#define mOCTDEV_OPUS_RDTSC_CORRECTION_C( f_ulTimestamp )
|
||||
|
||||
#define mOCTDEV_OPUS_UNSEIZABLE_FIX( f_ulRegister )
|
||||
#define mOCTDEV_OPUS_UNSEIZABLE_FIX_C( f_ulRegister )
|
||||
|
||||
#endif /* OCT2200_REV_B */
|
||||
|
||||
|
||||
#endif /* __OCTDEV_OPUS_REV_H__ */
|
||||
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
$Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTDEV_OPUS_REV_H__
|
||||
#define __OCTDEV_OPUS_REV_H__
|
||||
|
||||
|
||||
/************************ COMMON DEFINITIONS *******************************/
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
Revision history
|
||||
-------------------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#ifdef _M_OPUS1
|
||||
#define OCT1010_REV_B
|
||||
#endif /* _M_OPUS1 */
|
||||
|
||||
#ifdef OCT1010_REV_A
|
||||
#define d1jnsrc d1jnsrp
|
||||
#define d2jnsrc d2jnsrp
|
||||
#define d4jnsrc d4jnsrp
|
||||
#define d8jnsrc d8jnsrp
|
||||
#define d16jnsrc d16jnsrp
|
||||
#define d32jnsrc d32jnsrp
|
||||
#define d64jnsrc d64jnsrp
|
||||
#define d128jnsrc d128jnsrp
|
||||
#define d1jnsc d1jnsrp
|
||||
#define d2jnsc d2jnsrp
|
||||
#define d4jnsc d4jnsrp
|
||||
#define d8jnsc d8jnsrp
|
||||
#define d16jnsc d16jnsrp
|
||||
#define d32jnsc d32jnsrp
|
||||
#define d64jnsc d64jnsrp
|
||||
#define d128jnsc d128jnsrp
|
||||
|
||||
/* need for the migration from Rev A to Rev B
|
||||
*/
|
||||
#define mOCTDEV_OPUS_RDTSC_CORRECTION( f_ulTimestamp ) \
|
||||
_asm and f_ulTimestamp, 0x7FFFFFFF
|
||||
|
||||
#define mOCTDEV_OPUS_RDTSC_CORRECTION_C( f_ulTimestamp ) \
|
||||
f_ulTimestamp &= 0x7FFFFFFF;
|
||||
|
||||
#define mOCTDEV_OPUS_UNSEIZABLE_FIX( f_ulRegister ) \
|
||||
_asm { halt ( ( f_ulRegister & 0 ) != 0 ) }
|
||||
|
||||
#define mOCTDEV_OPUS_UNSEIZABLE_FIX_C( f_ulRegister ) \
|
||||
{_chalt(( f_ulRegister & 0 ) != 0 );}
|
||||
|
||||
#endif /* OCT1010_REV_A */
|
||||
|
||||
#ifdef OCT1010_REV_B
|
||||
#define mOCTDEV_OPUS_RDTSC_CORRECTION( f_ulTimestamp ) \
|
||||
_asm and f_ulTimestamp, 0x7FFFFFFF
|
||||
|
||||
#define mOCTDEV_OPUS_RDTSC_CORRECTION_C( f_ulTimestamp ) \
|
||||
f_ulTimestamp &= 0x7FFFFFFF;
|
||||
|
||||
#define mOCTDEV_OPUS_UNSEIZABLE_FIX( f_ulRegister ) \
|
||||
_asm { halt ( ( f_ulRegister & 0 ) != 0 ) }
|
||||
|
||||
#define mOCTDEV_OPUS_UNSEIZABLE_FIX_C( f_ulRegister ) \
|
||||
{_chalt(( f_ulRegister & 0 ) != 0 );}
|
||||
|
||||
#endif /* OCT1010_REV_B */
|
||||
|
||||
#ifdef _M_OPUS2
|
||||
#define OCT2200_REV_B
|
||||
#endif /* _M_OPUS2 */
|
||||
|
||||
#ifdef OCT2200_REV_A
|
||||
#define mOCTDEV_OPUS_RDTSC_CORRECTION( f_ulTimestamp )
|
||||
#define mOCTDEV_OPUS_RDTSC_CORRECTION_C( f_ulTimestamp )
|
||||
|
||||
#define mOCTDEV_OPUS_UNSEIZABLE_FIX( f_ulRegister )
|
||||
#define mOCTDEV_OPUS_UNSEIZABLE_FIX_C( f_ulRegister )
|
||||
|
||||
#endif /* OCT2200_REV_A */
|
||||
|
||||
#ifdef OCT2200_REV_B
|
||||
#define mOCTDEV_OPUS_RDTSC_CORRECTION( f_ulTimestamp )
|
||||
#define mOCTDEV_OPUS_RDTSC_CORRECTION_C( f_ulTimestamp )
|
||||
|
||||
#define mOCTDEV_OPUS_UNSEIZABLE_FIX( f_ulRegister )
|
||||
#define mOCTDEV_OPUS_UNSEIZABLE_FIX_C( f_ulRegister )
|
||||
|
||||
#endif /* OCT2200_REV_B */
|
||||
|
||||
|
||||
#endif /* __OCTDEV_OPUS_REV_H__ */
|
||||
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTDEV_RC_BASE.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description:
|
||||
|
||||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTDEV_RC_BASE.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description:
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
|
@ -18,34 +18,34 @@ GNU General Public License for more details.
|
|||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27)
|
||||
|
||||
$Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTDEV_RC_BASE_H__
|
||||
#define __OCTDEV_RC_BASE_H__
|
||||
|
||||
|
||||
/************************ COMMON DEFINITIONS *******************************/
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
Gemeric Return Code bases
|
||||
-------------------------------------------------------------------------------------*/
|
||||
|
||||
#define cOCTADF_TARGET_RC_BASE 0x01000000
|
||||
#define cOCTVC1_API_RC_BASE 0x0A000000
|
||||
#define cOCTCOMMON_API_RC_BASE 0x0E000000
|
||||
#define cOCTDEVICE_API_RC_BASE 0x0F000000
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
Return Code fatal flag
|
||||
-------------------------------------------------------------------------------------*/
|
||||
|
||||
#define cOCTDEV_RC_FATAL_FLAG 0x80000000
|
||||
|
||||
#endif /* __OCTDEV_RC_BASE_H__ */
|
||||
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
$Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTDEV_RC_BASE_H__
|
||||
#define __OCTDEV_RC_BASE_H__
|
||||
|
||||
|
||||
/************************ COMMON DEFINITIONS *******************************/
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
Gemeric Return Code bases
|
||||
-------------------------------------------------------------------------------------*/
|
||||
|
||||
#define cOCTADF_TARGET_RC_BASE 0x01000000
|
||||
#define cOCTVC1_API_RC_BASE 0x0A000000
|
||||
#define cOCTCOMMON_API_RC_BASE 0x0E000000
|
||||
#define cOCTDEVICE_API_RC_BASE 0x0F000000
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
Return Code fatal flag
|
||||
-------------------------------------------------------------------------------------*/
|
||||
|
||||
#define cOCTDEV_RC_FATAL_FLAG 0x80000000
|
||||
|
||||
#endif /* __OCTDEV_RC_BASE_H__ */
|
||||
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTDEV_TYPES.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description:
|
||||
|
||||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTDEV_TYPES.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description:
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
|
@ -18,315 +18,315 @@ GNU General Public License for more details.
|
|||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27)
|
||||
|
||||
$Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTDEV_TYPES_H__
|
||||
#define __OCTDEV_TYPES_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include <limits.h>
|
||||
|
||||
|
||||
/************************ COMMON DEFINITIONS *******************************/
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
API Data Types
|
||||
-------------------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#ifndef NULL
|
||||
#ifdef __cplusplus
|
||||
#define NULL 0
|
||||
#else
|
||||
#define NULL ((void *)0)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if SHRT_MAX == 32767
|
||||
/* short is 16-bit */
|
||||
typedef unsigned short tOCT_UINT16;
|
||||
typedef short tOCT_INT16;
|
||||
#elif INT_MAX == 32767
|
||||
/* integer is 16-bit */
|
||||
typedef unsigned int tOCT_UINT16;
|
||||
typedef int tOCT_INT16;
|
||||
#else
|
||||
/* unexpected 16-bit type */
|
||||
#error Cannot determine 16-bit type
|
||||
#endif
|
||||
|
||||
#if INT_MAX == 2147483647L
|
||||
/* integer is 32-bit */
|
||||
typedef int tOCT_INT32;
|
||||
typedef unsigned int tOCT_UINT32;
|
||||
#elif LONG_MAX == 2147483647L
|
||||
/* long is 32-bit */
|
||||
typedef long tOCT_INT32;
|
||||
typedef unsigned long tOCT_UINT32;
|
||||
#else
|
||||
/* unexpected 32-bit type */
|
||||
#error Cannot determine 32-bit type
|
||||
#endif
|
||||
|
||||
typedef long long tOCT_INT64;
|
||||
typedef unsigned long long tOCT_UINT64;
|
||||
|
||||
typedef char tOCT_INT8;
|
||||
typedef unsigned char tOCT_UINT8;
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
TRUE/FALSE
|
||||
-------------------------------------------------------------------------------------*/
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCT_BOOL32 :
|
||||
-------------------------------------------------------------------------------------*/
|
||||
#define tOCT_BOOL32 tOCT_UINT32
|
||||
|
||||
#define cOCT_TRUE 1
|
||||
#define cOCT_FALSE 0
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
Generic Timeout value
|
||||
-------------------------------------------------------------------------------------*/
|
||||
#define cOCTDEV_TIMEOUT_FOREVER 0xFFFFFFFF
|
||||
|
||||
|
||||
/*--------------------------------------------------------------------------
|
||||
ENDIAN Determination
|
||||
|
||||
_OCT_ENDIAN_TYPE_BE_: Defined when target is Big 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
|
||||
automatically determine them based on some common compiler #define
|
||||
values.
|
||||
|
||||
----------------------------------------------------------------------------*/
|
||||
|
||||
#if !defined( _OCT_ENDIAN_TYPE_BE_ ) && !defined( _OCT_ENDIAN_TYPE_LE_ )
|
||||
/* Not Set - try to determine automatically */
|
||||
|
||||
/* Look for Intel target */
|
||||
#if defined( __OCT_ENV_OPUS__ ) || defined( _M_OPUS1 ) || defined( _M_OPUS2 ) || defined( _M_OPUS3 )
|
||||
#define _OCT_ENDIAN_TYPE_BE_
|
||||
#define _OCT_PLATFORM_OPUS_
|
||||
#elif defined( _M_IX86 ) || defined(__x86_64__)
|
||||
#define _OCT_ENDIAN_TYPE_LE_
|
||||
#define _OCT_PLATFORM_X86_
|
||||
#elif defined( __i386 )
|
||||
#define _OCT_ENDIAN_TYPE_LE_
|
||||
#define _OCT_PLATFORM_X86_
|
||||
#elif defined( i386 )
|
||||
#define _OCT_ENDIAN_TYPE_LE_
|
||||
#define _OCT_PLATFORM_X86_
|
||||
/* Look for Motorola PPC target */
|
||||
#elif defined( _M_MPPC ) || defined( _M_PPC ) || defined( __ppc__ ) || defined( __PPC )
|
||||
#define _OCT_ENDIAN_TYPE_BE_
|
||||
#define _OCT_PLATFORM_PPC_
|
||||
/* Look for Sparc target */
|
||||
#elif defined( __sparc )
|
||||
#define _OCT_ENDIAN_TYPE_BE_
|
||||
#define _OCT_PLATFORM_SPARC_
|
||||
#elif defined( __sun__ )
|
||||
#define _OCT_ENDIAN_TYPE_BE_
|
||||
#define _OCT_PLATFORM_SPARC_
|
||||
/* Look for ARM target */
|
||||
#elif defined( __ARMEL__ )
|
||||
#define _OCT_ENDIAN_TYPE_LE_
|
||||
#define _OCT_PLATFORM_ARM_
|
||||
/* Look for MIPS target */
|
||||
#elif defined( __mips__ ) || defined( __MIPSEB )
|
||||
#define _OCT_ENDIAN_TYPE_BE_
|
||||
#define _OCT_PLATFORM_MIPS_
|
||||
/* others */
|
||||
#elif defined( CPU )
|
||||
#if CPU==PPC860
|
||||
#define _OCT_ENDIAN_TYPE_BE_
|
||||
#define _OCT_PLATFORM_PPC_
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* Now insure the endian format is set properly */
|
||||
#if !defined( _OCT_ENDIAN_TYPE_BE_ ) && !defined( _OCT_ENDIAN_TYPE_LE_ )
|
||||
#error Processor Endian not determined
|
||||
#endif
|
||||
#if defined( _OCT_ENDIAN_TYPE_BE_ ) && defined( _OCT_ENDIAN_TYPE_LE_ )
|
||||
#error Processor Endian Set to both Values
|
||||
#endif
|
||||
|
||||
/*--------------------------------------------------------------------------
|
||||
PLATFORM Determination
|
||||
|
||||
OCT_WINDOWS_ENV : Defined when target running under windows
|
||||
OCT_LINUX_ENV : Defined when target running under linux
|
||||
OCT_OPUS_ENV : OPUS env
|
||||
OCT_UNKNOWN_ENV : Unknown env
|
||||
|
||||
----------------------------------------------------------------------------*/
|
||||
#define __OCTDEV_TYPE_STR2__(x) #x
|
||||
#define __OCTDEV_TYPE_STR1__(x) __OCTDEV_TYPE_STR2__(x)
|
||||
#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 )
|
||||
#define OCT_ENV_TYPE_OPUS
|
||||
#define OCT_ENV_TYPE_OCTSYS
|
||||
#ifdef _DEBUG
|
||||
#define OCT_ENV_MODE_DEBUG
|
||||
#endif
|
||||
#elif defined( _LINUX_ ) || defined( __linux__ )
|
||||
#define OCT_ENV_TYPE_LINUX
|
||||
#define OCT_ENV_TYPE_OCTOS
|
||||
#ifndef NDEBUG
|
||||
#define OCT_ENV_MODE_DEBUG
|
||||
#endif
|
||||
#elif defined( _WIN32 ) || defined( WIN32 ) || defined( __WIN32__ ) || defined( _WIN32_ ) || defined( WIN32S ) || defined( _WIN64 ) || defined( WIN64 )
|
||||
#define OCT_ENV_TYPE_WINDOWS
|
||||
#define OCT_ENV_TYPE_OCTOS
|
||||
#ifdef _DEBUG
|
||||
#define OCT_ENV_MODE_DEBUG
|
||||
#endif
|
||||
#else
|
||||
#define OCT_ENV_TYPE_UNKNOWN
|
||||
#pragma message(__OCTDEV_TYPE_WARNLOC__"Environment platform not determined")
|
||||
#endif
|
||||
|
||||
/*--------------------------------------------------------------------------
|
||||
POINTER type definition
|
||||
----------------------------------------------------------------------------*/
|
||||
#if defined( OCT_ENV_TYPE_WINDOWS )
|
||||
#include <basetsd.h>
|
||||
|
||||
#define tOCT_UINT_PTR UINT_PTR
|
||||
#define tOCT_INT_PTR INT_PTR
|
||||
|
||||
#elif defined( OCT_ENV_TYPE_LINUX )
|
||||
#include <inttypes.h>
|
||||
|
||||
#define tOCT_UINT_PTR uintptr_t
|
||||
#define tOCT_INT_PTR intptr_t
|
||||
|
||||
#elif defined( OCT_ENV_TYPE_OCTSYS )
|
||||
#include <stdint.h>
|
||||
|
||||
#define tOCT_UINT_PTR uintptr_t
|
||||
#define tOCT_INT_PTR intptr_t
|
||||
|
||||
#else
|
||||
#pragma message(__OCTDEV_TYPE_WARNLOC__"Environment pointer determined")
|
||||
|
||||
|
||||
#endif /* OCT_ENV_TYPE_WINDOWS */
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
Generic IP Address
|
||||
-------------------------------------------------------------------------------------*/
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTDEV_IP_VERSION_ENUM :
|
||||
-------------------------------------------------------------------------------------*/
|
||||
#define tOCTDEV_IP_VERSION_ENUM tOCT_UINT32
|
||||
|
||||
#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_INVALID 0xFFFFFFFF
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTDEV_IP_ADDRESS
|
||||
IP address structure
|
||||
|
||||
Members:
|
||||
ulIpVersion
|
||||
Default: cOCTDEV_IP_VERSION_ENUM_4
|
||||
Version of the IP address
|
||||
aulIpAddress
|
||||
Ip address, Version 4 -> aulIpAddress[0] only.
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTDEV_IP_VERSION_ENUM ulIpVersion;
|
||||
tOCT_UINT32 aulIpAddress[4];
|
||||
|
||||
} tOCTDEV_IP_ADDRESS;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
Generic UDP Address
|
||||
-------------------------------------------------------------------------------------*/
|
||||
#define cOCTDEV_UDP_PORT_INVALID 0xFFFFFFFF /* Invalid UDP port specification. */
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTDEV_UDP_ADDRESS
|
||||
UDP address structure
|
||||
|
||||
Members:
|
||||
IpAddress
|
||||
IP version and address.
|
||||
ulUdpPort
|
||||
Default: cOCTDEV_UDP_PORT_INVALID
|
||||
UDP port used with IP address
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTDEV_IP_ADDRESS IpAddress;
|
||||
tOCT_UINT32 ulUdpPort;
|
||||
|
||||
} tOCTDEV_UDP_ADDRESS;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
Generic TCP Address
|
||||
-------------------------------------------------------------------------------------*/
|
||||
#define cOCTDEV_TCP_PORT_INVALID 0xFFFFFFFF /* Invalid TCP port specification. */
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTDEV_TCP_ADDRESS
|
||||
TCP address structure
|
||||
|
||||
Members:
|
||||
IpAddress
|
||||
IP version and address.
|
||||
ulTcpPort
|
||||
Default: cOCTDEV_TCP_PORT_INVALID
|
||||
TCP port used with IP address
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTDEV_IP_ADDRESS IpAddress;
|
||||
tOCT_UINT32 ulTcpPort;
|
||||
|
||||
} tOCTDEV_TCP_ADDRESS;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
Generic MAC Address
|
||||
-------------------------------------------------------------------------------------*/
|
||||
#define cOCTDEV_MAC_ADDRESS_BYTE_COUNT 6
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTDEV_MAC_ADDRESS
|
||||
MAC address structure
|
||||
|
||||
Members:
|
||||
abyReserved
|
||||
Reserved fields inserted to ensure that the structure is an integer multiple of
|
||||
DWORDS.
|
||||
abyMacAddress
|
||||
MAC address; abyMacAddress[0] = msb, abyMacAddress[5] = lsb.
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCT_UINT8 abyReserved[2];
|
||||
tOCT_UINT8 abyMacAddress[cOCTDEV_MAC_ADDRESS_BYTE_COUNT];
|
||||
|
||||
} tOCTDEV_MAC_ADDRESS;
|
||||
|
||||
|
||||
#endif /* __OCTDEV_TYPES_H__ */
|
||||
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
$Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTDEV_TYPES_H__
|
||||
#define __OCTDEV_TYPES_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include <limits.h>
|
||||
|
||||
|
||||
/************************ COMMON DEFINITIONS *******************************/
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
API Data Types
|
||||
-------------------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#ifndef NULL
|
||||
#ifdef __cplusplus
|
||||
#define NULL 0
|
||||
#else
|
||||
#define NULL ((void *)0)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if SHRT_MAX == 32767
|
||||
/* short is 16-bit */
|
||||
typedef unsigned short tOCT_UINT16;
|
||||
typedef short tOCT_INT16;
|
||||
#elif INT_MAX == 32767
|
||||
/* integer is 16-bit */
|
||||
typedef unsigned int tOCT_UINT16;
|
||||
typedef int tOCT_INT16;
|
||||
#else
|
||||
/* unexpected 16-bit type */
|
||||
#error Cannot determine 16-bit type
|
||||
#endif
|
||||
|
||||
#if INT_MAX == 2147483647L
|
||||
/* integer is 32-bit */
|
||||
typedef int tOCT_INT32;
|
||||
typedef unsigned int tOCT_UINT32;
|
||||
#elif LONG_MAX == 2147483647L
|
||||
/* long is 32-bit */
|
||||
typedef long tOCT_INT32;
|
||||
typedef unsigned long tOCT_UINT32;
|
||||
#else
|
||||
/* unexpected 32-bit type */
|
||||
#error Cannot determine 32-bit type
|
||||
#endif
|
||||
|
||||
typedef long long tOCT_INT64;
|
||||
typedef unsigned long long tOCT_UINT64;
|
||||
|
||||
typedef char tOCT_INT8;
|
||||
typedef unsigned char tOCT_UINT8;
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
TRUE/FALSE
|
||||
-------------------------------------------------------------------------------------*/
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCT_BOOL32 :
|
||||
-------------------------------------------------------------------------------------*/
|
||||
#define tOCT_BOOL32 tOCT_UINT32
|
||||
|
||||
#define cOCT_TRUE 1
|
||||
#define cOCT_FALSE 0
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
Generic Timeout value
|
||||
-------------------------------------------------------------------------------------*/
|
||||
#define cOCTDEV_TIMEOUT_FOREVER 0xFFFFFFFF
|
||||
|
||||
|
||||
/*--------------------------------------------------------------------------
|
||||
ENDIAN Determination
|
||||
|
||||
_OCT_ENDIAN_TYPE_BE_: Defined when target is Big 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
|
||||
automatically determine them based on some common compiler #define
|
||||
values.
|
||||
|
||||
----------------------------------------------------------------------------*/
|
||||
|
||||
#if !defined( _OCT_ENDIAN_TYPE_BE_ ) && !defined( _OCT_ENDIAN_TYPE_LE_ )
|
||||
/* Not Set - try to determine automatically */
|
||||
|
||||
/* Look for Intel target */
|
||||
#if defined( __OCT_ENV_OPUS__ ) || defined( _M_OPUS1 ) || defined( _M_OPUS2 ) || defined( _M_OPUS3 )
|
||||
#define _OCT_ENDIAN_TYPE_BE_
|
||||
#define _OCT_PLATFORM_OPUS_
|
||||
#elif defined( _M_IX86 ) || defined(__x86_64__)
|
||||
#define _OCT_ENDIAN_TYPE_LE_
|
||||
#define _OCT_PLATFORM_X86_
|
||||
#elif defined( __i386 )
|
||||
#define _OCT_ENDIAN_TYPE_LE_
|
||||
#define _OCT_PLATFORM_X86_
|
||||
#elif defined( i386 )
|
||||
#define _OCT_ENDIAN_TYPE_LE_
|
||||
#define _OCT_PLATFORM_X86_
|
||||
/* Look for Motorola PPC target */
|
||||
#elif defined( _M_MPPC ) || defined( _M_PPC ) || defined( __ppc__ ) || defined( __PPC )
|
||||
#define _OCT_ENDIAN_TYPE_BE_
|
||||
#define _OCT_PLATFORM_PPC_
|
||||
/* Look for Sparc target */
|
||||
#elif defined( __sparc )
|
||||
#define _OCT_ENDIAN_TYPE_BE_
|
||||
#define _OCT_PLATFORM_SPARC_
|
||||
#elif defined( __sun__ )
|
||||
#define _OCT_ENDIAN_TYPE_BE_
|
||||
#define _OCT_PLATFORM_SPARC_
|
||||
/* Look for ARM target */
|
||||
#elif defined( __ARMEL__ )
|
||||
#define _OCT_ENDIAN_TYPE_LE_
|
||||
#define _OCT_PLATFORM_ARM_
|
||||
/* Look for MIPS target */
|
||||
#elif defined( __mips__ ) || defined( __MIPSEB )
|
||||
#define _OCT_ENDIAN_TYPE_BE_
|
||||
#define _OCT_PLATFORM_MIPS_
|
||||
/* others */
|
||||
#elif defined( CPU )
|
||||
#if CPU==PPC860
|
||||
#define _OCT_ENDIAN_TYPE_BE_
|
||||
#define _OCT_PLATFORM_PPC_
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* Now insure the endian format is set properly */
|
||||
#if !defined( _OCT_ENDIAN_TYPE_BE_ ) && !defined( _OCT_ENDIAN_TYPE_LE_ )
|
||||
#error Processor Endian not determined
|
||||
#endif
|
||||
#if defined( _OCT_ENDIAN_TYPE_BE_ ) && defined( _OCT_ENDIAN_TYPE_LE_ )
|
||||
#error Processor Endian Set to both Values
|
||||
#endif
|
||||
|
||||
/*--------------------------------------------------------------------------
|
||||
PLATFORM Determination
|
||||
|
||||
OCT_WINDOWS_ENV : Defined when target running under windows
|
||||
OCT_LINUX_ENV : Defined when target running under linux
|
||||
OCT_OPUS_ENV : OPUS env
|
||||
OCT_UNKNOWN_ENV : Unknown env
|
||||
|
||||
----------------------------------------------------------------------------*/
|
||||
#define __OCTDEV_TYPE_STR2__(x) #x
|
||||
#define __OCTDEV_TYPE_STR1__(x) __OCTDEV_TYPE_STR2__(x)
|
||||
#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 )
|
||||
#define OCT_ENV_TYPE_OPUS
|
||||
#define OCT_ENV_TYPE_OCTSYS
|
||||
#ifndef NDEBUG
|
||||
#define OCT_ENV_MODE_DEBUG
|
||||
#endif
|
||||
#elif defined( _LINUX_ ) || defined( __linux__ )
|
||||
#define OCT_ENV_TYPE_LINUX
|
||||
#define OCT_ENV_TYPE_OCTOS
|
||||
#ifndef NDEBUG
|
||||
#define OCT_ENV_MODE_DEBUG
|
||||
#endif
|
||||
#elif defined( _WIN32 ) || defined( WIN32 ) || defined( __WIN32__ ) || defined( _WIN32_ ) || defined( WIN32S ) || defined( _WIN64 ) || defined( WIN64 )
|
||||
#define OCT_ENV_TYPE_WINDOWS
|
||||
#define OCT_ENV_TYPE_OCTOS
|
||||
#ifdef _DEBUG
|
||||
#define OCT_ENV_MODE_DEBUG
|
||||
#endif
|
||||
#else
|
||||
#define OCT_ENV_TYPE_UNKNOWN
|
||||
#pragma message(__OCTDEV_TYPE_WARNLOC__"Environment platform not determined")
|
||||
#endif
|
||||
|
||||
/*--------------------------------------------------------------------------
|
||||
POINTER type definition
|
||||
----------------------------------------------------------------------------*/
|
||||
#if defined( OCT_ENV_TYPE_WINDOWS )
|
||||
#include <basetsd.h>
|
||||
|
||||
#define tOCT_UINT_PTR UINT_PTR
|
||||
#define tOCT_INT_PTR INT_PTR
|
||||
|
||||
#elif defined( OCT_ENV_TYPE_LINUX )
|
||||
#include <inttypes.h>
|
||||
|
||||
#define tOCT_UINT_PTR uintptr_t
|
||||
#define tOCT_INT_PTR intptr_t
|
||||
|
||||
#elif defined( OCT_ENV_TYPE_OCTSYS )
|
||||
#include <stdint.h>
|
||||
|
||||
#define tOCT_UINT_PTR uintptr_t
|
||||
#define tOCT_INT_PTR intptr_t
|
||||
|
||||
#else
|
||||
#pragma message(__OCTDEV_TYPE_WARNLOC__"Environment pointer determined")
|
||||
|
||||
|
||||
#endif /* OCT_ENV_TYPE_WINDOWS */
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
Generic IP Address
|
||||
-------------------------------------------------------------------------------------*/
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTDEV_IP_VERSION_ENUM :
|
||||
-------------------------------------------------------------------------------------*/
|
||||
#define tOCTDEV_IP_VERSION_ENUM tOCT_UINT32
|
||||
|
||||
#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_INVALID 0xFFFFFFFF
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTDEV_IP_ADDRESS
|
||||
IP address structure
|
||||
|
||||
Members:
|
||||
ulIpVersion
|
||||
Default: cOCTDEV_IP_VERSION_ENUM_4
|
||||
Version of the IP address
|
||||
aulIpAddress
|
||||
Ip address, Version 4 -> aulIpAddress[0] only.
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTDEV_IP_VERSION_ENUM ulIpVersion;
|
||||
tOCT_UINT32 aulIpAddress[4];
|
||||
|
||||
} tOCTDEV_IP_ADDRESS;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
Generic UDP Address
|
||||
-------------------------------------------------------------------------------------*/
|
||||
#define cOCTDEV_UDP_PORT_INVALID 0xFFFFFFFF /* Invalid UDP port specification. */
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTDEV_UDP_ADDRESS
|
||||
UDP address structure
|
||||
|
||||
Members:
|
||||
IpAddress
|
||||
IP version and address.
|
||||
ulUdpPort
|
||||
Default: cOCTDEV_UDP_PORT_INVALID
|
||||
UDP port used with IP address
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTDEV_IP_ADDRESS IpAddress;
|
||||
tOCT_UINT32 ulUdpPort;
|
||||
|
||||
} tOCTDEV_UDP_ADDRESS;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
Generic TCP Address
|
||||
-------------------------------------------------------------------------------------*/
|
||||
#define cOCTDEV_TCP_PORT_INVALID 0xFFFFFFFF /* Invalid TCP port specification. */
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTDEV_TCP_ADDRESS
|
||||
TCP address structure
|
||||
|
||||
Members:
|
||||
IpAddress
|
||||
IP version and address.
|
||||
ulTcpPort
|
||||
Default: cOCTDEV_TCP_PORT_INVALID
|
||||
TCP port used with IP address
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTDEV_IP_ADDRESS IpAddress;
|
||||
tOCT_UINT32 ulTcpPort;
|
||||
|
||||
} tOCTDEV_TCP_ADDRESS;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
Generic MAC Address
|
||||
-------------------------------------------------------------------------------------*/
|
||||
#define cOCTDEV_MAC_ADDRESS_BYTE_COUNT 6
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTDEV_MAC_ADDRESS
|
||||
MAC address structure
|
||||
|
||||
Members:
|
||||
abyReserved
|
||||
Reserved fields inserted to ensure that the structure is an integer multiple of
|
||||
DWORDS.
|
||||
abyMacAddress
|
||||
MAC address; abyMacAddress[0] = msb, abyMacAddress[5] = lsb.
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCT_UINT8 abyReserved[2];
|
||||
tOCT_UINT8 abyMacAddress[cOCTDEV_MAC_ADDRESS_BYTE_COUNT];
|
||||
|
||||
} tOCTDEV_MAC_ADDRESS;
|
||||
|
||||
|
||||
#endif /* __OCTDEV_TYPES_H__ */
|
||||
|
||||
|
|
|
@ -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.,
|
||||
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__
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTPKT_HDR.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description:
|
||||
|
||||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTPKT_HDR.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description:
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
|
@ -18,83 +18,93 @@ GNU General Public License for more details.
|
|||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27)
|
||||
|
||||
$Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTPKT_HDR_H__
|
||||
#define __OCTPKT_HDR_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "../octdev_types.h"
|
||||
|
||||
|
||||
/************************ COMMON DEFINITIONS *******************************/
|
||||
|
||||
#define cOCTPKT_HDR_ETHERTYPE 0x5200
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
OctPkt-Packet Format Values
|
||||
-------------------------------------------------------------------------------------*/
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK :
|
||||
-------------------------------------------------------------------------------------*/
|
||||
#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_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_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 ((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_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_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 ((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 :
|
||||
-------------------------------------------------------------------------------------*/
|
||||
#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_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_TEST 0xE /* TEST Protocol */
|
||||
#define cOCTPKT_HDR_CONTROL_PROTOCOL_TYPE_ENUM_NONE 0xFFFFFFFF /* Not used */
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTPKT_HDR
|
||||
COMMON Packet Header
|
||||
32-bit value
|
||||
bits[31:24] = Format
|
||||
bit[23] = Trace Flag
|
||||
bits[22:15] = 0=Reserved
|
||||
bits[14:11] = Control Protocol Type
|
||||
bits[10:0] = Total Packet Size in bytes
|
||||
|
||||
Members:
|
||||
ul_Format_Trace_Length
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK ul_Format_Trace_Length;
|
||||
|
||||
} tOCTPKT_HDR;
|
||||
|
||||
|
||||
#endif /* __OCTPKT_HDR_H__ */
|
||||
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
$Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTPKT_HDR_H__
|
||||
#define __OCTPKT_HDR_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "../octdev_types.h"
|
||||
|
||||
|
||||
/************************ COMMON DEFINITIONS *******************************/
|
||||
|
||||
#define cOCTPKT_HDR_ETHERTYPE 0x5200
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
OctPkt-Packet Format Values
|
||||
-------------------------------------------------------------------------------------*/
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK :
|
||||
-------------------------------------------------------------------------------------*/
|
||||
#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_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_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 ((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_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_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 ((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 :
|
||||
-------------------------------------------------------------------------------------*/
|
||||
#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_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_TEST 0xE /* TEST Protocol */
|
||||
#define cOCTPKT_HDR_CONTROL_PROTOCOL_TYPE_ENUM_NONE 0xFFFFFFFF /* Not used */
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTPKT_HDR
|
||||
COMMON Packet Header
|
||||
32-bit value
|
||||
bits[31:24] = Format
|
||||
bit[23] = Trace Flag
|
||||
bits[22:15] = 0=Reserved
|
||||
bits[14:11] = Control Protocol Type
|
||||
bits[10:0] = Total Packet Size in bytes
|
||||
|
||||
Members:
|
||||
ul_Format_Trace_Length
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK ul_Format_Trace_Length;
|
||||
|
||||
} tOCTPKT_HDR;
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
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__ */
|
||||
|
||||
|
|
|
@ -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.,
|
||||
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__
|
||||
|
@ -63,6 +63,15 @@ extern "C" {
|
|||
#define mOCTPKT_HDR_SWAP( pOCTPKT_HDR )
|
||||
#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
|
||||
}
|
||||
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTPKT_HDRXL.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description:
|
||||
|
||||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTPKT_HDRXL.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description:
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
|
@ -18,80 +18,80 @@ GNU General Public License for more details.
|
|||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27)
|
||||
|
||||
$Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTPKT_HDRXL_H__
|
||||
#define __OCTPKT_HDRXL_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "../octdev_types.h"
|
||||
#include "octpkt_hdr.h"
|
||||
|
||||
|
||||
/************************ COMMON DEFINITIONS *******************************/
|
||||
|
||||
#define cOCTPKT_HDRXL_ETHERTYPE 0x5201
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
OctPkt-Packet Format Values
|
||||
-------------------------------------------------------------------------------------*/
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK :
|
||||
-------------------------------------------------------------------------------------*/
|
||||
#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_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_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 ((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_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) )
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTPKT_HDRXL
|
||||
COMMON Packet Header Extended Length
|
||||
32-bit value
|
||||
bits[31:28] = Control Protocol Type
|
||||
bits[27:24] = Reserved
|
||||
bits[23:16] = Format (depend of the Protocol)
|
||||
bits[15:0] = Total Packet Length (size in bytes)
|
||||
|
||||
Members:
|
||||
ul_Proto_Format_Length
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK ul_Proto_Format_Length;
|
||||
|
||||
} tOCTPKT_HDRXL;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTPKT_HDRXL_ETH
|
||||
Ethernet alignement header
|
||||
|
||||
Members:
|
||||
usReserved
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCT_UINT16 usReserved;
|
||||
|
||||
} tOCTPKT_HDRXL_ETH;
|
||||
|
||||
|
||||
#endif /* __OCTPKT_HDRXL_H__ */
|
||||
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
$Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTPKT_HDRXL_H__
|
||||
#define __OCTPKT_HDRXL_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "../octdev_types.h"
|
||||
#include "octpkt_hdr.h"
|
||||
|
||||
|
||||
/************************ COMMON DEFINITIONS *******************************/
|
||||
|
||||
#define cOCTPKT_HDRXL_ETHERTYPE 0x5201
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
OctPkt-Packet Format Values
|
||||
-------------------------------------------------------------------------------------*/
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK :
|
||||
-------------------------------------------------------------------------------------*/
|
||||
#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_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_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 ((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_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) )
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTPKT_HDRXL
|
||||
COMMON Packet Header Extended Length
|
||||
32-bit value
|
||||
bits[31:28] = Control Protocol Type
|
||||
bits[27:24] = Reserved
|
||||
bits[23:16] = Format (depend of the Protocol)
|
||||
bits[15:0] = Total Packet Length (size in bytes)
|
||||
|
||||
Members:
|
||||
ul_Proto_Format_Length
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK ul_Proto_Format_Length;
|
||||
|
||||
} tOCTPKT_HDRXL;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTPKT_HDRXL_ETH
|
||||
Ethernet alignement header
|
||||
|
||||
Members:
|
||||
usReserved
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCT_UINT16 usReserved;
|
||||
|
||||
} tOCTPKT_HDRXL_ETH;
|
||||
|
||||
|
||||
#endif /* __OCTPKT_HDRXL_H__ */
|
||||
|
||||
|
|
|
@ -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.,
|
||||
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__
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_CTRL_API.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the definition of the CTRL API.
|
||||
|
||||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_CTRL_API.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the definition of the CTRL API.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
|
@ -18,50 +18,50 @@ GNU General Public License for more details.
|
|||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27)
|
||||
|
||||
$Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_CTRL_API_H__
|
||||
#define __OCTVC1_CTRL_API_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "../../octdev_types.h"
|
||||
#include "../octvc1_msg.h"
|
||||
#include "../octvc1_handle.h"
|
||||
|
||||
#include "octvc1_ctrl_id.h"
|
||||
|
||||
/************************ COMMON DEFINITIONS *******************************/
|
||||
|
||||
/***************************** SUPERVISORY *************************************/
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_CTRL_MSG_MODULE_REJECT_SPV
|
||||
OCTVC1 Reject Supervisory Command
|
||||
|
||||
Members:
|
||||
Header
|
||||
VocalloNet and API header.
|
||||
ulExpectedTransactionId
|
||||
Transaction ID expected for this session.
|
||||
ulRejectedCmdId
|
||||
Command ID of the command rejected.
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_MSG_HEADER Header;
|
||||
tOCT_UINT32 ulExpectedTransactionId;
|
||||
tOCT_UINT32 ulRejectedCmdId;
|
||||
|
||||
} tOCTVC1_CTRL_MSG_MODULE_REJECT_SPV;
|
||||
|
||||
|
||||
/*************** INCLUDE FILES WITH DEPENDENCIES ON THIS FILE **************/
|
||||
|
||||
#endif /* __OCTVC1_CTRL_API_H__ */
|
||||
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
$Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_CTRL_API_H__
|
||||
#define __OCTVC1_CTRL_API_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "../../octdev_types.h"
|
||||
#include "../octvc1_msg.h"
|
||||
#include "../octvc1_handle.h"
|
||||
|
||||
#include "octvc1_ctrl_id.h"
|
||||
|
||||
/************************ COMMON DEFINITIONS *******************************/
|
||||
|
||||
/***************************** SUPERVISORY *************************************/
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_CTRL_MSG_MODULE_REJECT_SPV
|
||||
OCTVC1 Reject Supervisory Command
|
||||
|
||||
Members:
|
||||
Header
|
||||
VocalloNet and API header.
|
||||
ulExpectedTransactionId
|
||||
Transaction ID expected for this session.
|
||||
ulRejectedCmdId
|
||||
Command ID of the command rejected.
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_MSG_HEADER Header;
|
||||
tOCT_UINT32 ulExpectedTransactionId;
|
||||
tOCT_UINT32 ulRejectedCmdId;
|
||||
|
||||
} tOCTVC1_CTRL_MSG_MODULE_REJECT_SPV;
|
||||
|
||||
|
||||
/*************** INCLUDE FILES WITH DEPENDENCIES ON THIS FILE **************/
|
||||
|
||||
#endif /* __OCTVC1_CTRL_API_H__ */
|
||||
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_CTRL_API_PRIV.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the definition of the CTRL API.
|
||||
|
||||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_CTRL_API_PRIV.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the definition of the CTRL API.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
|
@ -18,27 +18,27 @@ GNU General Public License for more details.
|
|||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27)
|
||||
|
||||
$Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_CTRL_API_PRIV_H__
|
||||
#define __OCTVC1_CTRL_API_PRIV_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "octvc1_ctrl_api.h"
|
||||
#include "octvc1_ctrl_id_priv.h"
|
||||
|
||||
/************************ COMMON DEFINITIONS *******************************/
|
||||
|
||||
/***************************** SUPERVISORY *************************************/
|
||||
|
||||
/*************** INCLUDE FILES WITH DEPENDENCIES ON THIS FILE **************/
|
||||
|
||||
#endif /* __OCTVC1_CTRL_API_PRIV_H__ */
|
||||
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
$Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_CTRL_API_PRIV_H__
|
||||
#define __OCTVC1_CTRL_API_PRIV_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "octvc1_ctrl_api.h"
|
||||
#include "octvc1_ctrl_id_priv.h"
|
||||
|
||||
/************************ COMMON DEFINITIONS *******************************/
|
||||
|
||||
/***************************** SUPERVISORY *************************************/
|
||||
|
||||
/*************** INCLUDE FILES WITH DEPENDENCIES ON THIS FILE **************/
|
||||
|
||||
#endif /* __OCTVC1_CTRL_API_PRIV_H__ */
|
||||
|
||||
|
|
|
@ -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.,
|
||||
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)
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
|
|
|
@ -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.,
|
||||
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__
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_CTRL_BASE.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the definition of the OCTVC1 API.
|
||||
|
||||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_CTRL_BASE.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the definition of the OCTVC1 API.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
|
@ -18,33 +18,33 @@ GNU General Public License for more details.
|
|||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_CTRL_BASE_H__
|
||||
#define __OCTVC1_CTRL_BASE_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "../octvc1_base.h"
|
||||
#include "../octvc1_generic_rc.h"
|
||||
|
||||
/****************************************************************************
|
||||
Module unique identifiers
|
||||
****************************************************************************/
|
||||
#define cOCTVC1_CTRL_UID ( 0x03 )
|
||||
|
||||
/****************************************************************************
|
||||
Module identifier bases
|
||||
****************************************************************************/
|
||||
|
||||
/* Module: CTRL */
|
||||
#define cOCTVC1_CTRL_SID_BASE ( (cOCTVC1_CTRL_UID << 16) + cOCTVC1_SID_BASE )
|
||||
|
||||
#endif /* __OCTVC1_CTRL_BASE_H__ */
|
||||
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_CTRL_BASE_H__
|
||||
#define __OCTVC1_CTRL_BASE_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "../octvc1_base.h"
|
||||
#include "../octvc1_generic_rc.h"
|
||||
|
||||
/****************************************************************************
|
||||
Module unique identifiers
|
||||
****************************************************************************/
|
||||
#define cOCTVC1_CTRL_UID ( 0x03 )
|
||||
|
||||
/****************************************************************************
|
||||
Module identifier bases
|
||||
****************************************************************************/
|
||||
|
||||
/* Module: CTRL */
|
||||
#define cOCTVC1_CTRL_SID_BASE ( (cOCTVC1_CTRL_UID << 16) + cOCTVC1_SID_BASE )
|
||||
|
||||
#endif /* __OCTVC1_CTRL_BASE_H__ */
|
||||
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_CTRL_ID.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the identifiers for the CTRL API.
|
||||
|
||||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_CTRL_ID.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the identifiers for the CTRL API.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
|
@ -18,30 +18,30 @@ GNU General Public License for more details.
|
|||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_CTRL_ID_H__
|
||||
#define __OCTVC1_CTRL_ID_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "../octvc1_base.h"
|
||||
#include "../octvc1_generic_rc.h"
|
||||
#include "octvc1_ctrl_base.h"
|
||||
|
||||
/****************************************************************************
|
||||
Supervisory IDs
|
||||
****************************************************************************/
|
||||
#define cOCTVC1_CTRL_MSG_MODULE_REJECT_SID ( 0x0001 + cOCTVC1_CTRL_SID_BASE )
|
||||
|
||||
#define cOCTVC1_CTRL_SID_MAX (( 0x0001 + 1 ) & 0xFFFF)
|
||||
|
||||
|
||||
#endif /* __OCTVC1_CTRL_ID_H__ */
|
||||
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_CTRL_ID_H__
|
||||
#define __OCTVC1_CTRL_ID_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "../octvc1_base.h"
|
||||
#include "../octvc1_generic_rc.h"
|
||||
#include "octvc1_ctrl_base.h"
|
||||
|
||||
/****************************************************************************
|
||||
Supervisory IDs
|
||||
****************************************************************************/
|
||||
#define cOCTVC1_CTRL_MSG_MODULE_REJECT_SID ( 0x0001 + cOCTVC1_CTRL_SID_BASE )
|
||||
|
||||
#define cOCTVC1_CTRL_SID_MAX (( 0x0001 + 1 ) & 0xFFFF)
|
||||
|
||||
|
||||
#endif /* __OCTVC1_CTRL_ID_H__ */
|
||||
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_CTRL_ID_PRIV.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the identifiers for the CTRL API.
|
||||
|
||||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_CTRL_ID_PRIV.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the identifiers for the CTRL API.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
|
@ -18,26 +18,26 @@ GNU General Public License for more details.
|
|||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_CTRL_ID_PRIV_H__
|
||||
#define __OCTVC1_CTRL_ID_PRIV_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "octvc1_ctrl_id.h"
|
||||
#include "octvc1_ctrl_base.h"
|
||||
|
||||
/****************************************************************************
|
||||
Supervisory IDs
|
||||
****************************************************************************/
|
||||
|
||||
|
||||
#endif /* __OCTVC1_CTRL_ID_PRIV_H__ */
|
||||
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_CTRL_ID_PRIV_H__
|
||||
#define __OCTVC1_CTRL_ID_PRIV_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "octvc1_ctrl_id.h"
|
||||
#include "octvc1_ctrl_base.h"
|
||||
|
||||
/****************************************************************************
|
||||
Supervisory IDs
|
||||
****************************************************************************/
|
||||
|
||||
|
||||
#endif /* __OCTVC1_CTRL_ID_PRIV_H__ */
|
||||
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_CTRL_VERSION.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the version of the CTRL API interface.
|
||||
|
||||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_CTRL_VERSION.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the version of the CTRL API interface.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
|
@ -18,34 +18,34 @@ GNU General Public License for more details.
|
|||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_CTRL_VERSION_H__
|
||||
#define __OCTVC1_CTRL_VERSION_H__
|
||||
|
||||
|
||||
/* The version ID is separated into the following sections:
|
||||
|
||||
bit[31:25]: Major version
|
||||
bit[24:18]: Minor version
|
||||
bit[17:11]: Bug fix version
|
||||
bit[10:0]: Build number
|
||||
*/
|
||||
#define cOCTVC1_CTRL_VERSION_MAJOR 2
|
||||
#define cOCTVC1_CTRL_VERSION_MINOR 2
|
||||
#define cOCTVC1_CTRL_VERSION_MAINTENANCE 4
|
||||
#define cOCTVC1_CTRL_VERSION_BUILD 403
|
||||
|
||||
#define cOCTVC1_CTRL_VERSION_ID ( (cOCTVC1_CTRL_VERSION_MAJOR << 25) + \
|
||||
(cOCTVC1_CTRL_VERSION_MINOR << 18) + \
|
||||
(cOCTVC1_CTRL_VERSION_MAINTENANCE << 11) + \
|
||||
cOCTVC1_CTRL_VERSION_BUILD )
|
||||
|
||||
#endif /* __OCTVC1_CTRL_VERSION_H__ */
|
||||
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_CTRL_VERSION_H__
|
||||
#define __OCTVC1_CTRL_VERSION_H__
|
||||
|
||||
|
||||
/* The version ID is separated into the following sections:
|
||||
|
||||
bit[31:25]: Major version
|
||||
bit[24:18]: Minor version
|
||||
bit[17:11]: Bug fix version
|
||||
bit[10:0]: Build number
|
||||
*/
|
||||
#define cOCTVC1_CTRL_VERSION_MAJOR 2
|
||||
#define cOCTVC1_CTRL_VERSION_MINOR 3
|
||||
#define cOCTVC1_CTRL_VERSION_MAINTENANCE 0
|
||||
#define cOCTVC1_CTRL_VERSION_BUILD 572
|
||||
|
||||
#define cOCTVC1_CTRL_VERSION_ID ( (cOCTVC1_CTRL_VERSION_MAJOR << 25) + \
|
||||
(cOCTVC1_CTRL_VERSION_MINOR << 18) + \
|
||||
(cOCTVC1_CTRL_VERSION_MAINTENANCE << 11) + \
|
||||
cOCTVC1_CTRL_VERSION_BUILD )
|
||||
|
||||
#endif /* __OCTVC1_CTRL_VERSION_H__ */
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,11 +1,11 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_GSM_API_PRIV.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the definition of the GSM API.
|
||||
|
||||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_GSM_API_PRIV.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the definition of the GSM API.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
|
@ -18,29 +18,32 @@ GNU General Public License for more details.
|
|||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27)
|
||||
|
||||
$Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_GSM_API_PRIV_H__
|
||||
#define __OCTVC1_GSM_API_PRIV_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "octvc1_gsm_api.h"
|
||||
#include "octvc1_gsm_id_priv.h"
|
||||
#include "octvc1_gsm_rc_priv.h"
|
||||
|
||||
/************************ COMMON DEFINITIONS *******************************/
|
||||
|
||||
/***************************** METHODS *************************************/
|
||||
|
||||
/*************** INCLUDE FILES WITH DEPENDENCIES ON THIS FILE **************/
|
||||
#include "octvc1_gsm_evt_priv.h"
|
||||
|
||||
#endif /* __OCTVC1_GSM_API_PRIV_H__ */
|
||||
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
$Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_GSM_API_PRIV_H__
|
||||
#define __OCTVC1_GSM_API_PRIV_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "octvc1_gsm_api.h"
|
||||
#include "octvc1_gsm_id_priv.h"
|
||||
#include "octvc1_gsm_rc_priv.h"
|
||||
|
||||
/************************ COMMON DEFINITIONS *******************************/
|
||||
|
||||
|
||||
|
||||
|
||||
/***************************** METHODS *************************************/
|
||||
|
||||
/*************** INCLUDE FILES WITH DEPENDENCIES ON THIS FILE **************/
|
||||
#include "octvc1_gsm_evt_priv.h"
|
||||
|
||||
#endif /* __OCTVC1_GSM_API_PRIV_H__ */
|
||||
|
||||
|
|
|
@ -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.,
|
||||
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)
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
|
|
|
@ -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.,
|
||||
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__
|
||||
|
@ -323,16 +323,22 @@ extern "C" {
|
|||
|
||||
#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)\
|
||||
((tOCTVC1_GSM_MEASUREMENT_INFO *)pOCTVC1_GSM_MEASUREMENT_INFO)->sSNR = \
|
||||
mOCT_SWAP16_IF_LE(((tOCTVC1_GSM_MEASUREMENT_INFO *)pOCTVC1_GSM_MEASUREMENT_INFO)->sSNR); \
|
||||
((tOCTVC1_GSM_MEASUREMENT_INFO *)pOCTVC1_GSM_MEASUREMENT_INFO)->sRSSI = \
|
||||
mOCT_SWAP16_IF_LE(((tOCTVC1_GSM_MEASUREMENT_INFO *)pOCTVC1_GSM_MEASUREMENT_INFO)->sRSSI); \
|
||||
((tOCTVC1_GSM_MEASUREMENT_INFO *)pOCTVC1_GSM_MEASUREMENT_INFO)->sSNRDb = \
|
||||
mOCT_SWAP16_IF_LE(((tOCTVC1_GSM_MEASUREMENT_INFO *)pOCTVC1_GSM_MEASUREMENT_INFO)->sSNRDb); \
|
||||
((tOCTVC1_GSM_MEASUREMENT_INFO *)pOCTVC1_GSM_MEASUREMENT_INFO)->sRSSIDbm = \
|
||||
mOCT_SWAP16_IF_LE(((tOCTVC1_GSM_MEASUREMENT_INFO *)pOCTVC1_GSM_MEASUREMENT_INFO)->sRSSIDbm); \
|
||||
((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 = \
|
||||
mOCT_SWAP16_IF_LE(((tOCTVC1_GSM_MEASUREMENT_INFO *)pOCTVC1_GSM_MEASUREMENT_INFO)->usBERCount); \
|
||||
((tOCTVC1_GSM_MEASUREMENT_INFO *)pOCTVC1_GSM_MEASUREMENT_INFO)->usBERTOtalBitCOunt = \
|
||||
mOCT_SWAP16_IF_LE(((tOCTVC1_GSM_MEASUREMENT_INFO *)pOCTVC1_GSM_MEASUREMENT_INFO)->usBERTOtalBitCOunt); \
|
||||
((tOCTVC1_GSM_MEASUREMENT_INFO *)pOCTVC1_GSM_MEASUREMENT_INFO)->sBurstTiming4x = \
|
||||
mOCT_SWAP16_IF_LE(((tOCTVC1_GSM_MEASUREMENT_INFO *)pOCTVC1_GSM_MEASUREMENT_INFO)->sBurstTiming4x); \
|
||||
((tOCTVC1_GSM_MEASUREMENT_INFO *)pOCTVC1_GSM_MEASUREMENT_INFO)->usBERCnt = \
|
||||
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
|
||||
#define mOCTVC1_GSM_MEASUREMENT_INFO_SWAP( pOCTVC1_GSM_MEASUREMENT_INFO )
|
||||
|
@ -340,22 +346,24 @@ extern "C" {
|
|||
|
||||
#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)\
|
||||
((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)->sSNR); \
|
||||
((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)->sRSSI); \
|
||||
((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)->sSNRDb); \
|
||||
((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)->sRSSIDbm); \
|
||||
((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 = \
|
||||
mOCT_SWAP16_IF_LE(((tOCTVC1_GSM_RAW_MEASUREMENT_INFO *)pOCTVC1_GSM_RAW_MEASUREMENT_INFO)->usBERCount); \
|
||||
((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)->usBERTOtalBitCOunt); \
|
||||
((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)->usTrnSqErrorCount); \
|
||||
((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)->usTrnSqTotalBitCount); \
|
||||
((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)->sfrquencyError); \
|
||||
((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)->sBurstTiming4x); \
|
||||
((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)->usBERCnt); \
|
||||
((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)->usBERTotalBitCnt); \
|
||||
((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)->usTrSqErrCnt); \
|
||||
((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)->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
|
||||
#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 )
|
||||
#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_ )
|
||||
#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 ); } \
|
||||
|
@ -1029,6 +1153,88 @@ extern "C" {
|
|||
#define mOCTVC1_GSM_MSG_TRX_MODIFY_RF_RSP_SWAP( pOCTVC1_GSM_MSG_TRX_MODIFY_RF_RSP )
|
||||
#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_ )
|
||||
#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 ); } \
|
||||
|
@ -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 )
|
||||
#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
|
||||
}
|
||||
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_GSM_BASE.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the definition of the OCTVC1 API.
|
||||
|
||||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_GSM_BASE.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the definition of the OCTVC1 API.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
|
@ -18,34 +18,34 @@ GNU General Public License for more details.
|
|||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_GSM_BASE_H__
|
||||
#define __OCTVC1_GSM_BASE_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "../octvc1_base.h"
|
||||
|
||||
/****************************************************************************
|
||||
Module unique identifiers
|
||||
****************************************************************************/
|
||||
#define cOCTVC1_GSM_UID ( 0x0B )
|
||||
|
||||
/****************************************************************************
|
||||
Module identifier bases
|
||||
****************************************************************************/
|
||||
|
||||
/* Module: GSM */
|
||||
#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_RC_BASE ( (cOCTVC1_GSM_UID << 16) + cOCTVC1_RC_BASE )
|
||||
|
||||
#endif /* __OCTVC1_GSM_BASE_H__ */
|
||||
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_GSM_BASE_H__
|
||||
#define __OCTVC1_GSM_BASE_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "../octvc1_base.h"
|
||||
|
||||
/****************************************************************************
|
||||
Module unique identifiers
|
||||
****************************************************************************/
|
||||
#define cOCTVC1_GSM_UID ( 0x0B )
|
||||
|
||||
/****************************************************************************
|
||||
Module identifier bases
|
||||
****************************************************************************/
|
||||
|
||||
/* Module: GSM */
|
||||
#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_RC_BASE ( (cOCTVC1_GSM_UID << 16) + cOCTVC1_RC_BASE )
|
||||
|
||||
#endif /* __OCTVC1_GSM_BASE_H__ */
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,11 +1,11 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_GSM_DEFAULT_PRIV.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the event definition of the GSM API.
|
||||
|
||||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_GSM_DEFAULT_PRIV.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the event definition of the GSM API.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
|
@ -18,23 +18,23 @@ GNU General Public License for more details.
|
|||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_GSM_DEFAULT_PRIV_H__
|
||||
#define __OCTVC1_GSM_DEFAULT_PRIV_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "octvc1_gsm_api_priv.h"
|
||||
#include "octvc1_gsm_default.h"
|
||||
|
||||
/***************************** COMMAND DEFAULT *****************************/
|
||||
|
||||
#endif /* __OCTVC1_GSM_DEFAULT_PRIV_H__ */
|
||||
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_GSM_DEFAULT_PRIV_H__
|
||||
#define __OCTVC1_GSM_DEFAULT_PRIV_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "octvc1_gsm_api_priv.h"
|
||||
#include "octvc1_gsm_default.h"
|
||||
|
||||
/***************************** COMMAND DEFAULT *****************************/
|
||||
|
||||
#endif /* __OCTVC1_GSM_DEFAULT_PRIV_H__ */
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_GSM_EVT.h
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the event definition of the GSM API.
|
||||
|
||||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_GSM_EVT.h
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the event definition of the GSM API.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
|
@ -17,157 +17,157 @@ GNU General Public License for more details.
|
|||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_GSM_EVT_H__
|
||||
#define __OCTVC1_GSM_EVT_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
|
||||
#include "octvc1_gsm_api.h"
|
||||
|
||||
/************************ COMMON DEFINITIONS *******************************/
|
||||
|
||||
/***************************** NOTIFICATIONS **********************************/
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_GSM_MSG_TRX_LOGICAL_CHANNEL_DATA_INDICATION_EVT
|
||||
|
||||
Members:
|
||||
Header
|
||||
TrxId
|
||||
Unique TRX identifier
|
||||
LchId
|
||||
Unique Logical channel identifier
|
||||
MeasurementInfo
|
||||
Data
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_EVENT_HEADER Header;
|
||||
tOCTVC1_GSM_TRX_ID TrxId;
|
||||
tOCTVC1_GSM_LOGICAL_CHANNEL_ID LchId;
|
||||
tOCTVC1_GSM_MEASUREMENT_INFO MeasurementInfo;
|
||||
tOCTVC1_GSM_LOGICAL_CHANNEL_DATA Data;
|
||||
|
||||
} tOCTVC1_GSM_MSG_TRX_LOGICAL_CHANNEL_DATA_INDICATION_EVT;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_GSM_MSG_TRX_LOGICAL_CHANNEL_READY_TO_SEND_INDICATION_EVT
|
||||
|
||||
Members:
|
||||
Header
|
||||
TrxId
|
||||
Unique TRX identifier
|
||||
LchId
|
||||
Unique Logical channel identifier
|
||||
ulFrameNumber
|
||||
Range: [..cOCTVC1_GSM_MAX_FRAME_COUNT]
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_EVENT_HEADER Header;
|
||||
tOCTVC1_GSM_TRX_ID TrxId;
|
||||
tOCTVC1_GSM_LOGICAL_CHANNEL_ID LchId;
|
||||
tOCT_UINT32 ulFrameNumber;
|
||||
|
||||
} tOCTVC1_GSM_MSG_TRX_LOGICAL_CHANNEL_READY_TO_SEND_INDICATION_EVT;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_GSM_MSG_TRX_LOGICAL_CHANNEL_RACH_INDICATION_EVT
|
||||
|
||||
Members:
|
||||
Header
|
||||
TrxId
|
||||
Unique TRX identifier
|
||||
LchId
|
||||
Unique Logical channel identifier
|
||||
ulBurstType
|
||||
ulFrameNumber
|
||||
Range: [..cOCTVC1_GSM_MAX_FRAME_COUNT]
|
||||
MeasurementInfo
|
||||
ulMsgLength
|
||||
Range: [..cOCTVC1_GSM_RACH_IND_MSG_SIZE]
|
||||
abyMsg
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_EVENT_HEADER Header;
|
||||
tOCTVC1_GSM_TRX_ID TrxId;
|
||||
tOCTVC1_GSM_LOGICAL_CHANNEL_ID LchId;
|
||||
tOCTVC1_GSM_BURST_TYPE_ENUM ulBurstType;
|
||||
tOCT_UINT32 ulFrameNumber;
|
||||
tOCTVC1_GSM_MEASUREMENT_INFO MeasurementInfo;
|
||||
tOCT_UINT32 ulMsgLength;
|
||||
tOCT_UINT8 abyMsg[cOCTVC1_GSM_RACH_IND_MSG_SIZE];
|
||||
|
||||
} tOCTVC1_GSM_MSG_TRX_LOGICAL_CHANNEL_RACH_INDICATION_EVT;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_GSM_MSG_TRX_LOGICAL_CHANNEL_RAW_DATA_INDICATION_EVT
|
||||
|
||||
Members:
|
||||
Header
|
||||
TrxId
|
||||
Unique TRX identifier
|
||||
LchId
|
||||
Unique Logical channel identifier
|
||||
MeasurementInfo
|
||||
Data
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_EVENT_HEADER Header;
|
||||
tOCTVC1_GSM_TRX_ID TrxId;
|
||||
tOCTVC1_GSM_LOGICAL_CHANNEL_ID LchId;
|
||||
tOCTVC1_GSM_RAW_MEASUREMENT_INFO MeasurementInfo;
|
||||
tOCTVC1_GSM_LOGICAL_CHANNEL_RAW_DATA Data;
|
||||
|
||||
} tOCTVC1_GSM_MSG_TRX_LOGICAL_CHANNEL_RAW_DATA_INDICATION_EVT;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_GSM_MSG_TRX_TIME_INDICATION_EVT
|
||||
|
||||
Members:
|
||||
Header
|
||||
TrxId
|
||||
Unique TRX identifier
|
||||
ulFrameNumber
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_EVENT_HEADER Header;
|
||||
tOCTVC1_GSM_TRX_ID TrxId;
|
||||
tOCT_UINT32 ulFrameNumber;
|
||||
|
||||
} tOCTVC1_GSM_MSG_TRX_TIME_INDICATION_EVT;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_GSM_MSG_TRX_STATUS_CHANGE_EVT
|
||||
|
||||
Members:
|
||||
Header
|
||||
TrxId
|
||||
Unique TRX identifier
|
||||
ulStatus
|
||||
TRX STATUS event
|
||||
ulFrameNumber
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_EVENT_HEADER Header;
|
||||
tOCTVC1_GSM_TRX_ID TrxId;
|
||||
tOCTVC1_GSM_TRX_STATUS_ENUM ulStatus;
|
||||
tOCT_UINT32 ulFrameNumber;
|
||||
|
||||
} tOCTVC1_GSM_MSG_TRX_STATUS_CHANGE_EVT;
|
||||
|
||||
|
||||
#endif /* __OCTVC1_GSM_EVT_H__ */
|
||||
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_GSM_EVT_H__
|
||||
#define __OCTVC1_GSM_EVT_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
|
||||
#include "octvc1_gsm_api.h"
|
||||
|
||||
/************************ COMMON DEFINITIONS *******************************/
|
||||
|
||||
/***************************** NOTIFICATIONS **********************************/
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_GSM_MSG_TRX_LOGICAL_CHANNEL_DATA_INDICATION_EVT
|
||||
|
||||
Members:
|
||||
Header
|
||||
TrxId
|
||||
Unique TRX identifier
|
||||
LchId
|
||||
Unique Logical channel identifier
|
||||
MeasurementInfo
|
||||
Data
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_EVENT_HEADER Header;
|
||||
tOCTVC1_GSM_TRX_ID TrxId;
|
||||
tOCTVC1_GSM_LOGICAL_CHANNEL_ID LchId;
|
||||
tOCTVC1_GSM_MEASUREMENT_INFO MeasurementInfo;
|
||||
tOCTVC1_GSM_LOGICAL_CHANNEL_DATA Data;
|
||||
|
||||
} tOCTVC1_GSM_MSG_TRX_LOGICAL_CHANNEL_DATA_INDICATION_EVT;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_GSM_MSG_TRX_LOGICAL_CHANNEL_READY_TO_SEND_INDICATION_EVT
|
||||
|
||||
Members:
|
||||
Header
|
||||
TrxId
|
||||
Unique TRX identifier
|
||||
LchId
|
||||
Unique Logical channel identifier
|
||||
ulFrameNumber
|
||||
Range: [..cOCTVC1_GSM_MAX_FRAME_COUNT]
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_EVENT_HEADER Header;
|
||||
tOCTVC1_GSM_TRX_ID TrxId;
|
||||
tOCTVC1_GSM_LOGICAL_CHANNEL_ID LchId;
|
||||
tOCT_UINT32 ulFrameNumber;
|
||||
|
||||
} tOCTVC1_GSM_MSG_TRX_LOGICAL_CHANNEL_READY_TO_SEND_INDICATION_EVT;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_GSM_MSG_TRX_LOGICAL_CHANNEL_RACH_INDICATION_EVT
|
||||
|
||||
Members:
|
||||
Header
|
||||
TrxId
|
||||
Unique TRX identifier
|
||||
LchId
|
||||
Unique Logical channel identifier
|
||||
ulBurstType
|
||||
ulFrameNumber
|
||||
Range: [..cOCTVC1_GSM_MAX_FRAME_COUNT]
|
||||
MeasurementInfo
|
||||
ulMsgLength
|
||||
Range: [..cOCTVC1_GSM_RACH_IND_MSG_SIZE]
|
||||
abyMsg
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_EVENT_HEADER Header;
|
||||
tOCTVC1_GSM_TRX_ID TrxId;
|
||||
tOCTVC1_GSM_LOGICAL_CHANNEL_ID LchId;
|
||||
tOCTVC1_GSM_BURST_TYPE_ENUM ulBurstType;
|
||||
tOCT_UINT32 ulFrameNumber;
|
||||
tOCTVC1_GSM_MEASUREMENT_INFO MeasurementInfo;
|
||||
tOCT_UINT32 ulMsgLength;
|
||||
tOCT_UINT8 abyMsg[cOCTVC1_GSM_RACH_IND_MSG_SIZE];
|
||||
|
||||
} tOCTVC1_GSM_MSG_TRX_LOGICAL_CHANNEL_RACH_INDICATION_EVT;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_GSM_MSG_TRX_LOGICAL_CHANNEL_RAW_DATA_INDICATION_EVT
|
||||
|
||||
Members:
|
||||
Header
|
||||
TrxId
|
||||
Unique TRX identifier
|
||||
LchId
|
||||
Unique Logical channel identifier
|
||||
MeasurementInfo
|
||||
Data
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_EVENT_HEADER Header;
|
||||
tOCTVC1_GSM_TRX_ID TrxId;
|
||||
tOCTVC1_GSM_LOGICAL_CHANNEL_ID LchId;
|
||||
tOCTVC1_GSM_RAW_MEASUREMENT_INFO MeasurementInfo;
|
||||
tOCTVC1_GSM_LOGICAL_CHANNEL_RAW_DATA Data;
|
||||
|
||||
} tOCTVC1_GSM_MSG_TRX_LOGICAL_CHANNEL_RAW_DATA_INDICATION_EVT;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_GSM_MSG_TRX_TIME_INDICATION_EVT
|
||||
|
||||
Members:
|
||||
Header
|
||||
TrxId
|
||||
Unique TRX identifier
|
||||
ulFrameNumber
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_EVENT_HEADER Header;
|
||||
tOCTVC1_GSM_TRX_ID TrxId;
|
||||
tOCT_UINT32 ulFrameNumber;
|
||||
|
||||
} tOCTVC1_GSM_MSG_TRX_TIME_INDICATION_EVT;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_GSM_MSG_TRX_STATUS_CHANGE_EVT
|
||||
|
||||
Members:
|
||||
Header
|
||||
TrxId
|
||||
Unique TRX identifier
|
||||
ulStatus
|
||||
TRX STATUS event
|
||||
ulFrameNumber
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_EVENT_HEADER Header;
|
||||
tOCTVC1_GSM_TRX_ID TrxId;
|
||||
tOCTVC1_GSM_TRX_STATUS_ENUM ulStatus;
|
||||
tOCT_UINT32 ulFrameNumber;
|
||||
|
||||
} tOCTVC1_GSM_MSG_TRX_STATUS_CHANGE_EVT;
|
||||
|
||||
|
||||
#endif /* __OCTVC1_GSM_EVT_H__ */
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_GSM_EVT_PRIV.h
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the event definition of the GSM API.
|
||||
|
||||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_GSM_EVT_PRIV.h
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the event definition of the GSM API.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
|
@ -17,25 +17,25 @@ GNU General Public License for more details.
|
|||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_GSM_EVT_PRIV_H__
|
||||
#define __OCTVC1_GSM_EVT_PRIV_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
|
||||
#include "octvc1_gsm_api_priv.h"
|
||||
|
||||
/************************ COMMON DEFINITIONS *******************************/
|
||||
|
||||
/***************************** NOTIFICATIONS **********************************/
|
||||
|
||||
#endif /* __OCTVC1_GSM_EVT_PRIV_H__ */
|
||||
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_GSM_EVT_PRIV_H__
|
||||
#define __OCTVC1_GSM_EVT_PRIV_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
|
||||
#include "octvc1_gsm_api_priv.h"
|
||||
|
||||
/************************ COMMON DEFINITIONS *******************************/
|
||||
|
||||
/***************************** NOTIFICATIONS **********************************/
|
||||
|
||||
#endif /* __OCTVC1_GSM_EVT_PRIV_H__ */
|
||||
|
||||
|
|
|
@ -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.,
|
||||
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)
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
|
|
|
@ -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.,
|
||||
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__
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_GSM_ID.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the identifiers for the GSM API.
|
||||
|
||||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_GSM_ID.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the identifiers for the GSM API.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
|
@ -18,70 +18,75 @@ GNU General Public License for more details.
|
|||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_GSM_ID_H__
|
||||
#define __OCTVC1_GSM_ID_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "../octvc1_base.h"
|
||||
#include "octvc1_gsm_base.h"
|
||||
|
||||
/****************************************************************************
|
||||
Command IDs
|
||||
****************************************************************************/
|
||||
#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_STATUS_CID ( 0x003 + 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_MODIFY_CID ( 0x006 + 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_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_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_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_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_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_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_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_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_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_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_START_LOGICAL_CHANNEL_RAW_DATA_INDICATIONS_CID ( 0x035 + cOCTVC1_GSM_CID_BASE )
|
||||
#define cOCTVC1_GSM_MSG_TRX_STOP_LOGICAL_CHANNEL_RAW_DATA_INDICATIONS_CID ( 0x036 + cOCTVC1_GSM_CID_BASE )
|
||||
|
||||
#define cOCTVC1_GSM_CID_MAX (( 0x036 + 1 ) & 0xFFF)
|
||||
|
||||
/****************************************************************************
|
||||
Event IDs
|
||||
****************************************************************************/
|
||||
#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_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 )
|
||||
#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__ */
|
||||
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_GSM_ID_H__
|
||||
#define __OCTVC1_GSM_ID_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "../octvc1_base.h"
|
||||
#include "octvc1_gsm_base.h"
|
||||
|
||||
/****************************************************************************
|
||||
Command IDs
|
||||
****************************************************************************/
|
||||
#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_STATUS_CID ( 0x003 + 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_MODIFY_CID ( 0x006 + 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_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_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_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_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_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_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_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_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_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_RF_CID ( 0x01b + cOCTVC1_GSM_CID_BASE )
|
||||
#define cOCTVC1_GSM_MSG_TRX_MODIFY_RF_CID ( 0x01c + cOCTVC1_GSM_CID_BASE )
|
||||
#define cOCTVC1_GSM_MSG_TAP_FILTER_LIST_CID ( 0x01d + 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_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 )
|
||||
#define cOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_CMU_LOOPBACK_TEST_CID ( 0x037 + cOCTVC1_GSM_CID_BASE )
|
||||
|
||||
#define cOCTVC1_GSM_CID_MAX (( 0x037 + 1 ) & 0xFFF)
|
||||
|
||||
/****************************************************************************
|
||||
Event IDs
|
||||
****************************************************************************/
|
||||
#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_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 )
|
||||
#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__ */
|
||||
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_GSM_ID_PRIV.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the identifiers for the GSM API.
|
||||
|
||||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_GSM_ID_PRIV.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the identifiers for the GSM API.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
|
@ -18,30 +18,30 @@ GNU General Public License for more details.
|
|||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_GSM_ID_PRIV_H__
|
||||
#define __OCTVC1_GSM_ID_PRIV_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "octvc1_gsm_id.h"
|
||||
#include "octvc1_gsm_base.h"
|
||||
|
||||
/****************************************************************************
|
||||
Command IDs
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
Event IDs
|
||||
****************************************************************************/
|
||||
|
||||
|
||||
#endif /* __OCTVC1_GSM_ID_PRIV_H__ */
|
||||
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_GSM_ID_PRIV_H__
|
||||
#define __OCTVC1_GSM_ID_PRIV_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "octvc1_gsm_id.h"
|
||||
#include "octvc1_gsm_base.h"
|
||||
|
||||
/****************************************************************************
|
||||
Command IDs
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
Event IDs
|
||||
****************************************************************************/
|
||||
|
||||
|
||||
#endif /* __OCTVC1_GSM_ID_PRIV_H__ */
|
||||
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_GSM_RC.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the return codes for the GSM API.
|
||||
|
||||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_GSM_RC.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the return codes for the GSM API.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
|
@ -18,90 +18,94 @@ GNU General Public License for more details.
|
|||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef OCTVC1_GSM_RC_H__
|
||||
#define OCTVC1_GSM_RC_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "../octvc1_base.h"
|
||||
#include "octvc1_gsm_base.h"
|
||||
|
||||
/****************************************************************************
|
||||
GSM return codes
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
GENERIC return codes
|
||||
****************************************************************************/
|
||||
#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 )
|
||||
|
||||
/****************************************************************************
|
||||
TRX return codes
|
||||
****************************************************************************/
|
||||
#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_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_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_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_TERMINATE ( 0x0007 + cOCTVC1_GSM_TRX_RC_BASE )
|
||||
|
||||
/****************************************************************************
|
||||
PHYSICAL_CHANNEL return codes
|
||||
****************************************************************************/
|
||||
#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_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_ID_INVALID ( 0x0003 + cOCTVC1_GSM_PHYSICAL_CHANNEL_RC_BASE )
|
||||
|
||||
/****************************************************************************
|
||||
SUB_CHANNEL return codes
|
||||
****************************************************************************/
|
||||
#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_DIRECTION_INVALID ( 0x0001 + cOCTVC1_GSM_SUB_CHANNEL_RC_BASE )
|
||||
|
||||
/****************************************************************************
|
||||
LOGICAL_CHANNEL return codes
|
||||
****************************************************************************/
|
||||
#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_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_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_SAPI_INVALID ( 0x0005 + cOCTVC1_GSM_LOGICAL_CHANNEL_RC_BASE )
|
||||
|
||||
/****************************************************************************
|
||||
Validate return codes
|
||||
****************************************************************************/
|
||||
#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_TX_ATTND_B ( 0x2 + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_TRX_CONFIG_INVALID_US_TSC ( 0x3 + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_LOGICAL_CHANNEL_DATA_INVALID_FRAME_NUMBER ( 0x4 + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_LOGICAL_CHANNEL_DATA_INVALID_DATA_LENGTH ( 0x5 + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_LOGICAL_CHANNEL_RAW_DATA_INVALID_FRAME_NUMBER ( 0x6 + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_LOGICAL_CHANNEL_RAW_DATA_INVALID_DATA_LENGTH ( 0x7 + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_TRX_LOGICAL_CHANNEL_EMPTY_FRAME_REQUEST_INVALID_FRAME_NUMBER ( 0x8 + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
|
||||
#endif /* OCTVC1_GSM_RC_H__ */
|
||||
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef OCTVC1_GSM_RC_H__
|
||||
#define OCTVC1_GSM_RC_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "../octvc1_base.h"
|
||||
#include "octvc1_gsm_base.h"
|
||||
|
||||
/****************************************************************************
|
||||
GSM return codes
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
GENERIC return codes
|
||||
****************************************************************************/
|
||||
#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 )
|
||||
|
||||
/****************************************************************************
|
||||
TRX return codes
|
||||
****************************************************************************/
|
||||
#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_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_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_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_TERMINATE ( 0x0007 + cOCTVC1_GSM_TRX_RC_BASE )
|
||||
|
||||
/****************************************************************************
|
||||
PHYSICAL_CHANNEL return codes
|
||||
****************************************************************************/
|
||||
#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_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_ID_INVALID ( 0x0003 + cOCTVC1_GSM_PHYSICAL_CHANNEL_RC_BASE )
|
||||
|
||||
/****************************************************************************
|
||||
SUB_CHANNEL return codes
|
||||
****************************************************************************/
|
||||
#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_DIRECTION_INVALID ( 0x0001 + cOCTVC1_GSM_SUB_CHANNEL_RC_BASE )
|
||||
|
||||
/****************************************************************************
|
||||
LOGICAL_CHANNEL return codes
|
||||
****************************************************************************/
|
||||
#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_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_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_SAPI_INVALID ( 0x0005 + cOCTVC1_GSM_LOGICAL_CHANNEL_RC_BASE )
|
||||
|
||||
/****************************************************************************
|
||||
Validate return codes
|
||||
****************************************************************************/
|
||||
#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_TX_ATTND_B ( 0x2 + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_TRX_CONFIG_INVALID_US_TSC ( 0x3 + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_LOGICAL_CHANNEL_DATA_INVALID_FRAME_NUMBER ( 0x4 + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_LOGICAL_CHANNEL_DATA_INVALID_DATA_LENGTH ( 0x5 + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_LOGICAL_CHANNEL_RAW_DATA_INVALID_FRAME_NUMBER ( 0x6 + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_LOGICAL_CHANNEL_RAW_DATA_INVALID_DATA_LENGTH ( 0x7 + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_TAP_FILTER_PHYSICAL_CHANNEL_INVALID_ENTRY_CNT ( 0x8 + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_TAP_FILTER_LOGICAL_CHANNEL_INVALID_ENTRY_CNT ( 0x9 + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_TAP_FILTER_STATS_INVALID_TAP_ID_CNT ( 0xA + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_MODULE_DATA_RF_UPLINK_INPUT_HEADER_INVALID_FRAME_NUMBER ( 0xB + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_TRX_LOGICAL_CHANNEL_EMPTY_FRAME_REQUEST_INVALID_FRAME_NUMBER ( 0xC + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
|
||||
#endif /* OCTVC1_GSM_RC_H__ */
|
||||
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_GSM_RC_PRIV.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the return codes for the GSM API.
|
||||
|
||||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_GSM_RC_PRIV.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the return codes for the GSM API.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
|
@ -18,29 +18,29 @@ GNU General Public License for more details.
|
|||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef OCTVC1_GSM_RC_PRIV_H__
|
||||
#define OCTVC1_GSM_RC_PRIV_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "octvc1_gsm_rc.h"
|
||||
#include "octvc1_gsm_base.h"
|
||||
|
||||
/****************************************************************************
|
||||
GSM return codes
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
Validate return codes
|
||||
****************************************************************************/
|
||||
|
||||
#endif /* OCTVC1_GSM_RC_PRIV_H__ */
|
||||
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef OCTVC1_GSM_RC_PRIV_H__
|
||||
#define OCTVC1_GSM_RC_PRIV_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "octvc1_gsm_rc.h"
|
||||
#include "octvc1_gsm_base.h"
|
||||
|
||||
/****************************************************************************
|
||||
GSM return codes
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
Validate return codes
|
||||
****************************************************************************/
|
||||
|
||||
#endif /* OCTVC1_GSM_RC_PRIV_H__ */
|
||||
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_GSM_VERSION.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the version of the GSM API interface.
|
||||
|
||||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_GSM_VERSION.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the version of the GSM API interface.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
|
@ -18,34 +18,34 @@ GNU General Public License for more details.
|
|||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_GSM_VERSION_H__
|
||||
#define __OCTVC1_GSM_VERSION_H__
|
||||
|
||||
|
||||
/* The version ID is separated into the following sections:
|
||||
|
||||
bit[31:25]: Major version
|
||||
bit[24:18]: Minor version
|
||||
bit[17:11]: Bug fix version
|
||||
bit[10:0]: Build number
|
||||
*/
|
||||
#define cOCTVC1_GSM_VERSION_MAJOR 1
|
||||
#define cOCTVC1_GSM_VERSION_MINOR 2
|
||||
#define cOCTVC1_GSM_VERSION_MAINTENANCE 4
|
||||
#define cOCTVC1_GSM_VERSION_BUILD 403
|
||||
|
||||
#define cOCTVC1_GSM_VERSION_ID ( (cOCTVC1_GSM_VERSION_MAJOR << 25) + \
|
||||
(cOCTVC1_GSM_VERSION_MINOR << 18) + \
|
||||
(cOCTVC1_GSM_VERSION_MAINTENANCE << 11) + \
|
||||
cOCTVC1_GSM_VERSION_BUILD )
|
||||
|
||||
#endif /* __OCTVC1_GSM_VERSION_H__ */
|
||||
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_GSM_VERSION_H__
|
||||
#define __OCTVC1_GSM_VERSION_H__
|
||||
|
||||
|
||||
/* The version ID is separated into the following sections:
|
||||
|
||||
bit[31:25]: Major version
|
||||
bit[24:18]: Minor version
|
||||
bit[17:11]: Bug fix version
|
||||
bit[10:0]: Build number
|
||||
*/
|
||||
#define cOCTVC1_GSM_VERSION_MAJOR 1
|
||||
#define cOCTVC1_GSM_VERSION_MINOR 3
|
||||
#define cOCTVC1_GSM_VERSION_MAINTENANCE 0
|
||||
#define cOCTVC1_GSM_VERSION_BUILD 572
|
||||
|
||||
#define cOCTVC1_GSM_VERSION_ID ( (cOCTVC1_GSM_VERSION_MAJOR << 25) + \
|
||||
(cOCTVC1_GSM_VERSION_MINOR << 18) + \
|
||||
(cOCTVC1_GSM_VERSION_MAINTENANCE << 11) + \
|
||||
cOCTVC1_GSM_VERSION_BUILD )
|
||||
|
||||
#endif /* __OCTVC1_GSM_VERSION_H__ */
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,11 +1,11 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_HW_API_PRIV.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the definition of the HW API.
|
||||
|
||||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_HW_API_PRIV.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the definition of the HW API.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
|
@ -18,142 +18,142 @@ GNU General Public License for more details.
|
|||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27)
|
||||
|
||||
$Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_HW_API_PRIV_H__
|
||||
#define __OCTVC1_HW_API_PRIV_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "octvc1_hw_api.h"
|
||||
#include "octvc1_hw_id_priv.h"
|
||||
#include "octvc1_hw_rc_priv.h"
|
||||
|
||||
/************************ COMMON DEFINITIONS *******************************/
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
MAIN API private definitions
|
||||
-------------------------------------------------------------------------------------*/
|
||||
#define cOCTVC1_HW_PRIVATE_API_CMD_PASSWORD 0x1FE75CB2
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/***************************** METHODS *************************************/
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_HW_MSG_ETH_PORT_RESTRICTED_UNBLOCK_CMD
|
||||
Private restricted api unblock command and response structure.
|
||||
|
||||
Members:
|
||||
Header
|
||||
OCTVC1 Message Header
|
||||
ulPortIndex
|
||||
Unique ETH port identifier
|
||||
ulPassword
|
||||
Default: cOCTVC1_HW_PRIVATE_API_CMD_PASSWORD
|
||||
Command password!
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_MSG_HEADER Header;
|
||||
tOCTVC1_INDEX ulPortIndex;
|
||||
tOCT_UINT32 ulPassword;
|
||||
|
||||
} tOCTVC1_HW_MSG_ETH_PORT_RESTRICTED_UNBLOCK_CMD;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_HW_MSG_ETH_PORT_RESTRICTED_UNBLOCK_RSP
|
||||
|
||||
Members:
|
||||
Header
|
||||
OCTVC1 Message Header
|
||||
ulPortIndex
|
||||
Unique ETH port identifier
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_MSG_HEADER Header;
|
||||
tOCTVC1_INDEX ulPortIndex;
|
||||
|
||||
} tOCTVC1_HW_MSG_ETH_PORT_RESTRICTED_UNBLOCK_RSP;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_CMD
|
||||
|
||||
Members:
|
||||
Header
|
||||
OCTVC1 Message Header
|
||||
ulDacInitValue
|
||||
Default: 0x00007600
|
||||
DAC initial value.
|
||||
ulSyncWindowSize
|
||||
Default: 7
|
||||
Number of consecutive values within iSyncThreshold to consider that the clock
|
||||
manager is synchronized to its reference.
|
||||
lSyncThreshold
|
||||
Default: 10
|
||||
Maximum allowed delta to consider that the clock manager is synchronized to its
|
||||
reference.
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_MSG_HEADER Header;
|
||||
tOCT_UINT32 ulDacInitValue;
|
||||
tOCT_UINT32 ulSyncWindowSize;
|
||||
tOCT_INT32 lSyncThreshold;
|
||||
|
||||
} tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_CMD;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_RSP
|
||||
|
||||
Members:
|
||||
Header
|
||||
OCTVC1 Message Header
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_MSG_HEADER Header;
|
||||
|
||||
} tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_RSP;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STOP_SYNCHRO_CMD
|
||||
|
||||
Members:
|
||||
Header
|
||||
OCTVC1 Message Header
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_MSG_HEADER Header;
|
||||
|
||||
} tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STOP_SYNCHRO_CMD;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STOP_SYNCHRO_RSP
|
||||
|
||||
Members:
|
||||
Header
|
||||
OCTVC1 Message Header
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_MSG_HEADER Header;
|
||||
|
||||
} tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STOP_SYNCHRO_RSP;
|
||||
|
||||
|
||||
/*************** INCLUDE FILES WITH DEPENDENCIES ON THIS FILE **************/
|
||||
#include "octvc1_hw_evt_priv.h"
|
||||
|
||||
#endif /* __OCTVC1_HW_API_PRIV_H__ */
|
||||
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
$Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_HW_API_PRIV_H__
|
||||
#define __OCTVC1_HW_API_PRIV_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "octvc1_hw_api.h"
|
||||
#include "octvc1_hw_id_priv.h"
|
||||
#include "octvc1_hw_rc_priv.h"
|
||||
|
||||
/************************ COMMON DEFINITIONS *******************************/
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
MAIN API private definitions
|
||||
-------------------------------------------------------------------------------------*/
|
||||
#define cOCTVC1_HW_PRIVATE_API_CMD_PASSWORD 0x1FE75CB2
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/***************************** METHODS *************************************/
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_HW_MSG_ETH_PORT_RESTRICTED_UNBLOCK_CMD
|
||||
Private restricted api unblock command and response structure.
|
||||
|
||||
Members:
|
||||
Header
|
||||
OCTVC1 Message Header
|
||||
ulPortIndex
|
||||
Unique ETH port identifier
|
||||
ulPassword
|
||||
Default: cOCTVC1_HW_PRIVATE_API_CMD_PASSWORD
|
||||
Command password!
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_MSG_HEADER Header;
|
||||
tOCTVC1_INDEX ulPortIndex;
|
||||
tOCT_UINT32 ulPassword;
|
||||
|
||||
} tOCTVC1_HW_MSG_ETH_PORT_RESTRICTED_UNBLOCK_CMD;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_HW_MSG_ETH_PORT_RESTRICTED_UNBLOCK_RSP
|
||||
|
||||
Members:
|
||||
Header
|
||||
OCTVC1 Message Header
|
||||
ulPortIndex
|
||||
Unique ETH port identifier
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_MSG_HEADER Header;
|
||||
tOCTVC1_INDEX ulPortIndex;
|
||||
|
||||
} tOCTVC1_HW_MSG_ETH_PORT_RESTRICTED_UNBLOCK_RSP;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_CMD
|
||||
|
||||
Members:
|
||||
Header
|
||||
OCTVC1 Message Header
|
||||
ulDacInitValue
|
||||
Default: 0x00007600
|
||||
DAC initial value.
|
||||
ulSyncWindowSize
|
||||
Default: 7
|
||||
Number of consecutive values within iSyncThreshold to consider that the clock
|
||||
manager is synchronized to its reference.
|
||||
lSyncThreshold
|
||||
Default: 10
|
||||
Maximum allowed delta to consider that the clock manager is synchronized to its
|
||||
reference.
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_MSG_HEADER Header;
|
||||
tOCT_UINT32 ulDacInitValue;
|
||||
tOCT_UINT32 ulSyncWindowSize;
|
||||
tOCT_INT32 lSyncThreshold;
|
||||
|
||||
} tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_CMD;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_RSP
|
||||
|
||||
Members:
|
||||
Header
|
||||
OCTVC1 Message Header
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_MSG_HEADER Header;
|
||||
|
||||
} tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_RSP;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STOP_SYNCHRO_CMD
|
||||
|
||||
Members:
|
||||
Header
|
||||
OCTVC1 Message Header
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_MSG_HEADER Header;
|
||||
|
||||
} tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STOP_SYNCHRO_CMD;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STOP_SYNCHRO_RSP
|
||||
|
||||
Members:
|
||||
Header
|
||||
OCTVC1 Message Header
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_MSG_HEADER Header;
|
||||
|
||||
} tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STOP_SYNCHRO_RSP;
|
||||
|
||||
|
||||
/*************** INCLUDE FILES WITH DEPENDENCIES ON THIS FILE **************/
|
||||
#include "octvc1_hw_evt_priv.h"
|
||||
|
||||
#endif /* __OCTVC1_HW_API_PRIV_H__ */
|
||||
|
||||
|
|
|
@ -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.,
|
||||
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)
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
|
|
|
@ -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.,
|
||||
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__
|
||||
|
@ -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); \
|
||||
((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
|
||||
#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 )
|
||||
#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_ )
|
||||
#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 ); } \
|
||||
|
@ -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 )
|
||||
#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_ )
|
||||
#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 ); } \
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_HW_BASE.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the definition of the OCTVC1 API.
|
||||
|
||||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_HW_BASE.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the definition of the OCTVC1 API.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
|
@ -18,34 +18,34 @@ GNU General Public License for more details.
|
|||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_HW_BASE_H__
|
||||
#define __OCTVC1_HW_BASE_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "../octvc1_base.h"
|
||||
|
||||
/****************************************************************************
|
||||
Module unique identifiers
|
||||
****************************************************************************/
|
||||
#define cOCTVC1_HW_UID ( 0x06 )
|
||||
|
||||
/****************************************************************************
|
||||
Module identifier bases
|
||||
****************************************************************************/
|
||||
|
||||
/* Module: HW */
|
||||
#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_RC_BASE ( (cOCTVC1_HW_UID << 16) + cOCTVC1_RC_BASE )
|
||||
|
||||
#endif /* __OCTVC1_HW_BASE_H__ */
|
||||
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_HW_BASE_H__
|
||||
#define __OCTVC1_HW_BASE_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "../octvc1_base.h"
|
||||
|
||||
/****************************************************************************
|
||||
Module unique identifiers
|
||||
****************************************************************************/
|
||||
#define cOCTVC1_HW_UID ( 0x06 )
|
||||
|
||||
/****************************************************************************
|
||||
Module identifier bases
|
||||
****************************************************************************/
|
||||
|
||||
/* Module: HW */
|
||||
#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_RC_BASE ( (cOCTVC1_HW_UID << 16) + cOCTVC1_RC_BASE )
|
||||
|
||||
#endif /* __OCTVC1_HW_BASE_H__ */
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,11 +1,11 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_HW_DEFAULT_PRIV.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the event definition of the HW API.
|
||||
|
||||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_HW_DEFAULT_PRIV.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the event definition of the HW API.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
|
@ -18,118 +18,118 @@ GNU General Public License for more details.
|
|||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_HW_DEFAULT_PRIV_H__
|
||||
#define __OCTVC1_HW_DEFAULT_PRIV_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "octvc1_hw_api_priv.h"
|
||||
#include "octvc1_hw_default.h"
|
||||
|
||||
/***************************** COMMAND DEFAULT *****************************/
|
||||
|
||||
/*--------------------------------------------------------------------------
|
||||
tOCTVC1_HW_MSG_ETH_PORT_RESTRICTED_UNBLOCK_CMD
|
||||
----------------------------------------------------------------------------*/
|
||||
#ifdef OCTVC1_OPT_DECLARE_DEFAULTS
|
||||
|
||||
const tOCTVC1_HW_MSG_ETH_PORT_RESTRICTED_UNBLOCK_CMD buf_tOCTVC1_HW_MSG_ETH_PORT_RESTRICTED_UNBLOCK_CMD =
|
||||
{
|
||||
{ /* Header */
|
||||
((sizeof(tOCTVC1_HW_MSG_ETH_PORT_RESTRICTED_UNBLOCK_CMD)<<cOCTVC1_MSG_LENGTH_BIT_OFFSET)&cOCTVC1_MSG_LENGTH_BIT_MASK), /* ulLength */
|
||||
0, /* ulTransactionId */
|
||||
((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, /* ulReturnCode */
|
||||
0 /* ulUserInfo */
|
||||
},
|
||||
0, /* ulPortIndex */
|
||||
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 =
|
||||
&buf_tOCTVC1_HW_MSG_ETH_PORT_RESTRICTED_UNBLOCK_CMD;
|
||||
|
||||
#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;
|
||||
#endif /* OCTVC1_OPT_DECLARE_DEFAULTS */
|
||||
|
||||
#define mOCTVC1_HW_MSG_ETH_PORT_RESTRICTED_UNBLOCK_CMD_DEF(pSt) \
|
||||
{ \
|
||||
*pSt = *g_pOctDef_tOCTVC1_HW_MSG_ETH_PORT_RESTRICTED_UNBLOCK_CMD; \
|
||||
}
|
||||
|
||||
|
||||
/*--------------------------------------------------------------------------
|
||||
tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_CMD
|
||||
----------------------------------------------------------------------------*/
|
||||
#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 =
|
||||
{
|
||||
{ /* Header */
|
||||
((sizeof(tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_CMD)<<cOCTVC1_MSG_LENGTH_BIT_OFFSET)&cOCTVC1_MSG_LENGTH_BIT_MASK), /* ulLength */
|
||||
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 */
|
||||
0, /* ulSessionId */
|
||||
0, /* ulReturnCode */
|
||||
0 /* ulUserInfo */
|
||||
},
|
||||
0x00007600, /* ulDacInitValue */
|
||||
7, /* ulSyncWindowSize */
|
||||
10 /* lSyncThreshold */
|
||||
};
|
||||
|
||||
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;
|
||||
|
||||
#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;
|
||||
#endif /* OCTVC1_OPT_DECLARE_DEFAULTS */
|
||||
|
||||
#define mOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_CMD_DEF(pSt) \
|
||||
{ \
|
||||
*pSt = *g_pOctDef_tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_CMD; \
|
||||
}
|
||||
|
||||
|
||||
/*--------------------------------------------------------------------------
|
||||
tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STOP_SYNCHRO_CMD
|
||||
----------------------------------------------------------------------------*/
|
||||
#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 =
|
||||
{
|
||||
{ /* Header */
|
||||
((sizeof(tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STOP_SYNCHRO_CMD)<<cOCTVC1_MSG_LENGTH_BIT_OFFSET)&cOCTVC1_MSG_LENGTH_BIT_MASK), /* ulLength */
|
||||
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 */
|
||||
0, /* ulSessionId */
|
||||
0, /* ulReturnCode */
|
||||
0 /* ulUserInfo */
|
||||
}
|
||||
};
|
||||
|
||||
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;
|
||||
|
||||
#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;
|
||||
#endif /* OCTVC1_OPT_DECLARE_DEFAULTS */
|
||||
|
||||
#define mOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STOP_SYNCHRO_CMD_DEF(pSt) \
|
||||
{ \
|
||||
*pSt = *g_pOctDef_tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STOP_SYNCHRO_CMD; \
|
||||
}
|
||||
|
||||
|
||||
#endif /* __OCTVC1_HW_DEFAULT_PRIV_H__ */
|
||||
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_HW_DEFAULT_PRIV_H__
|
||||
#define __OCTVC1_HW_DEFAULT_PRIV_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "octvc1_hw_api_priv.h"
|
||||
#include "octvc1_hw_default.h"
|
||||
|
||||
/***************************** COMMAND DEFAULT *****************************/
|
||||
|
||||
/*--------------------------------------------------------------------------
|
||||
tOCTVC1_HW_MSG_ETH_PORT_RESTRICTED_UNBLOCK_CMD
|
||||
----------------------------------------------------------------------------*/
|
||||
#ifdef OCTVC1_OPT_DECLARE_DEFAULTS
|
||||
|
||||
const tOCTVC1_HW_MSG_ETH_PORT_RESTRICTED_UNBLOCK_CMD buf_tOCTVC1_HW_MSG_ETH_PORT_RESTRICTED_UNBLOCK_CMD =
|
||||
{
|
||||
{ /* Header */
|
||||
((sizeof(tOCTVC1_HW_MSG_ETH_PORT_RESTRICTED_UNBLOCK_CMD)<<cOCTVC1_MSG_LENGTH_BIT_OFFSET)&cOCTVC1_MSG_LENGTH_BIT_MASK), /* ulLength */
|
||||
0, /* ulTransactionId */
|
||||
((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, /* ulReturnCode */
|
||||
0 /* ulUserInfo */
|
||||
},
|
||||
0, /* ulPortIndex */
|
||||
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 =
|
||||
&buf_tOCTVC1_HW_MSG_ETH_PORT_RESTRICTED_UNBLOCK_CMD;
|
||||
|
||||
#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;
|
||||
#endif /* OCTVC1_OPT_DECLARE_DEFAULTS */
|
||||
|
||||
#define mOCTVC1_HW_MSG_ETH_PORT_RESTRICTED_UNBLOCK_CMD_DEF(pSt) \
|
||||
{ \
|
||||
*pSt = *g_pOctDef_tOCTVC1_HW_MSG_ETH_PORT_RESTRICTED_UNBLOCK_CMD; \
|
||||
}
|
||||
|
||||
|
||||
/*--------------------------------------------------------------------------
|
||||
tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_CMD
|
||||
----------------------------------------------------------------------------*/
|
||||
#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 =
|
||||
{
|
||||
{ /* Header */
|
||||
((sizeof(tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_CMD)<<cOCTVC1_MSG_LENGTH_BIT_OFFSET)&cOCTVC1_MSG_LENGTH_BIT_MASK), /* ulLength */
|
||||
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 */
|
||||
0, /* ulSessionId */
|
||||
0, /* ulReturnCode */
|
||||
0 /* ulUserInfo */
|
||||
},
|
||||
0x00007600, /* ulDacInitValue */
|
||||
7, /* ulSyncWindowSize */
|
||||
10 /* lSyncThreshold */
|
||||
};
|
||||
|
||||
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;
|
||||
|
||||
#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;
|
||||
#endif /* OCTVC1_OPT_DECLARE_DEFAULTS */
|
||||
|
||||
#define mOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_CMD_DEF(pSt) \
|
||||
{ \
|
||||
*pSt = *g_pOctDef_tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_CMD; \
|
||||
}
|
||||
|
||||
|
||||
/*--------------------------------------------------------------------------
|
||||
tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STOP_SYNCHRO_CMD
|
||||
----------------------------------------------------------------------------*/
|
||||
#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 =
|
||||
{
|
||||
{ /* Header */
|
||||
((sizeof(tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STOP_SYNCHRO_CMD)<<cOCTVC1_MSG_LENGTH_BIT_OFFSET)&cOCTVC1_MSG_LENGTH_BIT_MASK), /* ulLength */
|
||||
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 */
|
||||
0, /* ulSessionId */
|
||||
0, /* ulReturnCode */
|
||||
0 /* ulUserInfo */
|
||||
}
|
||||
};
|
||||
|
||||
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;
|
||||
|
||||
#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;
|
||||
#endif /* OCTVC1_OPT_DECLARE_DEFAULTS */
|
||||
|
||||
#define mOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STOP_SYNCHRO_CMD_DEF(pSt) \
|
||||
{ \
|
||||
*pSt = *g_pOctDef_tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STOP_SYNCHRO_CMD; \
|
||||
}
|
||||
|
||||
|
||||
#endif /* __OCTVC1_HW_DEFAULT_PRIV_H__ */
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_HW_EVT.h
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the event definition of the HW API.
|
||||
|
||||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_HW_EVT.h
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the event definition of the HW API.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
|
@ -17,62 +17,62 @@ GNU General Public License for more details.
|
|||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_HW_EVT_H__
|
||||
#define __OCTVC1_HW_EVT_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
|
||||
#include "octvc1_hw_api.h"
|
||||
|
||||
/************************ COMMON DEFINITIONS *******************************/
|
||||
|
||||
/***************************** NOTIFICATIONS **********************************/
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_HW_MSG_CPU_CORE_EXEC_REPORT_EVT
|
||||
|
||||
Members:
|
||||
Header
|
||||
ulCoreIndex
|
||||
Cpu Core identifier
|
||||
ulCoreUseMask
|
||||
One-hot vector indicating which cores are used.
|
||||
ulCoreHaltMask
|
||||
One-hot vector indicating which cores are halted.
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_EVENT_HEADER Header;
|
||||
tOCTVC1_INDEX ulCoreIndex;
|
||||
tOCTVC1_HW_CPU_CORE_MASK ulCoreUseMask;
|
||||
tOCTVC1_HW_CPU_CORE_MASK ulCoreHaltMask;
|
||||
|
||||
} tOCTVC1_HW_MSG_CPU_CORE_EXEC_REPORT_EVT;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STATUS_CHANGE_EVT
|
||||
|
||||
Members:
|
||||
Header
|
||||
ulState
|
||||
ulPreviousState
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_EVENT_HEADER Header;
|
||||
tOCTVC1_HW_CLOCK_SYNC_MGR_STATE_ENUM ulState;
|
||||
tOCTVC1_HW_CLOCK_SYNC_MGR_STATE_ENUM ulPreviousState;
|
||||
|
||||
} tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STATUS_CHANGE_EVT;
|
||||
|
||||
|
||||
#endif /* __OCTVC1_HW_EVT_H__ */
|
||||
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_HW_EVT_H__
|
||||
#define __OCTVC1_HW_EVT_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
|
||||
#include "octvc1_hw_api.h"
|
||||
|
||||
/************************ COMMON DEFINITIONS *******************************/
|
||||
|
||||
/***************************** NOTIFICATIONS **********************************/
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_HW_MSG_CPU_CORE_EXEC_REPORT_EVT
|
||||
|
||||
Members:
|
||||
Header
|
||||
ulCoreIndex
|
||||
Cpu Core identifier
|
||||
ulCoreUseMask
|
||||
One-hot vector indicating which cores are used.
|
||||
ulCoreHaltMask
|
||||
One-hot vector indicating which cores are halted.
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_EVENT_HEADER Header;
|
||||
tOCTVC1_INDEX ulCoreIndex;
|
||||
tOCTVC1_HW_CPU_CORE_MASK ulCoreUseMask;
|
||||
tOCTVC1_HW_CPU_CORE_MASK ulCoreHaltMask;
|
||||
|
||||
} tOCTVC1_HW_MSG_CPU_CORE_EXEC_REPORT_EVT;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STATUS_CHANGE_EVT
|
||||
|
||||
Members:
|
||||
Header
|
||||
ulState
|
||||
ulPreviousState
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_EVENT_HEADER Header;
|
||||
tOCTVC1_HW_CLOCK_SYNC_MGR_STATE_ENUM ulState;
|
||||
tOCTVC1_HW_CLOCK_SYNC_MGR_STATE_ENUM ulPreviousState;
|
||||
|
||||
} tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STATUS_CHANGE_EVT;
|
||||
|
||||
|
||||
#endif /* __OCTVC1_HW_EVT_H__ */
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_HW_EVT_PRIV.h
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the event definition of the HW API.
|
||||
|
||||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_HW_EVT_PRIV.h
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the event definition of the HW API.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
|
@ -17,25 +17,25 @@ GNU General Public License for more details.
|
|||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_HW_EVT_PRIV_H__
|
||||
#define __OCTVC1_HW_EVT_PRIV_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
|
||||
#include "octvc1_hw_api_priv.h"
|
||||
|
||||
/************************ COMMON DEFINITIONS *******************************/
|
||||
|
||||
/***************************** NOTIFICATIONS **********************************/
|
||||
|
||||
#endif /* __OCTVC1_HW_EVT_PRIV_H__ */
|
||||
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_HW_EVT_PRIV_H__
|
||||
#define __OCTVC1_HW_EVT_PRIV_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
|
||||
#include "octvc1_hw_api_priv.h"
|
||||
|
||||
/************************ COMMON DEFINITIONS *******************************/
|
||||
|
||||
/***************************** NOTIFICATIONS **********************************/
|
||||
|
||||
#endif /* __OCTVC1_HW_EVT_PRIV_H__ */
|
||||
|
||||
|
|
|
@ -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.,
|
||||
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)
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
|
|
|
@ -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.,
|
||||
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__
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_HW_ID.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the identifiers for the HW API.
|
||||
|
||||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_HW_ID.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the identifiers for the HW API.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
|
@ -18,56 +18,54 @@ GNU General Public License for more details.
|
|||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_HW_ID_H__
|
||||
#define __OCTVC1_HW_ID_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "../octvc1_base.h"
|
||||
#include "octvc1_hw_base.h"
|
||||
|
||||
/****************************************************************************
|
||||
Command IDs
|
||||
****************************************************************************/
|
||||
#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_INFO_CID ( 0x003 + 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_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_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_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_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_MODIFY_ANTENNA_RX_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_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_CID ( 0x011 + 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_STATS_CID ( 0x013 + 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)
|
||||
|
||||
/****************************************************************************
|
||||
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_EID_MAX (( 0x0002 + 1 ) & 0xFFFF)
|
||||
|
||||
|
||||
#endif /* __OCTVC1_HW_ID_H__ */
|
||||
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_HW_ID_H__
|
||||
#define __OCTVC1_HW_ID_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "../octvc1_base.h"
|
||||
#include "octvc1_hw_base.h"
|
||||
|
||||
/****************************************************************************
|
||||
Command IDs
|
||||
****************************************************************************/
|
||||
#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_INFO_CID ( 0x003 + 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_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_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_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_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_TX_CONFIG_CID ( 0x00f + 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_STATS_CID ( 0x013 + 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)
|
||||
|
||||
/****************************************************************************
|
||||
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_EID_MAX (( 0x0002 + 1 ) & 0xFFFF)
|
||||
|
||||
|
||||
#endif /* __OCTVC1_HW_ID_H__ */
|
||||
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_HW_ID_PRIV.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the identifiers for the HW API.
|
||||
|
||||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_HW_ID_PRIV.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the identifiers for the HW API.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
|
@ -18,33 +18,33 @@ GNU General Public License for more details.
|
|||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_HW_ID_PRIV_H__
|
||||
#define __OCTVC1_HW_ID_PRIV_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "octvc1_hw_id.h"
|
||||
#include "octvc1_hw_base.h"
|
||||
|
||||
/****************************************************************************
|
||||
Command IDs
|
||||
****************************************************************************/
|
||||
#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_STOP_SYNCHRO_CID ( 0x017 + cOCTVC1_HW_CID_BASE )
|
||||
|
||||
/****************************************************************************
|
||||
Event IDs
|
||||
****************************************************************************/
|
||||
|
||||
|
||||
#endif /* __OCTVC1_HW_ID_PRIV_H__ */
|
||||
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_HW_ID_PRIV_H__
|
||||
#define __OCTVC1_HW_ID_PRIV_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "octvc1_hw_id.h"
|
||||
#include "octvc1_hw_base.h"
|
||||
|
||||
/****************************************************************************
|
||||
Command IDs
|
||||
****************************************************************************/
|
||||
#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_STOP_SYNCHRO_CID ( 0x017 + cOCTVC1_HW_CID_BASE )
|
||||
|
||||
/****************************************************************************
|
||||
Event IDs
|
||||
****************************************************************************/
|
||||
|
||||
|
||||
#endif /* __OCTVC1_HW_ID_PRIV_H__ */
|
||||
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_HW_RC.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the return codes for the HW API.
|
||||
|
||||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_HW_RC.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the return codes for the HW API.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
|
@ -18,61 +18,61 @@ GNU General Public License for more details.
|
|||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef OCTVC1_HW_RC_H__
|
||||
#define OCTVC1_HW_RC_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "../octvc1_base.h"
|
||||
#include "../octvc1_generic_rc.h"
|
||||
#include "octvc1_hw_base.h"
|
||||
|
||||
/****************************************************************************
|
||||
HW return codes
|
||||
****************************************************************************/
|
||||
#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 )
|
||||
|
||||
/****************************************************************************
|
||||
ETH return codes
|
||||
****************************************************************************/
|
||||
#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 )
|
||||
|
||||
/****************************************************************************
|
||||
RF_PORT return codes
|
||||
****************************************************************************/
|
||||
#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_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_CANNOT_MODIFY ( 0x0004 + cOCTVC1_HW_RF_PORT_RC_BASE )
|
||||
|
||||
/****************************************************************************
|
||||
CLOCK_SYNC_MGR return codes
|
||||
****************************************************************************/
|
||||
#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_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_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_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_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_NOT_SUPPORTED ( 0x0009 + cOCTVC1_HW_CLOCK_SYNC_MGR_RC_BASE )
|
||||
|
||||
#endif /* OCTVC1_HW_RC_H__ */
|
||||
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef OCTVC1_HW_RC_H__
|
||||
#define OCTVC1_HW_RC_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "../octvc1_base.h"
|
||||
#include "../octvc1_generic_rc.h"
|
||||
#include "octvc1_hw_base.h"
|
||||
|
||||
/****************************************************************************
|
||||
HW return codes
|
||||
****************************************************************************/
|
||||
#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 )
|
||||
|
||||
/****************************************************************************
|
||||
ETH return codes
|
||||
****************************************************************************/
|
||||
#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 )
|
||||
|
||||
/****************************************************************************
|
||||
RF_PORT return codes
|
||||
****************************************************************************/
|
||||
#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_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_CANNOT_MODIFY ( 0x0004 + cOCTVC1_HW_RF_PORT_RC_BASE )
|
||||
|
||||
/****************************************************************************
|
||||
CLOCK_SYNC_MGR return codes
|
||||
****************************************************************************/
|
||||
#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_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_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_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_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_NOT_SUPPORTED ( 0x0009 + cOCTVC1_HW_CLOCK_SYNC_MGR_RC_BASE )
|
||||
|
||||
#endif /* OCTVC1_HW_RC_H__ */
|
||||
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_HW_RC_PRIV.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the return codes for the HW API.
|
||||
|
||||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_HW_RC_PRIV.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the return codes for the HW API.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
|
@ -18,25 +18,25 @@ GNU General Public License for more details.
|
|||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef OCTVC1_HW_RC_PRIV_H__
|
||||
#define OCTVC1_HW_RC_PRIV_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "octvc1_hw_rc.h"
|
||||
#include "octvc1_hw_base.h"
|
||||
|
||||
/****************************************************************************
|
||||
HW return codes
|
||||
****************************************************************************/
|
||||
|
||||
#endif /* OCTVC1_HW_RC_PRIV_H__ */
|
||||
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef OCTVC1_HW_RC_PRIV_H__
|
||||
#define OCTVC1_HW_RC_PRIV_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "octvc1_hw_rc.h"
|
||||
#include "octvc1_hw_base.h"
|
||||
|
||||
/****************************************************************************
|
||||
HW return codes
|
||||
****************************************************************************/
|
||||
|
||||
#endif /* OCTVC1_HW_RC_PRIV_H__ */
|
||||
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_HW_VERSION.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the version of the HW API interface.
|
||||
|
||||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_HW_VERSION.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the version of the HW API interface.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
|
@ -18,34 +18,34 @@ GNU General Public License for more details.
|
|||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_HW_VERSION_H__
|
||||
#define __OCTVC1_HW_VERSION_H__
|
||||
|
||||
|
||||
/* The version ID is separated into the following sections:
|
||||
|
||||
bit[31:25]: Major version
|
||||
bit[24:18]: Minor version
|
||||
bit[17:11]: Bug fix version
|
||||
bit[10:0]: Build number
|
||||
*/
|
||||
#define cOCTVC1_HW_VERSION_MAJOR 2
|
||||
#define cOCTVC1_HW_VERSION_MINOR 2
|
||||
#define cOCTVC1_HW_VERSION_MAINTENANCE 4
|
||||
#define cOCTVC1_HW_VERSION_BUILD 403
|
||||
|
||||
#define cOCTVC1_HW_VERSION_ID ( (cOCTVC1_HW_VERSION_MAJOR << 25) + \
|
||||
(cOCTVC1_HW_VERSION_MINOR << 18) + \
|
||||
(cOCTVC1_HW_VERSION_MAINTENANCE << 11) + \
|
||||
cOCTVC1_HW_VERSION_BUILD )
|
||||
|
||||
#endif /* __OCTVC1_HW_VERSION_H__ */
|
||||
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_HW_VERSION_H__
|
||||
#define __OCTVC1_HW_VERSION_H__
|
||||
|
||||
|
||||
/* The version ID is separated into the following sections:
|
||||
|
||||
bit[31:25]: Major version
|
||||
bit[24:18]: Minor version
|
||||
bit[17:11]: Bug fix version
|
||||
bit[10:0]: Build number
|
||||
*/
|
||||
#define cOCTVC1_HW_VERSION_MAJOR 2
|
||||
#define cOCTVC1_HW_VERSION_MINOR 3
|
||||
#define cOCTVC1_HW_VERSION_MAINTENANCE 0
|
||||
#define cOCTVC1_HW_VERSION_BUILD 572
|
||||
|
||||
#define cOCTVC1_HW_VERSION_ID ( (cOCTVC1_HW_VERSION_MAJOR << 25) + \
|
||||
(cOCTVC1_HW_VERSION_MINOR << 18) + \
|
||||
(cOCTVC1_HW_VERSION_MAINTENANCE << 11) + \
|
||||
cOCTVC1_HW_VERSION_BUILD )
|
||||
|
||||
#endif /* __OCTVC1_HW_VERSION_H__ */
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,12 +1,12 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_IRSC_API_PRIV.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the definition of the IRSC API.
|
||||
OCTVC1 Internal Resources
|
||||
|
||||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_IRSC_API_PRIV.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the definition of the IRSC API.
|
||||
OCTVC1 Internal Resources
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
|
@ -19,31 +19,32 @@ GNU General Public License for more details.
|
|||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27)
|
||||
|
||||
$Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_IRSC_API_PRIV_H__
|
||||
#define __OCTVC1_IRSC_API_PRIV_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "octvc1_irsc_api.h"
|
||||
#include "octvc1_irsc_id_priv.h"
|
||||
#include "octvc1_irsc_rc_priv.h"
|
||||
|
||||
/************************ COMMON DEFINITIONS *******************************/
|
||||
|
||||
|
||||
|
||||
/***************************** METHODS *************************************/
|
||||
|
||||
/*************** INCLUDE FILES WITH DEPENDENCIES ON THIS FILE **************/
|
||||
#include "octvc1_irsc_evt_priv.h"
|
||||
|
||||
#endif /* __OCTVC1_IRSC_API_PRIV_H__ */
|
||||
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
$Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_IRSC_API_PRIV_H__
|
||||
#define __OCTVC1_IRSC_API_PRIV_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "octvc1_irsc_api.h"
|
||||
#include "octvc1_irsc_id_priv.h"
|
||||
#include "octvc1_irsc_rc_priv.h"
|
||||
|
||||
/************************ COMMON DEFINITIONS *******************************/
|
||||
|
||||
|
||||
|
||||
|
||||
/***************************** METHODS *************************************/
|
||||
|
||||
/*************** INCLUDE FILES WITH DEPENDENCIES ON THIS FILE **************/
|
||||
#include "octvc1_irsc_evt_priv.h"
|
||||
|
||||
#endif /* __OCTVC1_IRSC_API_PRIV_H__ */
|
||||
|
||||
|
|
|
@ -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.,
|
||||
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)
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
|
|
|
@ -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.,
|
||||
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__
|
||||
|
@ -101,6 +101,63 @@ extern "C" {
|
|||
#define mOCTVC1_IRSC_SESSION_STATS_SWAP( pOCTVC1_IRSC_SESSION_STATS )
|
||||
#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_ )
|
||||
#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 ); } \
|
||||
|
@ -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 )
|
||||
#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
|
||||
}
|
||||
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_IRSC_BASE.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the definition of the OCTVC1 API.
|
||||
|
||||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_IRSC_BASE.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the definition of the OCTVC1 API.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
|
@ -18,34 +18,34 @@ GNU General Public License for more details.
|
|||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_IRSC_BASE_H__
|
||||
#define __OCTVC1_IRSC_BASE_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "../octvc1_base.h"
|
||||
|
||||
/****************************************************************************
|
||||
Module unique identifiers
|
||||
****************************************************************************/
|
||||
#define cOCTVC1_IRSC_UID ( 0x07 )
|
||||
|
||||
/****************************************************************************
|
||||
Module identifier bases
|
||||
****************************************************************************/
|
||||
|
||||
/* Module: IRSC */
|
||||
#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_RC_BASE ( (cOCTVC1_IRSC_UID << 16) + cOCTVC1_RC_BASE )
|
||||
|
||||
#endif /* __OCTVC1_IRSC_BASE_H__ */
|
||||
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_IRSC_BASE_H__
|
||||
#define __OCTVC1_IRSC_BASE_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "../octvc1_base.h"
|
||||
|
||||
/****************************************************************************
|
||||
Module unique identifiers
|
||||
****************************************************************************/
|
||||
#define cOCTVC1_IRSC_UID ( 0x07 )
|
||||
|
||||
/****************************************************************************
|
||||
Module identifier bases
|
||||
****************************************************************************/
|
||||
|
||||
/* Module: IRSC */
|
||||
#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_RC_BASE ( (cOCTVC1_IRSC_UID << 16) + cOCTVC1_RC_BASE )
|
||||
|
||||
#endif /* __OCTVC1_IRSC_BASE_H__ */
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,11 +1,11 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_IRSC_DEFAULT_PRIV.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the event definition of the IRSC API.
|
||||
|
||||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_IRSC_DEFAULT_PRIV.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the event definition of the IRSC API.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
|
@ -18,23 +18,23 @@ GNU General Public License for more details.
|
|||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_IRSC_DEFAULT_PRIV_H__
|
||||
#define __OCTVC1_IRSC_DEFAULT_PRIV_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "octvc1_irsc_api_priv.h"
|
||||
#include "octvc1_irsc_default.h"
|
||||
|
||||
/***************************** COMMAND DEFAULT *****************************/
|
||||
|
||||
#endif /* __OCTVC1_IRSC_DEFAULT_PRIV_H__ */
|
||||
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_IRSC_DEFAULT_PRIV_H__
|
||||
#define __OCTVC1_IRSC_DEFAULT_PRIV_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "octvc1_irsc_api_priv.h"
|
||||
#include "octvc1_irsc_default.h"
|
||||
|
||||
/***************************** COMMAND DEFAULT *****************************/
|
||||
|
||||
#endif /* __OCTVC1_IRSC_DEFAULT_PRIV_H__ */
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_IRSC_EVT.h
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the event definition of the IRSC API.
|
||||
|
||||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_IRSC_EVT.h
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the event definition of the IRSC API.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
|
@ -17,39 +17,39 @@ GNU General Public License for more details.
|
|||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_IRSC_EVT_H__
|
||||
#define __OCTVC1_IRSC_EVT_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
|
||||
#include "octvc1_irsc_api.h"
|
||||
|
||||
/************************ COMMON DEFINITIONS *******************************/
|
||||
|
||||
/***************************** NOTIFICATIONS **********************************/
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_IRSC_MSG_PROCESS_DUMP_EVT
|
||||
|
||||
Members:
|
||||
Header
|
||||
hProcess
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_EVENT_HEADER Header;
|
||||
tOCT_UINT32 hProcess;
|
||||
|
||||
} tOCTVC1_IRSC_MSG_PROCESS_DUMP_EVT;
|
||||
|
||||
|
||||
#endif /* __OCTVC1_IRSC_EVT_H__ */
|
||||
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_IRSC_EVT_H__
|
||||
#define __OCTVC1_IRSC_EVT_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
|
||||
#include "octvc1_irsc_api.h"
|
||||
|
||||
/************************ COMMON DEFINITIONS *******************************/
|
||||
|
||||
/***************************** NOTIFICATIONS **********************************/
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_IRSC_MSG_PROCESS_DUMP_EVT
|
||||
|
||||
Members:
|
||||
Header
|
||||
hProcess
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_EVENT_HEADER Header;
|
||||
tOCT_UINT32 hProcess;
|
||||
|
||||
} tOCTVC1_IRSC_MSG_PROCESS_DUMP_EVT;
|
||||
|
||||
|
||||
#endif /* __OCTVC1_IRSC_EVT_H__ */
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_IRSC_EVT_PRIV.h
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the event definition of the IRSC API.
|
||||
|
||||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_IRSC_EVT_PRIV.h
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the event definition of the IRSC API.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
|
@ -17,25 +17,25 @@ GNU General Public License for more details.
|
|||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_IRSC_EVT_PRIV_H__
|
||||
#define __OCTVC1_IRSC_EVT_PRIV_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
|
||||
#include "octvc1_irsc_api_priv.h"
|
||||
|
||||
/************************ COMMON DEFINITIONS *******************************/
|
||||
|
||||
/***************************** NOTIFICATIONS **********************************/
|
||||
|
||||
#endif /* __OCTVC1_IRSC_EVT_PRIV_H__ */
|
||||
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_IRSC_EVT_PRIV_H__
|
||||
#define __OCTVC1_IRSC_EVT_PRIV_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
|
||||
#include "octvc1_irsc_api_priv.h"
|
||||
|
||||
/************************ COMMON DEFINITIONS *******************************/
|
||||
|
||||
/***************************** NOTIFICATIONS **********************************/
|
||||
|
||||
#endif /* __OCTVC1_IRSC_EVT_PRIV_H__ */
|
||||
|
||||
|
|
|
@ -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.,
|
||||
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)
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
|
|
|
@ -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.,
|
||||
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__
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_IRSC_ID.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the identifiers for the IRSC API.
|
||||
|
||||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_IRSC_ID.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the identifiers for the IRSC API.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
|
@ -18,56 +18,61 @@ GNU General Public License for more details.
|
|||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_IRSC_ID_H__
|
||||
#define __OCTVC1_IRSC_ID_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "../octvc1_base.h"
|
||||
#include "octvc1_irsc_base.h"
|
||||
|
||||
/****************************************************************************
|
||||
Command IDs
|
||||
****************************************************************************/
|
||||
#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_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_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_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_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_STATS_CID ( 0x00b + 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_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_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_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_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_CID_MAX (( 0x015 + 1 ) & 0xFFF)
|
||||
|
||||
/****************************************************************************
|
||||
Event IDs
|
||||
****************************************************************************/
|
||||
#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__ */
|
||||
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_IRSC_ID_H__
|
||||
#define __OCTVC1_IRSC_ID_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "../octvc1_base.h"
|
||||
#include "octvc1_irsc_base.h"
|
||||
|
||||
/****************************************************************************
|
||||
Command IDs
|
||||
****************************************************************************/
|
||||
#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_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_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_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_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_STATS_CID ( 0x00b + 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_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_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_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_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_APPLICATION_LIST_TAP_CID ( 0x016 + cOCTVC1_IRSC_CID_BASE )
|
||||
#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 )
|
||||
#define cOCTVC1_IRSC_MSG_APPLICATION_STOP_TAP_CID ( 0x01a + cOCTVC1_IRSC_CID_BASE )
|
||||
|
||||
#define cOCTVC1_IRSC_CID_MAX (( 0x01a + 1 ) & 0xFFF)
|
||||
|
||||
/****************************************************************************
|
||||
Event IDs
|
||||
****************************************************************************/
|
||||
#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__ */
|
||||
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_IRSC_ID_PRIV.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the identifiers for the IRSC API.
|
||||
|
||||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_IRSC_ID_PRIV.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the identifiers for the IRSC API.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
|
@ -18,30 +18,30 @@ GNU General Public License for more details.
|
|||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_IRSC_ID_PRIV_H__
|
||||
#define __OCTVC1_IRSC_ID_PRIV_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "octvc1_irsc_id.h"
|
||||
#include "octvc1_irsc_base.h"
|
||||
|
||||
/****************************************************************************
|
||||
Command IDs
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
Event IDs
|
||||
****************************************************************************/
|
||||
|
||||
|
||||
#endif /* __OCTVC1_IRSC_ID_PRIV_H__ */
|
||||
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_IRSC_ID_PRIV_H__
|
||||
#define __OCTVC1_IRSC_ID_PRIV_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "octvc1_irsc_id.h"
|
||||
#include "octvc1_irsc_base.h"
|
||||
|
||||
/****************************************************************************
|
||||
Command IDs
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
Event IDs
|
||||
****************************************************************************/
|
||||
|
||||
|
||||
#endif /* __OCTVC1_IRSC_ID_PRIV_H__ */
|
||||
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_IRSC_RC.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the return codes for the IRSC API.
|
||||
|
||||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_IRSC_RC.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the return codes for the IRSC API.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
|
@ -18,47 +18,47 @@ GNU General Public License for more details.
|
|||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef OCTVC1_IRSC_RC_H__
|
||||
#define OCTVC1_IRSC_RC_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "../octvc1_base.h"
|
||||
#include "../octvc1_generic_rc.h"
|
||||
#include "octvc1_irsc_base.h"
|
||||
|
||||
/****************************************************************************
|
||||
IRSC return codes
|
||||
****************************************************************************/
|
||||
#define cOCTVC1_IRSC_RC_INVALID_TASK ( 0x000A + cOCTVC1_IRSC_RC_BASE )
|
||||
|
||||
/****************************************************************************
|
||||
OBJMGR return codes
|
||||
****************************************************************************/
|
||||
#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_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_NOT_INIT ( 0x0004 + cOCTVC1_IRSC_OBJMGR_RC_BASE )
|
||||
|
||||
/****************************************************************************
|
||||
API_COMMAND return codes
|
||||
****************************************************************************/
|
||||
#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_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_INTERNAL_ERROR ( 0x0005 + cOCTVC1_IRSC_API_COMMAND_RC_BASE )
|
||||
|
||||
#endif /* OCTVC1_IRSC_RC_H__ */
|
||||
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef OCTVC1_IRSC_RC_H__
|
||||
#define OCTVC1_IRSC_RC_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "../octvc1_base.h"
|
||||
#include "../octvc1_generic_rc.h"
|
||||
#include "octvc1_irsc_base.h"
|
||||
|
||||
/****************************************************************************
|
||||
IRSC return codes
|
||||
****************************************************************************/
|
||||
#define cOCTVC1_IRSC_RC_INVALID_TASK ( 0x000A + cOCTVC1_IRSC_RC_BASE )
|
||||
|
||||
/****************************************************************************
|
||||
OBJMGR return codes
|
||||
****************************************************************************/
|
||||
#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_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_NOT_INIT ( 0x0004 + cOCTVC1_IRSC_OBJMGR_RC_BASE )
|
||||
|
||||
/****************************************************************************
|
||||
API_COMMAND return codes
|
||||
****************************************************************************/
|
||||
#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_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_INTERNAL_ERROR ( 0x0005 + cOCTVC1_IRSC_API_COMMAND_RC_BASE )
|
||||
|
||||
#endif /* OCTVC1_IRSC_RC_H__ */
|
||||
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_IRSC_RC_PRIV.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the return codes for the IRSC API.
|
||||
|
||||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_IRSC_RC_PRIV.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the return codes for the IRSC API.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
|
@ -18,25 +18,25 @@ GNU General Public License for more details.
|
|||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef OCTVC1_IRSC_RC_PRIV_H__
|
||||
#define OCTVC1_IRSC_RC_PRIV_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "octvc1_irsc_rc.h"
|
||||
#include "octvc1_irsc_base.h"
|
||||
|
||||
/****************************************************************************
|
||||
IRSC return codes
|
||||
****************************************************************************/
|
||||
|
||||
#endif /* OCTVC1_IRSC_RC_PRIV_H__ */
|
||||
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef OCTVC1_IRSC_RC_PRIV_H__
|
||||
#define OCTVC1_IRSC_RC_PRIV_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "octvc1_irsc_rc.h"
|
||||
#include "octvc1_irsc_base.h"
|
||||
|
||||
/****************************************************************************
|
||||
IRSC return codes
|
||||
****************************************************************************/
|
||||
|
||||
#endif /* OCTVC1_IRSC_RC_PRIV_H__ */
|
||||
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_IRSC_VERSION.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the version of the IRSC API interface.
|
||||
|
||||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_IRSC_VERSION.h
|
||||
|
||||
Copyright (c) 2015 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the version of the IRSC API interface.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
|
@ -18,34 +18,34 @@ GNU General Public License for more details.
|
|||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.02.04-B403 (2015/04/27)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_IRSC_VERSION_H__
|
||||
#define __OCTVC1_IRSC_VERSION_H__
|
||||
|
||||
|
||||
/* The version ID is separated into the following sections:
|
||||
|
||||
bit[31:25]: Major version
|
||||
bit[24:18]: Minor version
|
||||
bit[17:11]: Bug fix version
|
||||
bit[10:0]: Build number
|
||||
*/
|
||||
#define cOCTVC1_IRSC_VERSION_MAJOR 2
|
||||
#define cOCTVC1_IRSC_VERSION_MINOR 2
|
||||
#define cOCTVC1_IRSC_VERSION_MAINTENANCE 4
|
||||
#define cOCTVC1_IRSC_VERSION_BUILD 403
|
||||
|
||||
#define cOCTVC1_IRSC_VERSION_ID ( (cOCTVC1_IRSC_VERSION_MAJOR << 25) + \
|
||||
(cOCTVC1_IRSC_VERSION_MINOR << 18) + \
|
||||
(cOCTVC1_IRSC_VERSION_MAINTENANCE << 11) + \
|
||||
cOCTVC1_IRSC_VERSION_BUILD )
|
||||
|
||||
#endif /* __OCTVC1_IRSC_VERSION_H__ */
|
||||
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_IRSC_VERSION_H__
|
||||
#define __OCTVC1_IRSC_VERSION_H__
|
||||
|
||||
|
||||
/* The version ID is separated into the following sections:
|
||||
|
||||
bit[31:25]: Major version
|
||||
bit[24:18]: Minor version
|
||||
bit[17:11]: Bug fix version
|
||||
bit[10:0]: Build number
|
||||
*/
|
||||
#define cOCTVC1_IRSC_VERSION_MAJOR 2
|
||||
#define cOCTVC1_IRSC_VERSION_MINOR 3
|
||||
#define cOCTVC1_IRSC_VERSION_MAINTENANCE 0
|
||||
#define cOCTVC1_IRSC_VERSION_BUILD 572
|
||||
|
||||
#define cOCTVC1_IRSC_VERSION_ID ( (cOCTVC1_IRSC_VERSION_MAJOR << 25) + \
|
||||
(cOCTVC1_IRSC_VERSION_MINOR << 18) + \
|
||||
(cOCTVC1_IRSC_VERSION_MAINTENANCE << 11) + \
|
||||
cOCTVC1_IRSC_VERSION_BUILD )
|
||||
|
||||
#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
Loading…
Reference in New Issue