Compare commits
2 Commits
Author | SHA1 | Date |
---|---|---|
Harald Welte | 2a83ebb3d2 | |
Harald Welte | a957fb9f74 |
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: OCTDEV_DEVICES.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description:
|
||||
|
||||
|
@ -18,7 +18,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Revision: $
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: octdev_devices_swap.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description:
|
||||
|
||||
|
@ -18,7 +18,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
#ifndef __OCTDEV_DEVICES_SWAP_H__
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: OCTDEV_MACRO.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description:
|
||||
|
||||
|
@ -18,7 +18,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Revision: $
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: OCTDEV_OPUS_REV.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description:
|
||||
|
||||
|
@ -18,7 +18,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Revision: $
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: OCTDEV_RC_BASE.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description:
|
||||
|
||||
|
@ -18,7 +18,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Revision: $
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: OCTDEV_TYPES.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description:
|
||||
|
||||
|
@ -18,7 +18,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Revision: $
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: octdev_types_swap.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description:
|
||||
|
||||
|
@ -18,7 +18,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
#ifndef __OCTDEV_TYPES_SWAP_H__
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: octoption.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Compiler conditionnal directives. 'octoptions_default'
|
||||
|
||||
|
@ -18,7 +18,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Revision: $
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: OCTPKT_HDR.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description:
|
||||
|
||||
|
@ -18,7 +18,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Revision: $
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: octpkt_hdr_swap.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description:
|
||||
|
||||
|
@ -18,7 +18,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
#ifndef __OCTPKT_HDR_SWAP_H__
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: OCTPKT_HDRXL.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description:
|
||||
|
||||
|
@ -18,7 +18,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Revision: $
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: octpkt_hdrxl_swap.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description:
|
||||
|
||||
|
@ -18,7 +18,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
#ifndef __OCTPKT_HDRXL_SWAP_H__
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: OCTVC1_CTRL_API.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the definition of the CTRL API.
|
||||
|
||||
|
@ -18,7 +18,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Revision: $
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: OCTVC1_CTRL_API_PRIV.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the definition of the CTRL API.
|
||||
|
||||
|
@ -18,7 +18,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Revision: $
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
|
||||
File: octvc1_ctrl_api_priv_swap.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description:
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
|
@ -16,7 +16,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: octvc1_ctrl_api_swap.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description:
|
||||
|
||||
|
@ -18,7 +18,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
#ifndef __OCTVC1_CTRL_API_SWAP_H__
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: OCTVC1_CTRL_BASE.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the definition of the OCTVC1 API.
|
||||
|
||||
|
@ -18,7 +18,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: OCTVC1_CTRL_ID.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the identifiers for the CTRL API.
|
||||
|
||||
|
@ -18,7 +18,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: OCTVC1_CTRL_ID_PRIV.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the identifiers for the CTRL API.
|
||||
|
||||
|
@ -18,7 +18,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: OCTVC1_CTRL_VERSION.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the version of the CTRL API interface.
|
||||
|
||||
|
@ -18,7 +18,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
@ -37,8 +37,8 @@ $Octasic_Revision: $
|
|||
*/
|
||||
#define cOCTVC1_CTRL_VERSION_MAJOR 2
|
||||
#define cOCTVC1_CTRL_VERSION_MINOR 7
|
||||
#define cOCTVC1_CTRL_VERSION_MAINTENANCE 0
|
||||
#define cOCTVC1_CTRL_VERSION_BUILD 1039
|
||||
#define cOCTVC1_CTRL_VERSION_MAINTENANCE 1
|
||||
#define cOCTVC1_CTRL_VERSION_BUILD 1351
|
||||
|
||||
#define cOCTVC1_CTRL_VERSION_ID ( (cOCTVC1_CTRL_VERSION_MAJOR << 25) + \
|
||||
(cOCTVC1_CTRL_VERSION_MINOR << 18) + \
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: OCTVC1_GSM_API.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the definition of the GSM API.
|
||||
|
||||
|
@ -18,7 +18,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Revision: $
|
||||
|
||||
|
@ -43,6 +43,7 @@ $Revision: $
|
|||
|
||||
#include "octvc1_gsm_id.h"
|
||||
#include "octvc1_gsm_rc.h"
|
||||
#include "octvc1_gsm_lic.h"
|
||||
|
||||
/************************ COMMON DEFINITIONS *******************************/
|
||||
|
||||
|
@ -78,12 +79,14 @@ $Revision: $
|
|||
#define cOCTVC1_GSM_TIMESLOT_MAX_SUBCHANNEL (cOCTVC1_GSM_TIMESLOT_MAX_SUBCHANNEL_NUMBER+2) /* This is the number of subchannels associated with a timeslot. */
|
||||
#define cOCTVC1_GSM_MAX_FRAME_COUNT 2715647 /* Max frame tick count. */
|
||||
#define cOCTVC1_GSM_DATA_CONTENT_SIZE 460 /* Data content buffer size in bytes. */
|
||||
#define cOCTVC1_GSM_DATA_CONTENT_SIZE_RAW_DI 464 /* Data content buffer size in bytes for RAW Data Indication. */
|
||||
#define cOCTVC1_GSM_RATE_LIST_SIZE 4 /* Rate list size. */
|
||||
#define cOCTVC1_GSM_RACH_IND_MSG_SIZE 32 /* RACH indication content buffer size. */
|
||||
#define cOCTVC1_GSM_TRX_ID_LIST_MAX_ENTRY 32 /* Maximum number of TRX_ID per list. */
|
||||
#define cOCTVC1_GSM_PHYSICAL_CHANNEL_ID_LIST_MAX_ENTRY 32 /* Maximum number of PHYSICAL_CHANNEL_ID per list. */
|
||||
#define cOCTVC1_GSM_LOGICAL_CHANNEL_ID_LIST_MAX_ENTRY 128 /* Maximum number of LOGICAL_CHANNEL_ID per list. */
|
||||
#define cOCTVC1_GSM_CIPHER_KEY_LENGTH 8 /* Cipher key bytes count. */
|
||||
#define cOCTVC1_GSM_MAX_PDCH_DATA_BLOCKS 2 /* Max PDTCH Data Blocks for All MCS. */
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_GSM_CMI_PHASE_ENUM : CMI phase.
|
||||
|
@ -186,6 +189,24 @@ $Revision: $
|
|||
#define cOCTVC1_GSM_TIMESLOT_NB_STUB_ENUM_7 cOCTVC1_GSM_ID_TIMESLOT_NB_STUB_ENUM_7
|
||||
#define cOCTVC1_GSM_TIMESLOT_NB_STUB_ENUM_ALL cOCTVC1_GSM_ID_TIMESLOT_NB_STUB_ENUM_ALL
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_GSM_ID_STUB_MODE_ENUM : Sub Channel Direction.
|
||||
-------------------------------------------------------------------------------------*/
|
||||
#define tOCTVC1_GSM_ID_STUB_MODE_ENUM tOCT_UINT8
|
||||
|
||||
#define cOCTVC1_GSM_ID_STUB_MODE_ENUM_NONE 0
|
||||
#define cOCTVC1_GSM_ID_STUB_MODE_ENUM_IQ_DATA_CAPTURE 1
|
||||
#define cOCTVC1_GSM_ID_STUB_MODE_ENUM_IQ_DATA_STUB 2
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_GSM_STUB_MODE_ENUM : Sub Channel Direction.
|
||||
-------------------------------------------------------------------------------------*/
|
||||
#define tOCTVC1_GSM_STUB_MODE_ENUM tOCT_UINT8
|
||||
|
||||
#define cOCTVC1_GSM_STUB_MODE_ENUM_NONE cOCTVC1_GSM_ID_STUB_MODE_ENUM_NONE
|
||||
#define cOCTVC1_GSM_STUB_MODE_ENUM_IQ_DATA_CAPTURE cOCTVC1_GSM_ID_STUB_MODE_ENUM_IQ_DATA_CAPTURE
|
||||
#define cOCTVC1_GSM_STUB_MODE_ENUM_IQ_DATA_STUB cOCTVC1_GSM_ID_STUB_MODE_ENUM_IQ_DATA_STUB
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_GSM_ID_SUB_CHANNEL_NB_ENUM : Sub Channel number.
|
||||
-------------------------------------------------------------------------------------*/
|
||||
|
@ -250,6 +271,29 @@ $Revision: $
|
|||
#define cOCTVC1_GSM_TEST_MODE_ENUM_TEST_MODE_NONE 0
|
||||
#define cOCTVC1_GSM_TEST_MODE_ENUM_TEST_MODE_TX 1
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_GSM_TEST_MODE_BURST_TYPE_ENUM : TX TEST MODE BURST SELECTION.
|
||||
-------------------------------------------------------------------------------------*/
|
||||
#define tOCTVC1_GSM_TEST_MODE_BURST_TYPE_ENUM tOCT_UINT8
|
||||
|
||||
#define cOCTVC1_GSM_TEST_MODE_BURST_TYPE_ENUM_BURST_0 0
|
||||
#define cOCTVC1_GSM_TEST_MODE_BURST_TYPE_ENUM_BURST_1 1
|
||||
#define cOCTVC1_GSM_TEST_MODE_BURST_TYPE_ENUM_BURST_2 2
|
||||
#define cOCTVC1_GSM_TEST_MODE_BURST_TYPE_ENUM_BURST_3 3
|
||||
#define cOCTVC1_GSM_TEST_MODE_BURST_TYPE_ENUM_BURST_4 4
|
||||
#define cOCTVC1_GSM_TEST_MODE_BURST_TYPE_ENUM_BURST_5 5
|
||||
#define cOCTVC1_GSM_TEST_MODE_BURST_TYPE_ENUM_BURST_6 6
|
||||
#define cOCTVC1_GSM_TEST_MODE_BURST_TYPE_ENUM_BURST_7 7
|
||||
#define cOCTVC1_GSM_TEST_MODE_BURST_TYPE_ENUM_DATA_RAND 8
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_GSM_MODULATION_ENUM : modulation types.
|
||||
-------------------------------------------------------------------------------------*/
|
||||
#define tOCTVC1_GSM_MODULATION_ENUM tOCT_UINT8
|
||||
|
||||
#define cOCTVC1_GSM_MODULATION_ENUM_GMSK 0
|
||||
#define cOCTVC1_GSM_MODULATION_ENUM_EPSK 1
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_GSM_BURST_TYPE_ENUM : Burst type.
|
||||
-------------------------------------------------------------------------------------*/
|
||||
|
@ -267,15 +311,17 @@ $Revision: $
|
|||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_GSM_LOGICAL_CHANNEL_COMBINATION_ENUM : Timeslot channel type.
|
||||
-------------------------------------------------------------------------------------*/
|
||||
#define tOCTVC1_GSM_LOGICAL_CHANNEL_COMBINATION_ENUM tOCT_UINT32
|
||||
#define tOCTVC1_GSM_LOGICAL_CHANNEL_COMBINATION_ENUM tOCT_UINT32
|
||||
|
||||
#define cOCTVC1_GSM_LOGICAL_CHANNEL_COMBINATION_ENUM_EMPTY 0
|
||||
#define cOCTVC1_GSM_LOGICAL_CHANNEL_COMBINATION_ENUM_TCHF_FACCHF_SACCHTF 1
|
||||
#define cOCTVC1_GSM_LOGICAL_CHANNEL_COMBINATION_ENUM_TCHH_FACCHH_SACCHTH 2
|
||||
#define cOCTVC1_GSM_LOGICAL_CHANNEL_COMBINATION_ENUM_FCCH_SCH_BCCH_CCCH 3
|
||||
#define cOCTVC1_GSM_LOGICAL_CHANNEL_COMBINATION_ENUM_FCCH_SCH_BCCH_CCCH_SDCCH4_SACCHC4 4
|
||||
#define cOCTVC1_GSM_LOGICAL_CHANNEL_COMBINATION_ENUM_SDCCH8_SACCHC8 5
|
||||
#define cOCTVC1_GSM_LOGICAL_CHANNEL_COMBINATION_ENUM_PDTCHF_PACCHF_PTCCHF 6
|
||||
#define cOCTVC1_GSM_LOGICAL_CHANNEL_COMBINATION_ENUM_EMPTY 0
|
||||
#define cOCTVC1_GSM_LOGICAL_CHANNEL_COMBINATION_ENUM_TCHF_FACCHF_SACCHTF 1
|
||||
#define cOCTVC1_GSM_LOGICAL_CHANNEL_COMBINATION_ENUM_TCHH_FACCHH_SACCHTH 2
|
||||
#define cOCTVC1_GSM_LOGICAL_CHANNEL_COMBINATION_ENUM_FCCH_SCH_BCCH_CCCH 3
|
||||
#define cOCTVC1_GSM_LOGICAL_CHANNEL_COMBINATION_ENUM_FCCH_SCH_BCCH_CCCH_SDCCH4_SACCHC4 4
|
||||
#define cOCTVC1_GSM_LOGICAL_CHANNEL_COMBINATION_ENUM_SDCCH8_SACCHC8 5
|
||||
#define cOCTVC1_GSM_LOGICAL_CHANNEL_COMBINATION_ENUM_FCCH_SCH_BCCH_CCCH_SDCCH4_CBCH_SACCHC4 6
|
||||
#define cOCTVC1_GSM_LOGICAL_CHANNEL_COMBINATION_ENUM_SDCCH8_CBCH_SACCHC8 7
|
||||
#define cOCTVC1_GSM_LOGICAL_CHANNEL_COMBINATION_ENUM_PDTCHF_PACCHF_PTCCHF 8
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_GSM_PAYLOAD_TYPE_ENUM :
|
||||
|
@ -423,11 +469,21 @@ typedef struct
|
|||
ulTxAttndB
|
||||
Range: [0..359]
|
||||
Tx attenuation Db. (in 1/4 dB)
|
||||
ulTxAntennaId
|
||||
Range: [0..1]
|
||||
Default: 0
|
||||
TX Antenna Index
|
||||
ulRxAntennaId
|
||||
Range: [0..1]
|
||||
Default: 0
|
||||
RX Antenna Index
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCT_UINT32 ulRxGainDb;
|
||||
tOCT_UINT32 ulTxAttndB;
|
||||
tOCT_UINT32 ulTxAntennaId;
|
||||
tOCT_UINT32 ulRxAntennaId;
|
||||
|
||||
} tOCTVC1_GSM_RF_CONFIG;
|
||||
|
||||
|
@ -441,9 +497,10 @@ typedef struct
|
|||
Default: 0
|
||||
usArfcn
|
||||
usBcchArfcn
|
||||
usCentreArfcn
|
||||
usHsn
|
||||
usMaio
|
||||
usReserve
|
||||
ausReserve
|
||||
ulHoppingFlag
|
||||
ulHoppingListLength
|
||||
ausHoppingList
|
||||
|
@ -454,9 +511,10 @@ typedef struct
|
|||
tOCT_UINT16 usTsc;
|
||||
tOCT_UINT16 usArfcn;
|
||||
tOCT_UINT16 usBcchArfcn;
|
||||
tOCT_UINT16 usCentreArfcn;
|
||||
tOCT_UINT16 usHsn;
|
||||
tOCT_UINT16 usMaio;
|
||||
tOCT_UINT16 usReserve;
|
||||
tOCT_UINT16 ausReserve[2];
|
||||
tOCT_BOOL32 ulHoppingFlag;
|
||||
tOCT_UINT32 ulHoppingListLength;
|
||||
tOCT_UINT16 ausHoppingList[cOCTVC1_GSM_HOPPING_LIST_MAX_ENTRY];
|
||||
|
@ -552,25 +610,23 @@ typedef struct
|
|||
} tOCTVC1_GSM_CIPHER_CONFIG;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_GSM_BUFF_ADDR
|
||||
tOCTVC1_GSM_STUB_STATUS
|
||||
Buffer address
|
||||
|
||||
Members:
|
||||
IQ_SAMPLE_ADDR
|
||||
Range: [0..2147483647]
|
||||
Default: 0
|
||||
Adress of Real Pointer
|
||||
IQ_SAMPLE_ADDR_RACH
|
||||
Range: [0..2147483647]
|
||||
byTimeslotUsed
|
||||
Range: [0..65536]
|
||||
Default: 0
|
||||
Adress of Real Pointer
|
||||
byStubMode
|
||||
STUB_MODE_ENUM.
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCT_UINT32 IQ_SAMPLE_ADDR;
|
||||
tOCT_UINT32 IQ_SAMPLE_ADDR_RACH;
|
||||
tOCT_UINT16 byTimeslotUsed;
|
||||
tOCTVC1_GSM_STUB_MODE_ENUM byStubMode;
|
||||
|
||||
} tOCTVC1_GSM_BUFF_ADDR;
|
||||
} tOCTVC1_GSM_STUB_STATUS;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_GSM_STUB_CHANNEL_ID
|
||||
|
@ -582,15 +638,19 @@ typedef struct
|
|||
bySubChannelNb
|
||||
Default: cOCTVC1_GSM_ID_SUB_CHANNEL_NB_ENUM_0
|
||||
Sub-Channel number.
|
||||
CHANNEL_TYPE
|
||||
bySAPI
|
||||
Default: cOCTVC1_GSM_SAPI_ENUM_TCHF
|
||||
CHANNEL_TYPE.
|
||||
byStubMode
|
||||
Default: cOCTVC1_GSM_STUB_MODE_ENUM_NONE
|
||||
STUB_MODE_ENUM.
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_GSM_TIMESLOT_NB_STUB_ENUM byTimeslotNb;
|
||||
tOCTVC1_GSM_ID_SUB_CHANNEL_NB_ENUM bySubChannelNb;
|
||||
tOCTVC1_GSM_SAPI_ENUM CHANNEL_TYPE;
|
||||
tOCTVC1_GSM_SAPI_ENUM bySAPI;
|
||||
tOCTVC1_GSM_STUB_MODE_ENUM byStubMode;
|
||||
|
||||
} tOCTVC1_GSM_STUB_CHANNEL_ID;
|
||||
|
||||
|
@ -683,7 +743,7 @@ typedef struct
|
|||
The data contents are an array of size usDataLength. The current implementation
|
||||
is incorrect.
|
||||
abyEgprsCrc
|
||||
EGPRS CRC Status for Max TWO Blocks.
|
||||
EGPRS CRC Status for Max PDCH Data Blocks.
|
||||
abyPadding
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
|
@ -692,7 +752,7 @@ typedef struct
|
|||
tOCTVC1_GSM_PAYLOAD_TYPE_ENUM ulPayloadType;
|
||||
tOCT_UINT32 ulDataLength;
|
||||
tOCT_UINT8 abyDataContent[cOCTVC1_GSM_DATA_CONTENT_SIZE];
|
||||
tOCT_UINT8 abyEgprsCrc[2];
|
||||
tOCT_UINT8 abyEgprsCrc[cOCTVC1_GSM_MAX_PDCH_DATA_BLOCKS];
|
||||
tOCT_UINT8 abyPadding[6];
|
||||
|
||||
} tOCTVC1_GSM_LOGICAL_CHANNEL_DATA;
|
||||
|
@ -704,16 +764,15 @@ typedef struct
|
|||
ulFrameNumber
|
||||
Range: [..cOCTVC1_GSM_MAX_FRAME_COUNT]
|
||||
ulDataLength
|
||||
Range: [..cOCTVC1_GSM_DATA_CONTENT_SIZE]
|
||||
Range: [..cOCTVC1_GSM_DATA_CONTENT_SIZE_RAW_DI]
|
||||
abyDataContent
|
||||
The data contents are an array of size usDataLength. The current implementation
|
||||
is incorrect.
|
||||
The data contents are an array of size usDataLength.
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCT_UINT32 ulFrameNumber;
|
||||
tOCT_UINT32 ulDataLength;
|
||||
tOCT_UINT8 abyDataContent[cOCTVC1_GSM_DATA_CONTENT_SIZE];
|
||||
tOCT_UINT8 abyDataContent[cOCTVC1_GSM_DATA_CONTENT_SIZE_RAW_DI];
|
||||
|
||||
} tOCTVC1_GSM_LOGICAL_CHANNEL_RAW_DATA;
|
||||
|
||||
|
@ -727,8 +786,8 @@ typedef struct
|
|||
sBurstTiming4x
|
||||
usBERCnt
|
||||
usBERTotalBitCnt
|
||||
usRxQualFullUp
|
||||
usRxLevelFullUp
|
||||
uLReserved0
|
||||
uLReserved1
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
|
@ -738,8 +797,8 @@ typedef struct
|
|||
tOCT_INT16 sBurstTiming4x;
|
||||
tOCT_UINT16 usBERCnt;
|
||||
tOCT_UINT16 usBERTotalBitCnt;
|
||||
tOCT_UINT16 usRxQualFullUp;
|
||||
tOCT_UINT16 usRxLevelFullUp;
|
||||
tOCT_UINT16 uLReserved0;
|
||||
tOCT_UINT16 uLReserved1;
|
||||
|
||||
} tOCTVC1_GSM_MEASUREMENT_INFO;
|
||||
|
||||
|
@ -756,6 +815,7 @@ typedef struct
|
|||
usTrSqErrCnt
|
||||
usTrSqTotalBitCnt
|
||||
sFreqErrHz
|
||||
usReserved
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
|
@ -768,6 +828,7 @@ typedef struct
|
|||
tOCT_UINT16 usTrSqErrCnt;
|
||||
tOCT_UINT16 usTrSqTotalBitCnt;
|
||||
tOCT_INT16 sFreqErrHz;
|
||||
tOCT_UINT16 usReserved;
|
||||
|
||||
} tOCTVC1_GSM_RAW_MEASUREMENT_INFO;
|
||||
|
||||
|
@ -806,8 +867,8 @@ typedef struct
|
|||
tOCT_UINT32 ulTchDataCrcPassCount;
|
||||
tOCT_UINT32 ulTchDataCrcFailCount;
|
||||
tOCT_UINT32 ulRachCount;
|
||||
tOCT_UINT32 aulPdtchCrcPassCount[2];
|
||||
tOCT_UINT32 aulPdtchCrcFailCount[2];
|
||||
tOCT_UINT32 aulPdtchCrcPassCount[cOCTVC1_GSM_MAX_PDCH_DATA_BLOCKS];
|
||||
tOCT_UINT32 aulPdtchCrcFailCount[cOCTVC1_GSM_MAX_PDCH_DATA_BLOCKS];
|
||||
|
||||
} tOCTVC1_GSM_PHYSICAL_STATUS;
|
||||
|
||||
|
@ -2398,7 +2459,7 @@ typedef struct
|
|||
} tOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_CMU_LOOPBACK_TEST_RSP;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_CMD
|
||||
tOCTVC1_GSM_MSG_TRX_INFO_STUBB_LOOPBACK_TEST_CMD
|
||||
|
||||
Members:
|
||||
Header
|
||||
|
@ -2411,26 +2472,26 @@ typedef struct
|
|||
tOCTVC1_MSG_HEADER Header;
|
||||
tOCTVC1_GSM_TRX_ID TrxId;
|
||||
|
||||
} tOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_CMD;
|
||||
} tOCTVC1_GSM_MSG_TRX_INFO_STUBB_LOOPBACK_TEST_CMD;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_RSP
|
||||
tOCTVC1_GSM_MSG_TRX_INFO_STUBB_LOOPBACK_TEST_RSP
|
||||
|
||||
Members:
|
||||
Header
|
||||
OCTVC1 Message Header
|
||||
TrxId
|
||||
Unique TRX identifier
|
||||
BuffADDR
|
||||
Buf Address pointer
|
||||
StubStatus
|
||||
stub timeslot status bitwise
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_MSG_HEADER Header;
|
||||
tOCTVC1_GSM_TRX_ID TrxId;
|
||||
tOCTVC1_GSM_BUFF_ADDR BuffADDR;
|
||||
tOCTVC1_GSM_STUB_STATUS StubStatus;
|
||||
|
||||
} tOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_RSP;
|
||||
} tOCTVC1_GSM_MSG_TRX_INFO_STUBB_LOOPBACK_TEST_RSP;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_GSM_MSG_TRX_START_STUBB_LOOPBACK_TEST_CMD
|
||||
|
@ -2476,6 +2537,8 @@ typedef struct
|
|||
Timeslot number.
|
||||
bySubChannelNb
|
||||
Sub-Channel number.
|
||||
byStubMode
|
||||
STUB_MODE_ENUM.
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
|
@ -2483,6 +2546,7 @@ typedef struct
|
|||
tOCTVC1_GSM_TRX_ID TrxId;
|
||||
tOCTVC1_GSM_TIMESLOT_NB_STUB_ENUM byTimeslotNb;
|
||||
tOCTVC1_GSM_ID_SUB_CHANNEL_NB_ENUM bySubChannelNb;
|
||||
tOCTVC1_GSM_STUB_MODE_ENUM byStubMode;
|
||||
|
||||
} tOCTVC1_GSM_MSG_TRX_STOP_STUBB_LOOPBACK_TEST_CMD;
|
||||
|
||||
|
@ -2509,12 +2573,19 @@ typedef struct
|
|||
Unique TRX identifier
|
||||
testModeVal
|
||||
Test Mode None/TX
|
||||
modulation
|
||||
modulation type
|
||||
abyBurstType
|
||||
Default: cOCTVC1_GSM_TEST_MODE_BURST_TYPE_ENUM_DATA_RAND
|
||||
Burst Type on Time Slots
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_MSG_HEADER Header;
|
||||
tOCTVC1_GSM_TRX_ID TrxId;
|
||||
tOCTVC1_GSM_TEST_MODE_ENUM testModeVal;
|
||||
tOCTVC1_MSG_HEADER Header;
|
||||
tOCTVC1_GSM_TRX_ID TrxId;
|
||||
tOCTVC1_GSM_TEST_MODE_ENUM testModeVal;
|
||||
tOCTVC1_GSM_MODULATION_ENUM modulation;
|
||||
tOCTVC1_GSM_TEST_MODE_BURST_TYPE_ENUM abyBurstType[cOCTVC1_GSM_TRX_MAX_TIMESLOTS];
|
||||
|
||||
} tOCTVC1_GSM_MSG_TRX_MODIFY_TEST_MODE_CMD;
|
||||
|
||||
|
@ -2555,11 +2626,14 @@ typedef struct
|
|||
OCTVC1 Message Header
|
||||
testModeVal
|
||||
Test Mode None/TX
|
||||
modulation
|
||||
modulation type
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_MSG_HEADER Header;
|
||||
tOCTVC1_GSM_TEST_MODE_ENUM testModeVal;
|
||||
tOCTVC1_GSM_MODULATION_ENUM modulation;
|
||||
|
||||
} tOCTVC1_GSM_MSG_TRX_INFO_TEST_MODE_RSP;
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: OCTVC1_GSM_API_PRIV.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the definition of the GSM API.
|
||||
|
||||
|
@ -18,7 +18,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Revision: $
|
||||
|
||||
|
@ -32,6 +32,7 @@ $Revision: $
|
|||
#include "octvc1_gsm_api.h"
|
||||
#include "octvc1_gsm_id_priv.h"
|
||||
#include "octvc1_gsm_rc_priv.h"
|
||||
#include "octvc1_gsm_lic_priv.h"
|
||||
|
||||
/************************ COMMON DEFINITIONS *******************************/
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
|
||||
File: octvc1_gsm_api_priv_swap.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description:
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
|
@ -16,7 +16,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: octvc1_gsm_api_swap.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description:
|
||||
|
||||
|
@ -18,7 +18,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
#ifndef __OCTVC1_GSM_API_SWAP_H__
|
||||
|
@ -72,6 +72,12 @@ extern "C" {
|
|||
#endif /* _OCT_ENDIAN_TYPE_LE_ */
|
||||
|
||||
|
||||
#define mOCTVC1_GSM_ID_STUB_MODE_ENUM_SWAP( pType ) /* tOCT_UINT8 */
|
||||
|
||||
|
||||
#define mOCTVC1_GSM_STUB_MODE_ENUM_SWAP( pType ) /* tOCT_UINT8 */
|
||||
|
||||
|
||||
#define mOCTVC1_GSM_ID_SUB_CHANNEL_NB_ENUM_SWAP( pType ) /* tOCT_UINT8 */
|
||||
|
||||
#if defined( _OCT_ENDIAN_TYPE_LE_ )
|
||||
|
@ -104,6 +110,12 @@ extern "C" {
|
|||
|
||||
#define mOCTVC1_GSM_TEST_MODE_ENUM_SWAP( pType ) /* tOCT_UINT8 */
|
||||
|
||||
|
||||
#define mOCTVC1_GSM_TEST_MODE_BURST_TYPE_ENUM_SWAP( pType ) /* tOCT_UINT8 */
|
||||
|
||||
|
||||
#define mOCTVC1_GSM_MODULATION_ENUM_SWAP( pType ) /* tOCT_UINT8 */
|
||||
|
||||
#if defined( _OCT_ENDIAN_TYPE_LE_ )
|
||||
#define mOCTVC1_GSM_BURST_TYPE_ENUM_SWAP( pType ){ \
|
||||
*((tOCT_UINT32 *)pType) = mOCT_SWAP32_IF_LE( *((tOCT_UINT32 *)pType) ); }
|
||||
|
@ -181,6 +193,10 @@ extern "C" {
|
|||
mOCT_SWAP32_IF_LE(((tOCTVC1_GSM_RF_CONFIG *)pOCTVC1_GSM_RF_CONFIG)->ulRxGainDb); \
|
||||
((tOCTVC1_GSM_RF_CONFIG *)pOCTVC1_GSM_RF_CONFIG)->ulTxAttndB = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_GSM_RF_CONFIG *)pOCTVC1_GSM_RF_CONFIG)->ulTxAttndB); \
|
||||
((tOCTVC1_GSM_RF_CONFIG *)pOCTVC1_GSM_RF_CONFIG)->ulTxAntennaId = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_GSM_RF_CONFIG *)pOCTVC1_GSM_RF_CONFIG)->ulTxAntennaId); \
|
||||
((tOCTVC1_GSM_RF_CONFIG *)pOCTVC1_GSM_RF_CONFIG)->ulRxAntennaId = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_GSM_RF_CONFIG *)pOCTVC1_GSM_RF_CONFIG)->ulRxAntennaId); \
|
||||
}
|
||||
#else
|
||||
#define mOCTVC1_GSM_RF_CONFIG_SWAP( pOCTVC1_GSM_RF_CONFIG )
|
||||
|
@ -195,12 +211,17 @@ extern "C" {
|
|||
mOCT_SWAP16_IF_LE(((tOCTVC1_GSM_TRX_CONFIG *)pOCTVC1_GSM_TRX_CONFIG)->usArfcn); \
|
||||
((tOCTVC1_GSM_TRX_CONFIG *)pOCTVC1_GSM_TRX_CONFIG)->usBcchArfcn = \
|
||||
mOCT_SWAP16_IF_LE(((tOCTVC1_GSM_TRX_CONFIG *)pOCTVC1_GSM_TRX_CONFIG)->usBcchArfcn); \
|
||||
((tOCTVC1_GSM_TRX_CONFIG *)pOCTVC1_GSM_TRX_CONFIG)->usCentreArfcn = \
|
||||
mOCT_SWAP16_IF_LE(((tOCTVC1_GSM_TRX_CONFIG *)pOCTVC1_GSM_TRX_CONFIG)->usCentreArfcn); \
|
||||
((tOCTVC1_GSM_TRX_CONFIG *)pOCTVC1_GSM_TRX_CONFIG)->usHsn = \
|
||||
mOCT_SWAP16_IF_LE(((tOCTVC1_GSM_TRX_CONFIG *)pOCTVC1_GSM_TRX_CONFIG)->usHsn); \
|
||||
((tOCTVC1_GSM_TRX_CONFIG *)pOCTVC1_GSM_TRX_CONFIG)->usMaio = \
|
||||
mOCT_SWAP16_IF_LE(((tOCTVC1_GSM_TRX_CONFIG *)pOCTVC1_GSM_TRX_CONFIG)->usMaio); \
|
||||
((tOCTVC1_GSM_TRX_CONFIG *)pOCTVC1_GSM_TRX_CONFIG)->usReserve = \
|
||||
mOCT_SWAP16_IF_LE(((tOCTVC1_GSM_TRX_CONFIG *)pOCTVC1_GSM_TRX_CONFIG)->usReserve); \
|
||||
{ tOCT_UINT32 iOCTVC1_GSM_TRX_CONFIG; \
|
||||
for( iOCTVC1_GSM_TRX_CONFIG=0; \
|
||||
iOCTVC1_GSM_TRX_CONFIG<(2);iOCTVC1_GSM_TRX_CONFIG++ ) \
|
||||
((tOCTVC1_GSM_TRX_CONFIG *)pOCTVC1_GSM_TRX_CONFIG)->ausReserve[iOCTVC1_GSM_TRX_CONFIG] = \
|
||||
mOCT_SWAP16_IF_LE(((tOCTVC1_GSM_TRX_CONFIG *)pOCTVC1_GSM_TRX_CONFIG)->ausReserve[iOCTVC1_GSM_TRX_CONFIG]);} \
|
||||
((tOCTVC1_GSM_TRX_CONFIG *)pOCTVC1_GSM_TRX_CONFIG)->ulHoppingFlag = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_GSM_TRX_CONFIG *)pOCTVC1_GSM_TRX_CONFIG)->ulHoppingFlag); \
|
||||
((tOCTVC1_GSM_TRX_CONFIG *)pOCTVC1_GSM_TRX_CONFIG)->ulHoppingListLength = \
|
||||
|
@ -270,21 +291,21 @@ extern "C" {
|
|||
#endif /* _OCT_ENDIAN_TYPE_LE_ */
|
||||
|
||||
#if defined( _OCT_ENDIAN_TYPE_LE_ )
|
||||
#define mOCTVC1_GSM_BUFF_ADDR_SWAP( _f_pParms ){ tOCTVC1_GSM_BUFF_ADDR * pOCTVC1_GSM_BUFF_ADDR = (_f_pParms); SWAP_UNUSED(pOCTVC1_GSM_BUFF_ADDR)\
|
||||
((tOCTVC1_GSM_BUFF_ADDR *)pOCTVC1_GSM_BUFF_ADDR)->IQ_SAMPLE_ADDR = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_GSM_BUFF_ADDR *)pOCTVC1_GSM_BUFF_ADDR)->IQ_SAMPLE_ADDR); \
|
||||
((tOCTVC1_GSM_BUFF_ADDR *)pOCTVC1_GSM_BUFF_ADDR)->IQ_SAMPLE_ADDR_RACH = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_GSM_BUFF_ADDR *)pOCTVC1_GSM_BUFF_ADDR)->IQ_SAMPLE_ADDR_RACH); \
|
||||
#define mOCTVC1_GSM_STUB_STATUS_SWAP( _f_pParms ){ tOCTVC1_GSM_STUB_STATUS * pOCTVC1_GSM_STUB_STATUS = (_f_pParms); SWAP_UNUSED(pOCTVC1_GSM_STUB_STATUS)\
|
||||
((tOCTVC1_GSM_STUB_STATUS *)pOCTVC1_GSM_STUB_STATUS)->byTimeslotUsed = \
|
||||
mOCT_SWAP16_IF_LE(((tOCTVC1_GSM_STUB_STATUS *)pOCTVC1_GSM_STUB_STATUS)->byTimeslotUsed); \
|
||||
{ mOCTVC1_GSM_STUB_MODE_ENUM_SWAP( &((tOCTVC1_GSM_STUB_STATUS *)pOCTVC1_GSM_STUB_STATUS)->byStubMode ); } \
|
||||
}
|
||||
#else
|
||||
#define mOCTVC1_GSM_BUFF_ADDR_SWAP( pOCTVC1_GSM_BUFF_ADDR )
|
||||
#define mOCTVC1_GSM_STUB_STATUS_SWAP( pOCTVC1_GSM_STUB_STATUS )
|
||||
#endif /* _OCT_ENDIAN_TYPE_LE_ */
|
||||
|
||||
#if defined( _OCT_ENDIAN_TYPE_LE_ )
|
||||
#define mOCTVC1_GSM_STUB_CHANNEL_ID_SWAP( _f_pParms ){ tOCTVC1_GSM_STUB_CHANNEL_ID * pOCTVC1_GSM_STUB_CHANNEL_ID = (_f_pParms); SWAP_UNUSED(pOCTVC1_GSM_STUB_CHANNEL_ID)\
|
||||
{ mOCTVC1_GSM_TIMESLOT_NB_STUB_ENUM_SWAP( &((tOCTVC1_GSM_STUB_CHANNEL_ID *)pOCTVC1_GSM_STUB_CHANNEL_ID)->byTimeslotNb ); } \
|
||||
{ mOCTVC1_GSM_ID_SUB_CHANNEL_NB_ENUM_SWAP( &((tOCTVC1_GSM_STUB_CHANNEL_ID *)pOCTVC1_GSM_STUB_CHANNEL_ID)->bySubChannelNb ); } \
|
||||
{ mOCTVC1_GSM_SAPI_ENUM_SWAP( &((tOCTVC1_GSM_STUB_CHANNEL_ID *)pOCTVC1_GSM_STUB_CHANNEL_ID)->CHANNEL_TYPE ); } \
|
||||
{ mOCTVC1_GSM_SAPI_ENUM_SWAP( &((tOCTVC1_GSM_STUB_CHANNEL_ID *)pOCTVC1_GSM_STUB_CHANNEL_ID)->bySAPI ); } \
|
||||
{ mOCTVC1_GSM_STUB_MODE_ENUM_SWAP( &((tOCTVC1_GSM_STUB_CHANNEL_ID *)pOCTVC1_GSM_STUB_CHANNEL_ID)->byStubMode ); } \
|
||||
}
|
||||
#else
|
||||
#define mOCTVC1_GSM_STUB_CHANNEL_ID_SWAP( pOCTVC1_GSM_STUB_CHANNEL_ID )
|
||||
|
@ -369,10 +390,10 @@ extern "C" {
|
|||
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); \
|
||||
((tOCTVC1_GSM_MEASUREMENT_INFO *)pOCTVC1_GSM_MEASUREMENT_INFO)->uLReserved0 = \
|
||||
mOCT_SWAP16_IF_LE(((tOCTVC1_GSM_MEASUREMENT_INFO *)pOCTVC1_GSM_MEASUREMENT_INFO)->uLReserved0); \
|
||||
((tOCTVC1_GSM_MEASUREMENT_INFO *)pOCTVC1_GSM_MEASUREMENT_INFO)->uLReserved1 = \
|
||||
mOCT_SWAP16_IF_LE(((tOCTVC1_GSM_MEASUREMENT_INFO *)pOCTVC1_GSM_MEASUREMENT_INFO)->uLReserved1); \
|
||||
}
|
||||
#else
|
||||
#define mOCTVC1_GSM_MEASUREMENT_INFO_SWAP( pOCTVC1_GSM_MEASUREMENT_INFO )
|
||||
|
@ -398,6 +419,8 @@ extern "C" {
|
|||
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); \
|
||||
((tOCTVC1_GSM_RAW_MEASUREMENT_INFO *)pOCTVC1_GSM_RAW_MEASUREMENT_INFO)->usReserved = \
|
||||
mOCT_SWAP16_IF_LE(((tOCTVC1_GSM_RAW_MEASUREMENT_INFO *)pOCTVC1_GSM_RAW_MEASUREMENT_INFO)->usReserved); \
|
||||
}
|
||||
#else
|
||||
#define mOCTVC1_GSM_RAW_MEASUREMENT_INFO_SWAP( pOCTVC1_GSM_RAW_MEASUREMENT_INFO )
|
||||
|
@ -429,12 +452,12 @@ extern "C" {
|
|||
mOCT_SWAP32_IF_LE(((tOCTVC1_GSM_PHYSICAL_STATUS *)pOCTVC1_GSM_PHYSICAL_STATUS)->ulRachCount); \
|
||||
{ tOCT_UINT32 iOCTVC1_GSM_PHYSICAL_STATUS; \
|
||||
for( iOCTVC1_GSM_PHYSICAL_STATUS=0; \
|
||||
iOCTVC1_GSM_PHYSICAL_STATUS<(2);iOCTVC1_GSM_PHYSICAL_STATUS++ ) \
|
||||
iOCTVC1_GSM_PHYSICAL_STATUS<(cOCTVC1_GSM_MAX_PDCH_DATA_BLOCKS);iOCTVC1_GSM_PHYSICAL_STATUS++ ) \
|
||||
((tOCTVC1_GSM_PHYSICAL_STATUS *)pOCTVC1_GSM_PHYSICAL_STATUS)->aulPdtchCrcPassCount[iOCTVC1_GSM_PHYSICAL_STATUS] = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_GSM_PHYSICAL_STATUS *)pOCTVC1_GSM_PHYSICAL_STATUS)->aulPdtchCrcPassCount[iOCTVC1_GSM_PHYSICAL_STATUS]);}\
|
||||
{ tOCT_UINT32 iOCTVC1_GSM_PHYSICAL_STATUS; \
|
||||
for( iOCTVC1_GSM_PHYSICAL_STATUS=0; \
|
||||
iOCTVC1_GSM_PHYSICAL_STATUS<(2);iOCTVC1_GSM_PHYSICAL_STATUS++ ) \
|
||||
iOCTVC1_GSM_PHYSICAL_STATUS<(cOCTVC1_GSM_MAX_PDCH_DATA_BLOCKS);iOCTVC1_GSM_PHYSICAL_STATUS++ ) \
|
||||
((tOCTVC1_GSM_PHYSICAL_STATUS *)pOCTVC1_GSM_PHYSICAL_STATUS)->aulPdtchCrcFailCount[iOCTVC1_GSM_PHYSICAL_STATUS] = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_GSM_PHYSICAL_STATUS *)pOCTVC1_GSM_PHYSICAL_STATUS)->aulPdtchCrcFailCount[iOCTVC1_GSM_PHYSICAL_STATUS]);}\
|
||||
}
|
||||
|
@ -1342,22 +1365,22 @@ extern "C" {
|
|||
#endif /* _OCT_ENDIAN_TYPE_LE_ */
|
||||
|
||||
#if defined( _OCT_ENDIAN_TYPE_LE_ )
|
||||
#define mOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_CMD_SWAP( _f_pParms ){ tOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_CMD * pOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_CMD = (_f_pParms); SWAP_UNUSED(pOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_CMD)\
|
||||
{ mOCTVC1_MSG_HEADER_SWAP( &((tOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_CMD *)pOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_CMD)->Header ); } \
|
||||
{ mOCTVC1_GSM_TRX_ID_SWAP( &((tOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_CMD *)pOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_CMD)->TrxId ); } \
|
||||
#define mOCTVC1_GSM_MSG_TRX_INFO_STUBB_LOOPBACK_TEST_CMD_SWAP( _f_pParms ){ tOCTVC1_GSM_MSG_TRX_INFO_STUBB_LOOPBACK_TEST_CMD * pOCTVC1_GSM_MSG_TRX_INFO_STUBB_LOOPBACK_TEST_CMD = (_f_pParms); SWAP_UNUSED(pOCTVC1_GSM_MSG_TRX_INFO_STUBB_LOOPBACK_TEST_CMD)\
|
||||
{ mOCTVC1_MSG_HEADER_SWAP( &((tOCTVC1_GSM_MSG_TRX_INFO_STUBB_LOOPBACK_TEST_CMD *)pOCTVC1_GSM_MSG_TRX_INFO_STUBB_LOOPBACK_TEST_CMD)->Header ); } \
|
||||
{ mOCTVC1_GSM_TRX_ID_SWAP( &((tOCTVC1_GSM_MSG_TRX_INFO_STUBB_LOOPBACK_TEST_CMD *)pOCTVC1_GSM_MSG_TRX_INFO_STUBB_LOOPBACK_TEST_CMD)->TrxId ); } \
|
||||
}
|
||||
#else
|
||||
#define mOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_CMD_SWAP( pOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_CMD )
|
||||
#define mOCTVC1_GSM_MSG_TRX_INFO_STUBB_LOOPBACK_TEST_CMD_SWAP( pOCTVC1_GSM_MSG_TRX_INFO_STUBB_LOOPBACK_TEST_CMD )
|
||||
#endif /* _OCT_ENDIAN_TYPE_LE_ */
|
||||
|
||||
#if defined( _OCT_ENDIAN_TYPE_LE_ )
|
||||
#define mOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_RSP_SWAP( _f_pParms ){ tOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_RSP * pOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_RSP = (_f_pParms); SWAP_UNUSED(pOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_RSP)\
|
||||
{ mOCTVC1_MSG_HEADER_SWAP( &((tOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_RSP *)pOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_RSP)->Header ); } \
|
||||
{ mOCTVC1_GSM_TRX_ID_SWAP( &((tOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_RSP *)pOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_RSP)->TrxId ); } \
|
||||
{ mOCTVC1_GSM_BUFF_ADDR_SWAP( &((tOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_RSP *)pOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_RSP)->BuffADDR ); } \
|
||||
#define mOCTVC1_GSM_MSG_TRX_INFO_STUBB_LOOPBACK_TEST_RSP_SWAP( _f_pParms ){ tOCTVC1_GSM_MSG_TRX_INFO_STUBB_LOOPBACK_TEST_RSP * pOCTVC1_GSM_MSG_TRX_INFO_STUBB_LOOPBACK_TEST_RSP = (_f_pParms); SWAP_UNUSED(pOCTVC1_GSM_MSG_TRX_INFO_STUBB_LOOPBACK_TEST_RSP)\
|
||||
{ mOCTVC1_MSG_HEADER_SWAP( &((tOCTVC1_GSM_MSG_TRX_INFO_STUBB_LOOPBACK_TEST_RSP *)pOCTVC1_GSM_MSG_TRX_INFO_STUBB_LOOPBACK_TEST_RSP)->Header ); } \
|
||||
{ mOCTVC1_GSM_TRX_ID_SWAP( &((tOCTVC1_GSM_MSG_TRX_INFO_STUBB_LOOPBACK_TEST_RSP *)pOCTVC1_GSM_MSG_TRX_INFO_STUBB_LOOPBACK_TEST_RSP)->TrxId ); } \
|
||||
{ mOCTVC1_GSM_STUB_STATUS_SWAP( &((tOCTVC1_GSM_MSG_TRX_INFO_STUBB_LOOPBACK_TEST_RSP *)pOCTVC1_GSM_MSG_TRX_INFO_STUBB_LOOPBACK_TEST_RSP)->StubStatus ); } \
|
||||
}
|
||||
#else
|
||||
#define mOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_RSP_SWAP( pOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_RSP )
|
||||
#define mOCTVC1_GSM_MSG_TRX_INFO_STUBB_LOOPBACK_TEST_RSP_SWAP( pOCTVC1_GSM_MSG_TRX_INFO_STUBB_LOOPBACK_TEST_RSP )
|
||||
#endif /* _OCT_ENDIAN_TYPE_LE_ */
|
||||
|
||||
#if defined( _OCT_ENDIAN_TYPE_LE_ )
|
||||
|
@ -1384,6 +1407,7 @@ extern "C" {
|
|||
{ mOCTVC1_GSM_TRX_ID_SWAP( &((tOCTVC1_GSM_MSG_TRX_STOP_STUBB_LOOPBACK_TEST_CMD *)pOCTVC1_GSM_MSG_TRX_STOP_STUBB_LOOPBACK_TEST_CMD)->TrxId ); } \
|
||||
{ mOCTVC1_GSM_TIMESLOT_NB_STUB_ENUM_SWAP( &((tOCTVC1_GSM_MSG_TRX_STOP_STUBB_LOOPBACK_TEST_CMD *)pOCTVC1_GSM_MSG_TRX_STOP_STUBB_LOOPBACK_TEST_CMD)->byTimeslotNb ); } \
|
||||
{ mOCTVC1_GSM_ID_SUB_CHANNEL_NB_ENUM_SWAP( &((tOCTVC1_GSM_MSG_TRX_STOP_STUBB_LOOPBACK_TEST_CMD *)pOCTVC1_GSM_MSG_TRX_STOP_STUBB_LOOPBACK_TEST_CMD)->bySubChannelNb ); } \
|
||||
{ mOCTVC1_GSM_STUB_MODE_ENUM_SWAP( &((tOCTVC1_GSM_MSG_TRX_STOP_STUBB_LOOPBACK_TEST_CMD *)pOCTVC1_GSM_MSG_TRX_STOP_STUBB_LOOPBACK_TEST_CMD)->byStubMode ); } \
|
||||
}
|
||||
#else
|
||||
#define mOCTVC1_GSM_MSG_TRX_STOP_STUBB_LOOPBACK_TEST_CMD_SWAP( pOCTVC1_GSM_MSG_TRX_STOP_STUBB_LOOPBACK_TEST_CMD )
|
||||
|
@ -1402,6 +1426,11 @@ extern "C" {
|
|||
{ mOCTVC1_MSG_HEADER_SWAP( &((tOCTVC1_GSM_MSG_TRX_MODIFY_TEST_MODE_CMD *)pOCTVC1_GSM_MSG_TRX_MODIFY_TEST_MODE_CMD)->Header ); } \
|
||||
{ mOCTVC1_GSM_TRX_ID_SWAP( &((tOCTVC1_GSM_MSG_TRX_MODIFY_TEST_MODE_CMD *)pOCTVC1_GSM_MSG_TRX_MODIFY_TEST_MODE_CMD)->TrxId ); } \
|
||||
{ mOCTVC1_GSM_TEST_MODE_ENUM_SWAP( &((tOCTVC1_GSM_MSG_TRX_MODIFY_TEST_MODE_CMD *)pOCTVC1_GSM_MSG_TRX_MODIFY_TEST_MODE_CMD)->testModeVal ); } \
|
||||
{ mOCTVC1_GSM_MODULATION_ENUM_SWAP( &((tOCTVC1_GSM_MSG_TRX_MODIFY_TEST_MODE_CMD *)pOCTVC1_GSM_MSG_TRX_MODIFY_TEST_MODE_CMD)->modulation ); } \
|
||||
{ tOCT_UINT32 jOCTVC1_GSM_MSG_TRX_MODIFY_TEST_MODE_CMD; \
|
||||
for( jOCTVC1_GSM_MSG_TRX_MODIFY_TEST_MODE_CMD=0; \
|
||||
jOCTVC1_GSM_MSG_TRX_MODIFY_TEST_MODE_CMD<(cOCTVC1_GSM_TRX_MAX_TIMESLOTS);jOCTVC1_GSM_MSG_TRX_MODIFY_TEST_MODE_CMD++ ) \
|
||||
{ mOCTVC1_GSM_TEST_MODE_BURST_TYPE_ENUM_SWAP( &((tOCTVC1_GSM_MSG_TRX_MODIFY_TEST_MODE_CMD *)pOCTVC1_GSM_MSG_TRX_MODIFY_TEST_MODE_CMD)->abyBurstType[jOCTVC1_GSM_MSG_TRX_MODIFY_TEST_MODE_CMD] ); }} \
|
||||
}
|
||||
#else
|
||||
#define mOCTVC1_GSM_MSG_TRX_MODIFY_TEST_MODE_CMD_SWAP( pOCTVC1_GSM_MSG_TRX_MODIFY_TEST_MODE_CMD )
|
||||
|
@ -1428,6 +1457,7 @@ extern "C" {
|
|||
#define mOCTVC1_GSM_MSG_TRX_INFO_TEST_MODE_RSP_SWAP( _f_pParms ){ tOCTVC1_GSM_MSG_TRX_INFO_TEST_MODE_RSP * pOCTVC1_GSM_MSG_TRX_INFO_TEST_MODE_RSP = (_f_pParms); SWAP_UNUSED(pOCTVC1_GSM_MSG_TRX_INFO_TEST_MODE_RSP)\
|
||||
{ mOCTVC1_MSG_HEADER_SWAP( &((tOCTVC1_GSM_MSG_TRX_INFO_TEST_MODE_RSP *)pOCTVC1_GSM_MSG_TRX_INFO_TEST_MODE_RSP)->Header ); } \
|
||||
{ mOCTVC1_GSM_TEST_MODE_ENUM_SWAP( &((tOCTVC1_GSM_MSG_TRX_INFO_TEST_MODE_RSP *)pOCTVC1_GSM_MSG_TRX_INFO_TEST_MODE_RSP)->testModeVal ); } \
|
||||
{ mOCTVC1_GSM_MODULATION_ENUM_SWAP( &((tOCTVC1_GSM_MSG_TRX_INFO_TEST_MODE_RSP *)pOCTVC1_GSM_MSG_TRX_INFO_TEST_MODE_RSP)->modulation ); } \
|
||||
}
|
||||
#else
|
||||
#define mOCTVC1_GSM_MSG_TRX_INFO_TEST_MODE_RSP_SWAP( pOCTVC1_GSM_MSG_TRX_INFO_TEST_MODE_RSP )
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: OCTVC1_GSM_BASE.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the definition of the OCTVC1 API.
|
||||
|
||||
|
@ -18,7 +18,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: OCTVC1_GSM_DEFAULT.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the event definition of the GSM API.
|
||||
|
||||
|
@ -18,7 +18,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
@ -62,9 +62,13 @@ const tOCTVC1_GSM_MSG_TRX_OPEN_CMD buf_tOCTVC1_GSM_MSG_TRX_OPEN_CMD =
|
|||
0, /* usTsc */
|
||||
0, /* usArfcn */
|
||||
0, /* usBcchArfcn */
|
||||
0, /* usCentreArfcn */
|
||||
0, /* usHsn */
|
||||
0, /* usMaio */
|
||||
0, /* usReserve */
|
||||
{ /* ausReserve */
|
||||
0, /* ausReserve[0] */
|
||||
0 /* ausReserve[1] */
|
||||
},
|
||||
0, /* ulHoppingFlag */
|
||||
0, /* ulHoppingListLength */
|
||||
{ /* ausHoppingList */
|
||||
|
@ -136,7 +140,9 @@ const tOCTVC1_GSM_MSG_TRX_OPEN_CMD buf_tOCTVC1_GSM_MSG_TRX_OPEN_CMD =
|
|||
},
|
||||
{ /* RfConfig */
|
||||
70, /* ulRxGainDb */
|
||||
0 /* ulTxAttndB */
|
||||
0, /* ulTxAttndB */
|
||||
0, /* ulTxAntennaId */
|
||||
0 /* ulRxAntennaId */
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -334,9 +340,13 @@ const tOCTVC1_GSM_MSG_TRX_MODIFY_CMD buf_tOCTVC1_GSM_MSG_TRX_MODIFY_CMD =
|
|||
(cOCTVC1_DO_NOT_MODIFY & 0xFFFF), /* usTsc */
|
||||
(cOCTVC1_DO_NOT_MODIFY & 0xFFFF), /* usArfcn */
|
||||
(cOCTVC1_DO_NOT_MODIFY & 0xFFFF), /* usBcchArfcn */
|
||||
(cOCTVC1_DO_NOT_MODIFY & 0xFFFF), /* usCentreArfcn */
|
||||
(cOCTVC1_DO_NOT_MODIFY & 0xFFFF), /* usHsn */
|
||||
(cOCTVC1_DO_NOT_MODIFY & 0xFFFF), /* usMaio */
|
||||
(cOCTVC1_DO_NOT_MODIFY & 0xFFFF), /* usReserve */
|
||||
{ /* ausReserve */
|
||||
(cOCTVC1_DO_NOT_MODIFY & 0xFFFF), /* ausReserve[0] */
|
||||
(cOCTVC1_DO_NOT_MODIFY & 0xFFFF) /* ausReserve[1] */
|
||||
},
|
||||
cOCTVC1_DO_NOT_MODIFY, /* ulHoppingFlag */
|
||||
cOCTVC1_DO_NOT_MODIFY, /* ulHoppingListLength */
|
||||
{ /* ausHoppingList */
|
||||
|
@ -1874,7 +1884,9 @@ const tOCTVC1_GSM_MSG_TRX_MODIFY_RF_CMD buf_tOCTVC1_GSM_MSG_TRX_MODIFY_RF_CMD =
|
|||
},
|
||||
{ /* RfConfig */
|
||||
cOCTVC1_DO_NOT_MODIFY, /* ulRxGainDb */
|
||||
cOCTVC1_DO_NOT_MODIFY /* ulTxAttndB */
|
||||
cOCTVC1_DO_NOT_MODIFY, /* ulTxAttndB */
|
||||
cOCTVC1_DO_NOT_MODIFY, /* ulTxAntennaId */
|
||||
cOCTVC1_DO_NOT_MODIFY /* ulRxAntennaId */
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -2449,16 +2461,16 @@ extern const tOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_CMU_LOOPBACK_TEST_CMD *
|
|||
|
||||
|
||||
/*--------------------------------------------------------------------------
|
||||
tOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_CMD
|
||||
tOCTVC1_GSM_MSG_TRX_INFO_STUBB_LOOPBACK_TEST_CMD
|
||||
----------------------------------------------------------------------------*/
|
||||
#ifdef OCTVC1_OPT_DECLARE_DEFAULTS
|
||||
|
||||
const tOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_CMD buf_tOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_CMD =
|
||||
const tOCTVC1_GSM_MSG_TRX_INFO_STUBB_LOOPBACK_TEST_CMD buf_tOCTVC1_GSM_MSG_TRX_INFO_STUBB_LOOPBACK_TEST_CMD =
|
||||
{
|
||||
{ /* Header */
|
||||
((sizeof(tOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_CMD)<<cOCTVC1_MSG_LENGTH_BIT_OFFSET)&cOCTVC1_MSG_LENGTH_BIT_MASK), /* ulLength */
|
||||
((sizeof(tOCTVC1_GSM_MSG_TRX_INFO_STUBB_LOOPBACK_TEST_CMD)<<cOCTVC1_MSG_LENGTH_BIT_OFFSET)&cOCTVC1_MSG_LENGTH_BIT_MASK), /* ulLength */
|
||||
0, /* ulTransactionId */
|
||||
((cOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_CID<<cOCTVC1_MSG_ID_BIT_OFFSET)&cOCTVC1_MSG_ID_BIT_MASK), /* ul_Type_R_CmdId */
|
||||
((cOCTVC1_GSM_MSG_TRX_INFO_STUBB_LOOPBACK_TEST_CID<<cOCTVC1_MSG_ID_BIT_OFFSET)&cOCTVC1_MSG_ID_BIT_MASK), /* ul_Type_R_CmdId */
|
||||
0, /* ulSessionId */
|
||||
0, /* ulReturnCode */
|
||||
0 /* ulUserInfo */
|
||||
|
@ -2473,16 +2485,16 @@ const tOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_CMD buf_tOCTVC1_GSM_MSG_TR
|
|||
}
|
||||
};
|
||||
|
||||
const tOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_CMD *g_pOctDef_tOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_CMD =
|
||||
&buf_tOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_CMD;
|
||||
const tOCTVC1_GSM_MSG_TRX_INFO_STUBB_LOOPBACK_TEST_CMD *g_pOctDef_tOCTVC1_GSM_MSG_TRX_INFO_STUBB_LOOPBACK_TEST_CMD =
|
||||
&buf_tOCTVC1_GSM_MSG_TRX_INFO_STUBB_LOOPBACK_TEST_CMD;
|
||||
|
||||
#else /* OCTVC1_OPT_DECLARE_DEFAULTS */
|
||||
extern const tOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_CMD *g_pOctDef_tOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_CMD;
|
||||
extern const tOCTVC1_GSM_MSG_TRX_INFO_STUBB_LOOPBACK_TEST_CMD *g_pOctDef_tOCTVC1_GSM_MSG_TRX_INFO_STUBB_LOOPBACK_TEST_CMD;
|
||||
#endif /* OCTVC1_OPT_DECLARE_DEFAULTS */
|
||||
|
||||
#define mOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_CMD_DEF(pSt) \
|
||||
#define mOCTVC1_GSM_MSG_TRX_INFO_STUBB_LOOPBACK_TEST_CMD_DEF(pSt) \
|
||||
{ \
|
||||
*pSt = *g_pOctDef_tOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_CMD; \
|
||||
*pSt = *g_pOctDef_tOCTVC1_GSM_MSG_TRX_INFO_STUBB_LOOPBACK_TEST_CMD; \
|
||||
}
|
||||
|
||||
|
||||
|
@ -2512,7 +2524,8 @@ const tOCTVC1_GSM_MSG_TRX_START_STUBB_LOOPBACK_TEST_CMD buf_tOCTVC1_GSM_MSG_TRX_
|
|||
{ /* STUB_CHANNEL_ID */
|
||||
cOCTVC1_GSM_TIMESLOT_NB_STUB_ENUM_0, /* byTimeslotNb */
|
||||
cOCTVC1_GSM_ID_SUB_CHANNEL_NB_ENUM_0, /* bySubChannelNb */
|
||||
cOCTVC1_GSM_SAPI_ENUM_TCHF /* CHANNEL_TYPE */
|
||||
cOCTVC1_GSM_SAPI_ENUM_TCHF, /* bySAPI */
|
||||
cOCTVC1_GSM_STUB_MODE_ENUM_NONE /* byStubMode */
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -2553,7 +2566,8 @@ const tOCTVC1_GSM_MSG_TRX_STOP_STUBB_LOOPBACK_TEST_CMD buf_tOCTVC1_GSM_MSG_TRX_S
|
|||
}
|
||||
},
|
||||
0, /* byTimeslotNb */
|
||||
0 /* bySubChannelNb */
|
||||
0, /* bySubChannelNb */
|
||||
0 /* byStubMode */
|
||||
};
|
||||
|
||||
const tOCTVC1_GSM_MSG_TRX_STOP_STUBB_LOOPBACK_TEST_CMD *g_pOctDef_tOCTVC1_GSM_MSG_TRX_STOP_STUBB_LOOPBACK_TEST_CMD =
|
||||
|
@ -2592,7 +2606,18 @@ const tOCTVC1_GSM_MSG_TRX_MODIFY_TEST_MODE_CMD buf_tOCTVC1_GSM_MSG_TRX_MODIFY_TE
|
|||
0 /* abyPad[2] */
|
||||
}
|
||||
},
|
||||
0 /* testModeVal */
|
||||
0, /* testModeVal */
|
||||
0, /* modulation */
|
||||
{ /* abyBurstType */
|
||||
cOCTVC1_GSM_TEST_MODE_BURST_TYPE_ENUM_DATA_RAND, /* abyBurstType[0] */
|
||||
cOCTVC1_GSM_TEST_MODE_BURST_TYPE_ENUM_DATA_RAND, /* abyBurstType[1] */
|
||||
cOCTVC1_GSM_TEST_MODE_BURST_TYPE_ENUM_DATA_RAND, /* abyBurstType[2] */
|
||||
cOCTVC1_GSM_TEST_MODE_BURST_TYPE_ENUM_DATA_RAND, /* abyBurstType[3] */
|
||||
cOCTVC1_GSM_TEST_MODE_BURST_TYPE_ENUM_DATA_RAND, /* abyBurstType[4] */
|
||||
cOCTVC1_GSM_TEST_MODE_BURST_TYPE_ENUM_DATA_RAND, /* abyBurstType[5] */
|
||||
cOCTVC1_GSM_TEST_MODE_BURST_TYPE_ENUM_DATA_RAND, /* abyBurstType[6] */
|
||||
cOCTVC1_GSM_TEST_MODE_BURST_TYPE_ENUM_DATA_RAND /* abyBurstType[7] */
|
||||
}
|
||||
};
|
||||
|
||||
const tOCTVC1_GSM_MSG_TRX_MODIFY_TEST_MODE_CMD *g_pOctDef_tOCTVC1_GSM_MSG_TRX_MODIFY_TEST_MODE_CMD =
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: OCTVC1_GSM_DEFAULT_PRIV.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the event definition of the GSM API.
|
||||
|
||||
|
@ -18,7 +18,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_GSM_EVT.h
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the event definition of the GSM API.
|
||||
|
||||
|
@ -17,7 +17,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_GSM_EVT_PRIV.h
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the event definition of the GSM API.
|
||||
|
||||
|
@ -17,7 +17,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
|
||||
File: octvc1_gsm_evt_priv_swap.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description:
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
|
@ -16,7 +16,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: octvc1_gsm_evt_swap.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description:
|
||||
|
||||
|
@ -18,7 +18,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
#ifndef __OCTVC1_GSM_EVT_SWAP_H__
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: OCTVC1_GSM_ID.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the identifiers for the GSM API.
|
||||
|
||||
|
@ -18,7 +18,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
@ -70,7 +70,7 @@ $Octasic_Revision: $
|
|||
#define cOCTVC1_GSM_MSG_TRX_START_LOGICAL_CHANNEL_RAW_DATA_INDICATIONS_CID ( 0x035 + cOCTVC1_GSM_CID_BASE )
|
||||
#define cOCTVC1_GSM_MSG_TRX_STOP_LOGICAL_CHANNEL_RAW_DATA_INDICATIONS_CID ( 0x036 + cOCTVC1_GSM_CID_BASE )
|
||||
#define cOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_CMU_LOOPBACK_TEST_CID ( 0x037 + cOCTVC1_GSM_CID_BASE )
|
||||
#define cOCTVC1_GSM_MSG_TRX_REQUEST_STUBB_LOOPBACK_TEST_CID ( 0x038 + cOCTVC1_GSM_CID_BASE )
|
||||
#define cOCTVC1_GSM_MSG_TRX_INFO_STUBB_LOOPBACK_TEST_CID ( 0x038 + cOCTVC1_GSM_CID_BASE )
|
||||
#define cOCTVC1_GSM_MSG_TRX_START_STUBB_LOOPBACK_TEST_CID ( 0x039 + cOCTVC1_GSM_CID_BASE )
|
||||
#define cOCTVC1_GSM_MSG_TRX_STOP_STUBB_LOOPBACK_TEST_CID ( 0x03a + cOCTVC1_GSM_CID_BASE )
|
||||
#define cOCTVC1_GSM_MSG_TRX_MODIFY_TEST_MODE_CID ( 0x03b + cOCTVC1_GSM_CID_BASE )
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: OCTVC1_GSM_ID_PRIV.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the identifiers for the GSM API.
|
||||
|
||||
|
@ -18,7 +18,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
|
|
@ -0,0 +1,50 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_GSM_LIC.h
|
||||
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the license ids for the GSM API.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation; either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef OCTVC1_GSM_LIC_H__
|
||||
#define OCTVC1_GSM_LIC_H__
|
||||
|
||||
#include "octvc1_gsm_base.h"
|
||||
|
||||
/****************************************************************************
|
||||
GSM license ids
|
||||
****************************************************************************/
|
||||
#define cOCTVC1_GSM_LIC_RF_BAND_ALL_ENABLE ( 0x0001 + (cOCTVC1_GSM_UID << 16) + ( 0x1 << 24 ) )
|
||||
#define cOCTVC1_GSM_LIC_RF_BAND_410_ENABLE ( 0x0002 + (cOCTVC1_GSM_UID << 16) )
|
||||
#define cOCTVC1_GSM_LIC_RF_BAND_450_ENABLE ( 0x0003 + (cOCTVC1_GSM_UID << 16) )
|
||||
#define cOCTVC1_GSM_LIC_RF_BAND_480_ENABLE ( 0x0004 + (cOCTVC1_GSM_UID << 16) )
|
||||
#define cOCTVC1_GSM_LIC_RF_BAND_710_ENABLE ( 0x0005 + (cOCTVC1_GSM_UID << 16) )
|
||||
#define cOCTVC1_GSM_LIC_RF_BAND_750_ENABLE ( 0x0006 + (cOCTVC1_GSM_UID << 16) )
|
||||
#define cOCTVC1_GSM_LIC_RF_BAND_810_ENABLE ( 0x0007 + (cOCTVC1_GSM_UID << 16) )
|
||||
#define cOCTVC1_GSM_LIC_RF_BAND_850_ENABLE ( 0x0008 + (cOCTVC1_GSM_UID << 16) )
|
||||
#define cOCTVC1_GSM_LIC_RF_BAND_900_ENABLE ( 0x0009 + (cOCTVC1_GSM_UID << 16) )
|
||||
#define cOCTVC1_GSM_LIC_RF_BAND_1800_ENABLE ( 0x000A + (cOCTVC1_GSM_UID << 16) )
|
||||
#define cOCTVC1_GSM_LIC_RF_BAND_1900_ENABLE ( 0x000B + (cOCTVC1_GSM_UID << 16) )
|
||||
#define cOCTVC1_GSM_LIC_GPRS_EDGE_ENABLE ( 0x000C + (cOCTVC1_GSM_UID << 16) + ( 0x1 << 24 ) )
|
||||
#define cOCTVC1_GSM_LIC_MULTI_TRX_ENABLE ( 0x000D + (cOCTVC1_GSM_UID << 16) )
|
||||
|
||||
#endif /* OCTVC1_GSM_LIC_H__ */
|
||||
|
|
@ -0,0 +1,37 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_GSM_LIC_PRIV.h
|
||||
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the license ids for the GSM API.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation; either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef OCTVC1_GSM_LIC_PRIV_H__
|
||||
#define OCTVC1_GSM_LIC_PRIV_H__
|
||||
|
||||
#include "octvc1_gsm_base.h"
|
||||
|
||||
/****************************************************************************
|
||||
GSM license ids
|
||||
****************************************************************************/
|
||||
|
||||
#endif /* OCTVC1_GSM_LIC_PRIV_H__ */
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: OCTVC1_GSM_RC.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the return codes for the GSM API.
|
||||
|
||||
|
@ -18,7 +18,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
@ -56,7 +56,13 @@ $Octasic_Revision: $
|
|||
#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 )
|
||||
#define cOCTVC1_GSM_RC_TRX_PARAMS_INVALID ( 0x0008 + cOCTVC1_GSM_TRX_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_TRX_CENTRE_FREQ_NOT_SAME_ACROSS_TRX ( 0x0008 + cOCTVC1_GSM_TRX_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_TRX_CARRIER_OFFSET_OUTOF_RANGE ( 0x0009 + cOCTVC1_GSM_TRX_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_TRX_NOT_PROPERLY_SEPARATED ( 0x000a + cOCTVC1_GSM_TRX_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_TRX_BCCH_NOT_CONFIGURED ( 0x000b + cOCTVC1_GSM_TRX_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_TRX_CLOSE_NONPRIMARY_FIRST ( 0x000c + cOCTVC1_GSM_TRX_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_TRX_PARAMS_INVALID ( 0x000d + cOCTVC1_GSM_TRX_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_TRX_PRIMARY_ONLY_BCCH_CONFIGURED ( 0x000e + cOCTVC1_GSM_TRX_RC_BASE )
|
||||
|
||||
/****************************************************************************
|
||||
PHYSICAL_CHANNEL return codes
|
||||
|
@ -88,6 +94,7 @@ $Octasic_Revision: $
|
|||
#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 )
|
||||
#define cOCTVC1_GSM_RC_LOGICAL_CHANNEL_BCCH_BSIC_INVALID ( 0x0006 + cOCTVC1_GSM_LOGICAL_CHANNEL_RC_BASE )
|
||||
|
||||
/****************************************************************************
|
||||
Validate return codes
|
||||
|
@ -96,18 +103,19 @@ $Octasic_Revision: $
|
|||
|
||||
#define cOCTVC1_GSM_RC_RF_CONFIG_INVALID_RX_GAIN_DB ( 0x1 + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_RF_CONFIG_INVALID_TX_ATTND_B ( 0x2 + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_TRX_CONFIG_INVALID_US_TSC ( 0x3 + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_BUFF_ADDR_INVALID_IQ_SAMPLE_ADDR ( 0x4 + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_BUFF_ADDR_INVALID_IQ_SAMPLE_ADDR_RACH ( 0x5 + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_LOGICAL_CHANNEL_DATA_INVALID_FRAME_NUMBER ( 0x6 + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_LOGICAL_CHANNEL_DATA_INVALID_DATA_LENGTH ( 0x7 + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_LOGICAL_CHANNEL_RAW_DATA_INVALID_FRAME_NUMBER ( 0x8 + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_LOGICAL_CHANNEL_RAW_DATA_INVALID_DATA_LENGTH ( 0x9 + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_TAP_FILTER_PHYSICAL_CHANNEL_INVALID_ENTRY_CNT ( 0xA + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_TAP_FILTER_LOGICAL_CHANNEL_INVALID_ENTRY_CNT ( 0xB + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_TAP_FILTER_STATS_INVALID_TAP_ID_CNT ( 0xC + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_MODULE_DATA_RF_UPLINK_INPUT_HEADER_INVALID_FRAME_NUMBER ( 0xD + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_TRX_LOGICAL_CHANNEL_EMPTY_FRAME_REQUEST_INVALID_FRAME_NUMBER ( 0xE + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_RF_CONFIG_INVALID_TX_ANTENNA_ID ( 0x3 + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_RF_CONFIG_INVALID_RX_ANTENNA_ID ( 0x4 + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_TRX_CONFIG_INVALID_US_TSC ( 0x5 + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_STUB_STATUS_INVALID_BY_TIMESLOT_USED ( 0x6 + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_LOGICAL_CHANNEL_DATA_INVALID_FRAME_NUMBER ( 0x7 + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_LOGICAL_CHANNEL_DATA_INVALID_DATA_LENGTH ( 0x8 + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_LOGICAL_CHANNEL_RAW_DATA_INVALID_FRAME_NUMBER ( 0x9 + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_LOGICAL_CHANNEL_RAW_DATA_INVALID_DATA_LENGTH ( 0xA + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_TAP_FILTER_PHYSICAL_CHANNEL_INVALID_ENTRY_CNT ( 0xB + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_TAP_FILTER_LOGICAL_CHANNEL_INVALID_ENTRY_CNT ( 0xC + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_TAP_FILTER_STATS_INVALID_TAP_ID_CNT ( 0xD + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_MODULE_DATA_RF_UPLINK_INPUT_HEADER_INVALID_FRAME_NUMBER ( 0xE + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
#define cOCTVC1_GSM_RC_TRX_LOGICAL_CHANNEL_EMPTY_FRAME_REQUEST_INVALID_FRAME_NUMBER ( 0xF + cOCTVC1_GSM_AUTO_VALIDATE_RC_BASE )
|
||||
|
||||
#endif /* OCTVC1_GSM_RC_H__ */
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: OCTVC1_GSM_RC_PRIV.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the return codes for the GSM API.
|
||||
|
||||
|
@ -18,7 +18,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: OCTVC1_GSM_VERSION.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the version of the GSM API interface.
|
||||
|
||||
|
@ -18,7 +18,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
@ -37,8 +37,8 @@ $Octasic_Revision: $
|
|||
*/
|
||||
#define cOCTVC1_GSM_VERSION_MAJOR 2
|
||||
#define cOCTVC1_GSM_VERSION_MINOR 7
|
||||
#define cOCTVC1_GSM_VERSION_MAINTENANCE 0
|
||||
#define cOCTVC1_GSM_VERSION_BUILD 1039
|
||||
#define cOCTVC1_GSM_VERSION_MAINTENANCE 1
|
||||
#define cOCTVC1_GSM_VERSION_BUILD 1351
|
||||
|
||||
#define cOCTVC1_GSM_VERSION_ID ( (cOCTVC1_GSM_VERSION_MAJOR << 25) + \
|
||||
(cOCTVC1_GSM_VERSION_MINOR << 18) + \
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: OCTVC1_HW_API.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the definition of the HW API.
|
||||
|
||||
|
@ -18,7 +18,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Revision: $
|
||||
|
||||
|
@ -64,13 +64,25 @@ $Revision: $
|
|||
#define cOCTVC1_HW_PCB_INFO_SOURCE_ENUM_EEPROM 2
|
||||
#define cOCTVC1_HW_PCB_INFO_SOURCE_ENUM_INI_FILE 3
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_HW_PCB_INFO_SIGNED_STATE_ENUM :
|
||||
-------------------------------------------------------------------------------------*/
|
||||
#define tOCTVC1_HW_PCB_INFO_SIGNED_STATE_ENUM tOCT_UINT32
|
||||
|
||||
#define cOCTVC1_HW_PCB_INFO_SIGNED_STATE_ENUM_SIGNED_OK 0x40000000
|
||||
#define cOCTVC1_HW_PCB_INFO_SIGNED_STATE_ENUM_SIGNED_ERROR 0x80000000
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
PCB information state.
|
||||
-------------------------------------------------------------------------------------*/
|
||||
#define tOCTVC1_HW_PCB_INFO_STATE_ENUM tOCT_UINT32
|
||||
#define tOCTVC1_HW_PCB_INFO_STATE_ENUM tOCT_UINT32
|
||||
|
||||
#define cOCTVC1_HW_PCB_INFO_STATE_ENUM_PARSED_ERROR 0
|
||||
#define cOCTVC1_HW_PCB_INFO_STATE_ENUM_PARSED_OK 1
|
||||
#define cOCTVC1_HW_PCB_INFO_STATE_ENUM_PARSED_ERROR 0
|
||||
#define cOCTVC1_HW_PCB_INFO_STATE_ENUM_PARSED_OK 1
|
||||
#define cOCTVC1_HW_PCB_INFO_STATE_ENUM_PARSED_OK_SIGNED ((tOCT_UINT32)(1|cOCTVC1_HW_PCB_INFO_SIGNED_STATE_ENUM_SIGNED_OK) )
|
||||
#define cOCTVC1_HW_PCB_INFO_STATE_ENUM_PARSED_OK_SIGNED_ERROR ((tOCT_UINT32)(1|cOCTVC1_HW_PCB_INFO_SIGNED_STATE_ENUM_SIGNED_ERROR) )
|
||||
#define cOCTVC1_HW_PCB_INFO_STATE_ENUM_PARSED_ERROR_SIGNED ((tOCT_UINT32)(0|cOCTVC1_HW_PCB_INFO_SIGNED_STATE_ENUM_SIGNED_OK) )
|
||||
#define cOCTVC1_HW_PCB_INFO_STATE_ENUM_PARSED_ERROR_SIGNED_ERROR ((tOCT_UINT32)(0|cOCTVC1_HW_PCB_INFO_SIGNED_STATE_ENUM_SIGNED_ERROR) )
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
PCB max field definitions.
|
||||
|
@ -382,6 +394,50 @@ typedef struct
|
|||
/*-------------------------------------------------------------------------------------
|
||||
RF_PORT related definitions.
|
||||
-------------------------------------------------------------------------------------*/
|
||||
#define cOCTVC1_HW_RF_PORT_MAX_ANTENNA 2 /* Maximum number of antenna per RF_PORT. */
|
||||
#define cOCTVC1_HW_RF_PORT_ANTENNA_MAX_TX_CALIB 20 /* Maximum number of TX calibration per RF_PORT antenna. */
|
||||
#define cOCTVC1_HW_RF_PORT_ANTENNA_UNUSED_ID 0xFFFFFFFF /* Specify that this antenna is not used. */
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
RF port antenna calibration state.
|
||||
-------------------------------------------------------------------------------------*/
|
||||
#define tOCTVC1_HW_RF_PORT_ANTENNA_CALIB_STATE_ENUM tOCT_UINT32
|
||||
|
||||
#define cOCTVC1_HW_RF_PORT_ANTENNA_CALIB_STATE_ENUM_UNAVAILABLE 0
|
||||
#define cOCTVC1_HW_RF_PORT_ANTENNA_CALIB_STATE_ENUM_INACTIVE 1
|
||||
#define cOCTVC1_HW_RF_PORT_ANTENNA_CALIB_STATE_ENUM_ACTIVE 2
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_HW_RF_PORT_ANTENNA_RX_CONFIG
|
||||
|
||||
Members:
|
||||
ulEnableFlag
|
||||
lRxGaindB
|
||||
Q9 value, (1 dB step) Minimum value is:0 Maximum value is:73 (* 512)
|
||||
ulRxGainMode
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCT_BOOL32 ulEnableFlag;
|
||||
tOCT_INT32 lRxGaindB;
|
||||
tOCTVC1_RADIO_RX_GAIN_CTRL_MODE_ENUM ulRxGainMode;
|
||||
|
||||
} tOCTVC1_HW_RF_PORT_ANTENNA_RX_CONFIG;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_HW_RF_PORT_ANTENNA_TX_CONFIG
|
||||
|
||||
Members:
|
||||
ulEnableFlag
|
||||
lTxGaindB
|
||||
Q9 value, Minimum value is:-89.75 Maximum value is:0
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCT_BOOL32 ulEnableFlag;
|
||||
tOCT_INT32 lTxGaindB;
|
||||
|
||||
} tOCTVC1_HW_RF_PORT_ANTENNA_TX_CONFIG;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_HW_RF_PORT_RX_STATS
|
||||
|
@ -396,16 +452,16 @@ typedef struct
|
|||
Average byte receive per seconds
|
||||
ulRxAveragePeriodUs
|
||||
Average Time in micro second between two receive
|
||||
ulFrequencyKhz
|
||||
Current frequency in Khz
|
||||
Frequency
|
||||
Current frequency
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCT_UINT32 ulRxByteCnt;
|
||||
tOCT_UINT32 ulRxOverflowCnt;
|
||||
tOCT_UINT32 ulRxAverageBytePerSecond;
|
||||
tOCT_UINT32 ulRxAveragePeriodUs;
|
||||
tOCT_UINT32 ulFrequencyKhz;
|
||||
tOCT_UINT32 ulRxByteCnt;
|
||||
tOCT_UINT32 ulRxOverflowCnt;
|
||||
tOCT_UINT32 ulRxAverageBytePerSecond;
|
||||
tOCT_UINT32 ulRxAveragePeriodUs;
|
||||
tOCTVC1_RADIO_FREQUENCY_VALUE Frequency;
|
||||
|
||||
} tOCTVC1_HW_RF_PORT_RX_STATS;
|
||||
|
||||
|
@ -422,19 +478,35 @@ typedef struct
|
|||
Average byte receive per seconds
|
||||
ulTxAveragePeriodUs
|
||||
Average Time in micro second between two send
|
||||
ulFrequencyKhz
|
||||
Current frequency in Khz
|
||||
Frequency
|
||||
Current frequency
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCT_UINT32 ulTxByteCnt;
|
||||
tOCT_UINT32 ulTxUnderflowCnt;
|
||||
tOCT_UINT32 ulTxAverageBytePerSecond;
|
||||
tOCT_UINT32 ulTxAveragePeriodUs;
|
||||
tOCT_UINT32 ulFrequencyKhz;
|
||||
tOCT_UINT32 ulTxByteCnt;
|
||||
tOCT_UINT32 ulTxUnderflowCnt;
|
||||
tOCT_UINT32 ulTxAverageBytePerSecond;
|
||||
tOCT_UINT32 ulTxAveragePeriodUs;
|
||||
tOCTVC1_RADIO_FREQUENCY_VALUE Frequency;
|
||||
|
||||
} tOCTVC1_HW_RF_PORT_TX_STATS;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_HW_RF_PORT_ANTENNA_TX_CALIB
|
||||
|
||||
Members:
|
||||
ulFrequencyMhz
|
||||
Frequency in Mhz
|
||||
ulAttenuationdB
|
||||
Attenuation in dB.
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCT_UINT32 ulFrequencyMhz;
|
||||
tOCT_UINT32 ulAttenuationdB;
|
||||
|
||||
} tOCTVC1_HW_RF_PORT_ANTENNA_TX_CALIB;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
Clock Sync Manager related definitions.
|
||||
-------------------------------------------------------------------------------------*/
|
||||
|
@ -984,18 +1056,14 @@ typedef struct
|
|||
RF PORT index
|
||||
ulAntennaIndex
|
||||
Antenna index
|
||||
ulEnableFlag
|
||||
lRxGaindB
|
||||
ulRxGainMode
|
||||
RxConfig
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_MSG_HEADER Header;
|
||||
tOCTVC1_INDEX ulPortIndex;
|
||||
tOCTVC1_INDEX ulAntennaIndex;
|
||||
tOCT_BOOL32 ulEnableFlag;
|
||||
tOCT_INT32 lRxGaindB;
|
||||
tOCTVC1_RADIO_RX_GAIN_CTRL_MODE_ENUM ulRxGainMode;
|
||||
tOCTVC1_HW_RF_PORT_ANTENNA_RX_CONFIG RxConfig;
|
||||
|
||||
} tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_RX_CONFIG_RSP;
|
||||
|
||||
|
@ -1028,19 +1096,104 @@ typedef struct
|
|||
RF PORT index
|
||||
ulAntennaIndex
|
||||
Antenna index
|
||||
ulEnableFlag
|
||||
lTxGaindB
|
||||
Q9 value
|
||||
TxConfig
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_MSG_HEADER Header;
|
||||
tOCTVC1_INDEX ulPortIndex;
|
||||
tOCTVC1_INDEX ulAntennaIndex;
|
||||
tOCTVC1_HW_RF_PORT_ANTENNA_TX_CONFIG TxConfig;
|
||||
|
||||
} tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CONFIG_RSP;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CALIB_CMD
|
||||
|
||||
Members:
|
||||
Header
|
||||
OCTVC1 Message Header
|
||||
ulPortIndex
|
||||
RF PORT index
|
||||
ulAntennaIndex
|
||||
Antenna index
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_MSG_HEADER Header;
|
||||
tOCTVC1_INDEX ulPortIndex;
|
||||
tOCTVC1_INDEX ulAntennaIndex;
|
||||
tOCT_BOOL32 ulEnableFlag;
|
||||
tOCT_INT32 lTxGaindB;
|
||||
|
||||
} tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CONFIG_RSP;
|
||||
} tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CALIB_CMD;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CALIB_RSP
|
||||
|
||||
Members:
|
||||
Header
|
||||
OCTVC1 Message Header
|
||||
ulPortIndex
|
||||
RF PORT index
|
||||
ulAntennaIndex
|
||||
Antenna index
|
||||
ulCalibState
|
||||
Set to UNAVAILABLE when the calibrations are not present.
|
||||
Set to ACTIVE when the calibration is enable by the configuration file.
|
||||
ulCalibCnt
|
||||
Number of valid calibration in 'aCalib' array
|
||||
aCalib
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_MSG_HEADER Header;
|
||||
tOCTVC1_INDEX ulPortIndex;
|
||||
tOCTVC1_INDEX ulAntennaIndex;
|
||||
tOCTVC1_HW_RF_PORT_ANTENNA_CALIB_STATE_ENUM ulCalibState;
|
||||
tOCT_UINT32 ulCalibCnt;
|
||||
tOCTVC1_HW_RF_PORT_ANTENNA_TX_CALIB aCalib[cOCTVC1_HW_RF_PORT_ANTENNA_MAX_TX_CALIB];
|
||||
|
||||
} tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CALIB_RSP;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CALIB_CMD
|
||||
|
||||
Members:
|
||||
Header
|
||||
OCTVC1 Message Header
|
||||
ulPortIndex
|
||||
RF PORT index
|
||||
ulAntennaIndex
|
||||
Antenna index
|
||||
ulActivateFlag
|
||||
Weather or not to activate the calibration.
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_MSG_HEADER Header;
|
||||
tOCTVC1_INDEX ulPortIndex;
|
||||
tOCTVC1_INDEX ulAntennaIndex;
|
||||
tOCT_BOOL32 ulActivateFlag;
|
||||
|
||||
} tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CALIB_CMD;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CALIB_RSP
|
||||
|
||||
Members:
|
||||
Header
|
||||
OCTVC1 Message Header
|
||||
ulPortIndex
|
||||
RF PORT index
|
||||
ulAntennaIndex
|
||||
Antenna index
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_MSG_HEADER Header;
|
||||
tOCTVC1_INDEX ulPortIndex;
|
||||
tOCTVC1_INDEX ulAntennaIndex;
|
||||
|
||||
} tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CALIB_RSP;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_INFO_CMD
|
||||
|
@ -1114,13 +1267,15 @@ typedef struct
|
|||
ulSlipCnt
|
||||
Number of times values exceeded the synchronization threshold while in the sync
|
||||
state
|
||||
ulSyncLosseCnt
|
||||
ulSyncLossCnt
|
||||
Number of times the clock manager left the synchronized state
|
||||
ulSourceState
|
||||
Clock source state
|
||||
ulDacValue
|
||||
Curent DAC value
|
||||
ulOwnerProcessUid
|
||||
ulFrequencyCorrectionFlag
|
||||
Set to cOCT_TRUE when frequency correction is applied
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
|
@ -1132,10 +1287,11 @@ typedef struct
|
|||
tOCT_UINT32 ulPllFreqHz;
|
||||
tOCT_UINT32 ulPllFractionalFreqHz;
|
||||
tOCT_UINT32 ulSlipCnt;
|
||||
tOCT_UINT32 ulSyncLosseCnt;
|
||||
tOCT_UINT32 ulSyncLossCnt;
|
||||
tOCTVC1_HW_CLOCK_SYNC_MGR_SOURCE_STATE_ENUM ulSourceState;
|
||||
tOCT_UINT32 ulDacValue;
|
||||
tOCTVC1_USER_ID_PROCESS_ENUM ulOwnerProcessUid;
|
||||
tOCT_BOOL32 ulFrequencyCorrectionFlag;
|
||||
|
||||
} tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STATS_RSP;
|
||||
|
||||
|
@ -1205,6 +1361,212 @@ typedef struct
|
|||
|
||||
} tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_MODIFY_SOURCE_RSP;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CMD
|
||||
|
||||
Members:
|
||||
Header
|
||||
OCTVC1 Message Header
|
||||
ulPortIndex
|
||||
RF PORT index
|
||||
ulAntennaIndex
|
||||
Antenna index
|
||||
ulRelativeGainFlag
|
||||
Weather or not the following 'lRxGaindB' is relative of absolute value.
|
||||
TRUE: mean that the 'lRxGaindB' will be added to the current configured value.
|
||||
lRxGaindB
|
||||
Range: [..]
|
||||
Default: cOCTVC1_DO_NOT_MODIFY
|
||||
Q9 value, (1 dB step) Minimum value is:0 Maximum value is:73 dB (37376 in Q9)
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_MSG_HEADER Header;
|
||||
tOCTVC1_INDEX ulPortIndex;
|
||||
tOCTVC1_INDEX ulAntennaIndex;
|
||||
tOCT_BOOL32 ulRelativeGainFlag;
|
||||
tOCT_INT32 lRxGaindB;
|
||||
|
||||
} tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CMD;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_RSP
|
||||
|
||||
Members:
|
||||
Header
|
||||
OCTVC1 Message Header
|
||||
ulPortIndex
|
||||
RF PORT index
|
||||
ulAntennaIndex
|
||||
Antenna index
|
||||
lRxGaindB
|
||||
Q9 value, (1 dB step) Minimum value is:0 Maximum value is:73 (* 512)
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_MSG_HEADER Header;
|
||||
tOCTVC1_INDEX ulPortIndex;
|
||||
tOCTVC1_INDEX ulAntennaIndex;
|
||||
tOCT_INT32 lRxGaindB;
|
||||
|
||||
} tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_RSP;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_CMD
|
||||
|
||||
Members:
|
||||
Header
|
||||
OCTVC1 Message Header
|
||||
ulPortIndex
|
||||
RF PORT index
|
||||
ulAntennaIndex
|
||||
Antenna index
|
||||
ulRelativeGainFlag
|
||||
Weather or not the following 'lTxGaindB' is relative of absolute value.
|
||||
TRUE: mean that the 'lRxGaindB' will be added to the current configured value.
|
||||
lTxGaindB
|
||||
Range: [..]
|
||||
Default: cOCTVC1_DO_NOT_MODIFY
|
||||
Q9 value, Minimum value is:-89.75 (-45952 in Q9) Maximum value is:0 allow step
|
||||
is 0.25 (128 in Q9)
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_MSG_HEADER Header;
|
||||
tOCTVC1_INDEX ulPortIndex;
|
||||
tOCTVC1_INDEX ulAntennaIndex;
|
||||
tOCT_BOOL32 ulRelativeGainFlag;
|
||||
tOCT_INT32 lTxGaindB;
|
||||
|
||||
} tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_CMD;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_RSP
|
||||
|
||||
Members:
|
||||
Header
|
||||
OCTVC1 Message Header
|
||||
ulPortIndex
|
||||
RF PORT index
|
||||
ulAntennaIndex
|
||||
Antenna index
|
||||
lTxGaindB
|
||||
Q9 value, Minimum value is:-89.75 Maximum value is:0
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_MSG_HEADER Header;
|
||||
tOCTVC1_INDEX ulPortIndex;
|
||||
tOCTVC1_INDEX ulAntennaIndex;
|
||||
tOCT_INT32 lTxGaindB;
|
||||
|
||||
} tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_RSP;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_CMD
|
||||
|
||||
Members:
|
||||
Header
|
||||
OCTVC1 Message Header
|
||||
ulPortIndex
|
||||
Unique RF port identifier
|
||||
ulAntennaIndex
|
||||
Antenna index
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_MSG_HEADER Header;
|
||||
tOCTVC1_INDEX ulPortIndex;
|
||||
tOCTVC1_INDEX ulAntennaIndex;
|
||||
|
||||
} tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_CMD;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_RSP
|
||||
|
||||
Members:
|
||||
Header
|
||||
OCTVC1 Message Header
|
||||
ulPortIndex
|
||||
Unique RF port identifier
|
||||
ulAntennaIndex
|
||||
Antenna index
|
||||
ulInitializedFlag
|
||||
Whether or not the values was initialized by the host application.
|
||||
lTxGaindB
|
||||
Q9 value.
|
||||
lRxGaindB
|
||||
Q9 value.
|
||||
ulTxPathDelayNs
|
||||
TX path delay in nanosecond.
|
||||
ulRxPathDelayNs
|
||||
RX path delay in nanosecond.
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_MSG_HEADER Header;
|
||||
tOCTVC1_INDEX ulPortIndex;
|
||||
tOCTVC1_INDEX ulAntennaIndex;
|
||||
tOCT_BOOL32 ulInitializedFlag;
|
||||
tOCT_INT32 lTxGaindB;
|
||||
tOCT_INT32 lRxGaindB;
|
||||
tOCT_UINT32 ulTxPathDelayNs;
|
||||
tOCT_UINT32 ulRxPathDelayNs;
|
||||
|
||||
} tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_RSP;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_FRONT_END_CMD
|
||||
Allow the host application to inform the target about
|
||||
few characteristics of the associated front-end.
|
||||
|
||||
Members:
|
||||
Header
|
||||
OCTVC1 Message Header
|
||||
ulPortIndex
|
||||
Unique RF port identifier
|
||||
ulAntennaIndex
|
||||
Antenna index
|
||||
lTxGaindB
|
||||
Q9 value.
|
||||
lRxGaindB
|
||||
Q9 value.
|
||||
ulTxPathDelayNs
|
||||
TX path delay in nanosecond.
|
||||
ulRxPathDelayNs
|
||||
RX path delay in nanosecond.
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_MSG_HEADER Header;
|
||||
tOCTVC1_INDEX ulPortIndex;
|
||||
tOCTVC1_INDEX ulAntennaIndex;
|
||||
tOCT_INT32 lTxGaindB;
|
||||
tOCT_INT32 lRxGaindB;
|
||||
tOCT_UINT32 ulTxPathDelayNs;
|
||||
tOCT_UINT32 ulRxPathDelayNs;
|
||||
|
||||
} tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_FRONT_END_CMD;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_FRONT_END_RSP
|
||||
|
||||
Members:
|
||||
Header
|
||||
OCTVC1 Message Header
|
||||
ulPortIndex
|
||||
Unique RF port identifier
|
||||
ulAntennaIndex
|
||||
Antenna index
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_MSG_HEADER Header;
|
||||
tOCTVC1_INDEX ulPortIndex;
|
||||
tOCTVC1_INDEX ulAntennaIndex;
|
||||
|
||||
} tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_FRONT_END_RSP;
|
||||
|
||||
|
||||
/*************** INCLUDE FILES WITH DEPENDENCIES ON THIS FILE **************/
|
||||
#include "octvc1_hw_evt.h"
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: OCTVC1_HW_API_PRIV.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the definition of the HW API.
|
||||
|
||||
|
@ -18,7 +18,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Revision: $
|
||||
|
||||
|
@ -100,6 +100,8 @@ typedef struct
|
|||
Default: 10
|
||||
Maximum allowed delta to consider that the clock manager is synchronized to its
|
||||
reference.
|
||||
ulFrequencyCorrectionFlag
|
||||
Set to cOCT_TRUE when frequency correction should be applied.
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
|
@ -107,6 +109,7 @@ typedef struct
|
|||
tOCT_UINT32 ulDacInitValue;
|
||||
tOCT_UINT32 ulSyncWindowSize;
|
||||
tOCT_INT32 lSyncThreshold;
|
||||
tOCT_BOOL32 ulFrequencyCorrectionFlag;
|
||||
|
||||
} tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_CMD;
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
|
||||
File: octvc1_hw_api_priv_swap.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description:
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
|
@ -16,7 +16,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
|
@ -64,6 +64,8 @@ extern "C" {
|
|||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_CMD *)pOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_CMD)->ulSyncWindowSize); \
|
||||
((tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_CMD *)pOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_CMD)->lSyncThreshold = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_CMD *)pOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_CMD)->lSyncThreshold); \
|
||||
((tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_CMD *)pOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_CMD)->ulFrequencyCorrectionFlag = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_CMD *)pOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_CMD)->ulFrequencyCorrectionFlag); \
|
||||
}
|
||||
#else
|
||||
#define mOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_CMD_SWAP( pOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_CMD )
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: octvc1_hw_api_swap.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description:
|
||||
|
||||
|
@ -18,7 +18,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
#ifndef __OCTVC1_HW_API_SWAP_H__
|
||||
|
@ -44,6 +44,15 @@ extern "C" {
|
|||
|
||||
#endif /* _OCT_ENDIAN_TYPE_LE_ */
|
||||
|
||||
#if defined( _OCT_ENDIAN_TYPE_LE_ )
|
||||
#define mOCTVC1_HW_PCB_INFO_SIGNED_STATE_ENUM_SWAP( pType ){ \
|
||||
*((tOCT_UINT32 *)pType) = mOCT_SWAP32_IF_LE( *((tOCT_UINT32 *)pType) ); }
|
||||
#else
|
||||
|
||||
#define mOCTVC1_HW_PCB_INFO_SIGNED_STATE_ENUM_SWAP( pType )
|
||||
|
||||
#endif /* _OCT_ENDIAN_TYPE_LE_ */
|
||||
|
||||
#if defined( _OCT_ENDIAN_TYPE_LE_ )
|
||||
#define mOCTVC1_HW_PCB_INFO_STATE_ENUM_SWAP( pType ){ \
|
||||
*((tOCT_UINT32 *)pType) = mOCT_SWAP32_IF_LE( *((tOCT_UINT32 *)pType) ); }
|
||||
|
@ -225,6 +234,38 @@ extern "C" {
|
|||
#define mOCTVC1_HW_ETH_PORT_RX_STATS_SWAP( pOCTVC1_HW_ETH_PORT_RX_STATS )
|
||||
#endif /* _OCT_ENDIAN_TYPE_LE_ */
|
||||
|
||||
#if defined( _OCT_ENDIAN_TYPE_LE_ )
|
||||
#define mOCTVC1_HW_RF_PORT_ANTENNA_CALIB_STATE_ENUM_SWAP( pType ){ \
|
||||
*((tOCT_UINT32 *)pType) = mOCT_SWAP32_IF_LE( *((tOCT_UINT32 *)pType) ); }
|
||||
#else
|
||||
|
||||
#define mOCTVC1_HW_RF_PORT_ANTENNA_CALIB_STATE_ENUM_SWAP( pType )
|
||||
|
||||
#endif /* _OCT_ENDIAN_TYPE_LE_ */
|
||||
|
||||
#if defined( _OCT_ENDIAN_TYPE_LE_ )
|
||||
#define mOCTVC1_HW_RF_PORT_ANTENNA_RX_CONFIG_SWAP( _f_pParms ){ tOCTVC1_HW_RF_PORT_ANTENNA_RX_CONFIG * pOCTVC1_HW_RF_PORT_ANTENNA_RX_CONFIG = (_f_pParms); SWAP_UNUSED(pOCTVC1_HW_RF_PORT_ANTENNA_RX_CONFIG)\
|
||||
((tOCTVC1_HW_RF_PORT_ANTENNA_RX_CONFIG *)pOCTVC1_HW_RF_PORT_ANTENNA_RX_CONFIG)->ulEnableFlag = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_RF_PORT_ANTENNA_RX_CONFIG *)pOCTVC1_HW_RF_PORT_ANTENNA_RX_CONFIG)->ulEnableFlag); \
|
||||
((tOCTVC1_HW_RF_PORT_ANTENNA_RX_CONFIG *)pOCTVC1_HW_RF_PORT_ANTENNA_RX_CONFIG)->lRxGaindB = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_RF_PORT_ANTENNA_RX_CONFIG *)pOCTVC1_HW_RF_PORT_ANTENNA_RX_CONFIG)->lRxGaindB); \
|
||||
{ mOCTVC1_RADIO_RX_GAIN_CTRL_MODE_ENUM_SWAP( &((tOCTVC1_HW_RF_PORT_ANTENNA_RX_CONFIG *)pOCTVC1_HW_RF_PORT_ANTENNA_RX_CONFIG)->ulRxGainMode ); } \
|
||||
}
|
||||
#else
|
||||
#define mOCTVC1_HW_RF_PORT_ANTENNA_RX_CONFIG_SWAP( pOCTVC1_HW_RF_PORT_ANTENNA_RX_CONFIG )
|
||||
#endif /* _OCT_ENDIAN_TYPE_LE_ */
|
||||
|
||||
#if defined( _OCT_ENDIAN_TYPE_LE_ )
|
||||
#define mOCTVC1_HW_RF_PORT_ANTENNA_TX_CONFIG_SWAP( _f_pParms ){ tOCTVC1_HW_RF_PORT_ANTENNA_TX_CONFIG * pOCTVC1_HW_RF_PORT_ANTENNA_TX_CONFIG = (_f_pParms); SWAP_UNUSED(pOCTVC1_HW_RF_PORT_ANTENNA_TX_CONFIG)\
|
||||
((tOCTVC1_HW_RF_PORT_ANTENNA_TX_CONFIG *)pOCTVC1_HW_RF_PORT_ANTENNA_TX_CONFIG)->ulEnableFlag = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_RF_PORT_ANTENNA_TX_CONFIG *)pOCTVC1_HW_RF_PORT_ANTENNA_TX_CONFIG)->ulEnableFlag); \
|
||||
((tOCTVC1_HW_RF_PORT_ANTENNA_TX_CONFIG *)pOCTVC1_HW_RF_PORT_ANTENNA_TX_CONFIG)->lTxGaindB = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_RF_PORT_ANTENNA_TX_CONFIG *)pOCTVC1_HW_RF_PORT_ANTENNA_TX_CONFIG)->lTxGaindB); \
|
||||
}
|
||||
#else
|
||||
#define mOCTVC1_HW_RF_PORT_ANTENNA_TX_CONFIG_SWAP( pOCTVC1_HW_RF_PORT_ANTENNA_TX_CONFIG )
|
||||
#endif /* _OCT_ENDIAN_TYPE_LE_ */
|
||||
|
||||
#if defined( _OCT_ENDIAN_TYPE_LE_ )
|
||||
#define mOCTVC1_HW_RF_PORT_RX_STATS_SWAP( _f_pParms ){ tOCTVC1_HW_RF_PORT_RX_STATS * pOCTVC1_HW_RF_PORT_RX_STATS = (_f_pParms); SWAP_UNUSED(pOCTVC1_HW_RF_PORT_RX_STATS)\
|
||||
((tOCTVC1_HW_RF_PORT_RX_STATS *)pOCTVC1_HW_RF_PORT_RX_STATS)->ulRxByteCnt = \
|
||||
|
@ -235,8 +276,7 @@ extern "C" {
|
|||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_RF_PORT_RX_STATS *)pOCTVC1_HW_RF_PORT_RX_STATS)->ulRxAverageBytePerSecond); \
|
||||
((tOCTVC1_HW_RF_PORT_RX_STATS *)pOCTVC1_HW_RF_PORT_RX_STATS)->ulRxAveragePeriodUs = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_RF_PORT_RX_STATS *)pOCTVC1_HW_RF_PORT_RX_STATS)->ulRxAveragePeriodUs); \
|
||||
((tOCTVC1_HW_RF_PORT_RX_STATS *)pOCTVC1_HW_RF_PORT_RX_STATS)->ulFrequencyKhz = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_RF_PORT_RX_STATS *)pOCTVC1_HW_RF_PORT_RX_STATS)->ulFrequencyKhz); \
|
||||
{ mOCTVC1_RADIO_FREQUENCY_VALUE_SWAP( &((tOCTVC1_HW_RF_PORT_RX_STATS *)pOCTVC1_HW_RF_PORT_RX_STATS)->Frequency ); } \
|
||||
}
|
||||
#else
|
||||
#define mOCTVC1_HW_RF_PORT_RX_STATS_SWAP( pOCTVC1_HW_RF_PORT_RX_STATS )
|
||||
|
@ -252,13 +292,23 @@ extern "C" {
|
|||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_RF_PORT_TX_STATS *)pOCTVC1_HW_RF_PORT_TX_STATS)->ulTxAverageBytePerSecond); \
|
||||
((tOCTVC1_HW_RF_PORT_TX_STATS *)pOCTVC1_HW_RF_PORT_TX_STATS)->ulTxAveragePeriodUs = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_RF_PORT_TX_STATS *)pOCTVC1_HW_RF_PORT_TX_STATS)->ulTxAveragePeriodUs); \
|
||||
((tOCTVC1_HW_RF_PORT_TX_STATS *)pOCTVC1_HW_RF_PORT_TX_STATS)->ulFrequencyKhz = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_RF_PORT_TX_STATS *)pOCTVC1_HW_RF_PORT_TX_STATS)->ulFrequencyKhz); \
|
||||
{ mOCTVC1_RADIO_FREQUENCY_VALUE_SWAP( &((tOCTVC1_HW_RF_PORT_TX_STATS *)pOCTVC1_HW_RF_PORT_TX_STATS)->Frequency ); } \
|
||||
}
|
||||
#else
|
||||
#define mOCTVC1_HW_RF_PORT_TX_STATS_SWAP( pOCTVC1_HW_RF_PORT_TX_STATS )
|
||||
#endif /* _OCT_ENDIAN_TYPE_LE_ */
|
||||
|
||||
#if defined( _OCT_ENDIAN_TYPE_LE_ )
|
||||
#define mOCTVC1_HW_RF_PORT_ANTENNA_TX_CALIB_SWAP( _f_pParms ){ tOCTVC1_HW_RF_PORT_ANTENNA_TX_CALIB * pOCTVC1_HW_RF_PORT_ANTENNA_TX_CALIB = (_f_pParms); SWAP_UNUSED(pOCTVC1_HW_RF_PORT_ANTENNA_TX_CALIB)\
|
||||
((tOCTVC1_HW_RF_PORT_ANTENNA_TX_CALIB *)pOCTVC1_HW_RF_PORT_ANTENNA_TX_CALIB)->ulFrequencyMhz = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_RF_PORT_ANTENNA_TX_CALIB *)pOCTVC1_HW_RF_PORT_ANTENNA_TX_CALIB)->ulFrequencyMhz); \
|
||||
((tOCTVC1_HW_RF_PORT_ANTENNA_TX_CALIB *)pOCTVC1_HW_RF_PORT_ANTENNA_TX_CALIB)->ulAttenuationdB = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_RF_PORT_ANTENNA_TX_CALIB *)pOCTVC1_HW_RF_PORT_ANTENNA_TX_CALIB)->ulAttenuationdB); \
|
||||
}
|
||||
#else
|
||||
#define mOCTVC1_HW_RF_PORT_ANTENNA_TX_CALIB_SWAP( pOCTVC1_HW_RF_PORT_ANTENNA_TX_CALIB )
|
||||
#endif /* _OCT_ENDIAN_TYPE_LE_ */
|
||||
|
||||
#if defined( _OCT_ENDIAN_TYPE_LE_ )
|
||||
#define mOCTVC1_HW_CLOCK_SYNC_MGR_SOURCE_ENUM_SWAP( pType ){ \
|
||||
*((tOCT_UINT32 *)pType) = mOCT_SWAP32_IF_LE( *((tOCT_UINT32 *)pType) ); }
|
||||
|
@ -580,11 +630,7 @@ extern "C" {
|
|||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_RX_CONFIG_RSP *)pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_RX_CONFIG_RSP)->ulPortIndex); \
|
||||
((tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_RX_CONFIG_RSP *)pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_RX_CONFIG_RSP)->ulAntennaIndex = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_RX_CONFIG_RSP *)pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_RX_CONFIG_RSP)->ulAntennaIndex); \
|
||||
((tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_RX_CONFIG_RSP *)pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_RX_CONFIG_RSP)->ulEnableFlag = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_RX_CONFIG_RSP *)pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_RX_CONFIG_RSP)->ulEnableFlag); \
|
||||
((tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_RX_CONFIG_RSP *)pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_RX_CONFIG_RSP)->lRxGaindB = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_RX_CONFIG_RSP *)pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_RX_CONFIG_RSP)->lRxGaindB); \
|
||||
{ mOCTVC1_RADIO_RX_GAIN_CTRL_MODE_ENUM_SWAP( &((tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_RX_CONFIG_RSP *)pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_RX_CONFIG_RSP)->ulRxGainMode ); } \
|
||||
{ mOCTVC1_HW_RF_PORT_ANTENNA_RX_CONFIG_SWAP( &((tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_RX_CONFIG_RSP *)pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_RX_CONFIG_RSP)->RxConfig ); } \
|
||||
}
|
||||
#else
|
||||
#define mOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_RX_CONFIG_RSP_SWAP( pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_RX_CONFIG_RSP )
|
||||
|
@ -609,15 +655,69 @@ extern "C" {
|
|||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CONFIG_RSP *)pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CONFIG_RSP)->ulPortIndex); \
|
||||
((tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CONFIG_RSP *)pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CONFIG_RSP)->ulAntennaIndex = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CONFIG_RSP *)pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CONFIG_RSP)->ulAntennaIndex); \
|
||||
((tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CONFIG_RSP *)pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CONFIG_RSP)->ulEnableFlag = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CONFIG_RSP *)pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CONFIG_RSP)->ulEnableFlag); \
|
||||
((tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CONFIG_RSP *)pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CONFIG_RSP)->lTxGaindB = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CONFIG_RSP *)pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CONFIG_RSP)->lTxGaindB); \
|
||||
{ mOCTVC1_HW_RF_PORT_ANTENNA_TX_CONFIG_SWAP( &((tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CONFIG_RSP *)pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CONFIG_RSP)->TxConfig ); } \
|
||||
}
|
||||
#else
|
||||
#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_INFO_ANTENNA_TX_CALIB_CMD_SWAP( _f_pParms ){ tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CALIB_CMD * pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CALIB_CMD = (_f_pParms); SWAP_UNUSED(pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CALIB_CMD)\
|
||||
{ mOCTVC1_MSG_HEADER_SWAP( &((tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CALIB_CMD *)pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CALIB_CMD)->Header ); } \
|
||||
((tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CALIB_CMD *)pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CALIB_CMD)->ulPortIndex = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CALIB_CMD *)pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CALIB_CMD)->ulPortIndex); \
|
||||
((tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CALIB_CMD *)pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CALIB_CMD)->ulAntennaIndex = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CALIB_CMD *)pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CALIB_CMD)->ulAntennaIndex); \
|
||||
}
|
||||
#else
|
||||
#define mOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CALIB_CMD_SWAP( pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CALIB_CMD )
|
||||
#endif /* _OCT_ENDIAN_TYPE_LE_ */
|
||||
|
||||
#if defined( _OCT_ENDIAN_TYPE_LE_ )
|
||||
#define mOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CALIB_RSP_SWAP( _f_pParms ){ tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CALIB_RSP * pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CALIB_RSP = (_f_pParms); SWAP_UNUSED(pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CALIB_RSP)\
|
||||
{ mOCTVC1_MSG_HEADER_SWAP( &((tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CALIB_RSP *)pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CALIB_RSP)->Header ); } \
|
||||
((tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CALIB_RSP *)pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CALIB_RSP)->ulPortIndex = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CALIB_RSP *)pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CALIB_RSP)->ulPortIndex); \
|
||||
((tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CALIB_RSP *)pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CALIB_RSP)->ulAntennaIndex = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CALIB_RSP *)pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CALIB_RSP)->ulAntennaIndex); \
|
||||
{ mOCTVC1_HW_RF_PORT_ANTENNA_CALIB_STATE_ENUM_SWAP( &((tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CALIB_RSP *)pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CALIB_RSP)->ulCalibState ); } \
|
||||
((tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CALIB_RSP *)pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CALIB_RSP)->ulCalibCnt = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CALIB_RSP *)pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CALIB_RSP)->ulCalibCnt); \
|
||||
{ tOCT_UINT32 jOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CALIB_RSP; \
|
||||
for( jOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CALIB_RSP=0; \
|
||||
jOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CALIB_RSP<(cOCTVC1_HW_RF_PORT_ANTENNA_MAX_TX_CALIB);jOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CALIB_RSP++ ) \
|
||||
{ mOCTVC1_HW_RF_PORT_ANTENNA_TX_CALIB_SWAP( &((tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CALIB_RSP *)pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CALIB_RSP)->aCalib[jOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CALIB_RSP] ); }} \
|
||||
}
|
||||
#else
|
||||
#define mOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CALIB_RSP_SWAP( pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CALIB_RSP )
|
||||
#endif /* _OCT_ENDIAN_TYPE_LE_ */
|
||||
|
||||
#if defined( _OCT_ENDIAN_TYPE_LE_ )
|
||||
#define mOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CALIB_CMD_SWAP( _f_pParms ){ tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CALIB_CMD * pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CALIB_CMD = (_f_pParms); SWAP_UNUSED(pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CALIB_CMD)\
|
||||
{ mOCTVC1_MSG_HEADER_SWAP( &((tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CALIB_CMD *)pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CALIB_CMD)->Header ); } \
|
||||
((tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CALIB_CMD *)pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CALIB_CMD)->ulPortIndex = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CALIB_CMD *)pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CALIB_CMD)->ulPortIndex); \
|
||||
((tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CALIB_CMD *)pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CALIB_CMD)->ulAntennaIndex = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CALIB_CMD *)pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CALIB_CMD)->ulAntennaIndex); \
|
||||
((tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CALIB_CMD *)pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CALIB_CMD)->ulActivateFlag = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CALIB_CMD *)pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CALIB_CMD)->ulActivateFlag); \
|
||||
}
|
||||
#else
|
||||
#define mOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CALIB_CMD_SWAP( pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CALIB_CMD )
|
||||
#endif /* _OCT_ENDIAN_TYPE_LE_ */
|
||||
|
||||
#if defined( _OCT_ENDIAN_TYPE_LE_ )
|
||||
#define mOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CALIB_RSP_SWAP( _f_pParms ){ tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CALIB_RSP * pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CALIB_RSP = (_f_pParms); SWAP_UNUSED(pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CALIB_RSP)\
|
||||
{ mOCTVC1_MSG_HEADER_SWAP( &((tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CALIB_RSP *)pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CALIB_RSP)->Header ); } \
|
||||
((tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CALIB_RSP *)pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CALIB_RSP)->ulPortIndex = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CALIB_RSP *)pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CALIB_RSP)->ulPortIndex); \
|
||||
((tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CALIB_RSP *)pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CALIB_RSP)->ulAntennaIndex = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CALIB_RSP *)pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CALIB_RSP)->ulAntennaIndex); \
|
||||
}
|
||||
#else
|
||||
#define mOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CALIB_RSP_SWAP( pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CALIB_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 ); } \
|
||||
|
@ -662,12 +762,14 @@ extern "C" {
|
|||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STATS_RSP *)pOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STATS_RSP)->ulPllFractionalFreqHz); \
|
||||
((tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STATS_RSP *)pOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STATS_RSP)->ulSlipCnt = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STATS_RSP *)pOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STATS_RSP)->ulSlipCnt); \
|
||||
((tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STATS_RSP *)pOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STATS_RSP)->ulSyncLosseCnt = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STATS_RSP *)pOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STATS_RSP)->ulSyncLosseCnt); \
|
||||
((tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STATS_RSP *)pOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STATS_RSP)->ulSyncLossCnt = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STATS_RSP *)pOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STATS_RSP)->ulSyncLossCnt); \
|
||||
{ mOCTVC1_HW_CLOCK_SYNC_MGR_SOURCE_STATE_ENUM_SWAP( &((tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STATS_RSP *)pOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STATS_RSP)->ulSourceState ); } \
|
||||
((tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STATS_RSP *)pOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STATS_RSP)->ulDacValue = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STATS_RSP *)pOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STATS_RSP)->ulDacValue); \
|
||||
{ mOCTVC1_USER_ID_PROCESS_ENUM_SWAP( &((tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STATS_RSP *)pOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STATS_RSP)->ulOwnerProcessUid ); } \
|
||||
((tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STATS_RSP *)pOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STATS_RSP)->ulFrequencyCorrectionFlag = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STATS_RSP *)pOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STATS_RSP)->ulFrequencyCorrectionFlag); \
|
||||
}
|
||||
#else
|
||||
#define mOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STATS_RSP_SWAP( pOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STATS_RSP )
|
||||
|
@ -709,6 +811,132 @@ extern "C" {
|
|||
#define mOCTVC1_HW_MSG_CLOCK_SYNC_MGR_MODIFY_SOURCE_RSP_SWAP( pOCTVC1_HW_MSG_CLOCK_SYNC_MGR_MODIFY_SOURCE_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)->ulRelativeGainFlag = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CMD *)pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CMD)->ulRelativeGainFlag); \
|
||||
((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); \
|
||||
}
|
||||
#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); \
|
||||
((tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_RSP *)pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_RSP)->lRxGaindB = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_RSP *)pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_RSP)->lRxGaindB); \
|
||||
}
|
||||
#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_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)->ulRelativeGainFlag = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_CMD *)pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_CMD)->ulRelativeGainFlag); \
|
||||
((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); \
|
||||
((tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_RSP *)pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_RSP)->lTxGaindB = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_RSP *)pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_RSP)->lTxGaindB); \
|
||||
}
|
||||
#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_RF_PORT_INFO_ANTENNA_FRONT_END_CMD_SWAP( _f_pParms ){ tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_CMD * pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_CMD = (_f_pParms); SWAP_UNUSED(pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_CMD)\
|
||||
{ mOCTVC1_MSG_HEADER_SWAP( &((tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_CMD *)pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_CMD)->Header ); } \
|
||||
((tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_CMD *)pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_CMD)->ulPortIndex = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_CMD *)pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_CMD)->ulPortIndex); \
|
||||
((tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_CMD *)pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_CMD)->ulAntennaIndex = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_CMD *)pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_CMD)->ulAntennaIndex); \
|
||||
}
|
||||
#else
|
||||
#define mOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_CMD_SWAP( pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_CMD )
|
||||
#endif /* _OCT_ENDIAN_TYPE_LE_ */
|
||||
|
||||
#if defined( _OCT_ENDIAN_TYPE_LE_ )
|
||||
#define mOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_RSP_SWAP( _f_pParms ){ tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_RSP * pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_RSP = (_f_pParms); SWAP_UNUSED(pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_RSP)\
|
||||
{ mOCTVC1_MSG_HEADER_SWAP( &((tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_RSP *)pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_RSP)->Header ); } \
|
||||
((tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_RSP *)pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_RSP)->ulPortIndex = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_RSP *)pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_RSP)->ulPortIndex); \
|
||||
((tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_RSP *)pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_RSP)->ulAntennaIndex = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_RSP *)pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_RSP)->ulAntennaIndex); \
|
||||
((tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_RSP *)pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_RSP)->ulInitializedFlag = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_RSP *)pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_RSP)->ulInitializedFlag); \
|
||||
((tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_RSP *)pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_RSP)->lTxGaindB = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_RSP *)pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_RSP)->lTxGaindB); \
|
||||
((tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_RSP *)pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_RSP)->lRxGaindB = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_RSP *)pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_RSP)->lRxGaindB); \
|
||||
((tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_RSP *)pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_RSP)->ulTxPathDelayNs = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_RSP *)pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_RSP)->ulTxPathDelayNs); \
|
||||
((tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_RSP *)pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_RSP)->ulRxPathDelayNs = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_RSP *)pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_RSP)->ulRxPathDelayNs); \
|
||||
}
|
||||
#else
|
||||
#define mOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_RSP_SWAP( pOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_RSP )
|
||||
#endif /* _OCT_ENDIAN_TYPE_LE_ */
|
||||
|
||||
#if defined( _OCT_ENDIAN_TYPE_LE_ )
|
||||
#define mOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_FRONT_END_CMD_SWAP( _f_pParms ){ tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_FRONT_END_CMD * pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_FRONT_END_CMD = (_f_pParms); SWAP_UNUSED(pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_FRONT_END_CMD)\
|
||||
{ mOCTVC1_MSG_HEADER_SWAP( &((tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_FRONT_END_CMD *)pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_FRONT_END_CMD)->Header ); } \
|
||||
((tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_FRONT_END_CMD *)pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_FRONT_END_CMD)->ulPortIndex = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_FRONT_END_CMD *)pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_FRONT_END_CMD)->ulPortIndex); \
|
||||
((tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_FRONT_END_CMD *)pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_FRONT_END_CMD)->ulAntennaIndex = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_FRONT_END_CMD *)pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_FRONT_END_CMD)->ulAntennaIndex); \
|
||||
((tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_FRONT_END_CMD *)pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_FRONT_END_CMD)->lTxGaindB = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_FRONT_END_CMD *)pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_FRONT_END_CMD)->lTxGaindB); \
|
||||
((tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_FRONT_END_CMD *)pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_FRONT_END_CMD)->lRxGaindB = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_FRONT_END_CMD *)pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_FRONT_END_CMD)->lRxGaindB); \
|
||||
((tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_FRONT_END_CMD *)pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_FRONT_END_CMD)->ulTxPathDelayNs = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_FRONT_END_CMD *)pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_FRONT_END_CMD)->ulTxPathDelayNs); \
|
||||
((tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_FRONT_END_CMD *)pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_FRONT_END_CMD)->ulRxPathDelayNs = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_FRONT_END_CMD *)pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_FRONT_END_CMD)->ulRxPathDelayNs); \
|
||||
}
|
||||
#else
|
||||
#define mOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_FRONT_END_CMD_SWAP( pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_FRONT_END_CMD )
|
||||
#endif /* _OCT_ENDIAN_TYPE_LE_ */
|
||||
|
||||
#if defined( _OCT_ENDIAN_TYPE_LE_ )
|
||||
#define mOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_FRONT_END_RSP_SWAP( _f_pParms ){ tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_FRONT_END_RSP * pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_FRONT_END_RSP = (_f_pParms); SWAP_UNUSED(pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_FRONT_END_RSP)\
|
||||
{ mOCTVC1_MSG_HEADER_SWAP( &((tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_FRONT_END_RSP *)pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_FRONT_END_RSP)->Header ); } \
|
||||
((tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_FRONT_END_RSP *)pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_FRONT_END_RSP)->ulPortIndex = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_FRONT_END_RSP *)pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_FRONT_END_RSP)->ulPortIndex); \
|
||||
((tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_FRONT_END_RSP *)pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_FRONT_END_RSP)->ulAntennaIndex = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_FRONT_END_RSP *)pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_FRONT_END_RSP)->ulAntennaIndex); \
|
||||
}
|
||||
#else
|
||||
#define mOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_FRONT_END_RSP_SWAP( pOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_FRONT_END_RSP )
|
||||
#endif /* _OCT_ENDIAN_TYPE_LE_ */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: OCTVC1_HW_BASE.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the definition of the OCTVC1 API.
|
||||
|
||||
|
@ -18,7 +18,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: OCTVC1_HW_DEFAULT.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the event definition of the HW API.
|
||||
|
||||
|
@ -18,7 +18,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
@ -505,6 +505,71 @@ extern const tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CONFIG_CMD *g_pOctDef_tOCTVC
|
|||
}
|
||||
|
||||
|
||||
/*--------------------------------------------------------------------------
|
||||
tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CALIB_CMD
|
||||
----------------------------------------------------------------------------*/
|
||||
#ifdef OCTVC1_OPT_DECLARE_DEFAULTS
|
||||
|
||||
const tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CALIB_CMD buf_tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CALIB_CMD =
|
||||
{
|
||||
{ /* Header */
|
||||
((sizeof(tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CALIB_CMD)<<cOCTVC1_MSG_LENGTH_BIT_OFFSET)&cOCTVC1_MSG_LENGTH_BIT_MASK), /* ulLength */
|
||||
0, /* ulTransactionId */
|
||||
((cOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CALIB_CID<<cOCTVC1_MSG_ID_BIT_OFFSET)&cOCTVC1_MSG_ID_BIT_MASK), /* ul_Type_R_CmdId */
|
||||
0, /* ulSessionId */
|
||||
0, /* ulReturnCode */
|
||||
0 /* ulUserInfo */
|
||||
},
|
||||
0, /* ulPortIndex */
|
||||
0 /* ulAntennaIndex */
|
||||
};
|
||||
|
||||
const tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CALIB_CMD *g_pOctDef_tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CALIB_CMD =
|
||||
&buf_tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CALIB_CMD;
|
||||
|
||||
#else /* OCTVC1_OPT_DECLARE_DEFAULTS */
|
||||
extern const tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CALIB_CMD *g_pOctDef_tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CALIB_CMD;
|
||||
#endif /* OCTVC1_OPT_DECLARE_DEFAULTS */
|
||||
|
||||
#define mOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CALIB_CMD_DEF(pSt) \
|
||||
{ \
|
||||
*pSt = *g_pOctDef_tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_TX_CALIB_CMD; \
|
||||
}
|
||||
|
||||
|
||||
/*--------------------------------------------------------------------------
|
||||
tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CALIB_CMD
|
||||
----------------------------------------------------------------------------*/
|
||||
#ifdef OCTVC1_OPT_DECLARE_DEFAULTS
|
||||
|
||||
const tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CALIB_CMD buf_tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CALIB_CMD =
|
||||
{
|
||||
{ /* Header */
|
||||
((sizeof(tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CALIB_CMD)<<cOCTVC1_MSG_LENGTH_BIT_OFFSET)&cOCTVC1_MSG_LENGTH_BIT_MASK), /* ulLength */
|
||||
0, /* ulTransactionId */
|
||||
((cOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CALIB_CID<<cOCTVC1_MSG_ID_BIT_OFFSET)&cOCTVC1_MSG_ID_BIT_MASK), /* ul_Type_R_CmdId */
|
||||
0, /* ulSessionId */
|
||||
0, /* ulReturnCode */
|
||||
0 /* ulUserInfo */
|
||||
},
|
||||
0, /* ulPortIndex */
|
||||
0, /* ulAntennaIndex */
|
||||
0 /* ulActivateFlag */
|
||||
};
|
||||
|
||||
const tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CALIB_CMD *g_pOctDef_tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CALIB_CMD =
|
||||
&buf_tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CALIB_CMD;
|
||||
|
||||
#else /* OCTVC1_OPT_DECLARE_DEFAULTS */
|
||||
extern const tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CALIB_CMD *g_pOctDef_tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CALIB_CMD;
|
||||
#endif /* OCTVC1_OPT_DECLARE_DEFAULTS */
|
||||
|
||||
#define mOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CALIB_CMD_DEF(pSt) \
|
||||
{ \
|
||||
*pSt = *g_pOctDef_tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CALIB_CMD; \
|
||||
}
|
||||
|
||||
|
||||
/*--------------------------------------------------------------------------
|
||||
tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_INFO_CMD
|
||||
----------------------------------------------------------------------------*/
|
||||
|
@ -628,5 +693,141 @@ extern const tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_MODIFY_SOURCE_CMD *g_pOctDef_tOCTVC1_
|
|||
}
|
||||
|
||||
|
||||
/*--------------------------------------------------------------------------
|
||||
tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CMD
|
||||
----------------------------------------------------------------------------*/
|
||||
#ifdef OCTVC1_OPT_DECLARE_DEFAULTS
|
||||
|
||||
const tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CMD buf_tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CMD =
|
||||
{
|
||||
{ /* Header */
|
||||
((sizeof(tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CMD)<<cOCTVC1_MSG_LENGTH_BIT_OFFSET)&cOCTVC1_MSG_LENGTH_BIT_MASK), /* ulLength */
|
||||
0, /* ulTransactionId */
|
||||
((cOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CID<<cOCTVC1_MSG_ID_BIT_OFFSET)&cOCTVC1_MSG_ID_BIT_MASK), /* ul_Type_R_CmdId */
|
||||
0, /* ulSessionId */
|
||||
0, /* ulReturnCode */
|
||||
0 /* ulUserInfo */
|
||||
},
|
||||
0, /* ulPortIndex */
|
||||
0, /* ulAntennaIndex */
|
||||
0, /* ulRelativeGainFlag */
|
||||
cOCTVC1_DO_NOT_MODIFY /* lRxGaindB */
|
||||
};
|
||||
|
||||
const tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CMD *g_pOctDef_tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CMD =
|
||||
&buf_tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CMD;
|
||||
|
||||
#else /* OCTVC1_OPT_DECLARE_DEFAULTS */
|
||||
extern const tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CMD *g_pOctDef_tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CMD;
|
||||
#endif /* OCTVC1_OPT_DECLARE_DEFAULTS */
|
||||
|
||||
#define mOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CMD_DEF(pSt) \
|
||||
{ \
|
||||
*pSt = *g_pOctDef_tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CMD; \
|
||||
}
|
||||
|
||||
|
||||
/*--------------------------------------------------------------------------
|
||||
tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_CMD
|
||||
----------------------------------------------------------------------------*/
|
||||
#ifdef OCTVC1_OPT_DECLARE_DEFAULTS
|
||||
|
||||
const tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_CMD buf_tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_CMD =
|
||||
{
|
||||
{ /* Header */
|
||||
((sizeof(tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_CMD)<<cOCTVC1_MSG_LENGTH_BIT_OFFSET)&cOCTVC1_MSG_LENGTH_BIT_MASK), /* ulLength */
|
||||
0, /* ulTransactionId */
|
||||
((cOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_CID<<cOCTVC1_MSG_ID_BIT_OFFSET)&cOCTVC1_MSG_ID_BIT_MASK), /* ul_Type_R_CmdId */
|
||||
0, /* ulSessionId */
|
||||
0, /* ulReturnCode */
|
||||
0 /* ulUserInfo */
|
||||
},
|
||||
0, /* ulPortIndex */
|
||||
0, /* ulAntennaIndex */
|
||||
0, /* ulRelativeGainFlag */
|
||||
cOCTVC1_DO_NOT_MODIFY /* lTxGaindB */
|
||||
};
|
||||
|
||||
const tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_CMD *g_pOctDef_tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_CMD =
|
||||
&buf_tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_CMD;
|
||||
|
||||
#else /* OCTVC1_OPT_DECLARE_DEFAULTS */
|
||||
extern const tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_CMD *g_pOctDef_tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_CMD;
|
||||
#endif /* OCTVC1_OPT_DECLARE_DEFAULTS */
|
||||
|
||||
#define mOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_CMD_DEF(pSt) \
|
||||
{ \
|
||||
*pSt = *g_pOctDef_tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_CMD; \
|
||||
}
|
||||
|
||||
|
||||
/*--------------------------------------------------------------------------
|
||||
tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_CMD
|
||||
----------------------------------------------------------------------------*/
|
||||
#ifdef OCTVC1_OPT_DECLARE_DEFAULTS
|
||||
|
||||
const tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_CMD buf_tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_CMD =
|
||||
{
|
||||
{ /* Header */
|
||||
((sizeof(tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_CMD)<<cOCTVC1_MSG_LENGTH_BIT_OFFSET)&cOCTVC1_MSG_LENGTH_BIT_MASK), /* ulLength */
|
||||
0, /* ulTransactionId */
|
||||
((cOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_CID<<cOCTVC1_MSG_ID_BIT_OFFSET)&cOCTVC1_MSG_ID_BIT_MASK), /* ul_Type_R_CmdId */
|
||||
0, /* ulSessionId */
|
||||
0, /* ulReturnCode */
|
||||
0 /* ulUserInfo */
|
||||
},
|
||||
0, /* ulPortIndex */
|
||||
0 /* ulAntennaIndex */
|
||||
};
|
||||
|
||||
const tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_CMD *g_pOctDef_tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_CMD =
|
||||
&buf_tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_CMD;
|
||||
|
||||
#else /* OCTVC1_OPT_DECLARE_DEFAULTS */
|
||||
extern const tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_CMD *g_pOctDef_tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_CMD;
|
||||
#endif /* OCTVC1_OPT_DECLARE_DEFAULTS */
|
||||
|
||||
#define mOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_CMD_DEF(pSt) \
|
||||
{ \
|
||||
*pSt = *g_pOctDef_tOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_CMD; \
|
||||
}
|
||||
|
||||
|
||||
/*--------------------------------------------------------------------------
|
||||
tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_FRONT_END_CMD
|
||||
----------------------------------------------------------------------------*/
|
||||
#ifdef OCTVC1_OPT_DECLARE_DEFAULTS
|
||||
|
||||
const tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_FRONT_END_CMD buf_tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_FRONT_END_CMD =
|
||||
{
|
||||
{ /* Header */
|
||||
((sizeof(tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_FRONT_END_CMD)<<cOCTVC1_MSG_LENGTH_BIT_OFFSET)&cOCTVC1_MSG_LENGTH_BIT_MASK), /* ulLength */
|
||||
0, /* ulTransactionId */
|
||||
((cOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_FRONT_END_CID<<cOCTVC1_MSG_ID_BIT_OFFSET)&cOCTVC1_MSG_ID_BIT_MASK), /* ul_Type_R_CmdId */
|
||||
0, /* ulSessionId */
|
||||
0, /* ulReturnCode */
|
||||
0 /* ulUserInfo */
|
||||
},
|
||||
0, /* ulPortIndex */
|
||||
0, /* ulAntennaIndex */
|
||||
0, /* lTxGaindB */
|
||||
0, /* lRxGaindB */
|
||||
0, /* ulTxPathDelayNs */
|
||||
0 /* ulRxPathDelayNs */
|
||||
};
|
||||
|
||||
const tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_FRONT_END_CMD *g_pOctDef_tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_FRONT_END_CMD =
|
||||
&buf_tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_FRONT_END_CMD;
|
||||
|
||||
#else /* OCTVC1_OPT_DECLARE_DEFAULTS */
|
||||
extern const tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_FRONT_END_CMD *g_pOctDef_tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_FRONT_END_CMD;
|
||||
#endif /* OCTVC1_OPT_DECLARE_DEFAULTS */
|
||||
|
||||
#define mOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_FRONT_END_CMD_DEF(pSt) \
|
||||
{ \
|
||||
*pSt = *g_pOctDef_tOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_FRONT_END_CMD; \
|
||||
}
|
||||
|
||||
|
||||
#endif /* __OCTVC1_HW_DEFAULT_H__ */
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: OCTVC1_HW_DEFAULT_PRIV.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the event definition of the HW API.
|
||||
|
||||
|
@ -18,7 +18,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
@ -83,7 +83,8 @@ const tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_CMD buf_tOCTVC1_HW_MSG_CLOCK_S
|
|||
},
|
||||
0x00007600, /* ulDacInitValue */
|
||||
7, /* ulSyncWindowSize */
|
||||
10 /* lSyncThreshold */
|
||||
10, /* lSyncThreshold */
|
||||
0 /* ulFrequencyCorrectionFlag */
|
||||
};
|
||||
|
||||
const tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_CMD *g_pOctDef_tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_START_SYNCHRO_CMD =
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_HW_EVT.h
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the event definition of the HW API.
|
||||
|
||||
|
@ -17,7 +17,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
@ -55,6 +55,80 @@ typedef struct
|
|||
|
||||
} tOCTVC1_HW_MSG_CPU_CORE_EXEC_REPORT_EVT;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_HW_MSG_RF_PORT_ANTENNA_RX_CONFIG_STATUS_CHANGE_EVT
|
||||
|
||||
Members:
|
||||
Header
|
||||
ulPortIndex
|
||||
RF PORT index
|
||||
ulAntennaIndex
|
||||
Antenna index
|
||||
RxConfig
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_EVENT_HEADER Header;
|
||||
tOCTVC1_INDEX ulPortIndex;
|
||||
tOCTVC1_INDEX ulAntennaIndex;
|
||||
tOCTVC1_HW_RF_PORT_ANTENNA_RX_CONFIG RxConfig;
|
||||
|
||||
} tOCTVC1_HW_MSG_RF_PORT_ANTENNA_RX_CONFIG_STATUS_CHANGE_EVT;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_HW_MSG_RF_PORT_ANTENNA_TX_CONFIG_STATUS_CHANGE_EVT
|
||||
|
||||
Members:
|
||||
Header
|
||||
ulPortIndex
|
||||
RF PORT index
|
||||
ulAntennaIndex
|
||||
Antenna index
|
||||
TxConfig
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_EVENT_HEADER Header;
|
||||
tOCTVC1_INDEX ulPortIndex;
|
||||
tOCTVC1_INDEX ulAntennaIndex;
|
||||
tOCTVC1_HW_RF_PORT_ANTENNA_TX_CONFIG TxConfig;
|
||||
|
||||
} tOCTVC1_HW_MSG_RF_PORT_ANTENNA_TX_CONFIG_STATUS_CHANGE_EVT;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_HW_MSG_RF_PORT_STATUS_CHANGE_EVT
|
||||
|
||||
Members:
|
||||
Header
|
||||
ulPortIndex
|
||||
Unique RF port identifier
|
||||
ulInServiceFlag
|
||||
Weather or not the RF_PORT is in service.
|
||||
ulRadioStandard
|
||||
Radio standard
|
||||
RxFrequency
|
||||
Current Rx frequency
|
||||
TxFrequency
|
||||
Current Tx frequency
|
||||
ulBandwidth
|
||||
Current Bandwidth (LTE)
|
||||
aRxConfig
|
||||
aTxConfig
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_EVENT_HEADER Header;
|
||||
tOCTVC1_INDEX ulPortIndex;
|
||||
tOCT_BOOL32 ulInServiceFlag;
|
||||
tOCTVC1_RADIO_STANDARD_ENUM ulRadioStandard;
|
||||
tOCTVC1_RADIO_FREQUENCY_VALUE RxFrequency;
|
||||
tOCTVC1_RADIO_FREQUENCY_VALUE TxFrequency;
|
||||
tOCTVC1_RADIO_STANDARD_BANDWIDTH_ENUM ulBandwidth;
|
||||
tOCTVC1_HW_RF_PORT_ANTENNA_RX_CONFIG aRxConfig[cOCTVC1_HW_RF_PORT_MAX_ANTENNA];
|
||||
tOCTVC1_HW_RF_PORT_ANTENNA_TX_CONFIG aTxConfig[cOCTVC1_HW_RF_PORT_MAX_ANTENNA];
|
||||
|
||||
} tOCTVC1_HW_MSG_RF_PORT_STATUS_CHANGE_EVT;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STATUS_CHANGE_EVT
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_HW_EVT_PRIV.h
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the event definition of the HW API.
|
||||
|
||||
|
@ -17,7 +17,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
|
||||
File: octvc1_hw_evt_priv_swap.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description:
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
|
@ -16,7 +16,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: octvc1_hw_evt_swap.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description:
|
||||
|
||||
|
@ -18,7 +18,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
#ifndef __OCTVC1_HW_EVT_SWAP_H__
|
||||
|
@ -47,6 +47,56 @@ extern "C" {
|
|||
#define mOCTVC1_HW_MSG_CPU_CORE_EXEC_REPORT_EVT_SWAP( pOCTVC1_HW_MSG_CPU_CORE_EXEC_REPORT_EVT )
|
||||
#endif /* _OCT_ENDIAN_TYPE_LE_ */
|
||||
|
||||
#if defined( _OCT_ENDIAN_TYPE_LE_ )
|
||||
#define mOCTVC1_HW_MSG_RF_PORT_ANTENNA_RX_CONFIG_STATUS_CHANGE_EVT_SWAP( _f_pParms ){ tOCTVC1_HW_MSG_RF_PORT_ANTENNA_RX_CONFIG_STATUS_CHANGE_EVT * pOCTVC1_HW_MSG_RF_PORT_ANTENNA_RX_CONFIG_STATUS_CHANGE_EVT = (_f_pParms); SWAP_UNUSED(pOCTVC1_HW_MSG_RF_PORT_ANTENNA_RX_CONFIG_STATUS_CHANGE_EVT)\
|
||||
{ mOCTVC1_EVENT_HEADER_SWAP( &((tOCTVC1_HW_MSG_RF_PORT_ANTENNA_RX_CONFIG_STATUS_CHANGE_EVT *)pOCTVC1_HW_MSG_RF_PORT_ANTENNA_RX_CONFIG_STATUS_CHANGE_EVT)->Header ); } \
|
||||
((tOCTVC1_HW_MSG_RF_PORT_ANTENNA_RX_CONFIG_STATUS_CHANGE_EVT *)pOCTVC1_HW_MSG_RF_PORT_ANTENNA_RX_CONFIG_STATUS_CHANGE_EVT)->ulPortIndex = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_RF_PORT_ANTENNA_RX_CONFIG_STATUS_CHANGE_EVT *)pOCTVC1_HW_MSG_RF_PORT_ANTENNA_RX_CONFIG_STATUS_CHANGE_EVT)->ulPortIndex); \
|
||||
((tOCTVC1_HW_MSG_RF_PORT_ANTENNA_RX_CONFIG_STATUS_CHANGE_EVT *)pOCTVC1_HW_MSG_RF_PORT_ANTENNA_RX_CONFIG_STATUS_CHANGE_EVT)->ulAntennaIndex = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_RF_PORT_ANTENNA_RX_CONFIG_STATUS_CHANGE_EVT *)pOCTVC1_HW_MSG_RF_PORT_ANTENNA_RX_CONFIG_STATUS_CHANGE_EVT)->ulAntennaIndex); \
|
||||
{ mOCTVC1_HW_RF_PORT_ANTENNA_RX_CONFIG_SWAP( &((tOCTVC1_HW_MSG_RF_PORT_ANTENNA_RX_CONFIG_STATUS_CHANGE_EVT *)pOCTVC1_HW_MSG_RF_PORT_ANTENNA_RX_CONFIG_STATUS_CHANGE_EVT)->RxConfig ); } \
|
||||
}
|
||||
#else
|
||||
#define mOCTVC1_HW_MSG_RF_PORT_ANTENNA_RX_CONFIG_STATUS_CHANGE_EVT_SWAP( pOCTVC1_HW_MSG_RF_PORT_ANTENNA_RX_CONFIG_STATUS_CHANGE_EVT )
|
||||
#endif /* _OCT_ENDIAN_TYPE_LE_ */
|
||||
|
||||
#if defined( _OCT_ENDIAN_TYPE_LE_ )
|
||||
#define mOCTVC1_HW_MSG_RF_PORT_ANTENNA_TX_CONFIG_STATUS_CHANGE_EVT_SWAP( _f_pParms ){ tOCTVC1_HW_MSG_RF_PORT_ANTENNA_TX_CONFIG_STATUS_CHANGE_EVT * pOCTVC1_HW_MSG_RF_PORT_ANTENNA_TX_CONFIG_STATUS_CHANGE_EVT = (_f_pParms); SWAP_UNUSED(pOCTVC1_HW_MSG_RF_PORT_ANTENNA_TX_CONFIG_STATUS_CHANGE_EVT)\
|
||||
{ mOCTVC1_EVENT_HEADER_SWAP( &((tOCTVC1_HW_MSG_RF_PORT_ANTENNA_TX_CONFIG_STATUS_CHANGE_EVT *)pOCTVC1_HW_MSG_RF_PORT_ANTENNA_TX_CONFIG_STATUS_CHANGE_EVT)->Header ); } \
|
||||
((tOCTVC1_HW_MSG_RF_PORT_ANTENNA_TX_CONFIG_STATUS_CHANGE_EVT *)pOCTVC1_HW_MSG_RF_PORT_ANTENNA_TX_CONFIG_STATUS_CHANGE_EVT)->ulPortIndex = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_RF_PORT_ANTENNA_TX_CONFIG_STATUS_CHANGE_EVT *)pOCTVC1_HW_MSG_RF_PORT_ANTENNA_TX_CONFIG_STATUS_CHANGE_EVT)->ulPortIndex); \
|
||||
((tOCTVC1_HW_MSG_RF_PORT_ANTENNA_TX_CONFIG_STATUS_CHANGE_EVT *)pOCTVC1_HW_MSG_RF_PORT_ANTENNA_TX_CONFIG_STATUS_CHANGE_EVT)->ulAntennaIndex = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_RF_PORT_ANTENNA_TX_CONFIG_STATUS_CHANGE_EVT *)pOCTVC1_HW_MSG_RF_PORT_ANTENNA_TX_CONFIG_STATUS_CHANGE_EVT)->ulAntennaIndex); \
|
||||
{ mOCTVC1_HW_RF_PORT_ANTENNA_TX_CONFIG_SWAP( &((tOCTVC1_HW_MSG_RF_PORT_ANTENNA_TX_CONFIG_STATUS_CHANGE_EVT *)pOCTVC1_HW_MSG_RF_PORT_ANTENNA_TX_CONFIG_STATUS_CHANGE_EVT)->TxConfig ); } \
|
||||
}
|
||||
#else
|
||||
#define mOCTVC1_HW_MSG_RF_PORT_ANTENNA_TX_CONFIG_STATUS_CHANGE_EVT_SWAP( pOCTVC1_HW_MSG_RF_PORT_ANTENNA_TX_CONFIG_STATUS_CHANGE_EVT )
|
||||
#endif /* _OCT_ENDIAN_TYPE_LE_ */
|
||||
|
||||
#if defined( _OCT_ENDIAN_TYPE_LE_ )
|
||||
#define mOCTVC1_HW_MSG_RF_PORT_STATUS_CHANGE_EVT_SWAP( _f_pParms ){ tOCTVC1_HW_MSG_RF_PORT_STATUS_CHANGE_EVT * pOCTVC1_HW_MSG_RF_PORT_STATUS_CHANGE_EVT = (_f_pParms); SWAP_UNUSED(pOCTVC1_HW_MSG_RF_PORT_STATUS_CHANGE_EVT)\
|
||||
{ mOCTVC1_EVENT_HEADER_SWAP( &((tOCTVC1_HW_MSG_RF_PORT_STATUS_CHANGE_EVT *)pOCTVC1_HW_MSG_RF_PORT_STATUS_CHANGE_EVT)->Header ); } \
|
||||
((tOCTVC1_HW_MSG_RF_PORT_STATUS_CHANGE_EVT *)pOCTVC1_HW_MSG_RF_PORT_STATUS_CHANGE_EVT)->ulPortIndex = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_RF_PORT_STATUS_CHANGE_EVT *)pOCTVC1_HW_MSG_RF_PORT_STATUS_CHANGE_EVT)->ulPortIndex); \
|
||||
((tOCTVC1_HW_MSG_RF_PORT_STATUS_CHANGE_EVT *)pOCTVC1_HW_MSG_RF_PORT_STATUS_CHANGE_EVT)->ulInServiceFlag = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_HW_MSG_RF_PORT_STATUS_CHANGE_EVT *)pOCTVC1_HW_MSG_RF_PORT_STATUS_CHANGE_EVT)->ulInServiceFlag); \
|
||||
{ mOCTVC1_RADIO_STANDARD_ENUM_SWAP( &((tOCTVC1_HW_MSG_RF_PORT_STATUS_CHANGE_EVT *)pOCTVC1_HW_MSG_RF_PORT_STATUS_CHANGE_EVT)->ulRadioStandard ); } \
|
||||
{ mOCTVC1_RADIO_FREQUENCY_VALUE_SWAP( &((tOCTVC1_HW_MSG_RF_PORT_STATUS_CHANGE_EVT *)pOCTVC1_HW_MSG_RF_PORT_STATUS_CHANGE_EVT)->RxFrequency ); } \
|
||||
{ mOCTVC1_RADIO_FREQUENCY_VALUE_SWAP( &((tOCTVC1_HW_MSG_RF_PORT_STATUS_CHANGE_EVT *)pOCTVC1_HW_MSG_RF_PORT_STATUS_CHANGE_EVT)->TxFrequency ); } \
|
||||
{ mOCTVC1_RADIO_STANDARD_BANDWIDTH_ENUM_SWAP( &((tOCTVC1_HW_MSG_RF_PORT_STATUS_CHANGE_EVT *)pOCTVC1_HW_MSG_RF_PORT_STATUS_CHANGE_EVT)->ulBandwidth ); } \
|
||||
{ tOCT_UINT32 jOCTVC1_HW_MSG_RF_PORT_STATUS_CHANGE_EVT; \
|
||||
for( jOCTVC1_HW_MSG_RF_PORT_STATUS_CHANGE_EVT=0; \
|
||||
jOCTVC1_HW_MSG_RF_PORT_STATUS_CHANGE_EVT<(cOCTVC1_HW_RF_PORT_MAX_ANTENNA);jOCTVC1_HW_MSG_RF_PORT_STATUS_CHANGE_EVT++ ) \
|
||||
{ mOCTVC1_HW_RF_PORT_ANTENNA_RX_CONFIG_SWAP( &((tOCTVC1_HW_MSG_RF_PORT_STATUS_CHANGE_EVT *)pOCTVC1_HW_MSG_RF_PORT_STATUS_CHANGE_EVT)->aRxConfig[jOCTVC1_HW_MSG_RF_PORT_STATUS_CHANGE_EVT] ); }} \
|
||||
{ tOCT_UINT32 jOCTVC1_HW_MSG_RF_PORT_STATUS_CHANGE_EVT; \
|
||||
for( jOCTVC1_HW_MSG_RF_PORT_STATUS_CHANGE_EVT=0; \
|
||||
jOCTVC1_HW_MSG_RF_PORT_STATUS_CHANGE_EVT<(cOCTVC1_HW_RF_PORT_MAX_ANTENNA);jOCTVC1_HW_MSG_RF_PORT_STATUS_CHANGE_EVT++ ) \
|
||||
{ mOCTVC1_HW_RF_PORT_ANTENNA_TX_CONFIG_SWAP( &((tOCTVC1_HW_MSG_RF_PORT_STATUS_CHANGE_EVT *)pOCTVC1_HW_MSG_RF_PORT_STATUS_CHANGE_EVT)->aTxConfig[jOCTVC1_HW_MSG_RF_PORT_STATUS_CHANGE_EVT] ); }} \
|
||||
}
|
||||
#else
|
||||
#define mOCTVC1_HW_MSG_RF_PORT_STATUS_CHANGE_EVT_SWAP( pOCTVC1_HW_MSG_RF_PORT_STATUS_CHANGE_EVT )
|
||||
#endif /* _OCT_ENDIAN_TYPE_LE_ */
|
||||
|
||||
#if defined( _OCT_ENDIAN_TYPE_LE_ )
|
||||
#define mOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STATUS_CHANGE_EVT_SWAP( _f_pParms ){ tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STATUS_CHANGE_EVT * pOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STATUS_CHANGE_EVT = (_f_pParms); SWAP_UNUSED(pOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STATUS_CHANGE_EVT)\
|
||||
{ mOCTVC1_EVENT_HEADER_SWAP( &((tOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STATUS_CHANGE_EVT *)pOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STATUS_CHANGE_EVT)->Header ); } \
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: OCTVC1_HW_ID.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the identifiers for the HW API.
|
||||
|
||||
|
@ -18,7 +18,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
@ -35,34 +35,43 @@ $Octasic_Revision: $
|
|||
/****************************************************************************
|
||||
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_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_RF_PORT_INFO_ANTENNA_TX_CALIB_CID ( 0x010 + cOCTVC1_HW_CID_BASE )
|
||||
#define cOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CALIB_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_MSG_RF_PORT_MODIFY_ANTENNA_RX_CONFIG_CID ( 0x018 + cOCTVC1_HW_CID_BASE )
|
||||
#define cOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_TX_CONFIG_CID ( 0x019 + cOCTVC1_HW_CID_BASE )
|
||||
#define cOCTVC1_HW_MSG_RF_PORT_INFO_ANTENNA_FRONT_END_CID ( 0x01b + cOCTVC1_HW_CID_BASE )
|
||||
#define cOCTVC1_HW_MSG_RF_PORT_MODIFY_ANTENNA_FRONT_END_CID ( 0x01c + cOCTVC1_HW_CID_BASE )
|
||||
|
||||
#define cOCTVC1_HW_CID_MAX (( 0x017 + 1 ) & 0xFFF)
|
||||
#define cOCTVC1_HW_CID_MAX (( 0x01c + 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_MSG_CPU_CORE_EXEC_REPORT_EID ( 0x0001 + cOCTVC1_HW_EID_BASE )
|
||||
#define cOCTVC1_HW_MSG_CLOCK_SYNC_MGR_STATUS_CHANGE_EID ( 0x0002 + cOCTVC1_HW_EID_BASE )
|
||||
#define cOCTVC1_HW_MSG_RF_PORT_STATUS_CHANGE_EID ( 0x0003 + cOCTVC1_HW_EID_BASE )
|
||||
#define cOCTVC1_HW_MSG_RF_PORT_ANTENNA_RX_CONFIG_STATUS_CHANGE_EID ( 0x0004 + cOCTVC1_HW_EID_BASE )
|
||||
#define cOCTVC1_HW_MSG_RF_PORT_ANTENNA_TX_CONFIG_STATUS_CHANGE_EID ( 0x0005 + cOCTVC1_HW_EID_BASE )
|
||||
|
||||
#define cOCTVC1_HW_EID_MAX (( 0x0002 + 1 ) & 0xFFFF)
|
||||
#define cOCTVC1_HW_EID_MAX (( 0x0005 + 1 ) & 0xFFFF)
|
||||
|
||||
|
||||
#endif /* __OCTVC1_HW_ID_H__ */
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: OCTVC1_HW_ID_PRIV.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the identifiers for the HW API.
|
||||
|
||||
|
@ -18,7 +18,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
@ -35,9 +35,9 @@ $Octasic_Revision: $
|
|||
/****************************************************************************
|
||||
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 )
|
||||
#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
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: OCTVC1_HW_RC.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the return codes for the HW API.
|
||||
|
||||
|
@ -18,7 +18,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
@ -55,6 +55,8 @@ $Octasic_Revision: $
|
|||
#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 )
|
||||
#define cOCTVC1_HW_RC_RF_PORT_TX_CALIBRATION_NOT_AVAILABLE ( 0x0005 + cOCTVC1_HW_RF_PORT_RC_BASE )
|
||||
#define cOCTVC1_HW_RC_RF_PORT_ANTENNA_RX_AGC_MODE ( 0x0006 + cOCTVC1_HW_RF_PORT_RC_BASE )
|
||||
|
||||
/****************************************************************************
|
||||
CLOCK_SYNC_MGR return codes
|
||||
|
@ -71,6 +73,15 @@ $Octasic_Revision: $
|
|||
#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 )
|
||||
#define cOCTVC1_HW_RC_CLOCK_SYNC_MGR_NOT_OPENED ( 0x000A + cOCTVC1_HW_CLOCK_SYNC_MGR_RC_BASE )
|
||||
|
||||
/****************************************************************************
|
||||
Validate return codes
|
||||
****************************************************************************/
|
||||
#define cOCTVC1_HW_AUTO_VALIDATE_RC_BASE ( 0xF000 + cOCTVC1_HW_RC_BASE )
|
||||
|
||||
#define cOCTVC1_HW_RC_RF_PORT_ANTENNA_RX_CONFIG_MODIFY_INVALID_RX_GAIND_B ( 0x1 + cOCTVC1_HW_AUTO_VALIDATE_RC_BASE )
|
||||
#define cOCTVC1_HW_RC_RF_PORT_ANTENNA_TX_CONFIG_MODIFY_INVALID_TX_GAIND_B ( 0x2 + cOCTVC1_HW_AUTO_VALIDATE_RC_BASE )
|
||||
|
||||
#endif /* OCTVC1_HW_RC_H__ */
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: OCTVC1_HW_RC_PRIV.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the return codes for the HW API.
|
||||
|
||||
|
@ -18,7 +18,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
@ -36,5 +36,9 @@ $Octasic_Revision: $
|
|||
HW return codes
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
Validate return codes
|
||||
****************************************************************************/
|
||||
|
||||
#endif /* OCTVC1_HW_RC_PRIV_H__ */
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: OCTVC1_HW_VERSION.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the version of the HW API interface.
|
||||
|
||||
|
@ -18,7 +18,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
@ -37,8 +37,8 @@ $Octasic_Revision: $
|
|||
*/
|
||||
#define cOCTVC1_HW_VERSION_MAJOR 2
|
||||
#define cOCTVC1_HW_VERSION_MINOR 7
|
||||
#define cOCTVC1_HW_VERSION_MAINTENANCE 0
|
||||
#define cOCTVC1_HW_VERSION_BUILD 1039
|
||||
#define cOCTVC1_HW_VERSION_MAINTENANCE 1
|
||||
#define cOCTVC1_HW_VERSION_BUILD 1351
|
||||
|
||||
#define cOCTVC1_HW_VERSION_ID ( (cOCTVC1_HW_VERSION_MAJOR << 25) + \
|
||||
(cOCTVC1_HW_VERSION_MINOR << 18) + \
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: OCTVC1_IRSC_API.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the definition of the IRSC API.
|
||||
OCTVC1 Internal Resources
|
||||
|
@ -19,7 +19,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Revision: $
|
||||
|
||||
|
@ -465,8 +465,7 @@ typedef struct
|
|||
OCTVC1 Message Header
|
||||
hProcess
|
||||
Default: cOCTVC1_HANDLE_INVALID
|
||||
Process handle identifier. Typically retrieved using the
|
||||
cOCTVC1_MAIN_MSG_DEVICE_INFO_CID command.
|
||||
Process handle identifier.
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
|
@ -1538,6 +1537,42 @@ typedef struct
|
|||
|
||||
} tOCTVC1_IRSC_MSG_ROUTER_STATS_RSP;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_IRSC_MSG_APPLICATION_STATS_SYSTEM_CMD
|
||||
This command retrieves the system global statistics.
|
||||
|
||||
Members:
|
||||
Header
|
||||
OCTVC1 Message Header
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_MSG_HEADER Header;
|
||||
|
||||
} tOCTVC1_IRSC_MSG_APPLICATION_STATS_SYSTEM_CMD;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_IRSC_MSG_APPLICATION_STATS_SYSTEM_RSP
|
||||
|
||||
Members:
|
||||
Header
|
||||
OCTVC1 Message Header
|
||||
ulExtMemSizeKb
|
||||
Total Size of External Memory (Kbytes).
|
||||
ulExtMemTotalAllocFreeSizeKb
|
||||
Total Free Size Left of External Memory available for allocation (Kbytes).
|
||||
ulExtMemLargestFreeBlocSizeKb
|
||||
Largest free bloc of memory available (Kbytes).
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_MSG_HEADER Header;
|
||||
tOCT_UINT32 ulExtMemSizeKb;
|
||||
tOCT_UINT32 ulExtMemTotalAllocFreeSizeKb;
|
||||
tOCT_UINT32 ulExtMemLargestFreeBlocSizeKb;
|
||||
|
||||
} tOCTVC1_IRSC_MSG_APPLICATION_STATS_SYSTEM_RSP;
|
||||
|
||||
|
||||
/*************** INCLUDE FILES WITH DEPENDENCIES ON THIS FILE **************/
|
||||
#include "octvc1_irsc_evt.h"
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: OCTVC1_IRSC_API_PRIV.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the definition of the IRSC API.
|
||||
OCTVC1 Internal Resources
|
||||
|
@ -19,7 +19,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Revision: $
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
|
||||
File: octvc1_irsc_api_priv_swap.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description:
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
|
@ -16,7 +16,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: octvc1_irsc_api_swap.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description:
|
||||
|
||||
|
@ -18,7 +18,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
#ifndef __OCTVC1_IRSC_API_SWAP_H__
|
||||
|
@ -914,6 +914,28 @@ extern "C" {
|
|||
#define mOCTVC1_IRSC_MSG_ROUTER_STATS_RSP_SWAP( pOCTVC1_IRSC_MSG_ROUTER_STATS_RSP )
|
||||
#endif /* _OCT_ENDIAN_TYPE_LE_ */
|
||||
|
||||
#if defined( _OCT_ENDIAN_TYPE_LE_ )
|
||||
#define mOCTVC1_IRSC_MSG_APPLICATION_STATS_SYSTEM_CMD_SWAP( _f_pParms ){ tOCTVC1_IRSC_MSG_APPLICATION_STATS_SYSTEM_CMD * pOCTVC1_IRSC_MSG_APPLICATION_STATS_SYSTEM_CMD = (_f_pParms); SWAP_UNUSED(pOCTVC1_IRSC_MSG_APPLICATION_STATS_SYSTEM_CMD)\
|
||||
{ mOCTVC1_MSG_HEADER_SWAP( &((tOCTVC1_IRSC_MSG_APPLICATION_STATS_SYSTEM_CMD *)pOCTVC1_IRSC_MSG_APPLICATION_STATS_SYSTEM_CMD)->Header ); } \
|
||||
}
|
||||
#else
|
||||
#define mOCTVC1_IRSC_MSG_APPLICATION_STATS_SYSTEM_CMD_SWAP( pOCTVC1_IRSC_MSG_APPLICATION_STATS_SYSTEM_CMD )
|
||||
#endif /* _OCT_ENDIAN_TYPE_LE_ */
|
||||
|
||||
#if defined( _OCT_ENDIAN_TYPE_LE_ )
|
||||
#define mOCTVC1_IRSC_MSG_APPLICATION_STATS_SYSTEM_RSP_SWAP( _f_pParms ){ tOCTVC1_IRSC_MSG_APPLICATION_STATS_SYSTEM_RSP * pOCTVC1_IRSC_MSG_APPLICATION_STATS_SYSTEM_RSP = (_f_pParms); SWAP_UNUSED(pOCTVC1_IRSC_MSG_APPLICATION_STATS_SYSTEM_RSP)\
|
||||
{ mOCTVC1_MSG_HEADER_SWAP( &((tOCTVC1_IRSC_MSG_APPLICATION_STATS_SYSTEM_RSP *)pOCTVC1_IRSC_MSG_APPLICATION_STATS_SYSTEM_RSP)->Header ); } \
|
||||
((tOCTVC1_IRSC_MSG_APPLICATION_STATS_SYSTEM_RSP *)pOCTVC1_IRSC_MSG_APPLICATION_STATS_SYSTEM_RSP)->ulExtMemSizeKb = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_IRSC_MSG_APPLICATION_STATS_SYSTEM_RSP *)pOCTVC1_IRSC_MSG_APPLICATION_STATS_SYSTEM_RSP)->ulExtMemSizeKb); \
|
||||
((tOCTVC1_IRSC_MSG_APPLICATION_STATS_SYSTEM_RSP *)pOCTVC1_IRSC_MSG_APPLICATION_STATS_SYSTEM_RSP)->ulExtMemTotalAllocFreeSizeKb = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_IRSC_MSG_APPLICATION_STATS_SYSTEM_RSP *)pOCTVC1_IRSC_MSG_APPLICATION_STATS_SYSTEM_RSP)->ulExtMemTotalAllocFreeSizeKb); \
|
||||
((tOCTVC1_IRSC_MSG_APPLICATION_STATS_SYSTEM_RSP *)pOCTVC1_IRSC_MSG_APPLICATION_STATS_SYSTEM_RSP)->ulExtMemLargestFreeBlocSizeKb = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_IRSC_MSG_APPLICATION_STATS_SYSTEM_RSP *)pOCTVC1_IRSC_MSG_APPLICATION_STATS_SYSTEM_RSP)->ulExtMemLargestFreeBlocSizeKb); \
|
||||
}
|
||||
#else
|
||||
#define mOCTVC1_IRSC_MSG_APPLICATION_STATS_SYSTEM_RSP_SWAP( pOCTVC1_IRSC_MSG_APPLICATION_STATS_SYSTEM_RSP )
|
||||
#endif /* _OCT_ENDIAN_TYPE_LE_ */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: OCTVC1_IRSC_BASE.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the definition of the OCTVC1 API.
|
||||
|
||||
|
@ -18,7 +18,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: OCTVC1_IRSC_DEFAULT.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the event definition of the IRSC API.
|
||||
|
||||
|
@ -18,7 +18,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
@ -939,5 +939,35 @@ extern const tOCTVC1_IRSC_MSG_ROUTER_STATS_CMD *g_pOctDef_tOCTVC1_IRSC_MSG_ROUTE
|
|||
}
|
||||
|
||||
|
||||
/*--------------------------------------------------------------------------
|
||||
tOCTVC1_IRSC_MSG_APPLICATION_STATS_SYSTEM_CMD
|
||||
----------------------------------------------------------------------------*/
|
||||
#ifdef OCTVC1_OPT_DECLARE_DEFAULTS
|
||||
|
||||
const tOCTVC1_IRSC_MSG_APPLICATION_STATS_SYSTEM_CMD buf_tOCTVC1_IRSC_MSG_APPLICATION_STATS_SYSTEM_CMD =
|
||||
{
|
||||
{ /* Header */
|
||||
((sizeof(tOCTVC1_IRSC_MSG_APPLICATION_STATS_SYSTEM_CMD)<<cOCTVC1_MSG_LENGTH_BIT_OFFSET)&cOCTVC1_MSG_LENGTH_BIT_MASK), /* ulLength */
|
||||
0, /* ulTransactionId */
|
||||
((cOCTVC1_IRSC_MSG_APPLICATION_STATS_SYSTEM_CID<<cOCTVC1_MSG_ID_BIT_OFFSET)&cOCTVC1_MSG_ID_BIT_MASK), /* ul_Type_R_CmdId */
|
||||
0, /* ulSessionId */
|
||||
0, /* ulReturnCode */
|
||||
0 /* ulUserInfo */
|
||||
}
|
||||
};
|
||||
|
||||
const tOCTVC1_IRSC_MSG_APPLICATION_STATS_SYSTEM_CMD *g_pOctDef_tOCTVC1_IRSC_MSG_APPLICATION_STATS_SYSTEM_CMD =
|
||||
&buf_tOCTVC1_IRSC_MSG_APPLICATION_STATS_SYSTEM_CMD;
|
||||
|
||||
#else /* OCTVC1_OPT_DECLARE_DEFAULTS */
|
||||
extern const tOCTVC1_IRSC_MSG_APPLICATION_STATS_SYSTEM_CMD *g_pOctDef_tOCTVC1_IRSC_MSG_APPLICATION_STATS_SYSTEM_CMD;
|
||||
#endif /* OCTVC1_OPT_DECLARE_DEFAULTS */
|
||||
|
||||
#define mOCTVC1_IRSC_MSG_APPLICATION_STATS_SYSTEM_CMD_DEF(pSt) \
|
||||
{ \
|
||||
*pSt = *g_pOctDef_tOCTVC1_IRSC_MSG_APPLICATION_STATS_SYSTEM_CMD; \
|
||||
}
|
||||
|
||||
|
||||
#endif /* __OCTVC1_IRSC_DEFAULT_H__ */
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: OCTVC1_IRSC_DEFAULT_PRIV.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the event definition of the IRSC API.
|
||||
|
||||
|
@ -18,7 +18,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_IRSC_EVT.h
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the event definition of the IRSC API.
|
||||
|
||||
|
@ -17,7 +17,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_IRSC_EVT_PRIV.h
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the event definition of the IRSC API.
|
||||
|
||||
|
@ -17,7 +17,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
|
||||
File: octvc1_irsc_evt_priv_swap.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description:
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
|
@ -16,7 +16,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: octvc1_irsc_evt_swap.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description:
|
||||
|
||||
|
@ -18,7 +18,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
#ifndef __OCTVC1_IRSC_EVT_SWAP_H__
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: OCTVC1_IRSC_ID.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the identifiers for the IRSC API.
|
||||
|
||||
|
@ -18,7 +18,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
@ -63,8 +63,9 @@ $Octasic_Revision: $
|
|||
#define cOCTVC1_IRSC_MSG_APPLICATION_STOP_TAP_CID ( 0x01a + cOCTVC1_IRSC_CID_BASE )
|
||||
#define cOCTVC1_IRSC_MSG_ROUTER_INFO_CID ( 0x01b + cOCTVC1_IRSC_CID_BASE )
|
||||
#define cOCTVC1_IRSC_MSG_ROUTER_STATS_CID ( 0x01c + cOCTVC1_IRSC_CID_BASE )
|
||||
#define cOCTVC1_IRSC_MSG_APPLICATION_STATS_SYSTEM_CID ( 0x01d + cOCTVC1_IRSC_CID_BASE )
|
||||
|
||||
#define cOCTVC1_IRSC_CID_MAX (( 0x01c + 1 ) & 0xFFF)
|
||||
#define cOCTVC1_IRSC_CID_MAX (( 0x01d + 1 ) & 0xFFF)
|
||||
|
||||
/****************************************************************************
|
||||
Event IDs
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: OCTVC1_IRSC_ID_PRIV.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the identifiers for the IRSC API.
|
||||
|
||||
|
@ -18,7 +18,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: OCTVC1_IRSC_RC.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the return codes for the IRSC API.
|
||||
|
||||
|
@ -18,7 +18,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: OCTVC1_IRSC_RC_PRIV.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the return codes for the IRSC API.
|
||||
|
||||
|
@ -18,7 +18,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: OCTVC1_IRSC_VERSION.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the version of the IRSC API interface.
|
||||
|
||||
|
@ -18,7 +18,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
@ -37,8 +37,8 @@ $Octasic_Revision: $
|
|||
*/
|
||||
#define cOCTVC1_IRSC_VERSION_MAJOR 2
|
||||
#define cOCTVC1_IRSC_VERSION_MINOR 7
|
||||
#define cOCTVC1_IRSC_VERSION_MAINTENANCE 0
|
||||
#define cOCTVC1_IRSC_VERSION_BUILD 1039
|
||||
#define cOCTVC1_IRSC_VERSION_MAINTENANCE 1
|
||||
#define cOCTVC1_IRSC_VERSION_BUILD 1351
|
||||
|
||||
#define cOCTVC1_IRSC_VERSION_ID ( (cOCTVC1_IRSC_VERSION_MAJOR << 25) + \
|
||||
(cOCTVC1_IRSC_VERSION_MINOR << 18) + \
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,45 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_JOB_API_PRIV.h
|
||||
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the definition of the JOB API.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation; either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_JOB_API_PRIV_H__
|
||||
#define __OCTVC1_JOB_API_PRIV_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "octvc1_job_api.h"
|
||||
#include "octvc1_job_id_priv.h"
|
||||
#include "octvc1_job_rc_priv.h"
|
||||
|
||||
/************************ COMMON DEFINITIONS *******************************/
|
||||
|
||||
|
||||
/***************************** METHODS *************************************/
|
||||
|
||||
/*************** INCLUDE FILES WITH DEPENDENCIES ON THIS FILE **************/
|
||||
#include "octvc1_job_evt_priv.h"
|
||||
|
||||
#endif /* __OCTVC1_JOB_API_PRIV_H__ */
|
||||
|
|
@ -0,0 +1,41 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
|
||||
File: octvc1_job_api_priv_swap.h
|
||||
|
||||
Copyright (c) 2017 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 Affero General Public License as published by
|
||||
the Free Software Foundation; either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_JOB_API_PRIV_SWAP_H__
|
||||
#define __OCTVC1_JOB_API_PRIV_SWAP_H__
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "../octvc1_priv_swap_hdrs.h"
|
||||
#include "octvc1_job_api_priv.h"
|
||||
|
||||
/********************************* MACROS **********************************/
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#endif /* __OCTVC1_JOB_API_PRIV_SWAP_H__ */
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,49 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_JOB_BASE.h
|
||||
|
||||
Copyright (c) 2017 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 Affero General Public License as published by
|
||||
the Free Software Foundation; either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_JOB_BASE_H__
|
||||
#define __OCTVC1_JOB_BASE_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "../octvc1_base.h"
|
||||
|
||||
/****************************************************************************
|
||||
Module unique identifiers
|
||||
****************************************************************************/
|
||||
#define cOCTVC1_JOB_UID ( 0x05 )
|
||||
|
||||
/****************************************************************************
|
||||
Module identifier bases
|
||||
****************************************************************************/
|
||||
|
||||
/* Module: JOB */
|
||||
#define cOCTVC1_JOB_CID_BASE ( (cOCTVC1_JOB_UID << 16) + cOCTVC1_CID_BASE )
|
||||
#define cOCTVC1_JOB_EID_BASE ( (cOCTVC1_JOB_UID << 16) + cOCTVC1_EID_BASE )
|
||||
#define cOCTVC1_JOB_RC_BASE ( (cOCTVC1_JOB_UID << 16) + cOCTVC1_RC_BASE )
|
||||
|
||||
#endif /* __OCTVC1_JOB_BASE_H__ */
|
||||
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,38 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_JOB_DEFAULT_PRIV.h
|
||||
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the event definition of the JOB API.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation; either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_JOB_DEFAULT_PRIV_H__
|
||||
#define __OCTVC1_JOB_DEFAULT_PRIV_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "octvc1_job_api_priv.h"
|
||||
#include "octvc1_job_default.h"
|
||||
|
||||
/***************************** COMMAND DEFAULT *****************************/
|
||||
|
||||
#endif /* __OCTVC1_JOB_DEFAULT_PRIV_H__ */
|
||||
|
|
@ -0,0 +1,71 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_JOB_EVT.h
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the event definition of the JOB API.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation; either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_JOB_EVT_H__
|
||||
#define __OCTVC1_JOB_EVT_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
|
||||
#include "octvc1_job_api.h"
|
||||
|
||||
/************************ COMMON DEFINITIONS *******************************/
|
||||
|
||||
/***************************** NOTIFICATIONS **********************************/
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_JOB_MSG_RUNNER_EXECUTOR_STATE_CHANGE_EVT
|
||||
|
||||
Members:
|
||||
Header
|
||||
OCTVC1 Event Header
|
||||
hExecutor
|
||||
Executor handle identifier.
|
||||
hActiveCase
|
||||
Current running job case identifier.
|
||||
szPackageName
|
||||
Job package name.
|
||||
szSuiteName
|
||||
Job suite name.
|
||||
szCaseName
|
||||
Active unit job case.
|
||||
ulOldState
|
||||
ulNewState
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_EVENT_HEADER Header;
|
||||
tOCTVC1_HANDLE_OBJECT hExecutor;
|
||||
tOCTVC1_HANDLE_OBJECT hActiveCase;
|
||||
tOCT_INT8 szPackageName[(cOCTVC1_JOB_PACKAGE_NAME_MAX_LENGTH+1)];
|
||||
tOCT_INT8 szSuiteName[(cOCTVC1_JOB_SUITE_NAME_MAX_LENGTH+1)];
|
||||
tOCT_INT8 szCaseName[(cOCTVC1_HANDLE_OBJECT32_NAME_MAX_LENGTH+1)];
|
||||
tOCTVC1_JOB_RUNNER_CASE_STATE_ENUM ulOldState;
|
||||
tOCTVC1_JOB_RUNNER_CASE_STATE_ENUM ulNewState;
|
||||
|
||||
} tOCTVC1_JOB_MSG_RUNNER_EXECUTOR_STATE_CHANGE_EVT;
|
||||
|
||||
|
||||
#endif /* __OCTVC1_JOB_EVT_H__ */
|
||||
|
|
@ -0,0 +1,52 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_JOB_EVT_PRIV.h
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the event definition of the JOB API.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation; either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_JOB_EVT_PRIV_H__
|
||||
#define __OCTVC1_JOB_EVT_PRIV_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
|
||||
#include "octvc1_job_api_priv.h"
|
||||
|
||||
/************************ COMMON DEFINITIONS *******************************/
|
||||
|
||||
/***************************** NOTIFICATIONS **********************************/
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_JOB_MSG_RUNNER_UNIT_TEST_END_EVT
|
||||
|
||||
Members:
|
||||
Header
|
||||
OCTVC1 Event Header
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_EVENT_HEADER Header;
|
||||
|
||||
} tOCTVC1_JOB_MSG_RUNNER_UNIT_TEST_END_EVT;
|
||||
|
||||
|
||||
#endif /* __OCTVC1_JOB_EVT_PRIV_H__ */
|
||||
|
|
@ -0,0 +1,49 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
|
||||
File: octvc1_job_evt_priv_swap.h
|
||||
|
||||
Copyright (c) 2017 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 Affero General Public License as published by
|
||||
the Free Software Foundation; either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_JOB_EVT_PRIV_SWAP_H__
|
||||
#define __OCTVC1_JOB_EVT_PRIV_SWAP_H__
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "../octvc1_priv_swap_hdrs.h"
|
||||
#include "octvc1_job_evt_priv.h"
|
||||
|
||||
/********************************* MACROS **********************************/
|
||||
|
||||
#if defined( _OCT_ENDIAN_TYPE_LE_ )
|
||||
#define mOCTVC1_JOB_MSG_RUNNER_UNIT_TEST_END_EVT_SWAP( _f_pParms ){ tOCTVC1_JOB_MSG_RUNNER_UNIT_TEST_END_EVT * pOCTVC1_JOB_MSG_RUNNER_UNIT_TEST_END_EVT = (_f_pParms); SWAP_UNUSED(pOCTVC1_JOB_MSG_RUNNER_UNIT_TEST_END_EVT)\
|
||||
{ mOCTVC1_EVENT_HEADER_SWAP( &((tOCTVC1_JOB_MSG_RUNNER_UNIT_TEST_END_EVT *)pOCTVC1_JOB_MSG_RUNNER_UNIT_TEST_END_EVT)->Header ); } \
|
||||
}
|
||||
#else
|
||||
#define mOCTVC1_JOB_MSG_RUNNER_UNIT_TEST_END_EVT_SWAP( pOCTVC1_JOB_MSG_RUNNER_UNIT_TEST_END_EVT )
|
||||
#endif /* _OCT_ENDIAN_TYPE_LE_ */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#endif /* __OCTVC1_JOB_EVT_PRIV_SWAP_H__ */
|
|
@ -0,0 +1,57 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
|
||||
|
||||
File: octvc1_job_evt_swap.h
|
||||
|
||||
Copyright (c) 2017 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 Affero General Public License as published by
|
||||
the Free Software Foundation; either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
#ifndef __OCTVC1_JOB_EVT_SWAP_H__
|
||||
#define __OCTVC1_JOB_EVT_SWAP_H__
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "../octvc1_swap_hdrs.h"
|
||||
#include "octvc1_job_evt.h"
|
||||
|
||||
/********************************* MACROS **********************************/
|
||||
|
||||
|
||||
#if defined( _OCT_ENDIAN_TYPE_LE_ )
|
||||
#define mOCTVC1_JOB_MSG_RUNNER_EXECUTOR_STATE_CHANGE_EVT_SWAP( _f_pParms ){ tOCTVC1_JOB_MSG_RUNNER_EXECUTOR_STATE_CHANGE_EVT * pOCTVC1_JOB_MSG_RUNNER_EXECUTOR_STATE_CHANGE_EVT = (_f_pParms); SWAP_UNUSED(pOCTVC1_JOB_MSG_RUNNER_EXECUTOR_STATE_CHANGE_EVT)\
|
||||
{ mOCTVC1_EVENT_HEADER_SWAP( &((tOCTVC1_JOB_MSG_RUNNER_EXECUTOR_STATE_CHANGE_EVT *)pOCTVC1_JOB_MSG_RUNNER_EXECUTOR_STATE_CHANGE_EVT)->Header ); } \
|
||||
((tOCTVC1_JOB_MSG_RUNNER_EXECUTOR_STATE_CHANGE_EVT *)pOCTVC1_JOB_MSG_RUNNER_EXECUTOR_STATE_CHANGE_EVT)->hExecutor = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_JOB_MSG_RUNNER_EXECUTOR_STATE_CHANGE_EVT *)pOCTVC1_JOB_MSG_RUNNER_EXECUTOR_STATE_CHANGE_EVT)->hExecutor); \
|
||||
((tOCTVC1_JOB_MSG_RUNNER_EXECUTOR_STATE_CHANGE_EVT *)pOCTVC1_JOB_MSG_RUNNER_EXECUTOR_STATE_CHANGE_EVT)->hActiveCase = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_JOB_MSG_RUNNER_EXECUTOR_STATE_CHANGE_EVT *)pOCTVC1_JOB_MSG_RUNNER_EXECUTOR_STATE_CHANGE_EVT)->hActiveCase); \
|
||||
{ mOCTVC1_JOB_RUNNER_CASE_STATE_ENUM_SWAP( &((tOCTVC1_JOB_MSG_RUNNER_EXECUTOR_STATE_CHANGE_EVT *)pOCTVC1_JOB_MSG_RUNNER_EXECUTOR_STATE_CHANGE_EVT)->ulOldState ); } \
|
||||
{ mOCTVC1_JOB_RUNNER_CASE_STATE_ENUM_SWAP( &((tOCTVC1_JOB_MSG_RUNNER_EXECUTOR_STATE_CHANGE_EVT *)pOCTVC1_JOB_MSG_RUNNER_EXECUTOR_STATE_CHANGE_EVT)->ulNewState ); } \
|
||||
}
|
||||
#else
|
||||
#define mOCTVC1_JOB_MSG_RUNNER_EXECUTOR_STATE_CHANGE_EVT_SWAP( pOCTVC1_JOB_MSG_RUNNER_EXECUTOR_STATE_CHANGE_EVT )
|
||||
#endif /* _OCT_ENDIAN_TYPE_LE_ */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#endif /* __OCTVC1_JOB_EVT_SWAP_H__ */
|
|
@ -0,0 +1,90 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_JOB_ID.h
|
||||
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the identifiers for the JOB API.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation; either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_JOB_ID_H__
|
||||
#define __OCTVC1_JOB_ID_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "../octvc1_base.h"
|
||||
#include "octvc1_job_base.h"
|
||||
|
||||
/****************************************************************************
|
||||
Command IDs
|
||||
****************************************************************************/
|
||||
#define cOCTVC1_JOB_MSG_UNITS_LIST_CID ( 0x001 + cOCTVC1_JOB_CID_BASE )
|
||||
#define cOCTVC1_JOB_MSG_UNITS_START_ALL_CID ( ( 0x002 + cOCTVC1_JOB_CID_BASE )| cOCTVC1_MSG_LONG_PROCESSING_FLAG )
|
||||
#define cOCTVC1_JOB_MSG_UNITS_INFO_CID ( 0x003 + cOCTVC1_JOB_CID_BASE )
|
||||
#define cOCTVC1_JOB_MSG_UNITS_FIND_CID ( 0x004 + cOCTVC1_JOB_CID_BASE )
|
||||
#define cOCTVC1_JOB_MSG_UNITS_START_CID ( ( 0x005 + cOCTVC1_JOB_CID_BASE )| cOCTVC1_MSG_LONG_PROCESSING_FLAG )
|
||||
#define cOCTVC1_JOB_MSG_UNITS_LIST_CASES_CID ( 0x00a + cOCTVC1_JOB_CID_BASE )
|
||||
#define cOCTVC1_JOB_MSG_UNITS_INFO_CASES_CID ( 0x00b + cOCTVC1_JOB_CID_BASE )
|
||||
#define cOCTVC1_JOB_MSG_UNITS_STATS_CASES_CID ( 0x00c + cOCTVC1_JOB_CID_BASE )
|
||||
#define cOCTVC1_JOB_MSG_UNITS_MODIFY_CASES_CID ( 0x00d + cOCTVC1_JOB_CID_BASE )
|
||||
#define cOCTVC1_JOB_MSG_UNITS_START_CASES_CID ( 0x00e + cOCTVC1_JOB_CID_BASE )
|
||||
#define cOCTVC1_JOB_MSG_RUNNER_STATS_CID ( 0x012 + cOCTVC1_JOB_CID_BASE )
|
||||
#define cOCTVC1_JOB_MSG_RUNNER_PAUSE_CID ( 0x013 + cOCTVC1_JOB_CID_BASE )
|
||||
#define cOCTVC1_JOB_MSG_RUNNER_RESUME_CID ( 0x014 + cOCTVC1_JOB_CID_BASE )
|
||||
#define cOCTVC1_JOB_MSG_RUNNER_CLEANUP_CID ( 0x015 + cOCTVC1_JOB_CID_BASE )
|
||||
#define cOCTVC1_JOB_MSG_RUNNER_ADD_CASES_CID ( 0x01a + cOCTVC1_JOB_CID_BASE )
|
||||
#define cOCTVC1_JOB_MSG_RUNNER_LIST_CASES_CID ( 0x01b + cOCTVC1_JOB_CID_BASE )
|
||||
#define cOCTVC1_JOB_MSG_RUNNER_REMOVE_CASES_CID ( 0x01c + cOCTVC1_JOB_CID_BASE )
|
||||
#define cOCTVC1_JOB_MSG_RUNNER_INFO_CASES_CID ( 0x01d + cOCTVC1_JOB_CID_BASE )
|
||||
#define cOCTVC1_JOB_MSG_RUNNER_STATS_CASES_CID ( 0x01e + cOCTVC1_JOB_CID_BASE )
|
||||
#define cOCTVC1_JOB_MSG_RUNNER_START_CASES_CID ( 0x01f + cOCTVC1_JOB_CID_BASE )
|
||||
#define cOCTVC1_JOB_MSG_RUNNER_STOP_CASES_CID ( 0x020 + cOCTVC1_JOB_CID_BASE )
|
||||
#define cOCTVC1_JOB_MSG_RUNNER_PULSE_CASES_CID ( 0x021 + cOCTVC1_JOB_CID_BASE )
|
||||
#define cOCTVC1_JOB_MSG_RUNNER_REMOVE_ALL_CASES_CID ( 0x022 + cOCTVC1_JOB_CID_BASE )
|
||||
#define cOCTVC1_JOB_MSG_RUNNER_LIST_CASES_EXECUTE_CID ( 0x024 + cOCTVC1_JOB_CID_BASE )
|
||||
#define cOCTVC1_JOB_MSG_RUNNER_REMOVE_CASES_EXECUTE_CID ( 0x025 + cOCTVC1_JOB_CID_BASE )
|
||||
#define cOCTVC1_JOB_MSG_RUNNER_INFO_CASES_EXECUTE_CID ( 0x026 + cOCTVC1_JOB_CID_BASE )
|
||||
#define cOCTVC1_JOB_MSG_RUNNER_START_CASES_EXECUTE_CID ( 0x027 + cOCTVC1_JOB_CID_BASE )
|
||||
#define cOCTVC1_JOB_MSG_RUNNER_STATS_CASES_EXECUTE_CID ( 0x028 + cOCTVC1_JOB_CID_BASE )
|
||||
#define cOCTVC1_JOB_MSG_RUNNER_REMOVE_ALL_CASES_EXECUTE_CID ( 0x029 + cOCTVC1_JOB_CID_BASE )
|
||||
#define cOCTVC1_JOB_MSG_RUNNER_LIST_CASES_ERROR_CID ( 0x02d + cOCTVC1_JOB_CID_BASE )
|
||||
#define cOCTVC1_JOB_MSG_RUNNER_REMOVE_CASES_ERROR_CID ( 0x02e + cOCTVC1_JOB_CID_BASE )
|
||||
#define cOCTVC1_JOB_MSG_RUNNER_INFO_CASES_ERROR_CID ( 0x02f + cOCTVC1_JOB_CID_BASE )
|
||||
#define cOCTVC1_JOB_MSG_RUNNER_START_CASES_ERROR_CID ( 0x030 + cOCTVC1_JOB_CID_BASE )
|
||||
#define cOCTVC1_JOB_MSG_RUNNER_STATS_CASES_ERROR_CID ( 0x031 + cOCTVC1_JOB_CID_BASE )
|
||||
#define cOCTVC1_JOB_MSG_RUNNER_REMOVE_ALL_CASES_ERROR_CID ( 0x032 + cOCTVC1_JOB_CID_BASE )
|
||||
#define cOCTVC1_JOB_MSG_RUNNER_LIST_EXECUTOR_CID ( 0x035 + cOCTVC1_JOB_CID_BASE )
|
||||
#define cOCTVC1_JOB_MSG_RUNNER_INFO_EXECUTOR_CID ( 0x036 + cOCTVC1_JOB_CID_BASE )
|
||||
#define cOCTVC1_JOB_MSG_RUNNER_STATS_EXECUTOR_CID ( 0x037 + cOCTVC1_JOB_CID_BASE )
|
||||
#define cOCTVC1_JOB_MSG_RUNNER_INFO_CONFIGURATION_CID ( 0x03a + cOCTVC1_JOB_CID_BASE )
|
||||
#define cOCTVC1_JOB_MSG_RUNNER_MODIFY_CONFIGURATION_CID ( 0x03b + cOCTVC1_JOB_CID_BASE )
|
||||
|
||||
#define cOCTVC1_JOB_CID_MAX (( 0x03b + 1 ) & 0xFFF)
|
||||
|
||||
/****************************************************************************
|
||||
Event IDs
|
||||
****************************************************************************/
|
||||
#define cOCTVC1_JOB_MSG_RUNNER_EXECUTOR_STATE_CHANGE_EID ( 0x0005 + cOCTVC1_JOB_EID_BASE )
|
||||
|
||||
#define cOCTVC1_JOB_EID_MAX (( 0x0007 + 1 ) & 0xFFFF)
|
||||
|
||||
|
||||
#endif /* __OCTVC1_JOB_ID_H__ */
|
||||
|
|
@ -0,0 +1,46 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_JOB_ID_PRIV.h
|
||||
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the identifiers for the JOB API.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation; either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_JOB_ID_PRIV_H__
|
||||
#define __OCTVC1_JOB_ID_PRIV_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "octvc1_job_id.h"
|
||||
#include "octvc1_job_base.h"
|
||||
|
||||
/****************************************************************************
|
||||
Command IDs
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
Event IDs
|
||||
****************************************************************************/
|
||||
#define cOCTVC1_JOB_MSG_RUNNER_UNIT_TEST_END_EID ( 0x0007 + cOCTVC1_JOB_EID_BASE )
|
||||
|
||||
|
||||
#endif /* __OCTVC1_JOB_ID_PRIV_H__ */
|
||||
|
|
@ -0,0 +1,70 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_JOB_RC.h
|
||||
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the return codes for the JOB API.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation; either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef OCTVC1_JOB_RC_H__
|
||||
#define OCTVC1_JOB_RC_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "../octvc1_base.h"
|
||||
#include "../octvc1_generic_rc.h"
|
||||
#include "octvc1_job_base.h"
|
||||
|
||||
/****************************************************************************
|
||||
JOB return codes
|
||||
****************************************************************************/
|
||||
#define cOCTVC1_JOB_RC_OBJECT_INVALID ( 0x0001 + cOCTVC1_JOB_RC_BASE )
|
||||
#define cOCTVC1_JOB_RC_SERVICE_UNINITIALIZED ( 0x0002 + cOCTVC1_JOB_RC_BASE )
|
||||
|
||||
/****************************************************************************
|
||||
UNITS return codes
|
||||
****************************************************************************/
|
||||
#define cOCTVC1_JOB_UNITS_RC_BASE ( 0x0010 + cOCTVC1_JOB_RC_BASE )
|
||||
|
||||
#define cOCTVC1_JOB_RC_UNITS_PACKAGE_NOT_FOUND ( 0x0001 + cOCTVC1_JOB_UNITS_RC_BASE )
|
||||
#define cOCTVC1_JOB_RC_UNITS_SUITE_NOT_FOUND ( 0x0002 + cOCTVC1_JOB_UNITS_RC_BASE )
|
||||
#define cOCTVC1_JOB_RC_UNITS_CASE_NOT_FOUND ( 0x0003 + cOCTVC1_JOB_UNITS_RC_BASE )
|
||||
|
||||
/****************************************************************************
|
||||
RUNNER return codes
|
||||
****************************************************************************/
|
||||
#define cOCTVC1_JOB_RUNNER_RC_BASE ( 0x0020 + cOCTVC1_JOB_RC_BASE )
|
||||
|
||||
#define cOCTVC1_JOB_RC_RUNNER_STATE_INVALID ( 0x0001 + cOCTVC1_JOB_RUNNER_RC_BASE )
|
||||
#define cOCTVC1_JOB_RC_RUNNER_CASE_IS_ACTIVE ( 0x0002 + cOCTVC1_JOB_RUNNER_RC_BASE )
|
||||
#define cOCTVC1_JOB_RC_RUNNER_CASE_IS_NOT_ACTIVE ( 0x0003 + cOCTVC1_JOB_RUNNER_RC_BASE )
|
||||
#define cOCTVC1_JOB_RC_RUNNER_REACH_MAXIMUM_CASE ( 0x0004 + cOCTVC1_JOB_RUNNER_RC_BASE )
|
||||
#define cOCTVC1_JOB_RC_RUNNER_CASE_NOT_RUNNING ( 0x0005 + cOCTVC1_JOB_RUNNER_RC_BASE )
|
||||
|
||||
/****************************************************************************
|
||||
Validate return codes
|
||||
****************************************************************************/
|
||||
#define cOCTVC1_JOB_AUTO_VALIDATE_RC_BASE ( 0xF000 + cOCTVC1_JOB_RC_BASE )
|
||||
|
||||
#define cOCTVC1_JOB_RC_RUNNER_CASES_PULSE_INVALID_PULSE_CNT ( 0x1 + cOCTVC1_JOB_AUTO_VALIDATE_RC_BASE )
|
||||
|
||||
#endif /* OCTVC1_JOB_RC_H__ */
|
||||
|
|
@ -0,0 +1,44 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_JOB_RC_PRIV.h
|
||||
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the return codes for the JOB API.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation; either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef OCTVC1_JOB_RC_PRIV_H__
|
||||
#define OCTVC1_JOB_RC_PRIV_H__
|
||||
|
||||
|
||||
/***************************** INCLUDE FILES *******************************/
|
||||
#include "octvc1_job_rc.h"
|
||||
#include "octvc1_job_base.h"
|
||||
|
||||
/****************************************************************************
|
||||
JOB return codes
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
Validate return codes
|
||||
****************************************************************************/
|
||||
|
||||
#endif /* OCTVC1_JOB_RC_PRIV_H__ */
|
||||
|
|
@ -0,0 +1,49 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_JOB_VERSION.h
|
||||
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the version of the JOB API interface.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as published by
|
||||
the Free Software Foundation; either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
#ifndef __OCTVC1_JOB_VERSION_H__
|
||||
#define __OCTVC1_JOB_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_JOB_VERSION_MAJOR 1
|
||||
#define cOCTVC1_JOB_VERSION_MINOR 7
|
||||
#define cOCTVC1_JOB_VERSION_MAINTENANCE 1
|
||||
#define cOCTVC1_JOB_VERSION_BUILD 1351
|
||||
|
||||
#define cOCTVC1_JOB_VERSION_ID ( (cOCTVC1_JOB_VERSION_MAJOR << 25) + \
|
||||
(cOCTVC1_JOB_VERSION_MINOR << 18) + \
|
||||
(cOCTVC1_JOB_VERSION_MAINTENANCE << 11) + \
|
||||
cOCTVC1_JOB_VERSION_BUILD )
|
||||
|
||||
#endif /* __OCTVC1_JOB_VERSION_H__ */
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: OCTVC1_MAIN_API.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the definition of the MAIN API.
|
||||
|
||||
|
@ -18,7 +18,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Revision: $
|
||||
|
||||
|
@ -342,6 +342,33 @@ typedef struct
|
|||
-------------------------------------------------------------------------------------*/
|
||||
#define cOCTVC1_MAIN_MODULE_DATA_IPC ((0x0001)|(cOCTVC1_MODULE_ID_ENUM_MAIN<<cOCTVC1_MODULE_ID_BIT_OFFSET))
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
Licensing Definitions
|
||||
-------------------------------------------------------------------------------------*/
|
||||
#define cOCTVC1_MAIN_LICENSING_FEATURE_MAX_STRING_LENGTH 63 /* Maximum length, including trailing zero that a licensed feature or module */
|
||||
/* name can have, in bytes. */
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
Licensing feature types.
|
||||
-------------------------------------------------------------------------------------*/
|
||||
#define tOCTVC1_MAIN_LICENSING_FEATURE_TYPE_ENUM tOCT_UINT32
|
||||
|
||||
#define cOCTVC1_MAIN_LICENSING_FEATURE_TYPE_ENUM_BOOLEAN 0x1
|
||||
#define cOCTVC1_MAIN_LICENSING_FEATURE_TYPE_ENUM_COUNT 0x2
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
Licensing feature types.
|
||||
-------------------------------------------------------------------------------------*/
|
||||
#define tOCTVC1_MAIN_LICENSING_STATUS_ENUM tOCT_UINT32
|
||||
|
||||
#define cOCTVC1_MAIN_LICENSING_STATUS_ENUM_NO_LICENSE_FILE 0
|
||||
#define cOCTVC1_MAIN_LICENSING_STATUS_ENUM_ACTIVE 1
|
||||
#define cOCTVC1_MAIN_LICENSING_STATUS_ENUM_LEGACY 2
|
||||
#define cOCTVC1_MAIN_LICENSING_STATUS_ENUM_INACTIVE 3
|
||||
#define cOCTVC1_MAIN_LICENSING_STATUS_ENUM_FILE_ERROR 4
|
||||
#define cOCTVC1_MAIN_LICENSING_STATUS_ENUM_ITEM_ERROR 5
|
||||
#define cOCTVC1_MAIN_LICENSING_STATUS_ENUM_SYSTEM_ERROR 6
|
||||
|
||||
/***************************** METHODS *************************************/
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_MAIN_MSG_TARGET_RESET_CMD
|
||||
|
@ -804,7 +831,7 @@ typedef struct
|
|||
hFile
|
||||
Default: cOCTVC1_HANDLE_INVALID
|
||||
ulNumByteToWrite
|
||||
Default: 1
|
||||
MUST be a multiple of 16 bytes. Except for the last write to the file.
|
||||
abyData
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
|
@ -823,6 +850,7 @@ typedef struct
|
|||
Header
|
||||
OCTVC1 Message Header
|
||||
ulNumByteWritten
|
||||
MUST be a multiple of 16 bytes, up to last write.
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
|
@ -841,6 +869,7 @@ typedef struct
|
|||
Default: cOCTVC1_HANDLE_INVALID
|
||||
ulMaxNumByteToRead
|
||||
Default: cOCTVC1_MAIN_FILE_MAX_DATA_BYTE_SIZE
|
||||
MUST be a multiple of 16 bytes.
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
|
@ -1204,7 +1233,6 @@ typedef struct
|
|||
IndexGet
|
||||
Object cursor
|
||||
IndexList
|
||||
Object name list.
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
|
@ -1306,12 +1334,16 @@ typedef struct
|
|||
ulEvtActiveFlag
|
||||
Default: cOCTVC1_DO_NOT_MODIFY
|
||||
Event activate flag
|
||||
ulSystemEvtMask
|
||||
Default: cOCTVC1_DO_NOT_MODIFY
|
||||
System module enabled events on this session
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_MSG_HEADER Header;
|
||||
tOCTVC1_INDEX ulSessionIndex;
|
||||
tOCT_BOOL32 ulEvtActiveFlag;
|
||||
tOCTVC1_MSG_HEADER Header;
|
||||
tOCTVC1_INDEX ulSessionIndex;
|
||||
tOCT_BOOL32 ulEvtActiveFlag;
|
||||
tOCTVC1_API_SESSION_EVT_SYSTEM_MODULE_MASK ulSystemEvtMask;
|
||||
|
||||
} tOCTVC1_MAIN_MSG_API_SYSTEM_MODIFY_SESSION_EVT_CMD;
|
||||
|
||||
|
@ -1898,6 +1930,115 @@ typedef struct
|
|||
|
||||
} tOCTVC1_MAIN_MSG_APPLICATION_STOP_MODULE_RSP;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_MAIN_MSG_LICENSING_STATS_CMD
|
||||
|
||||
Members:
|
||||
Header
|
||||
OCTVC1 Message Header
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_MSG_HEADER Header;
|
||||
|
||||
} tOCTVC1_MAIN_MSG_LICENSING_STATS_CMD;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_MAIN_MSG_LICENSING_STATS_RSP
|
||||
|
||||
Members:
|
||||
Header
|
||||
OCTVC1 Message Header
|
||||
ulStatus
|
||||
ulFeatureCount
|
||||
Number of knowned features.
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_MSG_HEADER Header;
|
||||
tOCTVC1_MAIN_LICENSING_STATUS_ENUM ulStatus;
|
||||
tOCT_UINT32 ulFeatureCount;
|
||||
|
||||
} tOCTVC1_MAIN_MSG_LICENSING_STATS_RSP;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_MAIN_MSG_LICENSING_INFO_FEATURES_CMD
|
||||
|
||||
Members:
|
||||
Header
|
||||
OCTVC1 Message Header
|
||||
ulLicenseId
|
||||
License identifier.
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_MSG_HEADER Header;
|
||||
tOCTVC1_HANDLE_OBJECT ulLicenseId;
|
||||
|
||||
} tOCTVC1_MAIN_MSG_LICENSING_INFO_FEATURES_CMD;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_MAIN_MSG_LICENSING_INFO_FEATURES_RSP
|
||||
|
||||
Members:
|
||||
Header
|
||||
OCTVC1 Message Header
|
||||
ulLicenseId
|
||||
ulFeatureType
|
||||
ulLicenseValue
|
||||
Interpretation depends on feature type specified in ulFeatureType parameter:
|
||||
BOOLEAN: 1 or 0, whether the feature is allowed or not.
|
||||
COUNT: Maximum number of times the feature can be used.
|
||||
ulCurrentCount
|
||||
If feature is of type "COUNT", this value will indicate the current usage of
|
||||
the feature. Otherwise
|
||||
this field will be set to 0.
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_MSG_HEADER Header;
|
||||
tOCTVC1_HANDLE_OBJECT ulLicenseId;
|
||||
tOCTVC1_MAIN_LICENSING_FEATURE_TYPE_ENUM ulFeatureType;
|
||||
tOCT_UINT32 ulLicenseValue;
|
||||
tOCT_UINT32 ulCurrentCount;
|
||||
|
||||
} tOCTVC1_MAIN_MSG_LICENSING_INFO_FEATURES_RSP;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_MAIN_MSG_LICENSING_LIST_FEATURES_CMD
|
||||
List the cmd that are monitored
|
||||
|
||||
Members:
|
||||
Header
|
||||
OCTVC1 Message Header
|
||||
ObjectCursor
|
||||
Object cursor
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_MSG_HEADER Header;
|
||||
tOCTVC1_CURSOR_HANDLE_OBJECT_GET ObjectCursor;
|
||||
|
||||
} tOCTVC1_MAIN_MSG_LICENSING_LIST_FEATURES_CMD;
|
||||
|
||||
/*-------------------------------------------------------------------------------------
|
||||
tOCTVC1_MAIN_MSG_LICENSING_LIST_FEATURES_RSP
|
||||
|
||||
Members:
|
||||
Header
|
||||
OCTVC1 Message Header
|
||||
ObjectCursor
|
||||
Object cursor
|
||||
ObjectList
|
||||
-------------------------------------------------------------------------------------*/
|
||||
typedef struct
|
||||
{
|
||||
tOCTVC1_MSG_HEADER Header;
|
||||
tOCTVC1_CURSOR_HANDLE_OBJECT_GET ObjectCursor;
|
||||
tOCTVC1_LIST_HANDLE_OBJECT_GET ObjectList;
|
||||
|
||||
} tOCTVC1_MAIN_MSG_LICENSING_LIST_FEATURES_RSP;
|
||||
|
||||
|
||||
/***************************** MODULE_DATA *************************************/
|
||||
/*-------------------------------------------------------------------------------------
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: OCTVC1_MAIN_API_PRIV.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the definition of the MAIN API.
|
||||
|
||||
|
@ -18,7 +18,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Revision: $
|
||||
|
||||
|
@ -47,6 +47,7 @@ $Revision: $
|
|||
|
||||
|
||||
|
||||
|
||||
/***************************** METHODS *************************************/
|
||||
|
||||
/***************************** MODULE_DATA *************************************/
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
|
||||
File: octvc1_main_api_priv_swap.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description:
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
|
@ -16,7 +16,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: octvc1_main_api_swap.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description:
|
||||
|
||||
|
@ -18,7 +18,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
#ifndef __OCTVC1_MAIN_API_SWAP_H__
|
||||
|
@ -208,6 +208,24 @@ extern "C" {
|
|||
#define mOCTVC1_MAIN_LOG_TRACE_FILTER_SWAP( pOCTVC1_MAIN_LOG_TRACE_FILTER )
|
||||
#endif /* _OCT_ENDIAN_TYPE_LE_ */
|
||||
|
||||
#if defined( _OCT_ENDIAN_TYPE_LE_ )
|
||||
#define mOCTVC1_MAIN_LICENSING_FEATURE_TYPE_ENUM_SWAP( pType ){ \
|
||||
*((tOCT_UINT32 *)pType) = mOCT_SWAP32_IF_LE( *((tOCT_UINT32 *)pType) ); }
|
||||
#else
|
||||
|
||||
#define mOCTVC1_MAIN_LICENSING_FEATURE_TYPE_ENUM_SWAP( pType )
|
||||
|
||||
#endif /* _OCT_ENDIAN_TYPE_LE_ */
|
||||
|
||||
#if defined( _OCT_ENDIAN_TYPE_LE_ )
|
||||
#define mOCTVC1_MAIN_LICENSING_STATUS_ENUM_SWAP( pType ){ \
|
||||
*((tOCT_UINT32 *)pType) = mOCT_SWAP32_IF_LE( *((tOCT_UINT32 *)pType) ); }
|
||||
#else
|
||||
|
||||
#define mOCTVC1_MAIN_LICENSING_STATUS_ENUM_SWAP( pType )
|
||||
|
||||
#endif /* _OCT_ENDIAN_TYPE_LE_ */
|
||||
|
||||
#if defined( _OCT_ENDIAN_TYPE_LE_ )
|
||||
#define mOCTVC1_MAIN_MSG_TARGET_RESET_CMD_SWAP( _f_pParms ){ tOCTVC1_MAIN_MSG_TARGET_RESET_CMD * pOCTVC1_MAIN_MSG_TARGET_RESET_CMD = (_f_pParms); SWAP_UNUSED(pOCTVC1_MAIN_MSG_TARGET_RESET_CMD)\
|
||||
{ mOCTVC1_MSG_HEADER_SWAP( &((tOCTVC1_MAIN_MSG_TARGET_RESET_CMD *)pOCTVC1_MAIN_MSG_TARGET_RESET_CMD)->Header ); } \
|
||||
|
@ -769,6 +787,7 @@ extern "C" {
|
|||
mOCT_SWAP32_IF_LE(((tOCTVC1_MAIN_MSG_API_SYSTEM_MODIFY_SESSION_EVT_CMD *)pOCTVC1_MAIN_MSG_API_SYSTEM_MODIFY_SESSION_EVT_CMD)->ulSessionIndex); \
|
||||
((tOCTVC1_MAIN_MSG_API_SYSTEM_MODIFY_SESSION_EVT_CMD *)pOCTVC1_MAIN_MSG_API_SYSTEM_MODIFY_SESSION_EVT_CMD)->ulEvtActiveFlag = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_MAIN_MSG_API_SYSTEM_MODIFY_SESSION_EVT_CMD *)pOCTVC1_MAIN_MSG_API_SYSTEM_MODIFY_SESSION_EVT_CMD)->ulEvtActiveFlag); \
|
||||
{ mOCTVC1_API_SESSION_EVT_SYSTEM_MODULE_MASK_SWAP( &((tOCTVC1_MAIN_MSG_API_SYSTEM_MODIFY_SESSION_EVT_CMD *)pOCTVC1_MAIN_MSG_API_SYSTEM_MODIFY_SESSION_EVT_CMD)->ulSystemEvtMask ); } \
|
||||
}
|
||||
#else
|
||||
#define mOCTVC1_MAIN_MSG_API_SYSTEM_MODIFY_SESSION_EVT_CMD_SWAP( pOCTVC1_MAIN_MSG_API_SYSTEM_MODIFY_SESSION_EVT_CMD )
|
||||
|
@ -1112,6 +1131,69 @@ extern "C" {
|
|||
#define mOCTVC1_MAIN_MSG_APPLICATION_STOP_MODULE_RSP_SWAP( pOCTVC1_MAIN_MSG_APPLICATION_STOP_MODULE_RSP )
|
||||
#endif /* _OCT_ENDIAN_TYPE_LE_ */
|
||||
|
||||
#if defined( _OCT_ENDIAN_TYPE_LE_ )
|
||||
#define mOCTVC1_MAIN_MSG_LICENSING_STATS_CMD_SWAP( _f_pParms ){ tOCTVC1_MAIN_MSG_LICENSING_STATS_CMD * pOCTVC1_MAIN_MSG_LICENSING_STATS_CMD = (_f_pParms); SWAP_UNUSED(pOCTVC1_MAIN_MSG_LICENSING_STATS_CMD)\
|
||||
{ mOCTVC1_MSG_HEADER_SWAP( &((tOCTVC1_MAIN_MSG_LICENSING_STATS_CMD *)pOCTVC1_MAIN_MSG_LICENSING_STATS_CMD)->Header ); } \
|
||||
}
|
||||
#else
|
||||
#define mOCTVC1_MAIN_MSG_LICENSING_STATS_CMD_SWAP( pOCTVC1_MAIN_MSG_LICENSING_STATS_CMD )
|
||||
#endif /* _OCT_ENDIAN_TYPE_LE_ */
|
||||
|
||||
#if defined( _OCT_ENDIAN_TYPE_LE_ )
|
||||
#define mOCTVC1_MAIN_MSG_LICENSING_STATS_RSP_SWAP( _f_pParms ){ tOCTVC1_MAIN_MSG_LICENSING_STATS_RSP * pOCTVC1_MAIN_MSG_LICENSING_STATS_RSP = (_f_pParms); SWAP_UNUSED(pOCTVC1_MAIN_MSG_LICENSING_STATS_RSP)\
|
||||
{ mOCTVC1_MSG_HEADER_SWAP( &((tOCTVC1_MAIN_MSG_LICENSING_STATS_RSP *)pOCTVC1_MAIN_MSG_LICENSING_STATS_RSP)->Header ); } \
|
||||
{ mOCTVC1_MAIN_LICENSING_STATUS_ENUM_SWAP( &((tOCTVC1_MAIN_MSG_LICENSING_STATS_RSP *)pOCTVC1_MAIN_MSG_LICENSING_STATS_RSP)->ulStatus ); } \
|
||||
((tOCTVC1_MAIN_MSG_LICENSING_STATS_RSP *)pOCTVC1_MAIN_MSG_LICENSING_STATS_RSP)->ulFeatureCount = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_MAIN_MSG_LICENSING_STATS_RSP *)pOCTVC1_MAIN_MSG_LICENSING_STATS_RSP)->ulFeatureCount); \
|
||||
}
|
||||
#else
|
||||
#define mOCTVC1_MAIN_MSG_LICENSING_STATS_RSP_SWAP( pOCTVC1_MAIN_MSG_LICENSING_STATS_RSP )
|
||||
#endif /* _OCT_ENDIAN_TYPE_LE_ */
|
||||
|
||||
#if defined( _OCT_ENDIAN_TYPE_LE_ )
|
||||
#define mOCTVC1_MAIN_MSG_LICENSING_INFO_FEATURES_CMD_SWAP( _f_pParms ){ tOCTVC1_MAIN_MSG_LICENSING_INFO_FEATURES_CMD * pOCTVC1_MAIN_MSG_LICENSING_INFO_FEATURES_CMD = (_f_pParms); SWAP_UNUSED(pOCTVC1_MAIN_MSG_LICENSING_INFO_FEATURES_CMD)\
|
||||
{ mOCTVC1_MSG_HEADER_SWAP( &((tOCTVC1_MAIN_MSG_LICENSING_INFO_FEATURES_CMD *)pOCTVC1_MAIN_MSG_LICENSING_INFO_FEATURES_CMD)->Header ); } \
|
||||
((tOCTVC1_MAIN_MSG_LICENSING_INFO_FEATURES_CMD *)pOCTVC1_MAIN_MSG_LICENSING_INFO_FEATURES_CMD)->ulLicenseId = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_MAIN_MSG_LICENSING_INFO_FEATURES_CMD *)pOCTVC1_MAIN_MSG_LICENSING_INFO_FEATURES_CMD)->ulLicenseId); \
|
||||
}
|
||||
#else
|
||||
#define mOCTVC1_MAIN_MSG_LICENSING_INFO_FEATURES_CMD_SWAP( pOCTVC1_MAIN_MSG_LICENSING_INFO_FEATURES_CMD )
|
||||
#endif /* _OCT_ENDIAN_TYPE_LE_ */
|
||||
|
||||
#if defined( _OCT_ENDIAN_TYPE_LE_ )
|
||||
#define mOCTVC1_MAIN_MSG_LICENSING_INFO_FEATURES_RSP_SWAP( _f_pParms ){ tOCTVC1_MAIN_MSG_LICENSING_INFO_FEATURES_RSP * pOCTVC1_MAIN_MSG_LICENSING_INFO_FEATURES_RSP = (_f_pParms); SWAP_UNUSED(pOCTVC1_MAIN_MSG_LICENSING_INFO_FEATURES_RSP)\
|
||||
{ mOCTVC1_MSG_HEADER_SWAP( &((tOCTVC1_MAIN_MSG_LICENSING_INFO_FEATURES_RSP *)pOCTVC1_MAIN_MSG_LICENSING_INFO_FEATURES_RSP)->Header ); } \
|
||||
((tOCTVC1_MAIN_MSG_LICENSING_INFO_FEATURES_RSP *)pOCTVC1_MAIN_MSG_LICENSING_INFO_FEATURES_RSP)->ulLicenseId = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_MAIN_MSG_LICENSING_INFO_FEATURES_RSP *)pOCTVC1_MAIN_MSG_LICENSING_INFO_FEATURES_RSP)->ulLicenseId); \
|
||||
{ mOCTVC1_MAIN_LICENSING_FEATURE_TYPE_ENUM_SWAP( &((tOCTVC1_MAIN_MSG_LICENSING_INFO_FEATURES_RSP *)pOCTVC1_MAIN_MSG_LICENSING_INFO_FEATURES_RSP)->ulFeatureType ); } \
|
||||
((tOCTVC1_MAIN_MSG_LICENSING_INFO_FEATURES_RSP *)pOCTVC1_MAIN_MSG_LICENSING_INFO_FEATURES_RSP)->ulLicenseValue = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_MAIN_MSG_LICENSING_INFO_FEATURES_RSP *)pOCTVC1_MAIN_MSG_LICENSING_INFO_FEATURES_RSP)->ulLicenseValue); \
|
||||
((tOCTVC1_MAIN_MSG_LICENSING_INFO_FEATURES_RSP *)pOCTVC1_MAIN_MSG_LICENSING_INFO_FEATURES_RSP)->ulCurrentCount = \
|
||||
mOCT_SWAP32_IF_LE(((tOCTVC1_MAIN_MSG_LICENSING_INFO_FEATURES_RSP *)pOCTVC1_MAIN_MSG_LICENSING_INFO_FEATURES_RSP)->ulCurrentCount); \
|
||||
}
|
||||
#else
|
||||
#define mOCTVC1_MAIN_MSG_LICENSING_INFO_FEATURES_RSP_SWAP( pOCTVC1_MAIN_MSG_LICENSING_INFO_FEATURES_RSP )
|
||||
#endif /* _OCT_ENDIAN_TYPE_LE_ */
|
||||
|
||||
#if defined( _OCT_ENDIAN_TYPE_LE_ )
|
||||
#define mOCTVC1_MAIN_MSG_LICENSING_LIST_FEATURES_CMD_SWAP( _f_pParms ){ tOCTVC1_MAIN_MSG_LICENSING_LIST_FEATURES_CMD * pOCTVC1_MAIN_MSG_LICENSING_LIST_FEATURES_CMD = (_f_pParms); SWAP_UNUSED(pOCTVC1_MAIN_MSG_LICENSING_LIST_FEATURES_CMD)\
|
||||
{ mOCTVC1_MSG_HEADER_SWAP( &((tOCTVC1_MAIN_MSG_LICENSING_LIST_FEATURES_CMD *)pOCTVC1_MAIN_MSG_LICENSING_LIST_FEATURES_CMD)->Header ); } \
|
||||
{ mOCTVC1_CURSOR_HANDLE_OBJECT_GET_SWAP( &((tOCTVC1_MAIN_MSG_LICENSING_LIST_FEATURES_CMD *)pOCTVC1_MAIN_MSG_LICENSING_LIST_FEATURES_CMD)->ObjectCursor ); } \
|
||||
}
|
||||
#else
|
||||
#define mOCTVC1_MAIN_MSG_LICENSING_LIST_FEATURES_CMD_SWAP( pOCTVC1_MAIN_MSG_LICENSING_LIST_FEATURES_CMD )
|
||||
#endif /* _OCT_ENDIAN_TYPE_LE_ */
|
||||
|
||||
#if defined( _OCT_ENDIAN_TYPE_LE_ )
|
||||
#define mOCTVC1_MAIN_MSG_LICENSING_LIST_FEATURES_RSP_SWAP( _f_pParms ){ tOCTVC1_MAIN_MSG_LICENSING_LIST_FEATURES_RSP * pOCTVC1_MAIN_MSG_LICENSING_LIST_FEATURES_RSP = (_f_pParms); SWAP_UNUSED(pOCTVC1_MAIN_MSG_LICENSING_LIST_FEATURES_RSP)\
|
||||
{ mOCTVC1_MSG_HEADER_SWAP( &((tOCTVC1_MAIN_MSG_LICENSING_LIST_FEATURES_RSP *)pOCTVC1_MAIN_MSG_LICENSING_LIST_FEATURES_RSP)->Header ); } \
|
||||
{ mOCTVC1_CURSOR_HANDLE_OBJECT_GET_SWAP( &((tOCTVC1_MAIN_MSG_LICENSING_LIST_FEATURES_RSP *)pOCTVC1_MAIN_MSG_LICENSING_LIST_FEATURES_RSP)->ObjectCursor ); } \
|
||||
{ mOCTVC1_LIST_HANDLE_OBJECT_GET_SWAP( &((tOCTVC1_MAIN_MSG_LICENSING_LIST_FEATURES_RSP *)pOCTVC1_MAIN_MSG_LICENSING_LIST_FEATURES_RSP)->ObjectList ); } \
|
||||
}
|
||||
#else
|
||||
#define mOCTVC1_MAIN_MSG_LICENSING_LIST_FEATURES_RSP_SWAP( pOCTVC1_MAIN_MSG_LICENSING_LIST_FEATURES_RSP )
|
||||
#endif /* _OCT_ENDIAN_TYPE_LE_ */
|
||||
|
||||
#if defined( _OCT_ENDIAN_TYPE_LE_ )
|
||||
#define mOCTVC1_MAIN_MSG_LOG_DATA_MDA_SWAP( _f_pParms ){ tOCTVC1_MAIN_MSG_LOG_DATA_MDA * pOCTVC1_MAIN_MSG_LOG_DATA_MDA = (_f_pParms); SWAP_UNUSED(pOCTVC1_MAIN_MSG_LOG_DATA_MDA)\
|
||||
{ mOCTVC1_MODULE_DATA_SWAP( &((tOCTVC1_MAIN_MSG_LOG_DATA_MDA *)pOCTVC1_MAIN_MSG_LOG_DATA_MDA)->ModuleData ); } \
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: OCTVC1_MAIN_BASE.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the definition of the OCTVC1 API.
|
||||
|
||||
|
@ -18,7 +18,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: OCTVC1_MAIN_DEFAULT.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the event definition of the MAIN API.
|
||||
|
||||
|
@ -18,7 +18,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
@ -496,7 +496,7 @@ const tOCTVC1_MAIN_MSG_FILE_WRITE_CMD buf_tOCTVC1_MAIN_MSG_FILE_WRITE_CMD =
|
|||
0 /* ulUserInfo */
|
||||
},
|
||||
cOCTVC1_HANDLE_INVALID, /* hFile */
|
||||
1, /* ulNumByteToWrite */
|
||||
0, /* ulNumByteToWrite */
|
||||
{ /* abyData */
|
||||
0, /* abyData[0..1199] */
|
||||
}
|
||||
|
@ -920,7 +920,8 @@ const tOCTVC1_MAIN_MSG_API_SYSTEM_MODIFY_SESSION_EVT_CMD buf_tOCTVC1_MAIN_MSG_AP
|
|||
0 /* ulUserInfo */
|
||||
},
|
||||
cOCTVC1_API_SESSION_INDEX_CURRENT_TRANSPORT, /* ulSessionIndex */
|
||||
cOCTVC1_DO_NOT_MODIFY /* ulEvtActiveFlag */
|
||||
cOCTVC1_DO_NOT_MODIFY, /* ulEvtActiveFlag */
|
||||
cOCTVC1_DO_NOT_MODIFY /* ulSystemEvtMask */
|
||||
};
|
||||
|
||||
const tOCTVC1_MAIN_MSG_API_SYSTEM_MODIFY_SESSION_EVT_CMD *g_pOctDef_tOCTVC1_MAIN_MSG_API_SYSTEM_MODIFY_SESSION_EVT_CMD =
|
||||
|
@ -1473,6 +1474,101 @@ extern const tOCTVC1_MAIN_MSG_APPLICATION_STOP_MODULE_CMD *g_pOctDef_tOCTVC1_MAI
|
|||
}
|
||||
|
||||
|
||||
/*--------------------------------------------------------------------------
|
||||
tOCTVC1_MAIN_MSG_LICENSING_STATS_CMD
|
||||
----------------------------------------------------------------------------*/
|
||||
#ifdef OCTVC1_OPT_DECLARE_DEFAULTS
|
||||
|
||||
const tOCTVC1_MAIN_MSG_LICENSING_STATS_CMD buf_tOCTVC1_MAIN_MSG_LICENSING_STATS_CMD =
|
||||
{
|
||||
{ /* Header */
|
||||
((sizeof(tOCTVC1_MAIN_MSG_LICENSING_STATS_CMD)<<cOCTVC1_MSG_LENGTH_BIT_OFFSET)&cOCTVC1_MSG_LENGTH_BIT_MASK), /* ulLength */
|
||||
0, /* ulTransactionId */
|
||||
((cOCTVC1_MAIN_MSG_LICENSING_STATS_CID<<cOCTVC1_MSG_ID_BIT_OFFSET)&cOCTVC1_MSG_ID_BIT_MASK), /* ul_Type_R_CmdId */
|
||||
0, /* ulSessionId */
|
||||
0, /* ulReturnCode */
|
||||
0 /* ulUserInfo */
|
||||
}
|
||||
};
|
||||
|
||||
const tOCTVC1_MAIN_MSG_LICENSING_STATS_CMD *g_pOctDef_tOCTVC1_MAIN_MSG_LICENSING_STATS_CMD =
|
||||
&buf_tOCTVC1_MAIN_MSG_LICENSING_STATS_CMD;
|
||||
|
||||
#else /* OCTVC1_OPT_DECLARE_DEFAULTS */
|
||||
extern const tOCTVC1_MAIN_MSG_LICENSING_STATS_CMD *g_pOctDef_tOCTVC1_MAIN_MSG_LICENSING_STATS_CMD;
|
||||
#endif /* OCTVC1_OPT_DECLARE_DEFAULTS */
|
||||
|
||||
#define mOCTVC1_MAIN_MSG_LICENSING_STATS_CMD_DEF(pSt) \
|
||||
{ \
|
||||
*pSt = *g_pOctDef_tOCTVC1_MAIN_MSG_LICENSING_STATS_CMD; \
|
||||
}
|
||||
|
||||
|
||||
/*--------------------------------------------------------------------------
|
||||
tOCTVC1_MAIN_MSG_LICENSING_INFO_FEATURES_CMD
|
||||
----------------------------------------------------------------------------*/
|
||||
#ifdef OCTVC1_OPT_DECLARE_DEFAULTS
|
||||
|
||||
const tOCTVC1_MAIN_MSG_LICENSING_INFO_FEATURES_CMD buf_tOCTVC1_MAIN_MSG_LICENSING_INFO_FEATURES_CMD =
|
||||
{
|
||||
{ /* Header */
|
||||
((sizeof(tOCTVC1_MAIN_MSG_LICENSING_INFO_FEATURES_CMD)<<cOCTVC1_MSG_LENGTH_BIT_OFFSET)&cOCTVC1_MSG_LENGTH_BIT_MASK), /* ulLength */
|
||||
0, /* ulTransactionId */
|
||||
((cOCTVC1_MAIN_MSG_LICENSING_INFO_FEATURES_CID<<cOCTVC1_MSG_ID_BIT_OFFSET)&cOCTVC1_MSG_ID_BIT_MASK), /* ul_Type_R_CmdId */
|
||||
0, /* ulSessionId */
|
||||
0, /* ulReturnCode */
|
||||
0 /* ulUserInfo */
|
||||
},
|
||||
0 /* ulLicenseId */
|
||||
};
|
||||
|
||||
const tOCTVC1_MAIN_MSG_LICENSING_INFO_FEATURES_CMD *g_pOctDef_tOCTVC1_MAIN_MSG_LICENSING_INFO_FEATURES_CMD =
|
||||
&buf_tOCTVC1_MAIN_MSG_LICENSING_INFO_FEATURES_CMD;
|
||||
|
||||
#else /* OCTVC1_OPT_DECLARE_DEFAULTS */
|
||||
extern const tOCTVC1_MAIN_MSG_LICENSING_INFO_FEATURES_CMD *g_pOctDef_tOCTVC1_MAIN_MSG_LICENSING_INFO_FEATURES_CMD;
|
||||
#endif /* OCTVC1_OPT_DECLARE_DEFAULTS */
|
||||
|
||||
#define mOCTVC1_MAIN_MSG_LICENSING_INFO_FEATURES_CMD_DEF(pSt) \
|
||||
{ \
|
||||
*pSt = *g_pOctDef_tOCTVC1_MAIN_MSG_LICENSING_INFO_FEATURES_CMD; \
|
||||
}
|
||||
|
||||
|
||||
/*--------------------------------------------------------------------------
|
||||
tOCTVC1_MAIN_MSG_LICENSING_LIST_FEATURES_CMD
|
||||
----------------------------------------------------------------------------*/
|
||||
#ifdef OCTVC1_OPT_DECLARE_DEFAULTS
|
||||
|
||||
const tOCTVC1_MAIN_MSG_LICENSING_LIST_FEATURES_CMD buf_tOCTVC1_MAIN_MSG_LICENSING_LIST_FEATURES_CMD =
|
||||
{
|
||||
{ /* Header */
|
||||
((sizeof(tOCTVC1_MAIN_MSG_LICENSING_LIST_FEATURES_CMD)<<cOCTVC1_MSG_LENGTH_BIT_OFFSET)&cOCTVC1_MSG_LENGTH_BIT_MASK), /* ulLength */
|
||||
0, /* ulTransactionId */
|
||||
((cOCTVC1_MAIN_MSG_LICENSING_LIST_FEATURES_CID<<cOCTVC1_MSG_ID_BIT_OFFSET)&cOCTVC1_MSG_ID_BIT_MASK), /* ul_Type_R_CmdId */
|
||||
0, /* ulSessionId */
|
||||
0, /* ulReturnCode */
|
||||
0 /* ulUserInfo */
|
||||
},
|
||||
{ /* ObjectCursor */
|
||||
0, /* hObject */
|
||||
cOCTVC1_OBJECT_CURSOR_ENUM_FIRST /* ulGetMode */
|
||||
}
|
||||
};
|
||||
|
||||
const tOCTVC1_MAIN_MSG_LICENSING_LIST_FEATURES_CMD *g_pOctDef_tOCTVC1_MAIN_MSG_LICENSING_LIST_FEATURES_CMD =
|
||||
&buf_tOCTVC1_MAIN_MSG_LICENSING_LIST_FEATURES_CMD;
|
||||
|
||||
#else /* OCTVC1_OPT_DECLARE_DEFAULTS */
|
||||
extern const tOCTVC1_MAIN_MSG_LICENSING_LIST_FEATURES_CMD *g_pOctDef_tOCTVC1_MAIN_MSG_LICENSING_LIST_FEATURES_CMD;
|
||||
#endif /* OCTVC1_OPT_DECLARE_DEFAULTS */
|
||||
|
||||
#define mOCTVC1_MAIN_MSG_LICENSING_LIST_FEATURES_CMD_DEF(pSt) \
|
||||
{ \
|
||||
*pSt = *g_pOctDef_tOCTVC1_MAIN_MSG_LICENSING_LIST_FEATURES_CMD; \
|
||||
}
|
||||
|
||||
|
||||
/***************************** MODULE_DATA *************************************/
|
||||
|
||||
/*--------------------------------------------------------------------------
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: OCTVC1_MAIN_DEFAULT_PRIV.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the event definition of the MAIN API.
|
||||
|
||||
|
@ -18,7 +18,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_MAIN_EVT.h
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the event definition of the MAIN API.
|
||||
|
||||
|
@ -17,7 +17,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
||||
|
||||
File: OCTVC1_MAIN_EVT_PRIV.h
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the event definition of the MAIN API.
|
||||
|
||||
|
@ -17,7 +17,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
|
||||
File: octvc1_main_evt_priv_swap.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description:
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
|
@ -16,7 +16,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: octvc1_main_evt_swap.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description:
|
||||
|
||||
|
@ -18,7 +18,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
||||
#ifndef __OCTVC1_MAIN_EVT_SWAP_H__
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: OCTVC1_MAIN_ID.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the identifiers for the MAIN API.
|
||||
|
||||
|
@ -18,7 +18,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
@ -81,8 +81,11 @@ $Octasic_Revision: $
|
|||
#define cOCTVC1_MAIN_MSG_LOG_STOP_STREAM_CID ( 0x030 + cOCTVC1_MAIN_CID_BASE )
|
||||
#define cOCTVC1_MAIN_MSG_APPLICATION_START_MODULE_CID ( ( 0x031 + cOCTVC1_MAIN_CID_BASE )| cOCTVC1_MSG_LONG_PROCESSING_FLAG )
|
||||
#define cOCTVC1_MAIN_MSG_APPLICATION_STOP_MODULE_CID ( ( 0x032 + cOCTVC1_MAIN_CID_BASE )| cOCTVC1_MSG_LONG_PROCESSING_FLAG )
|
||||
#define cOCTVC1_MAIN_MSG_LICENSING_STATS_CID ( 0x035 + cOCTVC1_MAIN_CID_BASE )
|
||||
#define cOCTVC1_MAIN_MSG_LICENSING_INFO_FEATURES_CID ( 0x036 + cOCTVC1_MAIN_CID_BASE )
|
||||
#define cOCTVC1_MAIN_MSG_LICENSING_LIST_FEATURES_CID ( 0x037 + cOCTVC1_MAIN_CID_BASE )
|
||||
|
||||
#define cOCTVC1_MAIN_CID_MAX (( 0x032 + 1 ) & 0xFFF)
|
||||
#define cOCTVC1_MAIN_CID_MAX (( 0x037 + 1 ) & 0xFFF)
|
||||
|
||||
/****************************************************************************
|
||||
Event IDs
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: OCTVC1_MAIN_ID_PRIV.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the identifiers for the MAIN API.
|
||||
|
||||
|
@ -18,7 +18,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
File: OCTVC1_MAIN_RC.h
|
||||
|
||||
Copyright (c) 2016 Octasic Inc. All rights reserved.
|
||||
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
||||
|
||||
Description: Contains the return codes for the MAIN API.
|
||||
|
||||
|
@ -18,7 +18,7 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.00-B1039 (2016/07/22)
|
||||
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.07.01-B1351 (2017/02/13)
|
||||
|
||||
$Octasic_Revision: $
|
||||
|
||||
|
@ -83,6 +83,16 @@ $Octasic_Revision: $
|
|||
#define cOCTVC1_MAIN_RC_APPLICATION_MODULE_ALREADY_START ( 0x0002 + cOCTVC1_MAIN_APPLICATION_RC_BASE )
|
||||
#define cOCTVC1_MAIN_RC_APPLICATION_MODULE_ALREADY_STOP ( 0x0003 + cOCTVC1_MAIN_APPLICATION_RC_BASE )
|
||||
#define cOCTVC1_MAIN_RC_APPLICATION_MODULE_MAIN_CANNOT_BE_STOP ( 0x0004 + cOCTVC1_MAIN_APPLICATION_RC_BASE )
|
||||
#define cOCTVC1_MAIN_RC_APPLICATION_MODULE_ACCESS_DENIED ( 0x0005 + cOCTVC1_MAIN_APPLICATION_RC_BASE )
|
||||
|
||||
/****************************************************************************
|
||||
LICENSING return codes
|
||||
****************************************************************************/
|
||||
#define cOCTVC1_MAIN_LICENSING_RC_BASE ( 0x03A0 + cOCTVC1_MAIN_RC_BASE )
|
||||
|
||||
#define cOCTVC1_MAIN_RC_LICENSING_DENIED ( 0x0000 + cOCTVC1_MAIN_LICENSING_RC_BASE )
|
||||
#define cOCTVC1_MAIN_RC_LICENSING_INVALID_LICENSE ( 0x0001 + cOCTVC1_MAIN_LICENSING_RC_BASE )
|
||||
#define cOCTVC1_MAIN_RC_LICENSING_FEATURE_NOT_FOUND ( 0x0002 + cOCTVC1_MAIN_LICENSING_RC_BASE )
|
||||
|
||||
/****************************************************************************
|
||||
CPU_USAGE return codes
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue