mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-14 12:10:34 +00:00
Merge branch 'next' of https://github.com/carlesfernandez/gnss-sdr into next
This commit is contained in:
commit
8a72605a3d
@ -18,8 +18,8 @@
|
||||
*/
|
||||
|
||||
#include "volk_gnsssdr/volk_gnsssdr_malloc.h"
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
/*
|
||||
|
@ -16,12 +16,13 @@
|
||||
* along with GNSS-SDR. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
|
||||
// clang-format off
|
||||
#include <volk_gnsssdr_rank_archs.h>
|
||||
#include <volk_gnsssdr/volk_gnsssdr_prefs.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
// clang-format on
|
||||
|
||||
#if __GNUC__ > 3 || __GNUC__ == 3 && __GNUC_MINOR__ >= 4
|
||||
#define __popcnt __builtin_popcount
|
||||
|
@ -16,15 +16,17 @@
|
||||
* along with GNSS-SDR. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
// clang-format off
|
||||
#include <volk_gnsssdr/volk_gnsssdr_common.h>
|
||||
#include "volk_gnsssdr_machines.h"
|
||||
#include <volk_gnsssdr/volk_gnsssdr_typedefs.h>
|
||||
#include <volk_gnsssdr/volk_gnsssdr_cpu.h>
|
||||
#include "volk_gnsssdr_rank_archs.h"
|
||||
#include <volk_gnsssdr/volk_gnsssdr.h>
|
||||
#include <assert.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <assert.h>
|
||||
// clang-format on
|
||||
|
||||
static size_t __alignment = 0;
|
||||
static intptr_t __alignment_mask = 0;
|
||||
|
@ -16,10 +16,12 @@
|
||||
* along with GNSS-SDR. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
// clang-format off
|
||||
#include <volk_gnsssdr/volk_gnsssdr_cpu.h>
|
||||
#include <volk_gnsssdr/volk_gnsssdr_config_fixed.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
// clang-format on
|
||||
|
||||
struct VOLK_CPU volk_gnsssdr_cpu;
|
||||
|
||||
|
@ -16,11 +16,11 @@
|
||||
* along with GNSS-SDR. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
// clang-format off
|
||||
#include <volk_gnsssdr/volk_gnsssdr_common.h>
|
||||
#include <volk_gnsssdr/volk_gnsssdr_typedefs.h>
|
||||
#include "volk_gnsssdr_machines.h"
|
||||
|
||||
// clang-format off
|
||||
struct volk_gnsssdr_machine *volk_gnsssdr_machines[] = {
|
||||
%for machine in machines:
|
||||
#ifdef LV_MACHINE_${machine.name.upper()}
|
||||
|
@ -32,7 +32,7 @@
|
||||
|
||||
#include "ad9361_fpga_signal_source.h"
|
||||
#include "GPS_L1_CA.h"
|
||||
#include "GPS_L2C.h"
|
||||
#include "GPS_L5.h"
|
||||
#include "ad9361_manager.h"
|
||||
#include "configuration_interface.h"
|
||||
#include <glog/logging.h>
|
||||
@ -310,8 +310,8 @@ Ad9361FpgaSignalSource::Ad9361FpgaSignalSource(ConfigurationInterface *configura
|
||||
Fpass_ = configuration->property(role + ".Fpass", 0.0);
|
||||
Fstop_ = configuration->property(role + ".Fstop", 0.0);
|
||||
enable_dds_lo_ = configuration->property(role + ".enable_dds_lo", false);
|
||||
freq_dds_tx_hz_ = configuration->property(role + ".freq_dds_tx_hz", 1000);
|
||||
freq_rf_tx_hz_ = configuration->property(role + ".freq_rf_tx_hz", GPS_L1_FREQ_HZ - GPS_L2_FREQ_HZ - freq_dds_tx_hz_);
|
||||
freq_dds_tx_hz_ = configuration->property(role + ".freq_dds_tx_hz", 10000);
|
||||
freq_rf_tx_hz_ = configuration->property(role + ".freq_rf_tx_hz", GPS_L1_FREQ_HZ - GPS_L5_FREQ_HZ - freq_dds_tx_hz_);
|
||||
scale_dds_dbfs_ = configuration->property(role + ".scale_dds_dbfs", -3.0);
|
||||
tx_attenuation_db_ = configuration->property(role + ".tx_attenuation_db", default_tx_attenuation_db);
|
||||
tx_bandwidth_ = configuration->property(role + ".tx_bandwidth", 500000);
|
||||
|
@ -87,7 +87,7 @@ Fmcomms2SignalSource::Fmcomms2SignalSource(ConfigurationInterface *configuration
|
||||
|
||||
// AD9361 Local Oscillator generation for dual band operation
|
||||
enable_dds_lo_ = configuration->property(role + ".enable_dds_lo", false);
|
||||
freq_dds_tx_hz_ = configuration->property(role + ".freq_dds_tx_hz", 1000);
|
||||
freq_dds_tx_hz_ = configuration->property(role + ".freq_dds_tx_hz", 10000);
|
||||
freq_rf_tx_hz_ = configuration->property(role + ".freq_rf_tx_hz", GPS_L1_FREQ_HZ - GPS_L2_FREQ_HZ - freq_dds_tx_hz_);
|
||||
scale_dds_dbfs_ = configuration->property(role + ".scale_dds_dbfs", 0.0);
|
||||
phase_dds_deg_ = configuration->property(role + ".phase_dds_deg", 0.0);
|
||||
|
@ -30,10 +30,9 @@
|
||||
*/
|
||||
|
||||
|
||||
#include "edc.h"
|
||||
#include "bits.h"
|
||||
#include "cnav_msg.h"
|
||||
|
||||
#include "bits.h"
|
||||
#include "edc.h"
|
||||
#include <limits.h>
|
||||
#include <string.h>
|
||||
|
||||
|
@ -1,5 +0,0 @@
|
||||
---
|
||||
Language: Cpp
|
||||
DisableFormat: true
|
||||
...
|
||||
|
@ -7,14 +7,14 @@
|
||||
#include "Accuracy.h"
|
||||
|
||||
int Accuracy_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb, void *app_key)
|
||||
asn_app_constraint_failed_f *ctfailcb, void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -28,7 +28,7 @@ int Accuracy_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -55,68 +55,68 @@ static void Accuracy_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td)
|
||||
}
|
||||
|
||||
void Accuracy_free(asn_TYPE_descriptor_t *td, void *struct_ptr,
|
||||
int contents_only)
|
||||
int contents_only)
|
||||
{
|
||||
Accuracy_1_inherit_TYPE_descriptor(td);
|
||||
td->free_struct(td, struct_ptr, contents_only);
|
||||
}
|
||||
|
||||
int Accuracy_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
|
||||
int ilevel, asn_app_consume_bytes_f *cb, void *app_key)
|
||||
int ilevel, asn_app_consume_bytes_f *cb, void *app_key)
|
||||
{
|
||||
Accuracy_1_inherit_TYPE_descriptor(td);
|
||||
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
|
||||
}
|
||||
|
||||
asn_dec_rval_t Accuracy_decode_ber(asn_codec_ctx_t *opt_codec_ctx,
|
||||
asn_TYPE_descriptor_t *td, void **structure,
|
||||
const void *bufptr, size_t size,
|
||||
int tag_mode)
|
||||
asn_TYPE_descriptor_t *td, void **structure,
|
||||
const void *bufptr, size_t size,
|
||||
int tag_mode)
|
||||
{
|
||||
Accuracy_1_inherit_TYPE_descriptor(td);
|
||||
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size,
|
||||
tag_mode);
|
||||
tag_mode);
|
||||
}
|
||||
|
||||
asn_enc_rval_t Accuracy_encode_der(asn_TYPE_descriptor_t *td, void *structure,
|
||||
int tag_mode, ber_tlv_tag_t tag,
|
||||
asn_app_consume_bytes_f *cb, void *app_key)
|
||||
int tag_mode, ber_tlv_tag_t tag,
|
||||
asn_app_consume_bytes_f *cb, void *app_key)
|
||||
{
|
||||
Accuracy_1_inherit_TYPE_descriptor(td);
|
||||
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
|
||||
}
|
||||
|
||||
asn_dec_rval_t Accuracy_decode_xer(asn_codec_ctx_t *opt_codec_ctx,
|
||||
asn_TYPE_descriptor_t *td, void **structure,
|
||||
const char *opt_mname, const void *bufptr,
|
||||
size_t size)
|
||||
asn_TYPE_descriptor_t *td, void **structure,
|
||||
const char *opt_mname, const void *bufptr,
|
||||
size_t size)
|
||||
{
|
||||
Accuracy_1_inherit_TYPE_descriptor(td);
|
||||
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr,
|
||||
size);
|
||||
size);
|
||||
}
|
||||
|
||||
asn_enc_rval_t Accuracy_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
|
||||
int ilevel, enum xer_encoder_flags_e flags,
|
||||
asn_app_consume_bytes_f *cb, void *app_key)
|
||||
int ilevel, enum xer_encoder_flags_e flags,
|
||||
asn_app_consume_bytes_f *cb, void *app_key)
|
||||
{
|
||||
Accuracy_1_inherit_TYPE_descriptor(td);
|
||||
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
|
||||
}
|
||||
|
||||
asn_dec_rval_t Accuracy_decode_uper(asn_codec_ctx_t *opt_codec_ctx,
|
||||
asn_TYPE_descriptor_t *td,
|
||||
asn_per_constraints_t *constraints,
|
||||
void **structure, asn_per_data_t *per_data)
|
||||
asn_TYPE_descriptor_t *td,
|
||||
asn_per_constraints_t *constraints,
|
||||
void **structure, asn_per_data_t *per_data)
|
||||
{
|
||||
Accuracy_1_inherit_TYPE_descriptor(td);
|
||||
return td->uper_decoder(opt_codec_ctx, td, constraints, structure,
|
||||
per_data);
|
||||
per_data);
|
||||
}
|
||||
|
||||
asn_enc_rval_t Accuracy_encode_uper(asn_TYPE_descriptor_t *td,
|
||||
asn_per_constraints_t *constraints,
|
||||
void *structure, asn_per_outp_t *per_out)
|
||||
asn_per_constraints_t *constraints,
|
||||
void *structure, asn_per_outp_t *per_out)
|
||||
{
|
||||
Accuracy_1_inherit_TYPE_descriptor(td);
|
||||
return td->uper_encoder(td, constraints, structure, per_out);
|
||||
|
@ -8,10 +8,10 @@
|
||||
|
||||
static asn_TYPE_member_t asn_MBR_AccuracyOpt_1[] = {
|
||||
{ATF_POINTER, 1, offsetof(struct AccuracyOpt, accuracy),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_Accuracy, 0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "accuracy"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_Accuracy, 0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "accuracy"},
|
||||
};
|
||||
static int asn_MAP_AccuracyOpt_oms_1[] = {0};
|
||||
static ber_tlv_tag_t asn_DEF_AccuracyOpt_tags_1[] = {
|
||||
|
@ -8,17 +8,17 @@
|
||||
|
||||
static asn_TYPE_member_t asn_MBR_AcquisAssist_1[] = {
|
||||
{ATF_NOFLAGS, 0, offsetof(struct AcquisAssist, timeRelation),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_TimeRelation,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "timeRelation"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_TimeRelation,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "timeRelation"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct AcquisAssist, acquisList),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_SeqOfAcquisElement,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "acquisList"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_SeqOfAcquisElement,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "acquisList"},
|
||||
};
|
||||
static ber_tlv_tag_t asn_DEF_AcquisAssist_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))};
|
||||
|
@ -10,8 +10,8 @@
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include "TimeRelation.h"
|
||||
#include "SeqOfAcquisElement.h"
|
||||
#include "TimeRelation.h"
|
||||
#include <constr_SEQUENCE.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -7,16 +7,16 @@
|
||||
#include "AcquisElement.h"
|
||||
|
||||
static int memb_doppler0_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -30,22 +30,22 @@ static int memb_doppler0_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
static int memb_codePhase_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -59,22 +59,22 @@ static int memb_codePhase_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
static int memb_intCodePhase_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -88,22 +88,22 @@ static int memb_intCodePhase_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
static int memb_gpsBitNumber_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -117,7 +117,7 @@ static int memb_gpsBitNumber_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -131,7 +131,7 @@ static int memb_codePhaseSearchWindow_constraint_1(
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -145,7 +145,7 @@ static int memb_codePhaseSearchWindow_constraint_1(
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -182,44 +182,44 @@ static asn_per_constraints_t ASN_PER_MEMB_CODE_PHASE_SEARCH_WINDOW_CONSTR_8 = {
|
||||
};
|
||||
static asn_TYPE_member_t asn_MBR_AcquisElement_1[] = {
|
||||
{ATF_NOFLAGS, 0, offsetof(struct AcquisElement, svid),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_SatelliteID,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "svid"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_SatelliteID,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "svid"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct AcquisElement, doppler0),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_doppler0_constraint_1,
|
||||
&ASN_PER_MEMB_DOPPLER0_CONSTR_3, 0, "doppler0"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_doppler0_constraint_1,
|
||||
&ASN_PER_MEMB_DOPPLER0_CONSTR_3, 0, "doppler0"},
|
||||
{ATF_POINTER, 1, offsetof(struct AcquisElement, addionalDoppler),
|
||||
(ASN_TAG_CLASS_CONTEXT | (2 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_AddionalDopplerFields,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "addionalDoppler"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (2 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_AddionalDopplerFields,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "addionalDoppler"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct AcquisElement, codePhase),
|
||||
(ASN_TAG_CLASS_CONTEXT | (3 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_codePhase_constraint_1,
|
||||
&ASN_PER_MEMB_CODE_PHASE_CONSTR_5, 0, "codePhase"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (3 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_codePhase_constraint_1,
|
||||
&ASN_PER_MEMB_CODE_PHASE_CONSTR_5, 0, "codePhase"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct AcquisElement, intCodePhase),
|
||||
(ASN_TAG_CLASS_CONTEXT | (4 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_intCodePhase_constraint_1,
|
||||
&ASN_PER_MEMB_INT_CODE_PHASE_CONSTR_6, 0, "intCodePhase"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (4 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_intCodePhase_constraint_1,
|
||||
&ASN_PER_MEMB_INT_CODE_PHASE_CONSTR_6, 0, "intCodePhase"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct AcquisElement, gpsBitNumber),
|
||||
(ASN_TAG_CLASS_CONTEXT | (5 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_gpsBitNumber_constraint_1,
|
||||
&ASN_PER_MEMB_GPS_BIT_NUMBER_CONSTR_7, 0, "gpsBitNumber"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (5 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_gpsBitNumber_constraint_1,
|
||||
&ASN_PER_MEMB_GPS_BIT_NUMBER_CONSTR_7, 0, "gpsBitNumber"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct AcquisElement, codePhaseSearchWindow),
|
||||
(ASN_TAG_CLASS_CONTEXT | (6 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_codePhaseSearchWindow_constraint_1,
|
||||
&ASN_PER_MEMB_CODE_PHASE_SEARCH_WINDOW_CONSTR_8, 0,
|
||||
"codePhaseSearchWindow"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (6 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_codePhaseSearchWindow_constraint_1,
|
||||
&ASN_PER_MEMB_CODE_PHASE_SEARCH_WINDOW_CONSTR_8, 0,
|
||||
"codePhaseSearchWindow"},
|
||||
{ATF_POINTER, 1, offsetof(struct AcquisElement, addionalAngle),
|
||||
(ASN_TAG_CLASS_CONTEXT | (7 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_AddionalAngleFields,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "addionalAngle"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (7 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_AddionalAngleFields,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "addionalAngle"},
|
||||
};
|
||||
static int asn_MAP_AcquisElement_oms_1[] = {2, 7};
|
||||
static ber_tlv_tag_t asn_DEF_AcquisElement_tags_1[] = {
|
||||
@ -232,7 +232,7 @@ static asn_TYPE_tag2member_t asn_MAP_AcquisElement_tag2el_1[] = {
|
||||
{(ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0}, /* intCodePhase at 841 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0}, /* gpsBitNumber at 842 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0,
|
||||
0}, /* codePhaseSearchWindow at 843 */
|
||||
0}, /* codePhaseSearchWindow at 843 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0} /* addionalAngle at 844 */
|
||||
};
|
||||
static asn_SEQUENCE_specifics_t asn_SPC_AcquisElement_specs_1 = {
|
||||
@ -265,7 +265,7 @@ asn_TYPE_descriptor_t asn_DEF_AcquisElement = {
|
||||
asn_DEF_AcquisElement_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_AcquisElement_tags_1) /
|
||||
sizeof(asn_DEF_AcquisElement_tags_1[0]), /* 1 */
|
||||
0, /* No PER visible constraints */
|
||||
0, /* No PER visible constraints */
|
||||
asn_MBR_AcquisElement_1,
|
||||
8, /* Elements count */
|
||||
&asn_SPC_AcquisElement_specs_1 /* Additional specs */
|
||||
|
@ -47,8 +47,8 @@ extern "C"
|
||||
#endif
|
||||
|
||||
/* Referred external types */
|
||||
#include "AddionalDopplerFields.h"
|
||||
#include "AddionalAngleFields.h"
|
||||
#include "AddionalDopplerFields.h"
|
||||
|
||||
#endif /* _AcquisElement_H_ */
|
||||
#include <asn_internal.h>
|
||||
|
@ -7,16 +7,16 @@
|
||||
#include "AddionalAngleFields.h"
|
||||
|
||||
static int memb_azimuth_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -30,22 +30,22 @@ static int memb_azimuth_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
static int memb_elevation_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -59,7 +59,7 @@ static int memb_elevation_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -78,13 +78,13 @@ static asn_per_constraints_t ASN_PER_MEMB_ELEVATION_CONSTR_3 = {
|
||||
};
|
||||
static asn_TYPE_member_t asn_MBR_AddionalAngleFields_1[] = {
|
||||
{ATF_NOFLAGS, 0, offsetof(struct AddionalAngleFields, azimuth),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_azimuth_constraint_1,
|
||||
&ASN_PER_MEMB_AZIMUTH_CONSTR_2, 0, "azimuth"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_azimuth_constraint_1,
|
||||
&ASN_PER_MEMB_AZIMUTH_CONSTR_2, 0, "azimuth"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct AddionalAngleFields, elevation),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_elevation_constraint_1,
|
||||
&ASN_PER_MEMB_ELEVATION_CONSTR_3, 0, "elevation"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_elevation_constraint_1,
|
||||
&ASN_PER_MEMB_ELEVATION_CONSTR_3, 0, "elevation"},
|
||||
};
|
||||
static ber_tlv_tag_t asn_DEF_AddionalAngleFields_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))};
|
||||
@ -122,7 +122,7 @@ asn_TYPE_descriptor_t asn_DEF_AddionalAngleFields = {
|
||||
asn_DEF_AddionalAngleFields_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_AddionalAngleFields_tags_1) /
|
||||
sizeof(asn_DEF_AddionalAngleFields_tags_1[0]), /* 1 */
|
||||
0, /* No PER visible constraints */
|
||||
0, /* No PER visible constraints */
|
||||
asn_MBR_AddionalAngleFields_1,
|
||||
2, /* Elements count */
|
||||
&asn_SPC_AddionalAngleFields_specs_1 /* Additional specs */
|
||||
|
@ -7,16 +7,16 @@
|
||||
#include "AddionalDopplerFields.h"
|
||||
|
||||
static int memb_doppler1_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -30,7 +30,7 @@ static int memb_doppler1_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -44,7 +44,7 @@ static int memb_dopplerUncertainty_constraint_1(
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -58,7 +58,7 @@ static int memb_dopplerUncertainty_constraint_1(
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -77,20 +77,20 @@ static asn_per_constraints_t ASN_PER_MEMB_DOPPLER_UNCERTAINTY_CONSTR_3 = {
|
||||
};
|
||||
static asn_TYPE_member_t asn_MBR_AddionalDopplerFields_1[] = {
|
||||
{ATF_NOFLAGS, 0, offsetof(struct AddionalDopplerFields, doppler1),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_doppler1_constraint_1,
|
||||
&ASN_PER_MEMB_DOPPLER1_CONSTR_2, 0, "doppler1"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_doppler1_constraint_1,
|
||||
&ASN_PER_MEMB_DOPPLER1_CONSTR_2, 0, "doppler1"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct AddionalDopplerFields, dopplerUncertainty),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_dopplerUncertainty_constraint_1,
|
||||
&ASN_PER_MEMB_DOPPLER_UNCERTAINTY_CONSTR_3, 0, "dopplerUncertainty"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_dopplerUncertainty_constraint_1,
|
||||
&ASN_PER_MEMB_DOPPLER_UNCERTAINTY_CONSTR_3, 0, "dopplerUncertainty"},
|
||||
};
|
||||
static ber_tlv_tag_t asn_DEF_AddionalDopplerFields_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))};
|
||||
static asn_TYPE_tag2member_t asn_MAP_AddionalDopplerFields_tag2el_1[] = {
|
||||
{(ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0}, /* doppler1 at 850 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0,
|
||||
0} /* dopplerUncertainty at 851 */
|
||||
0} /* dopplerUncertainty at 851 */
|
||||
};
|
||||
static asn_SEQUENCE_specifics_t asn_SPC_AddionalDopplerFields_specs_1 = {
|
||||
sizeof(struct AddionalDopplerFields),
|
||||
@ -122,7 +122,7 @@ asn_TYPE_descriptor_t asn_DEF_AddionalDopplerFields = {
|
||||
asn_DEF_AddionalDopplerFields_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_AddionalDopplerFields_tags_1) /
|
||||
sizeof(asn_DEF_AddionalDopplerFields_tags_1[0]), /* 1 */
|
||||
0, /* No PER visible constraints */
|
||||
0, /* No PER visible constraints */
|
||||
asn_MBR_AddionalDopplerFields_1,
|
||||
2, /* Elements count */
|
||||
&asn_SPC_AddionalDopplerFields_specs_1 /* Additional specs */
|
||||
|
@ -8,37 +8,37 @@
|
||||
|
||||
static asn_TYPE_member_t asn_MBR_AdditionalAssistanceData_1[] = {
|
||||
{ATF_POINTER, 3,
|
||||
offsetof(struct AdditionalAssistanceData, gpsAssistanceData),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_GPSAssistanceData,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "gpsAssistanceData"},
|
||||
offsetof(struct AdditionalAssistanceData, gpsAssistanceData),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_GPSAssistanceData,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "gpsAssistanceData"},
|
||||
{ATF_POINTER, 2,
|
||||
offsetof(struct AdditionalAssistanceData, extensionContainer),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_ExtensionContainer,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "extensionContainer"},
|
||||
offsetof(struct AdditionalAssistanceData, extensionContainer),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_ExtensionContainer,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "extensionContainer"},
|
||||
{ATF_POINTER, 1,
|
||||
offsetof(struct AdditionalAssistanceData, ganssAssistanceData),
|
||||
(ASN_TAG_CLASS_CONTEXT | (2 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_GANSSAssistanceData,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "ganssAssistanceData"},
|
||||
offsetof(struct AdditionalAssistanceData, ganssAssistanceData),
|
||||
(ASN_TAG_CLASS_CONTEXT | (2 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_GANSSAssistanceData,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "ganssAssistanceData"},
|
||||
};
|
||||
static int asn_MAP_AdditionalAssistanceData_oms_1[] = {0, 1, 2};
|
||||
static ber_tlv_tag_t asn_DEF_AdditionalAssistanceData_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))};
|
||||
static asn_TYPE_tag2member_t asn_MAP_AdditionalAssistanceData_tag2el_1[] = {
|
||||
{(ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0,
|
||||
0}, /* gpsAssistanceData at 520 */
|
||||
0}, /* gpsAssistanceData at 520 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0,
|
||||
0}, /* extensionContainer at 521 */
|
||||
0}, /* extensionContainer at 521 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0,
|
||||
0} /* ganssAssistanceData at 523 */
|
||||
0} /* ganssAssistanceData at 523 */
|
||||
};
|
||||
static asn_SEQUENCE_specifics_t asn_SPC_AdditionalAssistanceData_specs_1 = {
|
||||
sizeof(struct AdditionalAssistanceData),
|
||||
@ -70,7 +70,7 @@ asn_TYPE_descriptor_t asn_DEF_AdditionalAssistanceData = {
|
||||
asn_DEF_AdditionalAssistanceData_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_AdditionalAssistanceData_tags_1) /
|
||||
sizeof(asn_DEF_AdditionalAssistanceData_tags_1[0]), /* 1 */
|
||||
0, /* No PER visible constraints */
|
||||
0, /* No PER visible constraints */
|
||||
asn_MBR_AdditionalAssistanceData_1,
|
||||
3, /* Elements count */
|
||||
&asn_SPC_AdditionalAssistanceData_specs_1 /* Additional specs */
|
||||
|
@ -10,9 +10,9 @@
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include "GPSAssistanceData.h"
|
||||
#include "ExtensionContainer.h"
|
||||
#include "GANSSAssistanceData.h"
|
||||
#include "GPSAssistanceData.h"
|
||||
#include <constr_SEQUENCE.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -7,16 +7,16 @@
|
||||
#include "AdditionalDopplerFields.h"
|
||||
|
||||
static int memb_doppler1_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -30,7 +30,7 @@ static int memb_doppler1_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -44,7 +44,7 @@ static int memb_dopplerUncertainty_constraint_1(
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -58,7 +58,7 @@ static int memb_dopplerUncertainty_constraint_1(
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -77,21 +77,21 @@ static asn_per_constraints_t ASN_PER_MEMB_DOPPLER_UNCERTAINTY_CONSTR_3 = {
|
||||
};
|
||||
static asn_TYPE_member_t asn_MBR_AdditionalDopplerFields_1[] = {
|
||||
{ATF_NOFLAGS, 0, offsetof(struct AdditionalDopplerFields, doppler1),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_doppler1_constraint_1,
|
||||
&ASN_PER_MEMB_DOPPLER1_CONSTR_2, 0, "doppler1"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_doppler1_constraint_1,
|
||||
&ASN_PER_MEMB_DOPPLER1_CONSTR_2, 0, "doppler1"},
|
||||
{ATF_NOFLAGS, 0,
|
||||
offsetof(struct AdditionalDopplerFields, dopplerUncertainty),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_dopplerUncertainty_constraint_1,
|
||||
&ASN_PER_MEMB_DOPPLER_UNCERTAINTY_CONSTR_3, 0, "dopplerUncertainty"},
|
||||
offsetof(struct AdditionalDopplerFields, dopplerUncertainty),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_dopplerUncertainty_constraint_1,
|
||||
&ASN_PER_MEMB_DOPPLER_UNCERTAINTY_CONSTR_3, 0, "dopplerUncertainty"},
|
||||
};
|
||||
static ber_tlv_tag_t asn_DEF_AdditionalDopplerFields_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))};
|
||||
static asn_TYPE_tag2member_t asn_MAP_AdditionalDopplerFields_tag2el_1[] = {
|
||||
{(ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0}, /* doppler1 at 1342 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0,
|
||||
0} /* dopplerUncertainty at 1343 */
|
||||
0} /* dopplerUncertainty at 1343 */
|
||||
};
|
||||
static asn_SEQUENCE_specifics_t asn_SPC_AdditionalDopplerFields_specs_1 = {
|
||||
sizeof(struct AdditionalDopplerFields),
|
||||
@ -123,7 +123,7 @@ asn_TYPE_descriptor_t asn_DEF_AdditionalDopplerFields = {
|
||||
asn_DEF_AdditionalDopplerFields_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_AdditionalDopplerFields_tags_1) /
|
||||
sizeof(asn_DEF_AdditionalDopplerFields_tags_1[0]), /* 1 */
|
||||
0, /* No PER visible constraints */
|
||||
0, /* No PER visible constraints */
|
||||
asn_MBR_AdditionalDopplerFields_1,
|
||||
2, /* Elements count */
|
||||
&asn_SPC_AdditionalDopplerFields_specs_1 /* Additional specs */
|
||||
|
@ -7,14 +7,14 @@
|
||||
#include "AlertFlag.h"
|
||||
|
||||
int AlertFlag_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb, void *app_key)
|
||||
asn_app_constraint_failed_f *ctfailcb, void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -28,7 +28,7 @@ int AlertFlag_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -55,68 +55,68 @@ static void AlertFlag_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td)
|
||||
}
|
||||
|
||||
void AlertFlag_free(asn_TYPE_descriptor_t *td, void *struct_ptr,
|
||||
int contents_only)
|
||||
int contents_only)
|
||||
{
|
||||
AlertFlag_1_inherit_TYPE_descriptor(td);
|
||||
td->free_struct(td, struct_ptr, contents_only);
|
||||
}
|
||||
|
||||
int AlertFlag_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
|
||||
int ilevel, asn_app_consume_bytes_f *cb, void *app_key)
|
||||
int ilevel, asn_app_consume_bytes_f *cb, void *app_key)
|
||||
{
|
||||
AlertFlag_1_inherit_TYPE_descriptor(td);
|
||||
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
|
||||
}
|
||||
|
||||
asn_dec_rval_t AlertFlag_decode_ber(asn_codec_ctx_t *opt_codec_ctx,
|
||||
asn_TYPE_descriptor_t *td, void **structure,
|
||||
const void *bufptr, size_t size,
|
||||
int tag_mode)
|
||||
asn_TYPE_descriptor_t *td, void **structure,
|
||||
const void *bufptr, size_t size,
|
||||
int tag_mode)
|
||||
{
|
||||
AlertFlag_1_inherit_TYPE_descriptor(td);
|
||||
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size,
|
||||
tag_mode);
|
||||
tag_mode);
|
||||
}
|
||||
|
||||
asn_enc_rval_t AlertFlag_encode_der(asn_TYPE_descriptor_t *td, void *structure,
|
||||
int tag_mode, ber_tlv_tag_t tag,
|
||||
asn_app_consume_bytes_f *cb, void *app_key)
|
||||
int tag_mode, ber_tlv_tag_t tag,
|
||||
asn_app_consume_bytes_f *cb, void *app_key)
|
||||
{
|
||||
AlertFlag_1_inherit_TYPE_descriptor(td);
|
||||
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
|
||||
}
|
||||
|
||||
asn_dec_rval_t AlertFlag_decode_xer(asn_codec_ctx_t *opt_codec_ctx,
|
||||
asn_TYPE_descriptor_t *td, void **structure,
|
||||
const char *opt_mname, const void *bufptr,
|
||||
size_t size)
|
||||
asn_TYPE_descriptor_t *td, void **structure,
|
||||
const char *opt_mname, const void *bufptr,
|
||||
size_t size)
|
||||
{
|
||||
AlertFlag_1_inherit_TYPE_descriptor(td);
|
||||
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr,
|
||||
size);
|
||||
size);
|
||||
}
|
||||
|
||||
asn_enc_rval_t AlertFlag_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
|
||||
int ilevel, enum xer_encoder_flags_e flags,
|
||||
asn_app_consume_bytes_f *cb, void *app_key)
|
||||
int ilevel, enum xer_encoder_flags_e flags,
|
||||
asn_app_consume_bytes_f *cb, void *app_key)
|
||||
{
|
||||
AlertFlag_1_inherit_TYPE_descriptor(td);
|
||||
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
|
||||
}
|
||||
|
||||
asn_dec_rval_t AlertFlag_decode_uper(asn_codec_ctx_t *opt_codec_ctx,
|
||||
asn_TYPE_descriptor_t *td,
|
||||
asn_per_constraints_t *constraints,
|
||||
void **structure, asn_per_data_t *per_data)
|
||||
asn_TYPE_descriptor_t *td,
|
||||
asn_per_constraints_t *constraints,
|
||||
void **structure, asn_per_data_t *per_data)
|
||||
{
|
||||
AlertFlag_1_inherit_TYPE_descriptor(td);
|
||||
return td->uper_decoder(opt_codec_ctx, td, constraints, structure,
|
||||
per_data);
|
||||
per_data);
|
||||
}
|
||||
|
||||
asn_enc_rval_t AlertFlag_encode_uper(asn_TYPE_descriptor_t *td,
|
||||
asn_per_constraints_t *constraints,
|
||||
void *structure, asn_per_outp_t *per_out)
|
||||
asn_per_constraints_t *constraints,
|
||||
void *structure, asn_per_outp_t *per_out)
|
||||
{
|
||||
AlertFlag_1_inherit_TYPE_descriptor(td);
|
||||
return td->uper_encoder(td, constraints, structure, per_out);
|
||||
|
@ -7,16 +7,16 @@
|
||||
#include "Almanac-KeplerianSet.h"
|
||||
|
||||
static int memb_kepAlmanacE_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -30,7 +30,7 @@ static int memb_kepAlmanacE_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -44,7 +44,7 @@ static int memb_kepAlmanacDeltaI_constraint_1(
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -58,7 +58,7 @@ static int memb_kepAlmanacDeltaI_constraint_1(
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -72,7 +72,7 @@ static int memb_kepAlmanacOmegaDot_constraint_1(
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -86,22 +86,22 @@ static int memb_kepAlmanacOmegaDot_constraint_1(
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
static int memb_kepSVHealth_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -115,7 +115,7 @@ static int memb_kepSVHealth_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -129,7 +129,7 @@ static int memb_kepAlmanacAPowerHalf_constraint_1(
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -143,7 +143,7 @@ static int memb_kepAlmanacAPowerHalf_constraint_1(
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -157,7 +157,7 @@ static int memb_kepAlmanacOmega0_constraint_1(
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -171,22 +171,22 @@ static int memb_kepAlmanacOmega0_constraint_1(
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
static int memb_kepAlmanacW_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -200,22 +200,22 @@ static int memb_kepAlmanacW_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
static int memb_kepAlmanacM0_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -229,7 +229,7 @@ static int memb_kepAlmanacM0_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -243,7 +243,7 @@ static int memb_kepAlmanacAF0_constraint_1(
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -257,7 +257,7 @@ static int memb_kepAlmanacAF0_constraint_1(
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -271,7 +271,7 @@ static int memb_kepAlmanacAF1_constraint_1(
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -285,7 +285,7 @@ static int memb_kepAlmanacAF1_constraint_1(
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -352,61 +352,61 @@ static asn_per_constraints_t ASN_PER_MEMB_KEP_ALMANAC_A_F1_CONSTR_11 = {
|
||||
};
|
||||
static asn_TYPE_member_t asn_MBR_Almanac_KeplerianSet_1[] = {
|
||||
{ATF_NOFLAGS, 0, offsetof(struct Almanac_KeplerianSet, kepAlmanacE),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_kepAlmanacE_constraint_1,
|
||||
&ASN_PER_MEMB_KEP_ALMANAC_E_CONSTR_2, 0, "kepAlmanacE"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_kepAlmanacE_constraint_1,
|
||||
&ASN_PER_MEMB_KEP_ALMANAC_E_CONSTR_2, 0, "kepAlmanacE"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct Almanac_KeplerianSet, kepAlmanacDeltaI),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_kepAlmanacDeltaI_constraint_1,
|
||||
&ASN_PER_MEMB_KEP_ALMANAC_DELTA_I_CONSTR_3, 0, "kepAlmanacDeltaI"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_kepAlmanacDeltaI_constraint_1,
|
||||
&ASN_PER_MEMB_KEP_ALMANAC_DELTA_I_CONSTR_3, 0, "kepAlmanacDeltaI"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct Almanac_KeplerianSet, kepAlmanacOmegaDot),
|
||||
(ASN_TAG_CLASS_CONTEXT | (2 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_kepAlmanacOmegaDot_constraint_1,
|
||||
&ASN_PER_MEMB_KEP_ALMANAC_OMEGA_DOT_CONSTR_4, 0, "kepAlmanacOmegaDot"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (2 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_kepAlmanacOmegaDot_constraint_1,
|
||||
&ASN_PER_MEMB_KEP_ALMANAC_OMEGA_DOT_CONSTR_4, 0, "kepAlmanacOmegaDot"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct Almanac_KeplerianSet, kepSVHealth),
|
||||
(ASN_TAG_CLASS_CONTEXT | (3 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_kepSVHealth_constraint_1,
|
||||
&ASN_PER_MEMB_KEP_SV_HEALTH_CONSTR_5, 0, "kepSVHealth"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (3 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_kepSVHealth_constraint_1,
|
||||
&ASN_PER_MEMB_KEP_SV_HEALTH_CONSTR_5, 0, "kepSVHealth"},
|
||||
{ATF_NOFLAGS, 0,
|
||||
offsetof(struct Almanac_KeplerianSet, kepAlmanacAPowerHalf),
|
||||
(ASN_TAG_CLASS_CONTEXT | (4 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_kepAlmanacAPowerHalf_constraint_1,
|
||||
&ASN_PER_MEMB_KEP_ALMANAC_A_POWER_HALF_CONSTR_6, 0,
|
||||
"kepAlmanacAPowerHalf"},
|
||||
offsetof(struct Almanac_KeplerianSet, kepAlmanacAPowerHalf),
|
||||
(ASN_TAG_CLASS_CONTEXT | (4 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_kepAlmanacAPowerHalf_constraint_1,
|
||||
&ASN_PER_MEMB_KEP_ALMANAC_A_POWER_HALF_CONSTR_6, 0,
|
||||
"kepAlmanacAPowerHalf"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct Almanac_KeplerianSet, kepAlmanacOmega0),
|
||||
(ASN_TAG_CLASS_CONTEXT | (5 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_kepAlmanacOmega0_constraint_1,
|
||||
&ASN_PER_MEMB_KEP_ALMANAC_OMEGA0_CONSTR_7, 0, "kepAlmanacOmega0"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (5 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_kepAlmanacOmega0_constraint_1,
|
||||
&ASN_PER_MEMB_KEP_ALMANAC_OMEGA0_CONSTR_7, 0, "kepAlmanacOmega0"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct Almanac_KeplerianSet, kepAlmanacW),
|
||||
(ASN_TAG_CLASS_CONTEXT | (6 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_kepAlmanacW_constraint_1,
|
||||
&ASN_PER_MEMB_KEP_ALMANAC_W_CONSTR_8, 0, "kepAlmanacW"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (6 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_kepAlmanacW_constraint_1,
|
||||
&ASN_PER_MEMB_KEP_ALMANAC_W_CONSTR_8, 0, "kepAlmanacW"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct Almanac_KeplerianSet, kepAlmanacM0),
|
||||
(ASN_TAG_CLASS_CONTEXT | (7 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_kepAlmanacM0_constraint_1,
|
||||
&ASN_PER_MEMB_KEP_ALMANAC_M0_CONSTR_9, 0, "kepAlmanacM0"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (7 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_kepAlmanacM0_constraint_1,
|
||||
&ASN_PER_MEMB_KEP_ALMANAC_M0_CONSTR_9, 0, "kepAlmanacM0"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct Almanac_KeplerianSet, kepAlmanacAF0),
|
||||
(ASN_TAG_CLASS_CONTEXT | (8 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_kepAlmanacAF0_constraint_1,
|
||||
&ASN_PER_MEMB_KEP_ALMANAC_A_F0_CONSTR_10, 0, "kepAlmanacAF0"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (8 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_kepAlmanacAF0_constraint_1,
|
||||
&ASN_PER_MEMB_KEP_ALMANAC_A_F0_CONSTR_10, 0, "kepAlmanacAF0"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct Almanac_KeplerianSet, kepAlmanacAF1),
|
||||
(ASN_TAG_CLASS_CONTEXT | (9 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_kepAlmanacAF1_constraint_1,
|
||||
&ASN_PER_MEMB_KEP_ALMANAC_A_F1_CONSTR_11, 0, "kepAlmanacAF1"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (9 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_kepAlmanacAF1_constraint_1,
|
||||
&ASN_PER_MEMB_KEP_ALMANAC_A_F1_CONSTR_11, 0, "kepAlmanacAF1"},
|
||||
};
|
||||
static ber_tlv_tag_t asn_DEF_Almanac_KeplerianSet_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))};
|
||||
static asn_TYPE_tag2member_t asn_MAP_Almanac_KeplerianSet_tag2el_1[] = {
|
||||
{(ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0}, /* kepAlmanacE at 1368 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0,
|
||||
0}, /* kepAlmanacDeltaI at 1369 */
|
||||
0}, /* kepAlmanacDeltaI at 1369 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0,
|
||||
0}, /* kepAlmanacOmegaDot at 1370 */
|
||||
0}, /* kepAlmanacOmegaDot at 1370 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0}, /* kepSVHealth at 1371 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0,
|
||||
0}, /* kepAlmanacAPowerHalf at 1372 */
|
||||
0}, /* kepAlmanacAPowerHalf at 1372 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0,
|
||||
0}, /* kepAlmanacOmega0 at 1373 */
|
||||
0}, /* kepAlmanacOmega0 at 1373 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0}, /* kepAlmanacW at 1374 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0}, /* kepAlmanacM0 at 1375 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (8 << 2)), 8, 0, 0}, /* kepAlmanacAF0 at 1376 */
|
||||
@ -442,7 +442,7 @@ asn_TYPE_descriptor_t asn_DEF_Almanac_KeplerianSet = {
|
||||
asn_DEF_Almanac_KeplerianSet_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_Almanac_KeplerianSet_tags_1) /
|
||||
sizeof(asn_DEF_Almanac_KeplerianSet_tags_1[0]), /* 1 */
|
||||
0, /* No PER visible constraints */
|
||||
0, /* No PER visible constraints */
|
||||
asn_MBR_Almanac_KeplerianSet_1,
|
||||
10, /* Elements count */
|
||||
&asn_SPC_Almanac_KeplerianSet_specs_1 /* Additional specs */
|
||||
|
@ -7,16 +7,16 @@
|
||||
#include "Almanac.h"
|
||||
|
||||
static int memb_alamanacWNa_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -30,7 +30,7 @@ static int memb_alamanacWNa_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -43,15 +43,15 @@ static asn_per_constraints_t ASN_PER_MEMB_ALAMANAC_W_NA_CONSTR_2 = {
|
||||
};
|
||||
static asn_TYPE_member_t asn_MBR_Almanac_1[] = {
|
||||
{ATF_NOFLAGS, 0, offsetof(struct Almanac, alamanacWNa),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_alamanacWNa_constraint_1,
|
||||
&ASN_PER_MEMB_ALAMANAC_W_NA_CONSTR_2, 0, "alamanacWNa"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_alamanacWNa_constraint_1,
|
||||
&ASN_PER_MEMB_ALAMANAC_W_NA_CONSTR_2, 0, "alamanacWNa"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct Almanac, almanacList),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_SeqOfAlmanacElement,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "almanacList"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_SeqOfAlmanacElement,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "almanacList"},
|
||||
};
|
||||
static ber_tlv_tag_t asn_DEF_Almanac_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))};
|
||||
@ -85,9 +85,9 @@ asn_TYPE_descriptor_t asn_DEF_Almanac = {
|
||||
0, /* Use generic outmost tag fetcher */
|
||||
asn_DEF_Almanac_tags_1,
|
||||
sizeof(asn_DEF_Almanac_tags_1) / sizeof(asn_DEF_Almanac_tags_1[0]), /* 1 */
|
||||
asn_DEF_Almanac_tags_1, /* Same as above */
|
||||
asn_DEF_Almanac_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_Almanac_tags_1) / sizeof(asn_DEF_Almanac_tags_1[0]), /* 1 */
|
||||
0, /* No PER visible constraints */
|
||||
0, /* No PER visible constraints */
|
||||
asn_MBR_Almanac_1,
|
||||
2, /* Elements count */
|
||||
&asn_SPC_Almanac_specs_1 /* Additional specs */
|
||||
|
@ -10,8 +10,8 @@
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <NativeInteger.h>
|
||||
#include "SeqOfAlmanacElement.h"
|
||||
#include <NativeInteger.h>
|
||||
#include <constr_SEQUENCE.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -7,16 +7,16 @@
|
||||
#include "AlmanacElement.h"
|
||||
|
||||
static int memb_almanacE_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -30,22 +30,22 @@ static int memb_almanacE_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
static int memb_alamanacToa_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -59,22 +59,22 @@ static int memb_alamanacToa_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
static int memb_almanacKsii_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -88,7 +88,7 @@ static int memb_almanacKsii_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -102,7 +102,7 @@ static int memb_almanacOmegaDot_constraint_1(
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -116,7 +116,7 @@ static int memb_almanacOmegaDot_constraint_1(
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -130,7 +130,7 @@ static int memb_almanacSVhealth_constraint_1(
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -144,7 +144,7 @@ static int memb_almanacSVhealth_constraint_1(
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -158,7 +158,7 @@ static int memb_almanacAPowerHalf_constraint_1(
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -172,7 +172,7 @@ static int memb_almanacAPowerHalf_constraint_1(
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -186,7 +186,7 @@ static int memb_almanacOmega0_constraint_1(
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -200,22 +200,22 @@ static int memb_almanacOmega0_constraint_1(
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
static int memb_almanacW_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -229,22 +229,22 @@ static int memb_almanacW_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
static int memb_almanacM0_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -258,22 +258,22 @@ static int memb_almanacM0_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
static int memb_almanacAF0_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -287,22 +287,22 @@ static int memb_almanacAF0_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
static int memb_almanacAF1_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -316,7 +316,7 @@ static int memb_almanacAF1_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -389,57 +389,57 @@ static asn_per_constraints_t ASN_PER_MEMB_ALMANAC_A_F1_CONSTR_13 = {
|
||||
};
|
||||
static asn_TYPE_member_t asn_MBR_AlmanacElement_1[] = {
|
||||
{ATF_NOFLAGS, 0, offsetof(struct AlmanacElement, satelliteID),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_SatelliteID,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "satelliteID"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_SatelliteID,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "satelliteID"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct AlmanacElement, almanacE),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_almanacE_constraint_1,
|
||||
&ASN_PER_MEMB_ALMANAC_E_CONSTR_3, 0, "almanacE"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_almanacE_constraint_1,
|
||||
&ASN_PER_MEMB_ALMANAC_E_CONSTR_3, 0, "almanacE"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct AlmanacElement, alamanacToa),
|
||||
(ASN_TAG_CLASS_CONTEXT | (2 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_alamanacToa_constraint_1,
|
||||
&ASN_PER_MEMB_ALAMANAC_TOA_CONSTR_4, 0, "alamanacToa"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (2 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_alamanacToa_constraint_1,
|
||||
&ASN_PER_MEMB_ALAMANAC_TOA_CONSTR_4, 0, "alamanacToa"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct AlmanacElement, almanacKsii),
|
||||
(ASN_TAG_CLASS_CONTEXT | (3 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_almanacKsii_constraint_1,
|
||||
&ASN_PER_MEMB_ALMANAC_KSII_CONSTR_5, 0, "almanacKsii"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (3 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_almanacKsii_constraint_1,
|
||||
&ASN_PER_MEMB_ALMANAC_KSII_CONSTR_5, 0, "almanacKsii"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct AlmanacElement, almanacOmegaDot),
|
||||
(ASN_TAG_CLASS_CONTEXT | (4 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_almanacOmegaDot_constraint_1,
|
||||
&ASN_PER_MEMB_ALMANAC_OMEGA_DOT_CONSTR_6, 0, "almanacOmegaDot"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (4 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_almanacOmegaDot_constraint_1,
|
||||
&ASN_PER_MEMB_ALMANAC_OMEGA_DOT_CONSTR_6, 0, "almanacOmegaDot"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct AlmanacElement, almanacSVhealth),
|
||||
(ASN_TAG_CLASS_CONTEXT | (5 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_almanacSVhealth_constraint_1,
|
||||
&ASN_PER_MEMB_ALMANAC_S_VHEALTH_CONSTR_7, 0, "almanacSVhealth"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (5 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_almanacSVhealth_constraint_1,
|
||||
&ASN_PER_MEMB_ALMANAC_S_VHEALTH_CONSTR_7, 0, "almanacSVhealth"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct AlmanacElement, almanacAPowerHalf),
|
||||
(ASN_TAG_CLASS_CONTEXT | (6 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_almanacAPowerHalf_constraint_1,
|
||||
&ASN_PER_MEMB_ALMANAC_A_POWER_HALF_CONSTR_8, 0, "almanacAPowerHalf"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (6 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_almanacAPowerHalf_constraint_1,
|
||||
&ASN_PER_MEMB_ALMANAC_A_POWER_HALF_CONSTR_8, 0, "almanacAPowerHalf"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct AlmanacElement, almanacOmega0),
|
||||
(ASN_TAG_CLASS_CONTEXT | (7 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_almanacOmega0_constraint_1,
|
||||
&ASN_PER_MEMB_ALMANAC_OMEGA0_CONSTR_9, 0, "almanacOmega0"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (7 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_almanacOmega0_constraint_1,
|
||||
&ASN_PER_MEMB_ALMANAC_OMEGA0_CONSTR_9, 0, "almanacOmega0"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct AlmanacElement, almanacW),
|
||||
(ASN_TAG_CLASS_CONTEXT | (8 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_almanacW_constraint_1,
|
||||
&ASN_PER_MEMB_ALMANAC_W_CONSTR_10, 0, "almanacW"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (8 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_almanacW_constraint_1,
|
||||
&ASN_PER_MEMB_ALMANAC_W_CONSTR_10, 0, "almanacW"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct AlmanacElement, almanacM0),
|
||||
(ASN_TAG_CLASS_CONTEXT | (9 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_almanacM0_constraint_1,
|
||||
&ASN_PER_MEMB_ALMANAC_M0_CONSTR_11, 0, "almanacM0"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (9 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_almanacM0_constraint_1,
|
||||
&ASN_PER_MEMB_ALMANAC_M0_CONSTR_11, 0, "almanacM0"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct AlmanacElement, almanacAF0),
|
||||
(ASN_TAG_CLASS_CONTEXT | (10 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_almanacAF0_constraint_1,
|
||||
&ASN_PER_MEMB_ALMANAC_A_F0_CONSTR_12, 0, "almanacAF0"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (10 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_almanacAF0_constraint_1,
|
||||
&ASN_PER_MEMB_ALMANAC_A_F0_CONSTR_12, 0, "almanacAF0"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct AlmanacElement, almanacAF1),
|
||||
(ASN_TAG_CLASS_CONTEXT | (11 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_almanacAF1_constraint_1,
|
||||
&ASN_PER_MEMB_ALMANAC_A_F1_CONSTR_13, 0, "almanacAF1"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (11 << 2)),
|
||||
-1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_almanacAF1_constraint_1,
|
||||
&ASN_PER_MEMB_ALMANAC_A_F1_CONSTR_13, 0, "almanacAF1"},
|
||||
};
|
||||
static ber_tlv_tag_t asn_DEF_AlmanacElement_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))};
|
||||
@ -451,7 +451,7 @@ static asn_TYPE_tag2member_t asn_MAP_AlmanacElement_tag2el_1[] = {
|
||||
{(ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0}, /* almanacOmegaDot at 803 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0}, /* almanacSVhealth at 804 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0,
|
||||
0}, /* almanacAPowerHalf at 805 */
|
||||
0}, /* almanacAPowerHalf at 805 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0}, /* almanacOmega0 at 806 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (8 << 2)), 8, 0, 0}, /* almanacW at 807 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (9 << 2)), 9, 0, 0}, /* almanacM0 at 808 */
|
||||
@ -488,7 +488,7 @@ asn_TYPE_descriptor_t asn_DEF_AlmanacElement = {
|
||||
asn_DEF_AlmanacElement_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_AlmanacElement_tags_1) /
|
||||
sizeof(asn_DEF_AlmanacElement_tags_1[0]), /* 1 */
|
||||
0, /* No PER visible constraints */
|
||||
0, /* No PER visible constraints */
|
||||
asn_MBR_AlmanacElement_1,
|
||||
12, /* Elements count */
|
||||
&asn_SPC_AlmanacElement_specs_1 /* Additional specs */
|
||||
|
@ -7,15 +7,15 @@
|
||||
#include "AntiSpoofFlag.h"
|
||||
|
||||
int AntiSpoofFlag_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -29,7 +29,7 @@ int AntiSpoofFlag_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -56,74 +56,74 @@ static void AntiSpoofFlag_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td)
|
||||
}
|
||||
|
||||
void AntiSpoofFlag_free(asn_TYPE_descriptor_t *td, void *struct_ptr,
|
||||
int contents_only)
|
||||
int contents_only)
|
||||
{
|
||||
AntiSpoofFlag_1_inherit_TYPE_descriptor(td);
|
||||
td->free_struct(td, struct_ptr, contents_only);
|
||||
}
|
||||
|
||||
int AntiSpoofFlag_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
|
||||
int ilevel, asn_app_consume_bytes_f *cb, void *app_key)
|
||||
int ilevel, asn_app_consume_bytes_f *cb, void *app_key)
|
||||
{
|
||||
AntiSpoofFlag_1_inherit_TYPE_descriptor(td);
|
||||
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
|
||||
}
|
||||
|
||||
asn_dec_rval_t AntiSpoofFlag_decode_ber(asn_codec_ctx_t *opt_codec_ctx,
|
||||
asn_TYPE_descriptor_t *td,
|
||||
void **structure, const void *bufptr,
|
||||
size_t size, int tag_mode)
|
||||
asn_TYPE_descriptor_t *td,
|
||||
void **structure, const void *bufptr,
|
||||
size_t size, int tag_mode)
|
||||
{
|
||||
AntiSpoofFlag_1_inherit_TYPE_descriptor(td);
|
||||
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size,
|
||||
tag_mode);
|
||||
tag_mode);
|
||||
}
|
||||
|
||||
asn_enc_rval_t AntiSpoofFlag_encode_der(asn_TYPE_descriptor_t *td,
|
||||
void *structure, int tag_mode,
|
||||
ber_tlv_tag_t tag,
|
||||
asn_app_consume_bytes_f *cb,
|
||||
void *app_key)
|
||||
void *structure, int tag_mode,
|
||||
ber_tlv_tag_t tag,
|
||||
asn_app_consume_bytes_f *cb,
|
||||
void *app_key)
|
||||
{
|
||||
AntiSpoofFlag_1_inherit_TYPE_descriptor(td);
|
||||
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
|
||||
}
|
||||
|
||||
asn_dec_rval_t AntiSpoofFlag_decode_xer(asn_codec_ctx_t *opt_codec_ctx,
|
||||
asn_TYPE_descriptor_t *td,
|
||||
void **structure, const char *opt_mname,
|
||||
const void *bufptr, size_t size)
|
||||
asn_TYPE_descriptor_t *td,
|
||||
void **structure, const char *opt_mname,
|
||||
const void *bufptr, size_t size)
|
||||
{
|
||||
AntiSpoofFlag_1_inherit_TYPE_descriptor(td);
|
||||
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr,
|
||||
size);
|
||||
size);
|
||||
}
|
||||
|
||||
asn_enc_rval_t AntiSpoofFlag_encode_xer(asn_TYPE_descriptor_t *td,
|
||||
void *structure, int ilevel,
|
||||
enum xer_encoder_flags_e flags,
|
||||
asn_app_consume_bytes_f *cb,
|
||||
void *app_key)
|
||||
void *structure, int ilevel,
|
||||
enum xer_encoder_flags_e flags,
|
||||
asn_app_consume_bytes_f *cb,
|
||||
void *app_key)
|
||||
{
|
||||
AntiSpoofFlag_1_inherit_TYPE_descriptor(td);
|
||||
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
|
||||
}
|
||||
|
||||
asn_dec_rval_t AntiSpoofFlag_decode_uper(asn_codec_ctx_t *opt_codec_ctx,
|
||||
asn_TYPE_descriptor_t *td,
|
||||
asn_per_constraints_t *constraints,
|
||||
void **structure,
|
||||
asn_per_data_t *per_data)
|
||||
asn_TYPE_descriptor_t *td,
|
||||
asn_per_constraints_t *constraints,
|
||||
void **structure,
|
||||
asn_per_data_t *per_data)
|
||||
{
|
||||
AntiSpoofFlag_1_inherit_TYPE_descriptor(td);
|
||||
return td->uper_decoder(opt_codec_ctx, td, constraints, structure,
|
||||
per_data);
|
||||
per_data);
|
||||
}
|
||||
|
||||
asn_enc_rval_t AntiSpoofFlag_encode_uper(asn_TYPE_descriptor_t *td,
|
||||
asn_per_constraints_t *constraints,
|
||||
void *structure,
|
||||
asn_per_outp_t *per_out)
|
||||
asn_per_constraints_t *constraints,
|
||||
void *structure,
|
||||
asn_per_outp_t *per_out)
|
||||
{
|
||||
AntiSpoofFlag_1_inherit_TYPE_descriptor(td);
|
||||
return td->uper_encoder(td, constraints, structure, per_out);
|
||||
|
@ -8,24 +8,24 @@
|
||||
|
||||
static asn_TYPE_member_t asn_MBR_AssistBTSData_R98_ExpOTD_1[] = {
|
||||
{ATF_NOFLAGS, 0, offsetof(struct AssistBTSData_R98_ExpOTD, expectedOTD),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_ExpectedOTD,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "expectedOTD"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_ExpectedOTD,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "expectedOTD"},
|
||||
{ATF_NOFLAGS, 0,
|
||||
offsetof(struct AssistBTSData_R98_ExpOTD, expOTDuncertainty),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_ExpOTDUncertainty,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "expOTDuncertainty"},
|
||||
offsetof(struct AssistBTSData_R98_ExpOTD, expOTDuncertainty),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_ExpOTDUncertainty,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "expOTDuncertainty"},
|
||||
};
|
||||
static ber_tlv_tag_t asn_DEF_AssistBTSData_R98_ExpOTD_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))};
|
||||
static asn_TYPE_tag2member_t asn_MAP_AssistBTSData_R98_ExpOTD_tag2el_1[] = {
|
||||
{(ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0}, /* expectedOTD at 933 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0} /* expOTDuncertainty at 935 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0} /* expOTDuncertainty at 935 */
|
||||
};
|
||||
static asn_SEQUENCE_specifics_t asn_SPC_AssistBTSData_R98_ExpOTD_specs_1 = {
|
||||
sizeof(struct AssistBTSData_R98_ExpOTD),
|
||||
@ -57,7 +57,7 @@ asn_TYPE_descriptor_t asn_DEF_AssistBTSData_R98_ExpOTD = {
|
||||
asn_DEF_AssistBTSData_R98_ExpOTD_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_AssistBTSData_R98_ExpOTD_tags_1) /
|
||||
sizeof(asn_DEF_AssistBTSData_R98_ExpOTD_tags_1[0]), /* 1 */
|
||||
0, /* No PER visible constraints */
|
||||
0, /* No PER visible constraints */
|
||||
asn_MBR_AssistBTSData_R98_ExpOTD_1,
|
||||
2, /* Elements count */
|
||||
&asn_SPC_AssistBTSData_R98_ExpOTD_specs_1 /* Additional specs */
|
||||
|
@ -10,8 +10,8 @@
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include "ExpectedOTD.h"
|
||||
#include "ExpOTDUncertainty.h"
|
||||
#include "ExpectedOTD.h"
|
||||
#include <constr_SEQUENCE.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -8,33 +8,33 @@
|
||||
|
||||
static asn_TYPE_member_t asn_MBR_AssistBTSData_1[] = {
|
||||
{ATF_NOFLAGS, 0, offsetof(struct AssistBTSData, bsic),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_BSIC, 0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "bsic"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_BSIC, 0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "bsic"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct AssistBTSData, multiFrameOffset),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_MultiFrameOffset,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "multiFrameOffset"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_MultiFrameOffset,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "multiFrameOffset"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct AssistBTSData, timeSlotScheme),
|
||||
(ASN_TAG_CLASS_CONTEXT | (2 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_TimeSlotScheme,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "timeSlotScheme"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (2 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_TimeSlotScheme,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "timeSlotScheme"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct AssistBTSData, roughRTD),
|
||||
(ASN_TAG_CLASS_CONTEXT | (3 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_RoughRTD, 0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "roughRTD"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (3 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_RoughRTD, 0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "roughRTD"},
|
||||
{ATF_POINTER, 1, offsetof(struct AssistBTSData, calcAssistanceBTS),
|
||||
(ASN_TAG_CLASS_CONTEXT | (4 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_CalcAssistanceBTS,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "calcAssistanceBTS"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (4 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_CalcAssistanceBTS,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "calcAssistanceBTS"},
|
||||
};
|
||||
static int asn_MAP_AssistBTSData_oms_1[] = {4};
|
||||
static ber_tlv_tag_t asn_DEF_AssistBTSData_tags_1[] = {
|
||||
@ -44,7 +44,7 @@ static asn_TYPE_tag2member_t asn_MAP_AssistBTSData_tag2el_1[] = {
|
||||
{(ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0}, /* multiFrameOffset at 230 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0}, /* timeSlotScheme at 231 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0}, /* roughRTD at 232 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0} /* calcAssistanceBTS at 235 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0} /* calcAssistanceBTS at 235 */
|
||||
};
|
||||
static asn_SEQUENCE_specifics_t asn_SPC_AssistBTSData_specs_1 = {
|
||||
sizeof(struct AssistBTSData),
|
||||
@ -76,7 +76,7 @@ asn_TYPE_descriptor_t asn_DEF_AssistBTSData = {
|
||||
asn_DEF_AssistBTSData_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_AssistBTSData_tags_1) /
|
||||
sizeof(asn_DEF_AssistBTSData_tags_1[0]), /* 1 */
|
||||
0, /* No PER visible constraints */
|
||||
0, /* No PER visible constraints */
|
||||
asn_MBR_AssistBTSData_1,
|
||||
5, /* Elements count */
|
||||
&asn_SPC_AssistBTSData_specs_1 /* Additional specs */
|
||||
|
@ -12,8 +12,8 @@
|
||||
/* Including external dependencies */
|
||||
#include "BSIC.h"
|
||||
#include "MultiFrameOffset.h"
|
||||
#include "TimeSlotScheme.h"
|
||||
#include "RoughRTD.h"
|
||||
#include "TimeSlotScheme.h"
|
||||
#include <constr_SEQUENCE.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -8,74 +8,74 @@
|
||||
|
||||
static asn_TYPE_member_t asn_MBR_AssistanceData_1[] = {
|
||||
{ATF_POINTER, 8, offsetof(struct AssistanceData, referenceAssistData),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_ReferenceAssistData,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "referenceAssistData"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_ReferenceAssistData,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "referenceAssistData"},
|
||||
{ATF_POINTER, 7, offsetof(struct AssistanceData, msrAssistData),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_MsrAssistData,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "msrAssistData"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_MsrAssistData,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "msrAssistData"},
|
||||
{ATF_POINTER, 6, offsetof(struct AssistanceData, systemInfoAssistData),
|
||||
(ASN_TAG_CLASS_CONTEXT | (2 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_SystemInfoAssistData,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "systemInfoAssistData"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (2 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_SystemInfoAssistData,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "systemInfoAssistData"},
|
||||
{ATF_POINTER, 5, offsetof(struct AssistanceData, gps_AssistData),
|
||||
(ASN_TAG_CLASS_CONTEXT | (3 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_GPS_AssistData,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "gps-AssistData"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (3 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_GPS_AssistData,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "gps-AssistData"},
|
||||
{ATF_POINTER, 4, offsetof(struct AssistanceData, moreAssDataToBeSent),
|
||||
(ASN_TAG_CLASS_CONTEXT | (4 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_MoreAssDataToBeSent,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "moreAssDataToBeSent"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (4 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_MoreAssDataToBeSent,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "moreAssDataToBeSent"},
|
||||
{ATF_POINTER, 3, offsetof(struct AssistanceData, extensionContainer),
|
||||
(ASN_TAG_CLASS_CONTEXT | (5 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_ExtensionContainer,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "extensionContainer"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (5 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_ExtensionContainer,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "extensionContainer"},
|
||||
{ATF_POINTER, 2,
|
||||
offsetof(struct AssistanceData, rel98_AssistanceData_Extension),
|
||||
(ASN_TAG_CLASS_CONTEXT | (6 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_Rel98_AssistanceData_Extension,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "rel98-AssistanceData-Extension"},
|
||||
offsetof(struct AssistanceData, rel98_AssistanceData_Extension),
|
||||
(ASN_TAG_CLASS_CONTEXT | (6 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_Rel98_AssistanceData_Extension,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "rel98-AssistanceData-Extension"},
|
||||
{ATF_POINTER, 1,
|
||||
offsetof(struct AssistanceData, rel5_AssistanceData_Extension),
|
||||
(ASN_TAG_CLASS_CONTEXT | (7 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_Rel5_AssistanceData_Extension,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "rel5-AssistanceData-Extension"},
|
||||
offsetof(struct AssistanceData, rel5_AssistanceData_Extension),
|
||||
(ASN_TAG_CLASS_CONTEXT | (7 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_Rel5_AssistanceData_Extension,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "rel5-AssistanceData-Extension"},
|
||||
};
|
||||
static int asn_MAP_AssistanceData_oms_1[] = {0, 1, 2, 3, 4, 5, 6, 7};
|
||||
static ber_tlv_tag_t asn_DEF_AssistanceData_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))};
|
||||
static asn_TYPE_tag2member_t asn_MAP_AssistanceData_tag2el_1[] = {
|
||||
{(ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0,
|
||||
0}, /* referenceAssistData at 75 */
|
||||
0}, /* referenceAssistData at 75 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0}, /* msrAssistData at 76 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0,
|
||||
0}, /* systemInfoAssistData at 77 */
|
||||
0}, /* systemInfoAssistData at 77 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0}, /* gps-AssistData at 78 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0,
|
||||
0}, /* moreAssDataToBeSent at 79 */
|
||||
0}, /* moreAssDataToBeSent at 79 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0,
|
||||
0}, /* extensionContainer at 83 */
|
||||
0}, /* extensionContainer at 83 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0,
|
||||
0}, /* rel98-AssistanceData-Extension at 86 */
|
||||
0}, /* rel98-AssistanceData-Extension at 86 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0,
|
||||
0} /* rel5-AssistanceData-Extension at 87 */
|
||||
0} /* rel5-AssistanceData-Extension at 87 */
|
||||
};
|
||||
static asn_SEQUENCE_specifics_t asn_SPC_AssistanceData_specs_1 = {
|
||||
sizeof(struct AssistanceData),
|
||||
@ -107,7 +107,7 @@ asn_TYPE_descriptor_t asn_DEF_AssistanceData = {
|
||||
asn_DEF_AssistanceData_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_AssistanceData_tags_1) /
|
||||
sizeof(asn_DEF_AssistanceData_tags_1[0]), /* 1 */
|
||||
0, /* No PER visible constraints */
|
||||
0, /* No PER visible constraints */
|
||||
asn_MBR_AssistanceData_1,
|
||||
8, /* Elements count */
|
||||
&asn_SPC_AssistanceData_specs_1 /* Additional specs */
|
||||
|
@ -10,8 +10,8 @@
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include "MoreAssDataToBeSent.h"
|
||||
#include "ExtensionContainer.h"
|
||||
#include "MoreAssDataToBeSent.h"
|
||||
#include <constr_SEQUENCE.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
@ -57,12 +57,12 @@ extern "C"
|
||||
#endif
|
||||
|
||||
/* Referred external types */
|
||||
#include "ReferenceAssistData.h"
|
||||
#include "MsrAssistData.h"
|
||||
#include "SystemInfoAssistData.h"
|
||||
#include "GPS-AssistData.h"
|
||||
#include "Rel98-AssistanceData-Extension.h"
|
||||
#include "MsrAssistData.h"
|
||||
#include "ReferenceAssistData.h"
|
||||
#include "Rel5-AssistanceData-Extension.h"
|
||||
#include "Rel98-AssistanceData-Extension.h"
|
||||
#include "SystemInfoAssistData.h"
|
||||
|
||||
#endif /* _AssistanceData_H_ */
|
||||
#include <asn_internal.h>
|
||||
|
@ -7,14 +7,14 @@
|
||||
#include "BCCHCarrier.h"
|
||||
|
||||
int BCCHCarrier_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb, void *app_key)
|
||||
asn_app_constraint_failed_f *ctfailcb, void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -28,7 +28,7 @@ int BCCHCarrier_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -55,73 +55,73 @@ static void BCCHCarrier_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td)
|
||||
}
|
||||
|
||||
void BCCHCarrier_free(asn_TYPE_descriptor_t *td, void *struct_ptr,
|
||||
int contents_only)
|
||||
int contents_only)
|
||||
{
|
||||
BCCHCarrier_1_inherit_TYPE_descriptor(td);
|
||||
td->free_struct(td, struct_ptr, contents_only);
|
||||
}
|
||||
|
||||
int BCCHCarrier_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
|
||||
int ilevel, asn_app_consume_bytes_f *cb, void *app_key)
|
||||
int ilevel, asn_app_consume_bytes_f *cb, void *app_key)
|
||||
{
|
||||
BCCHCarrier_1_inherit_TYPE_descriptor(td);
|
||||
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
|
||||
}
|
||||
|
||||
asn_dec_rval_t BCCHCarrier_decode_ber(asn_codec_ctx_t *opt_codec_ctx,
|
||||
asn_TYPE_descriptor_t *td,
|
||||
void **structure, const void *bufptr,
|
||||
size_t size, int tag_mode)
|
||||
asn_TYPE_descriptor_t *td,
|
||||
void **structure, const void *bufptr,
|
||||
size_t size, int tag_mode)
|
||||
{
|
||||
BCCHCarrier_1_inherit_TYPE_descriptor(td);
|
||||
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size,
|
||||
tag_mode);
|
||||
tag_mode);
|
||||
}
|
||||
|
||||
asn_enc_rval_t BCCHCarrier_encode_der(asn_TYPE_descriptor_t *td,
|
||||
void *structure, int tag_mode,
|
||||
ber_tlv_tag_t tag,
|
||||
asn_app_consume_bytes_f *cb,
|
||||
void *app_key)
|
||||
void *structure, int tag_mode,
|
||||
ber_tlv_tag_t tag,
|
||||
asn_app_consume_bytes_f *cb,
|
||||
void *app_key)
|
||||
{
|
||||
BCCHCarrier_1_inherit_TYPE_descriptor(td);
|
||||
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
|
||||
}
|
||||
|
||||
asn_dec_rval_t BCCHCarrier_decode_xer(asn_codec_ctx_t *opt_codec_ctx,
|
||||
asn_TYPE_descriptor_t *td,
|
||||
void **structure, const char *opt_mname,
|
||||
const void *bufptr, size_t size)
|
||||
asn_TYPE_descriptor_t *td,
|
||||
void **structure, const char *opt_mname,
|
||||
const void *bufptr, size_t size)
|
||||
{
|
||||
BCCHCarrier_1_inherit_TYPE_descriptor(td);
|
||||
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr,
|
||||
size);
|
||||
size);
|
||||
}
|
||||
|
||||
asn_enc_rval_t BCCHCarrier_encode_xer(asn_TYPE_descriptor_t *td,
|
||||
void *structure, int ilevel,
|
||||
enum xer_encoder_flags_e flags,
|
||||
asn_app_consume_bytes_f *cb,
|
||||
void *app_key)
|
||||
void *structure, int ilevel,
|
||||
enum xer_encoder_flags_e flags,
|
||||
asn_app_consume_bytes_f *cb,
|
||||
void *app_key)
|
||||
{
|
||||
BCCHCarrier_1_inherit_TYPE_descriptor(td);
|
||||
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
|
||||
}
|
||||
|
||||
asn_dec_rval_t BCCHCarrier_decode_uper(asn_codec_ctx_t *opt_codec_ctx,
|
||||
asn_TYPE_descriptor_t *td,
|
||||
asn_per_constraints_t *constraints,
|
||||
void **structure,
|
||||
asn_per_data_t *per_data)
|
||||
asn_TYPE_descriptor_t *td,
|
||||
asn_per_constraints_t *constraints,
|
||||
void **structure,
|
||||
asn_per_data_t *per_data)
|
||||
{
|
||||
BCCHCarrier_1_inherit_TYPE_descriptor(td);
|
||||
return td->uper_decoder(opt_codec_ctx, td, constraints, structure,
|
||||
per_data);
|
||||
per_data);
|
||||
}
|
||||
|
||||
asn_enc_rval_t BCCHCarrier_encode_uper(asn_TYPE_descriptor_t *td,
|
||||
asn_per_constraints_t *constraints,
|
||||
void *structure, asn_per_outp_t *per_out)
|
||||
asn_per_constraints_t *constraints,
|
||||
void *structure, asn_per_outp_t *per_out)
|
||||
{
|
||||
BCCHCarrier_1_inherit_TYPE_descriptor(td);
|
||||
return td->uper_encoder(td, constraints, structure, per_out);
|
||||
|
@ -2,7 +2,6 @@
|
||||
* Copyright (c) 2003, 2004 Lev Walkin <vlm@lionet.info>. All rights reserved.
|
||||
* Redistribution and modifications are permitted subject to BSD license.
|
||||
*/
|
||||
#include <asn_internal.h>
|
||||
#include <BIT_STRING.h>
|
||||
#include <asn_internal.h>
|
||||
|
||||
@ -39,7 +38,7 @@ asn_TYPE_descriptor_t asn_DEF_BIT_STRING = {
|
||||
* BIT STRING generic constraint.
|
||||
*/
|
||||
int BIT_STRING_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb, void *app_key)
|
||||
asn_app_constraint_failed_f *ctfailcb, void *app_key)
|
||||
{
|
||||
const BIT_STRING_t *st = (const BIT_STRING_t *)sptr;
|
||||
|
||||
@ -49,15 +48,15 @@ int BIT_STRING_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
st->bits_unused > 7)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr,
|
||||
"%s: invalid padding byte (%s:%d)", td->name,
|
||||
__FILE__, __LINE__);
|
||||
"%s: invalid padding byte (%s:%d)", td->name,
|
||||
__FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -65,12 +64,12 @@ int BIT_STRING_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
}
|
||||
|
||||
static char *_bit_pattern[16] = {"0000", "0001", "0010", "0011", "0100", "0101",
|
||||
"0110", "0111", "1000", "1001", "1010", "1011",
|
||||
"1100", "1101", "1110", "1111"};
|
||||
"0110", "0111", "1000", "1001", "1010", "1011",
|
||||
"1100", "1101", "1110", "1111"};
|
||||
|
||||
asn_enc_rval_t BIT_STRING_encode_xer(asn_TYPE_descriptor_t *td, void *sptr,
|
||||
int ilevel, enum xer_encoder_flags_e flags,
|
||||
asn_app_consume_bytes_f *cb, void *app_key)
|
||||
int ilevel, enum xer_encoder_flags_e flags,
|
||||
asn_app_consume_bytes_f *cb, void *app_key)
|
||||
{
|
||||
asn_enc_rval_t er;
|
||||
char scratch[128];
|
||||
@ -133,7 +132,7 @@ cb_failed:
|
||||
* BIT STRING specific contents printer.
|
||||
*/
|
||||
int BIT_STRING_print(asn_TYPE_descriptor_t *td, const void *sptr, int ilevel,
|
||||
asn_app_consume_bytes_f *cb, void *app_key)
|
||||
asn_app_consume_bytes_f *cb, void *app_key)
|
||||
{
|
||||
static const char *h2c = "0123456789ABCDEF";
|
||||
char scratch[64];
|
||||
|
@ -2,9 +2,9 @@
|
||||
* Copyright (c) 2003, 2005 Lev Walkin <vlm@lionet.info>. All rights reserved.
|
||||
* Redistribution and modifications are permitted subject to BSD license.
|
||||
*/
|
||||
#include <asn_internal.h>
|
||||
#include <asn_codecs_prim.h>
|
||||
#include <BOOLEAN.h>
|
||||
#include <asn_codecs_prim.h>
|
||||
#include <asn_internal.h>
|
||||
|
||||
/*
|
||||
* BOOLEAN basic type description.
|
||||
@ -38,9 +38,9 @@ asn_TYPE_descriptor_t asn_DEF_BOOLEAN = {
|
||||
* Decode BOOLEAN type.
|
||||
*/
|
||||
asn_dec_rval_t BOOLEAN_decode_ber(asn_codec_ctx_t *opt_codec_ctx,
|
||||
asn_TYPE_descriptor_t *td, void **bool_value,
|
||||
const void *buf_ptr, size_t size,
|
||||
int tag_mode)
|
||||
asn_TYPE_descriptor_t *td, void **bool_value,
|
||||
const void *buf_ptr, size_t size,
|
||||
int tag_mode)
|
||||
{
|
||||
BOOLEAN_t *st = (BOOLEAN_t *)*bool_value;
|
||||
asn_dec_rval_t rval;
|
||||
@ -64,7 +64,7 @@ asn_dec_rval_t BOOLEAN_decode_ber(asn_codec_ctx_t *opt_codec_ctx,
|
||||
* Check tags.
|
||||
*/
|
||||
rval = ber_check_tags(opt_codec_ctx, td, 0, buf_ptr, size, tag_mode, 0,
|
||||
&length, 0);
|
||||
&length, 0);
|
||||
if (rval.code != RC_OK) return rval;
|
||||
|
||||
ASN_DEBUG("Boolean length is %d bytes", (int)length);
|
||||
@ -95,14 +95,14 @@ asn_dec_rval_t BOOLEAN_decode_ber(asn_codec_ctx_t *opt_codec_ctx,
|
||||
rval.consumed += length;
|
||||
|
||||
ASN_DEBUG("Took %ld/%ld bytes to encode %s, value=%d", (long)rval.consumed,
|
||||
(long)length, td->name, *st);
|
||||
(long)length, td->name, *st);
|
||||
|
||||
return rval;
|
||||
}
|
||||
|
||||
asn_enc_rval_t BOOLEAN_encode_der(asn_TYPE_descriptor_t *td, void *sptr,
|
||||
int tag_mode, ber_tlv_tag_t tag,
|
||||
asn_app_consume_bytes_f *cb, void *app_key)
|
||||
int tag_mode, ber_tlv_tag_t tag,
|
||||
asn_app_consume_bytes_f *cb, void *app_key)
|
||||
{
|
||||
asn_enc_rval_t erval;
|
||||
BOOLEAN_t *st = (BOOLEAN_t *)sptr;
|
||||
@ -139,9 +139,9 @@ asn_enc_rval_t BOOLEAN_encode_der(asn_TYPE_descriptor_t *td, void *sptr,
|
||||
* Decode the chunk of XML text encoding INTEGER.
|
||||
*/
|
||||
static enum xer_pbd_rval BOOLEAN__xer_body_decode(asn_TYPE_descriptor_t *td,
|
||||
void *sptr,
|
||||
const void *chunk_buf,
|
||||
size_t chunk_size)
|
||||
void *sptr,
|
||||
const void *chunk_buf,
|
||||
size_t chunk_size)
|
||||
{
|
||||
BOOLEAN_t *st = (BOOLEAN_t *)sptr;
|
||||
const char *p = (const char *)chunk_buf;
|
||||
@ -152,19 +152,19 @@ static enum xer_pbd_rval BOOLEAN__xer_body_decode(asn_TYPE_descriptor_t *td,
|
||||
{
|
||||
switch (xer_check_tag(chunk_buf, chunk_size, "false"))
|
||||
{
|
||||
case XCT_BOTH:
|
||||
/* "<false/>" */
|
||||
*st = 0;
|
||||
break;
|
||||
case XCT_UNKNOWN_BO:
|
||||
if (xer_check_tag(chunk_buf, chunk_size, "true") !=
|
||||
XCT_BOTH)
|
||||
return XPBD_BROKEN_ENCODING;
|
||||
/* "<true/>" */
|
||||
*st = 1; /* Or 0xff as in DER?.. */
|
||||
break;
|
||||
default:
|
||||
case XCT_BOTH:
|
||||
/* "<false/>" */
|
||||
*st = 0;
|
||||
break;
|
||||
case XCT_UNKNOWN_BO:
|
||||
if (xer_check_tag(chunk_buf, chunk_size, "true") !=
|
||||
XCT_BOTH)
|
||||
return XPBD_BROKEN_ENCODING;
|
||||
/* "<true/>" */
|
||||
*st = 1; /* Or 0xff as in DER?.. */
|
||||
break;
|
||||
default:
|
||||
return XPBD_BROKEN_ENCODING;
|
||||
}
|
||||
return XPBD_BODY_CONSUMED;
|
||||
}
|
||||
@ -178,18 +178,18 @@ static enum xer_pbd_rval BOOLEAN__xer_body_decode(asn_TYPE_descriptor_t *td,
|
||||
}
|
||||
|
||||
asn_dec_rval_t BOOLEAN_decode_xer(asn_codec_ctx_t *opt_codec_ctx,
|
||||
asn_TYPE_descriptor_t *td, void **sptr,
|
||||
const char *opt_mname, const void *buf_ptr,
|
||||
size_t size)
|
||||
asn_TYPE_descriptor_t *td, void **sptr,
|
||||
const char *opt_mname, const void *buf_ptr,
|
||||
size_t size)
|
||||
{
|
||||
return xer_decode_primitive(opt_codec_ctx, td, sptr, sizeof(BOOLEAN_t),
|
||||
opt_mname, buf_ptr, size,
|
||||
BOOLEAN__xer_body_decode);
|
||||
opt_mname, buf_ptr, size,
|
||||
BOOLEAN__xer_body_decode);
|
||||
}
|
||||
|
||||
asn_enc_rval_t BOOLEAN_encode_xer(asn_TYPE_descriptor_t *td, void *sptr,
|
||||
int ilevel, enum xer_encoder_flags_e flags,
|
||||
asn_app_consume_bytes_f *cb, void *app_key)
|
||||
int ilevel, enum xer_encoder_flags_e flags,
|
||||
asn_app_consume_bytes_f *cb, void *app_key)
|
||||
{
|
||||
const BOOLEAN_t *st = (const BOOLEAN_t *)sptr;
|
||||
asn_enc_rval_t er;
|
||||
@ -216,7 +216,7 @@ cb_failed:
|
||||
}
|
||||
|
||||
int BOOLEAN_print(asn_TYPE_descriptor_t *td, const void *sptr, int ilevel,
|
||||
asn_app_consume_bytes_f *cb, void *app_key)
|
||||
asn_app_consume_bytes_f *cb, void *app_key)
|
||||
{
|
||||
const BOOLEAN_t *st = (const BOOLEAN_t *)sptr;
|
||||
const char *buf;
|
||||
@ -256,9 +256,9 @@ void BOOLEAN_free(asn_TYPE_descriptor_t *td, void *ptr, int contents_only)
|
||||
}
|
||||
|
||||
asn_dec_rval_t BOOLEAN_decode_uper(asn_codec_ctx_t *opt_codec_ctx,
|
||||
asn_TYPE_descriptor_t *td,
|
||||
asn_per_constraints_t *constraints,
|
||||
void **sptr, asn_per_data_t *pd)
|
||||
asn_TYPE_descriptor_t *td,
|
||||
asn_per_constraints_t *constraints,
|
||||
void **sptr, asn_per_data_t *pd)
|
||||
{
|
||||
asn_dec_rval_t rv;
|
||||
BOOLEAN_t *st = (BOOLEAN_t *)*sptr;
|
||||
@ -277,15 +277,15 @@ asn_dec_rval_t BOOLEAN_decode_uper(asn_codec_ctx_t *opt_codec_ctx,
|
||||
*/
|
||||
switch (per_get_few_bits(pd, 1))
|
||||
{
|
||||
case 1:
|
||||
*st = 1;
|
||||
break;
|
||||
case 0:
|
||||
*st = 0;
|
||||
break;
|
||||
case -1:
|
||||
default:
|
||||
_ASN_DECODE_STARVED;
|
||||
case 1:
|
||||
*st = 1;
|
||||
break;
|
||||
case 0:
|
||||
*st = 0;
|
||||
break;
|
||||
case -1:
|
||||
default:
|
||||
_ASN_DECODE_STARVED;
|
||||
}
|
||||
|
||||
ASN_DEBUG("%s decoded as %s", td->name, *st ? "TRUE" : "FALSE");
|
||||
@ -296,8 +296,8 @@ asn_dec_rval_t BOOLEAN_decode_uper(asn_codec_ctx_t *opt_codec_ctx,
|
||||
}
|
||||
|
||||
asn_enc_rval_t BOOLEAN_encode_uper(asn_TYPE_descriptor_t *td,
|
||||
asn_per_constraints_t *constraints,
|
||||
void *sptr, asn_per_outp_t *po)
|
||||
asn_per_constraints_t *constraints,
|
||||
void *sptr, asn_per_outp_t *po)
|
||||
{
|
||||
const BOOLEAN_t *st = (const BOOLEAN_t *)sptr;
|
||||
asn_enc_rval_t er;
|
||||
|
@ -7,14 +7,14 @@
|
||||
#include "BSIC.h"
|
||||
|
||||
int BSIC_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb, void *app_key)
|
||||
asn_app_constraint_failed_f *ctfailcb, void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -28,7 +28,7 @@ int BSIC_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -61,60 +61,60 @@ void BSIC_free(asn_TYPE_descriptor_t *td, void *struct_ptr, int contents_only)
|
||||
}
|
||||
|
||||
int BSIC_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, int ilevel,
|
||||
asn_app_consume_bytes_f *cb, void *app_key)
|
||||
asn_app_consume_bytes_f *cb, void *app_key)
|
||||
{
|
||||
BSIC_1_inherit_TYPE_descriptor(td);
|
||||
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
|
||||
}
|
||||
|
||||
asn_dec_rval_t BSIC_decode_ber(asn_codec_ctx_t *opt_codec_ctx,
|
||||
asn_TYPE_descriptor_t *td, void **structure,
|
||||
const void *bufptr, size_t size, int tag_mode)
|
||||
asn_TYPE_descriptor_t *td, void **structure,
|
||||
const void *bufptr, size_t size, int tag_mode)
|
||||
{
|
||||
BSIC_1_inherit_TYPE_descriptor(td);
|
||||
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size,
|
||||
tag_mode);
|
||||
tag_mode);
|
||||
}
|
||||
|
||||
asn_enc_rval_t BSIC_encode_der(asn_TYPE_descriptor_t *td, void *structure,
|
||||
int tag_mode, ber_tlv_tag_t tag,
|
||||
asn_app_consume_bytes_f *cb, void *app_key)
|
||||
int tag_mode, ber_tlv_tag_t tag,
|
||||
asn_app_consume_bytes_f *cb, void *app_key)
|
||||
{
|
||||
BSIC_1_inherit_TYPE_descriptor(td);
|
||||
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
|
||||
}
|
||||
|
||||
asn_dec_rval_t BSIC_decode_xer(asn_codec_ctx_t *opt_codec_ctx,
|
||||
asn_TYPE_descriptor_t *td, void **structure,
|
||||
const char *opt_mname, const void *bufptr,
|
||||
size_t size)
|
||||
asn_TYPE_descriptor_t *td, void **structure,
|
||||
const char *opt_mname, const void *bufptr,
|
||||
size_t size)
|
||||
{
|
||||
BSIC_1_inherit_TYPE_descriptor(td);
|
||||
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr,
|
||||
size);
|
||||
size);
|
||||
}
|
||||
|
||||
asn_enc_rval_t BSIC_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
|
||||
int ilevel, enum xer_encoder_flags_e flags,
|
||||
asn_app_consume_bytes_f *cb, void *app_key)
|
||||
int ilevel, enum xer_encoder_flags_e flags,
|
||||
asn_app_consume_bytes_f *cb, void *app_key)
|
||||
{
|
||||
BSIC_1_inherit_TYPE_descriptor(td);
|
||||
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
|
||||
}
|
||||
|
||||
asn_dec_rval_t BSIC_decode_uper(asn_codec_ctx_t *opt_codec_ctx,
|
||||
asn_TYPE_descriptor_t *td,
|
||||
asn_per_constraints_t *constraints,
|
||||
void **structure, asn_per_data_t *per_data)
|
||||
asn_TYPE_descriptor_t *td,
|
||||
asn_per_constraints_t *constraints,
|
||||
void **structure, asn_per_data_t *per_data)
|
||||
{
|
||||
BSIC_1_inherit_TYPE_descriptor(td);
|
||||
return td->uper_decoder(opt_codec_ctx, td, constraints, structure,
|
||||
per_data);
|
||||
per_data);
|
||||
}
|
||||
|
||||
asn_enc_rval_t BSIC_encode_uper(asn_TYPE_descriptor_t *td,
|
||||
asn_per_constraints_t *constraints,
|
||||
void *structure, asn_per_outp_t *per_out)
|
||||
asn_per_constraints_t *constraints,
|
||||
void *structure, asn_per_outp_t *per_out)
|
||||
{
|
||||
BSIC_1_inherit_TYPE_descriptor(td);
|
||||
return td->uper_encoder(td, constraints, structure, per_out);
|
||||
@ -143,7 +143,7 @@ asn_TYPE_descriptor_t asn_DEF_BSIC = {
|
||||
0, /* Use generic outmost tag fetcher */
|
||||
asn_DEF_BSIC_tags_1,
|
||||
sizeof(asn_DEF_BSIC_tags_1) / sizeof(asn_DEF_BSIC_tags_1[0]), /* 1 */
|
||||
asn_DEF_BSIC_tags_1, /* Same as above */
|
||||
asn_DEF_BSIC_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_BSIC_tags_1) / sizeof(asn_DEF_BSIC_tags_1[0]), /* 1 */
|
||||
&ASN_PER_TYPE_BSIC_CONSTR_1,
|
||||
0,
|
||||
|
@ -8,16 +8,16 @@
|
||||
|
||||
static asn_TYPE_member_t asn_MBR_BSICAndCarrier_1[] = {
|
||||
{ATF_NOFLAGS, 0, offsetof(struct BSICAndCarrier, carrier),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_BCCHCarrier,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "carrier"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_BCCHCarrier,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "carrier"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct BSICAndCarrier, bsic),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_BSIC, 0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "bsic"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_BSIC, 0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "bsic"},
|
||||
};
|
||||
static ber_tlv_tag_t asn_DEF_BSICAndCarrier_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))};
|
||||
@ -55,7 +55,7 @@ asn_TYPE_descriptor_t asn_DEF_BSICAndCarrier = {
|
||||
asn_DEF_BSICAndCarrier_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_BSICAndCarrier_tags_1) /
|
||||
sizeof(asn_DEF_BSICAndCarrier_tags_1[0]), /* 1 */
|
||||
0, /* No PER visible constraints */
|
||||
0, /* No PER visible constraints */
|
||||
asn_MBR_BSICAndCarrier_1,
|
||||
2, /* Elements count */
|
||||
&asn_SPC_BSICAndCarrier_specs_1 /* Additional specs */
|
||||
|
@ -7,7 +7,7 @@
|
||||
#include "BTSPosition.h"
|
||||
|
||||
int BTSPosition_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb, void *app_key)
|
||||
asn_app_constraint_failed_f *ctfailcb, void *app_key)
|
||||
{
|
||||
const Ext_GeographicalInformation_t *st =
|
||||
(const Ext_GeographicalInformation_t *)sptr;
|
||||
@ -16,7 +16,7 @@ int BTSPosition_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -30,7 +30,7 @@ int BTSPosition_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -58,73 +58,73 @@ static void BTSPosition_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td)
|
||||
}
|
||||
|
||||
void BTSPosition_free(asn_TYPE_descriptor_t *td, void *struct_ptr,
|
||||
int contents_only)
|
||||
int contents_only)
|
||||
{
|
||||
BTSPosition_1_inherit_TYPE_descriptor(td);
|
||||
td->free_struct(td, struct_ptr, contents_only);
|
||||
}
|
||||
|
||||
int BTSPosition_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
|
||||
int ilevel, asn_app_consume_bytes_f *cb, void *app_key)
|
||||
int ilevel, asn_app_consume_bytes_f *cb, void *app_key)
|
||||
{
|
||||
BTSPosition_1_inherit_TYPE_descriptor(td);
|
||||
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
|
||||
}
|
||||
|
||||
asn_dec_rval_t BTSPosition_decode_ber(asn_codec_ctx_t *opt_codec_ctx,
|
||||
asn_TYPE_descriptor_t *td,
|
||||
void **structure, const void *bufptr,
|
||||
size_t size, int tag_mode)
|
||||
asn_TYPE_descriptor_t *td,
|
||||
void **structure, const void *bufptr,
|
||||
size_t size, int tag_mode)
|
||||
{
|
||||
BTSPosition_1_inherit_TYPE_descriptor(td);
|
||||
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size,
|
||||
tag_mode);
|
||||
tag_mode);
|
||||
}
|
||||
|
||||
asn_enc_rval_t BTSPosition_encode_der(asn_TYPE_descriptor_t *td,
|
||||
void *structure, int tag_mode,
|
||||
ber_tlv_tag_t tag,
|
||||
asn_app_consume_bytes_f *cb,
|
||||
void *app_key)
|
||||
void *structure, int tag_mode,
|
||||
ber_tlv_tag_t tag,
|
||||
asn_app_consume_bytes_f *cb,
|
||||
void *app_key)
|
||||
{
|
||||
BTSPosition_1_inherit_TYPE_descriptor(td);
|
||||
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
|
||||
}
|
||||
|
||||
asn_dec_rval_t BTSPosition_decode_xer(asn_codec_ctx_t *opt_codec_ctx,
|
||||
asn_TYPE_descriptor_t *td,
|
||||
void **structure, const char *opt_mname,
|
||||
const void *bufptr, size_t size)
|
||||
asn_TYPE_descriptor_t *td,
|
||||
void **structure, const char *opt_mname,
|
||||
const void *bufptr, size_t size)
|
||||
{
|
||||
BTSPosition_1_inherit_TYPE_descriptor(td);
|
||||
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr,
|
||||
size);
|
||||
size);
|
||||
}
|
||||
|
||||
asn_enc_rval_t BTSPosition_encode_xer(asn_TYPE_descriptor_t *td,
|
||||
void *structure, int ilevel,
|
||||
enum xer_encoder_flags_e flags,
|
||||
asn_app_consume_bytes_f *cb,
|
||||
void *app_key)
|
||||
void *structure, int ilevel,
|
||||
enum xer_encoder_flags_e flags,
|
||||
asn_app_consume_bytes_f *cb,
|
||||
void *app_key)
|
||||
{
|
||||
BTSPosition_1_inherit_TYPE_descriptor(td);
|
||||
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
|
||||
}
|
||||
|
||||
asn_dec_rval_t BTSPosition_decode_uper(asn_codec_ctx_t *opt_codec_ctx,
|
||||
asn_TYPE_descriptor_t *td,
|
||||
asn_per_constraints_t *constraints,
|
||||
void **structure,
|
||||
asn_per_data_t *per_data)
|
||||
asn_TYPE_descriptor_t *td,
|
||||
asn_per_constraints_t *constraints,
|
||||
void **structure,
|
||||
asn_per_data_t *per_data)
|
||||
{
|
||||
BTSPosition_1_inherit_TYPE_descriptor(td);
|
||||
return td->uper_decoder(opt_codec_ctx, td, constraints, structure,
|
||||
per_data);
|
||||
per_data);
|
||||
}
|
||||
|
||||
asn_enc_rval_t BTSPosition_encode_uper(asn_TYPE_descriptor_t *td,
|
||||
asn_per_constraints_t *constraints,
|
||||
void *structure, asn_per_outp_t *per_out)
|
||||
asn_per_constraints_t *constraints,
|
||||
void *structure, asn_per_outp_t *per_out)
|
||||
{
|
||||
BTSPosition_1_inherit_TYPE_descriptor(td);
|
||||
return td->uper_encoder(td, constraints, structure, per_out);
|
||||
|
@ -7,16 +7,16 @@
|
||||
#include "BadSignalElement.h"
|
||||
|
||||
static int memb_badSignalID_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -30,7 +30,7 @@ static int memb_badSignalID_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -43,14 +43,14 @@ static asn_per_constraints_t ASN_PER_MEMB_BAD_SIGNAL_ID_CONSTR_3 = {
|
||||
};
|
||||
static asn_TYPE_member_t asn_MBR_BadSignalElement_1[] = {
|
||||
{ATF_NOFLAGS, 0, offsetof(struct BadSignalElement, badSVID),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_SVID, 0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "badSVID"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_SVID, 0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "badSVID"},
|
||||
{ATF_POINTER, 1, offsetof(struct BadSignalElement, badSignalID),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_badSignalID_constraint_1,
|
||||
&ASN_PER_MEMB_BAD_SIGNAL_ID_CONSTR_3, 0, "badSignalID"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_badSignalID_constraint_1,
|
||||
&ASN_PER_MEMB_BAD_SIGNAL_ID_CONSTR_3, 0, "badSignalID"},
|
||||
};
|
||||
static int asn_MAP_BadSignalElement_oms_1[] = {1};
|
||||
static ber_tlv_tag_t asn_DEF_BadSignalElement_tags_1[] = {
|
||||
@ -89,7 +89,7 @@ asn_TYPE_descriptor_t asn_DEF_BadSignalElement = {
|
||||
asn_DEF_BadSignalElement_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_BadSignalElement_tags_1) /
|
||||
sizeof(asn_DEF_BadSignalElement_tags_1[0]), /* 1 */
|
||||
0, /* No PER visible constraints */
|
||||
0, /* No PER visible constraints */
|
||||
asn_MBR_BadSignalElement_1,
|
||||
2, /* Elements count */
|
||||
&asn_SPC_BadSignalElement_specs_1 /* Additional specs */
|
||||
|
@ -7,14 +7,14 @@
|
||||
#include "BitNumber.h"
|
||||
|
||||
int BitNumber_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb, void *app_key)
|
||||
asn_app_constraint_failed_f *ctfailcb, void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -28,7 +28,7 @@ int BitNumber_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -55,68 +55,68 @@ static void BitNumber_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td)
|
||||
}
|
||||
|
||||
void BitNumber_free(asn_TYPE_descriptor_t *td, void *struct_ptr,
|
||||
int contents_only)
|
||||
int contents_only)
|
||||
{
|
||||
BitNumber_1_inherit_TYPE_descriptor(td);
|
||||
td->free_struct(td, struct_ptr, contents_only);
|
||||
}
|
||||
|
||||
int BitNumber_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
|
||||
int ilevel, asn_app_consume_bytes_f *cb, void *app_key)
|
||||
int ilevel, asn_app_consume_bytes_f *cb, void *app_key)
|
||||
{
|
||||
BitNumber_1_inherit_TYPE_descriptor(td);
|
||||
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
|
||||
}
|
||||
|
||||
asn_dec_rval_t BitNumber_decode_ber(asn_codec_ctx_t *opt_codec_ctx,
|
||||
asn_TYPE_descriptor_t *td, void **structure,
|
||||
const void *bufptr, size_t size,
|
||||
int tag_mode)
|
||||
asn_TYPE_descriptor_t *td, void **structure,
|
||||
const void *bufptr, size_t size,
|
||||
int tag_mode)
|
||||
{
|
||||
BitNumber_1_inherit_TYPE_descriptor(td);
|
||||
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size,
|
||||
tag_mode);
|
||||
tag_mode);
|
||||
}
|
||||
|
||||
asn_enc_rval_t BitNumber_encode_der(asn_TYPE_descriptor_t *td, void *structure,
|
||||
int tag_mode, ber_tlv_tag_t tag,
|
||||
asn_app_consume_bytes_f *cb, void *app_key)
|
||||
int tag_mode, ber_tlv_tag_t tag,
|
||||
asn_app_consume_bytes_f *cb, void *app_key)
|
||||
{
|
||||
BitNumber_1_inherit_TYPE_descriptor(td);
|
||||
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
|
||||
}
|
||||
|
||||
asn_dec_rval_t BitNumber_decode_xer(asn_codec_ctx_t *opt_codec_ctx,
|
||||
asn_TYPE_descriptor_t *td, void **structure,
|
||||
const char *opt_mname, const void *bufptr,
|
||||
size_t size)
|
||||
asn_TYPE_descriptor_t *td, void **structure,
|
||||
const char *opt_mname, const void *bufptr,
|
||||
size_t size)
|
||||
{
|
||||
BitNumber_1_inherit_TYPE_descriptor(td);
|
||||
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr,
|
||||
size);
|
||||
size);
|
||||
}
|
||||
|
||||
asn_enc_rval_t BitNumber_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
|
||||
int ilevel, enum xer_encoder_flags_e flags,
|
||||
asn_app_consume_bytes_f *cb, void *app_key)
|
||||
int ilevel, enum xer_encoder_flags_e flags,
|
||||
asn_app_consume_bytes_f *cb, void *app_key)
|
||||
{
|
||||
BitNumber_1_inherit_TYPE_descriptor(td);
|
||||
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
|
||||
}
|
||||
|
||||
asn_dec_rval_t BitNumber_decode_uper(asn_codec_ctx_t *opt_codec_ctx,
|
||||
asn_TYPE_descriptor_t *td,
|
||||
asn_per_constraints_t *constraints,
|
||||
void **structure, asn_per_data_t *per_data)
|
||||
asn_TYPE_descriptor_t *td,
|
||||
asn_per_constraints_t *constraints,
|
||||
void **structure, asn_per_data_t *per_data)
|
||||
{
|
||||
BitNumber_1_inherit_TYPE_descriptor(td);
|
||||
return td->uper_decoder(opt_codec_ctx, td, constraints, structure,
|
||||
per_data);
|
||||
per_data);
|
||||
}
|
||||
|
||||
asn_enc_rval_t BitNumber_encode_uper(asn_TYPE_descriptor_t *td,
|
||||
asn_per_constraints_t *constraints,
|
||||
void *structure, asn_per_outp_t *per_out)
|
||||
asn_per_constraints_t *constraints,
|
||||
void *structure, asn_per_outp_t *per_out)
|
||||
{
|
||||
BitNumber_1_inherit_TYPE_descriptor(td);
|
||||
return td->uper_encoder(td, constraints, structure, per_out);
|
||||
|
@ -8,16 +8,16 @@
|
||||
|
||||
static asn_TYPE_member_t asn_MBR_CalcAssistanceBTS_1[] = {
|
||||
{ATF_NOFLAGS, 0, offsetof(struct CalcAssistanceBTS, fineRTD),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_FineRTD, 0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "fineRTD"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_FineRTD, 0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "fineRTD"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct CalcAssistanceBTS, referenceWGS84),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_ReferenceWGS84,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "referenceWGS84"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_ReferenceWGS84,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "referenceWGS84"},
|
||||
};
|
||||
static ber_tlv_tag_t asn_DEF_CalcAssistanceBTS_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))};
|
||||
@ -55,7 +55,7 @@ asn_TYPE_descriptor_t asn_DEF_CalcAssistanceBTS = {
|
||||
asn_DEF_CalcAssistanceBTS_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_CalcAssistanceBTS_tags_1) /
|
||||
sizeof(asn_DEF_CalcAssistanceBTS_tags_1[0]), /* 1 */
|
||||
0, /* No PER visible constraints */
|
||||
0, /* No PER visible constraints */
|
||||
asn_MBR_CalcAssistanceBTS_1,
|
||||
2, /* Elements count */
|
||||
&asn_SPC_CalcAssistanceBTS_specs_1 /* Additional specs */
|
||||
|
@ -7,14 +7,14 @@
|
||||
#include "CellID.h"
|
||||
|
||||
int CellID_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb, void *app_key)
|
||||
asn_app_constraint_failed_f *ctfailcb, void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -28,7 +28,7 @@ int CellID_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -61,60 +61,60 @@ void CellID_free(asn_TYPE_descriptor_t *td, void *struct_ptr, int contents_only)
|
||||
}
|
||||
|
||||
int CellID_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, int ilevel,
|
||||
asn_app_consume_bytes_f *cb, void *app_key)
|
||||
asn_app_consume_bytes_f *cb, void *app_key)
|
||||
{
|
||||
CellID_1_inherit_TYPE_descriptor(td);
|
||||
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
|
||||
}
|
||||
|
||||
asn_dec_rval_t CellID_decode_ber(asn_codec_ctx_t *opt_codec_ctx,
|
||||
asn_TYPE_descriptor_t *td, void **structure,
|
||||
const void *bufptr, size_t size, int tag_mode)
|
||||
asn_TYPE_descriptor_t *td, void **structure,
|
||||
const void *bufptr, size_t size, int tag_mode)
|
||||
{
|
||||
CellID_1_inherit_TYPE_descriptor(td);
|
||||
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size,
|
||||
tag_mode);
|
||||
tag_mode);
|
||||
}
|
||||
|
||||
asn_enc_rval_t CellID_encode_der(asn_TYPE_descriptor_t *td, void *structure,
|
||||
int tag_mode, ber_tlv_tag_t tag,
|
||||
asn_app_consume_bytes_f *cb, void *app_key)
|
||||
int tag_mode, ber_tlv_tag_t tag,
|
||||
asn_app_consume_bytes_f *cb, void *app_key)
|
||||
{
|
||||
CellID_1_inherit_TYPE_descriptor(td);
|
||||
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
|
||||
}
|
||||
|
||||
asn_dec_rval_t CellID_decode_xer(asn_codec_ctx_t *opt_codec_ctx,
|
||||
asn_TYPE_descriptor_t *td, void **structure,
|
||||
const char *opt_mname, const void *bufptr,
|
||||
size_t size)
|
||||
asn_TYPE_descriptor_t *td, void **structure,
|
||||
const char *opt_mname, const void *bufptr,
|
||||
size_t size)
|
||||
{
|
||||
CellID_1_inherit_TYPE_descriptor(td);
|
||||
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr,
|
||||
size);
|
||||
size);
|
||||
}
|
||||
|
||||
asn_enc_rval_t CellID_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
|
||||
int ilevel, enum xer_encoder_flags_e flags,
|
||||
asn_app_consume_bytes_f *cb, void *app_key)
|
||||
int ilevel, enum xer_encoder_flags_e flags,
|
||||
asn_app_consume_bytes_f *cb, void *app_key)
|
||||
{
|
||||
CellID_1_inherit_TYPE_descriptor(td);
|
||||
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
|
||||
}
|
||||
|
||||
asn_dec_rval_t CellID_decode_uper(asn_codec_ctx_t *opt_codec_ctx,
|
||||
asn_TYPE_descriptor_t *td,
|
||||
asn_per_constraints_t *constraints,
|
||||
void **structure, asn_per_data_t *per_data)
|
||||
asn_TYPE_descriptor_t *td,
|
||||
asn_per_constraints_t *constraints,
|
||||
void **structure, asn_per_data_t *per_data)
|
||||
{
|
||||
CellID_1_inherit_TYPE_descriptor(td);
|
||||
return td->uper_decoder(opt_codec_ctx, td, constraints, structure,
|
||||
per_data);
|
||||
per_data);
|
||||
}
|
||||
|
||||
asn_enc_rval_t CellID_encode_uper(asn_TYPE_descriptor_t *td,
|
||||
asn_per_constraints_t *constraints,
|
||||
void *structure, asn_per_outp_t *per_out)
|
||||
asn_per_constraints_t *constraints,
|
||||
void *structure, asn_per_outp_t *per_out)
|
||||
{
|
||||
CellID_1_inherit_TYPE_descriptor(td);
|
||||
return td->uper_encoder(td, constraints, structure, per_out);
|
||||
@ -143,7 +143,7 @@ asn_TYPE_descriptor_t asn_DEF_CellID = {
|
||||
0, /* Use generic outmost tag fetcher */
|
||||
asn_DEF_CellID_tags_1,
|
||||
sizeof(asn_DEF_CellID_tags_1) / sizeof(asn_DEF_CellID_tags_1[0]), /* 1 */
|
||||
asn_DEF_CellID_tags_1, /* Same as above */
|
||||
asn_DEF_CellID_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_CellID_tags_1) / sizeof(asn_DEF_CellID_tags_1[0]), /* 1 */
|
||||
&ASN_PER_TYPE_CELL_ID_CONSTR_1,
|
||||
0,
|
||||
|
@ -8,15 +8,15 @@
|
||||
|
||||
static asn_TYPE_member_t asn_MBR_CellIDAndLAC_1[] = {
|
||||
{ATF_NOFLAGS, 0, offsetof(struct CellIDAndLAC, referenceLAC),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_LAC, 0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "referenceLAC"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_LAC, 0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "referenceLAC"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct CellIDAndLAC, referenceCI),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_CellID, 0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "referenceCI"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_CellID, 0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "referenceCI"},
|
||||
};
|
||||
static ber_tlv_tag_t asn_DEF_CellIDAndLAC_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))};
|
||||
|
@ -10,8 +10,8 @@
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include "LAC.h"
|
||||
#include "CellID.h"
|
||||
#include "LAC.h"
|
||||
#include <constr_SEQUENCE.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -8,57 +8,57 @@
|
||||
|
||||
static asn_TYPE_member_t asn_MBR_ControlHeader_1[] = {
|
||||
{ATF_POINTER, 9, offsetof(struct ControlHeader, referenceTime),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_ReferenceTime,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "referenceTime"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_ReferenceTime,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "referenceTime"},
|
||||
{ATF_POINTER, 8, offsetof(struct ControlHeader, refLocation),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_RefLocation,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "refLocation"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_RefLocation,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "refLocation"},
|
||||
{ATF_POINTER, 7, offsetof(struct ControlHeader, dgpsCorrections),
|
||||
(ASN_TAG_CLASS_CONTEXT | (2 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_DGPSCorrections,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "dgpsCorrections"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (2 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_DGPSCorrections,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "dgpsCorrections"},
|
||||
{ATF_POINTER, 6, offsetof(struct ControlHeader, navigationModel),
|
||||
(ASN_TAG_CLASS_CONTEXT | (3 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NavigationModel,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "navigationModel"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (3 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NavigationModel,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "navigationModel"},
|
||||
{ATF_POINTER, 5, offsetof(struct ControlHeader, ionosphericModel),
|
||||
(ASN_TAG_CLASS_CONTEXT | (4 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_IonosphericModel,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "ionosphericModel"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (4 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_IonosphericModel,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "ionosphericModel"},
|
||||
{ATF_POINTER, 4, offsetof(struct ControlHeader, utcModel),
|
||||
(ASN_TAG_CLASS_CONTEXT | (5 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_UTCModel, 0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "utcModel"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (5 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_UTCModel, 0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "utcModel"},
|
||||
{ATF_POINTER, 3, offsetof(struct ControlHeader, almanac),
|
||||
(ASN_TAG_CLASS_CONTEXT | (6 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_Almanac, 0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "almanac"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (6 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_Almanac, 0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "almanac"},
|
||||
{ATF_POINTER, 2, offsetof(struct ControlHeader, acquisAssist),
|
||||
(ASN_TAG_CLASS_CONTEXT | (7 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_AcquisAssist,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "acquisAssist"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (7 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_AcquisAssist,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "acquisAssist"},
|
||||
{ATF_POINTER, 1, offsetof(struct ControlHeader, realTimeIntegrity),
|
||||
(ASN_TAG_CLASS_CONTEXT | (8 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_SeqOf_BadSatelliteSet,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "realTimeIntegrity"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (8 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_SeqOf_BadSatelliteSet,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "realTimeIntegrity"},
|
||||
};
|
||||
static int asn_MAP_ControlHeader_oms_1[] = {0, 1, 2, 3, 4, 5, 6, 7, 8};
|
||||
static ber_tlv_tag_t asn_DEF_ControlHeader_tags_1[] = {
|
||||
@ -72,7 +72,7 @@ static asn_TYPE_tag2member_t asn_MAP_ControlHeader_tag2el_1[] = {
|
||||
{(ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0}, /* utcModel at 579 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0}, /* almanac at 580 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0}, /* acquisAssist at 581 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (8 << 2)), 8, 0, 0} /* realTimeIntegrity at 582 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (8 << 2)), 8, 0, 0} /* realTimeIntegrity at 582 */
|
||||
};
|
||||
static asn_SEQUENCE_specifics_t asn_SPC_ControlHeader_specs_1 = {
|
||||
sizeof(struct ControlHeader),
|
||||
@ -104,7 +104,7 @@ asn_TYPE_descriptor_t asn_DEF_ControlHeader = {
|
||||
asn_DEF_ControlHeader_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_ControlHeader_tags_1) /
|
||||
sizeof(asn_DEF_ControlHeader_tags_1[0]), /* 1 */
|
||||
0, /* No PER visible constraints */
|
||||
0, /* No PER visible constraints */
|
||||
asn_MBR_ControlHeader_1,
|
||||
9, /* Elements count */
|
||||
&asn_SPC_ControlHeader_specs_1 /* Additional specs */
|
||||
|
@ -53,15 +53,15 @@ extern "C"
|
||||
#endif
|
||||
|
||||
/* Referred external types */
|
||||
#include "ReferenceTime.h"
|
||||
#include "RefLocation.h"
|
||||
#include "DGPSCorrections.h"
|
||||
#include "NavigationModel.h"
|
||||
#include "IonosphericModel.h"
|
||||
#include "UTCModel.h"
|
||||
#include "Almanac.h"
|
||||
#include "AcquisAssist.h"
|
||||
#include "Almanac.h"
|
||||
#include "DGPSCorrections.h"
|
||||
#include "IonosphericModel.h"
|
||||
#include "NavigationModel.h"
|
||||
#include "RefLocation.h"
|
||||
#include "ReferenceTime.h"
|
||||
#include "SeqOf-BadSatelliteSet.h"
|
||||
#include "UTCModel.h"
|
||||
|
||||
#endif /* _ControlHeader_H_ */
|
||||
#include <asn_internal.h>
|
||||
|
@ -7,15 +7,15 @@
|
||||
#include "DGANSSSgnElement.h"
|
||||
|
||||
static int memb_iod_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -29,21 +29,21 @@ static int memb_iod_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
static int memb_udre_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -57,7 +57,7 @@ static int memb_udre_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -71,7 +71,7 @@ static int memb_pseudoRangeCor_constraint_1(
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -85,22 +85,22 @@ static int memb_pseudoRangeCor_constraint_1(
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
static int memb_rangeRateCor_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -114,7 +114,7 @@ static int memb_rangeRateCor_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -145,26 +145,26 @@ static asn_per_constraints_t ASN_PER_MEMB_RANGE_RATE_COR_CONSTR_6 = {
|
||||
};
|
||||
static asn_TYPE_member_t asn_MBR_DGANSSSgnElement_1[] = {
|
||||
{ATF_NOFLAGS, 0, offsetof(struct DGANSSSgnElement, svID),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_SVID, 0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "svID"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_SVID, 0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "svID"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct DGANSSSgnElement, iod),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_iod_constraint_1, &ASN_PER_MEMB_IOD_CONSTR_3,
|
||||
0, "iod"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_iod_constraint_1, &ASN_PER_MEMB_IOD_CONSTR_3,
|
||||
0, "iod"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct DGANSSSgnElement, udre),
|
||||
(ASN_TAG_CLASS_CONTEXT | (2 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_udre_constraint_1,
|
||||
&ASN_PER_MEMB_UDRE_CONSTR_4, 0, "udre"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (2 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_udre_constraint_1,
|
||||
&ASN_PER_MEMB_UDRE_CONSTR_4, 0, "udre"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct DGANSSSgnElement, pseudoRangeCor),
|
||||
(ASN_TAG_CLASS_CONTEXT | (3 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_pseudoRangeCor_constraint_1,
|
||||
&ASN_PER_MEMB_PSEUDO_RANGE_COR_CONSTR_5, 0, "pseudoRangeCor"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (3 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_pseudoRangeCor_constraint_1,
|
||||
&ASN_PER_MEMB_PSEUDO_RANGE_COR_CONSTR_5, 0, "pseudoRangeCor"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct DGANSSSgnElement, rangeRateCor),
|
||||
(ASN_TAG_CLASS_CONTEXT | (4 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_rangeRateCor_constraint_1,
|
||||
&ASN_PER_MEMB_RANGE_RATE_COR_CONSTR_6, 0, "rangeRateCor"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (4 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_rangeRateCor_constraint_1,
|
||||
&ASN_PER_MEMB_RANGE_RATE_COR_CONSTR_6, 0, "rangeRateCor"},
|
||||
};
|
||||
static ber_tlv_tag_t asn_DEF_DGANSSSgnElement_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))};
|
||||
@ -205,7 +205,7 @@ asn_TYPE_descriptor_t asn_DEF_DGANSSSgnElement = {
|
||||
asn_DEF_DGANSSSgnElement_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_DGANSSSgnElement_tags_1) /
|
||||
sizeof(asn_DEF_DGANSSSgnElement_tags_1[0]), /* 1 */
|
||||
0, /* No PER visible constraints */
|
||||
0, /* No PER visible constraints */
|
||||
asn_MBR_DGANSSSgnElement_1,
|
||||
5, /* Elements count */
|
||||
&asn_SPC_DGANSSSgnElement_specs_1 /* Additional specs */
|
||||
|
@ -7,15 +7,15 @@
|
||||
#include "DGPSCorrections.h"
|
||||
|
||||
static int memb_gpsTOW_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -29,21 +29,21 @@ static int memb_gpsTOW_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
static int memb_status_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -57,7 +57,7 @@ static int memb_status_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -76,19 +76,19 @@ static asn_per_constraints_t ASN_PER_MEMB_STATUS_CONSTR_3 = {
|
||||
};
|
||||
static asn_TYPE_member_t asn_MBR_DGPSCorrections_1[] = {
|
||||
{ATF_NOFLAGS, 0, offsetof(struct DGPSCorrections, gpsTOW),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_gpsTOW_constraint_1,
|
||||
&ASN_PER_MEMB_GPS_TOW_CONSTR_2, 0, "gpsTOW"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_gpsTOW_constraint_1,
|
||||
&ASN_PER_MEMB_GPS_TOW_CONSTR_2, 0, "gpsTOW"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct DGPSCorrections, status),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_status_constraint_1,
|
||||
&ASN_PER_MEMB_STATUS_CONSTR_3, 0, "status"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_status_constraint_1,
|
||||
&ASN_PER_MEMB_STATUS_CONSTR_3, 0, "status"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct DGPSCorrections, satList),
|
||||
(ASN_TAG_CLASS_CONTEXT | (2 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_SeqOfSatElement,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "satList"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (2 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_SeqOfSatElement,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "satList"},
|
||||
};
|
||||
static ber_tlv_tag_t asn_DEF_DGPSCorrections_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))};
|
||||
@ -127,7 +127,7 @@ asn_TYPE_descriptor_t asn_DEF_DGPSCorrections = {
|
||||
asn_DEF_DGPSCorrections_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_DGPSCorrections_tags_1) /
|
||||
sizeof(asn_DEF_DGPSCorrections_tags_1[0]), /* 1 */
|
||||
0, /* No PER visible constraints */
|
||||
0, /* No PER visible constraints */
|
||||
asn_MBR_DGPSCorrections_1,
|
||||
3, /* Elements count */
|
||||
&asn_SPC_DGPSCorrections_specs_1 /* Additional specs */
|
||||
|
@ -10,8 +10,8 @@
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <NativeInteger.h>
|
||||
#include "SeqOfSatElement.h"
|
||||
#include <NativeInteger.h>
|
||||
#include <constr_SEQUENCE.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -3,10 +3,10 @@
|
||||
* All rights reserved.
|
||||
* Redistribution and modifications are permitted subject to BSD license.
|
||||
*/
|
||||
#include <asn_internal.h>
|
||||
#include <ENUMERATED.h>
|
||||
#include <NativeEnumerated.h>
|
||||
#include <asn_codecs_prim.h> /* Encoder and decoder of a primitive type */
|
||||
#include <asn_internal.h>
|
||||
|
||||
/*
|
||||
* ENUMERATED basic type description.
|
||||
@ -37,9 +37,9 @@ asn_TYPE_descriptor_t asn_DEF_ENUMERATED = {
|
||||
};
|
||||
|
||||
asn_dec_rval_t ENUMERATED_decode_uper(asn_codec_ctx_t *opt_codec_ctx,
|
||||
asn_TYPE_descriptor_t *td,
|
||||
asn_per_constraints_t *constraints,
|
||||
void **sptr, asn_per_data_t *pd)
|
||||
asn_TYPE_descriptor_t *td,
|
||||
asn_per_constraints_t *constraints,
|
||||
void **sptr, asn_per_data_t *pd)
|
||||
{
|
||||
asn_dec_rval_t rval;
|
||||
ENUMERATED_t *st = (ENUMERATED_t *)*sptr;
|
||||
@ -60,8 +60,8 @@ asn_dec_rval_t ENUMERATED_decode_uper(asn_codec_ctx_t *opt_codec_ctx,
|
||||
}
|
||||
|
||||
asn_enc_rval_t ENUMERATED_encode_uper(asn_TYPE_descriptor_t *td,
|
||||
asn_per_constraints_t *constraints,
|
||||
void *sptr, asn_per_outp_t *po)
|
||||
asn_per_constraints_t *constraints,
|
||||
void *sptr, asn_per_outp_t *po)
|
||||
{
|
||||
ENUMERATED_t *st = (ENUMERATED_t *)sptr;
|
||||
int64_t value;
|
||||
|
@ -15,7 +15,7 @@ static int memb_nbrOfMeasurements_constraint_1(
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -29,22 +29,22 @@ static int memb_nbrOfMeasurements_constraint_1(
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
static int memb_stdOfEOTD_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -58,7 +58,7 @@ static int memb_stdOfEOTD_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -77,19 +77,19 @@ static asn_per_constraints_t ASN_PER_MEMB_STD_OF_EOTD_CONSTR_3 = {
|
||||
};
|
||||
static asn_TYPE_member_t asn_MBR_EOTDQuality_1[] = {
|
||||
{ATF_NOFLAGS, 0, offsetof(struct EOTDQuality, nbrOfMeasurements),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_nbrOfMeasurements_constraint_1,
|
||||
&ASN_PER_MEMB_NBR_OF_MEASUREMENTS_CONSTR_2, 0, "nbrOfMeasurements"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_nbrOfMeasurements_constraint_1,
|
||||
&ASN_PER_MEMB_NBR_OF_MEASUREMENTS_CONSTR_2, 0, "nbrOfMeasurements"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct EOTDQuality, stdOfEOTD),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_stdOfEOTD_constraint_1,
|
||||
&ASN_PER_MEMB_STD_OF_EOTD_CONSTR_3, 0, "stdOfEOTD"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_stdOfEOTD_constraint_1,
|
||||
&ASN_PER_MEMB_STD_OF_EOTD_CONSTR_3, 0, "stdOfEOTD"},
|
||||
};
|
||||
static ber_tlv_tag_t asn_DEF_EOTDQuality_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))};
|
||||
static asn_TYPE_tag2member_t asn_MAP_EOTDQuality_tag2el_1[] = {
|
||||
{(ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0,
|
||||
0}, /* nbrOfMeasurements at 393 */
|
||||
0}, /* nbrOfMeasurements at 393 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0} /* stdOfEOTD at 394 */
|
||||
};
|
||||
static asn_SEQUENCE_specifics_t asn_SPC_EOTDQuality_specs_1 = {
|
||||
|
@ -7,8 +7,8 @@
|
||||
#include "EnvironmentCharacter.h"
|
||||
|
||||
int EnvironmentCharacter_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
{
|
||||
/* Replace with underlying type checker */
|
||||
td->check_constraints = asn_DEF_ENUMERATED.check_constraints;
|
||||
@ -40,57 +40,57 @@ static void EnvironmentCharacter_1_inherit_TYPE_descriptor(
|
||||
}
|
||||
|
||||
void EnvironmentCharacter_free(asn_TYPE_descriptor_t *td, void *struct_ptr,
|
||||
int contents_only)
|
||||
int contents_only)
|
||||
{
|
||||
EnvironmentCharacter_1_inherit_TYPE_descriptor(td);
|
||||
td->free_struct(td, struct_ptr, contents_only);
|
||||
}
|
||||
|
||||
int EnvironmentCharacter_print(asn_TYPE_descriptor_t *td,
|
||||
const void *struct_ptr, int ilevel,
|
||||
asn_app_consume_bytes_f *cb, void *app_key)
|
||||
const void *struct_ptr, int ilevel,
|
||||
asn_app_consume_bytes_f *cb, void *app_key)
|
||||
{
|
||||
EnvironmentCharacter_1_inherit_TYPE_descriptor(td);
|
||||
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
|
||||
}
|
||||
|
||||
asn_dec_rval_t EnvironmentCharacter_decode_ber(asn_codec_ctx_t *opt_codec_ctx,
|
||||
asn_TYPE_descriptor_t *td,
|
||||
void **structure,
|
||||
const void *bufptr, size_t size,
|
||||
int tag_mode)
|
||||
asn_TYPE_descriptor_t *td,
|
||||
void **structure,
|
||||
const void *bufptr, size_t size,
|
||||
int tag_mode)
|
||||
{
|
||||
EnvironmentCharacter_1_inherit_TYPE_descriptor(td);
|
||||
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size,
|
||||
tag_mode);
|
||||
tag_mode);
|
||||
}
|
||||
|
||||
asn_enc_rval_t EnvironmentCharacter_encode_der(asn_TYPE_descriptor_t *td,
|
||||
void *structure, int tag_mode,
|
||||
ber_tlv_tag_t tag,
|
||||
asn_app_consume_bytes_f *cb,
|
||||
void *app_key)
|
||||
void *structure, int tag_mode,
|
||||
ber_tlv_tag_t tag,
|
||||
asn_app_consume_bytes_f *cb,
|
||||
void *app_key)
|
||||
{
|
||||
EnvironmentCharacter_1_inherit_TYPE_descriptor(td);
|
||||
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
|
||||
}
|
||||
|
||||
asn_dec_rval_t EnvironmentCharacter_decode_xer(asn_codec_ctx_t *opt_codec_ctx,
|
||||
asn_TYPE_descriptor_t *td,
|
||||
void **structure,
|
||||
const char *opt_mname,
|
||||
const void *bufptr, size_t size)
|
||||
asn_TYPE_descriptor_t *td,
|
||||
void **structure,
|
||||
const char *opt_mname,
|
||||
const void *bufptr, size_t size)
|
||||
{
|
||||
EnvironmentCharacter_1_inherit_TYPE_descriptor(td);
|
||||
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr,
|
||||
size);
|
||||
size);
|
||||
}
|
||||
|
||||
asn_enc_rval_t EnvironmentCharacter_encode_xer(asn_TYPE_descriptor_t *td,
|
||||
void *structure, int ilevel,
|
||||
enum xer_encoder_flags_e flags,
|
||||
asn_app_consume_bytes_f *cb,
|
||||
void *app_key)
|
||||
void *structure, int ilevel,
|
||||
enum xer_encoder_flags_e flags,
|
||||
asn_app_consume_bytes_f *cb,
|
||||
void *app_key)
|
||||
{
|
||||
EnvironmentCharacter_1_inherit_TYPE_descriptor(td);
|
||||
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
|
||||
@ -103,7 +103,7 @@ asn_dec_rval_t EnvironmentCharacter_decode_uper(
|
||||
{
|
||||
EnvironmentCharacter_1_inherit_TYPE_descriptor(td);
|
||||
return td->uper_decoder(opt_codec_ctx, td, constraints, structure,
|
||||
per_data);
|
||||
per_data);
|
||||
}
|
||||
|
||||
asn_enc_rval_t EnvironmentCharacter_encode_uper(
|
||||
@ -133,10 +133,10 @@ static unsigned int asn_MAP_EnvironmentCharacter_enum2value_1[] = {
|
||||
static asn_INTEGER_specifics_t asn_SPC_EnvironmentCharacter_specs_1 = {
|
||||
asn_MAP_EnvironmentCharacter_value2enum_1, /* "tag" => N; sorted by tag */
|
||||
asn_MAP_EnvironmentCharacter_enum2value_1, /* N => "tag"; sorted by N */
|
||||
3, /* Number of elements in the maps */
|
||||
4, /* Extensions before this member */
|
||||
1, /* Strict enumeration */
|
||||
0, /* Native long size */
|
||||
3, /* Number of elements in the maps */
|
||||
4, /* Extensions before this member */
|
||||
1, /* Strict enumeration */
|
||||
0, /* Native long size */
|
||||
0};
|
||||
static ber_tlv_tag_t asn_DEF_EnvironmentCharacter_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (10 << 2))};
|
||||
|
@ -7,16 +7,16 @@
|
||||
#include "EphemerisSubframe1Reserved.h"
|
||||
|
||||
static int memb_reserved1_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -30,22 +30,22 @@ static int memb_reserved1_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
static int memb_reserved2_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -59,22 +59,22 @@ static int memb_reserved2_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
static int memb_reserved3_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -88,22 +88,22 @@ static int memb_reserved3_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
static int memb_reserved4_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -117,7 +117,7 @@ static int memb_reserved4_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -148,21 +148,21 @@ static asn_per_constraints_t ASN_PER_MEMB_RESERVED4_CONSTR_5 = {
|
||||
};
|
||||
static asn_TYPE_member_t asn_MBR_EphemerisSubframe1Reserved_1[] = {
|
||||
{ATF_NOFLAGS, 0, offsetof(struct EphemerisSubframe1Reserved, reserved1),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_reserved1_constraint_1,
|
||||
&ASN_PER_MEMB_RESERVED1_CONSTR_2, 0, "reserved1"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_reserved1_constraint_1,
|
||||
&ASN_PER_MEMB_RESERVED1_CONSTR_2, 0, "reserved1"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct EphemerisSubframe1Reserved, reserved2),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_reserved2_constraint_1,
|
||||
&ASN_PER_MEMB_RESERVED2_CONSTR_3, 0, "reserved2"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_reserved2_constraint_1,
|
||||
&ASN_PER_MEMB_RESERVED2_CONSTR_3, 0, "reserved2"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct EphemerisSubframe1Reserved, reserved3),
|
||||
(ASN_TAG_CLASS_CONTEXT | (2 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_reserved3_constraint_1,
|
||||
&ASN_PER_MEMB_RESERVED3_CONSTR_4, 0, "reserved3"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (2 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_reserved3_constraint_1,
|
||||
&ASN_PER_MEMB_RESERVED3_CONSTR_4, 0, "reserved3"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct EphemerisSubframe1Reserved, reserved4),
|
||||
(ASN_TAG_CLASS_CONTEXT | (3 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_reserved4_constraint_1,
|
||||
&ASN_PER_MEMB_RESERVED4_CONSTR_5, 0, "reserved4"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (3 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_reserved4_constraint_1,
|
||||
&ASN_PER_MEMB_RESERVED4_CONSTR_5, 0, "reserved4"},
|
||||
};
|
||||
static ber_tlv_tag_t asn_DEF_EphemerisSubframe1Reserved_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))};
|
||||
@ -199,10 +199,10 @@ asn_TYPE_descriptor_t asn_DEF_EphemerisSubframe1Reserved = {
|
||||
asn_DEF_EphemerisSubframe1Reserved_tags_1,
|
||||
sizeof(asn_DEF_EphemerisSubframe1Reserved_tags_1) /
|
||||
sizeof(asn_DEF_EphemerisSubframe1Reserved_tags_1[0]), /* 1 */
|
||||
asn_DEF_EphemerisSubframe1Reserved_tags_1, /* Same as above */
|
||||
asn_DEF_EphemerisSubframe1Reserved_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_EphemerisSubframe1Reserved_tags_1) /
|
||||
sizeof(asn_DEF_EphemerisSubframe1Reserved_tags_1[0]), /* 1 */
|
||||
0, /* No PER visible constraints */
|
||||
0, /* No PER visible constraints */
|
||||
asn_MBR_EphemerisSubframe1Reserved_1,
|
||||
4, /* Elements count */
|
||||
&asn_SPC_EphemerisSubframe1Reserved_specs_1 /* Additional specs */
|
||||
|
@ -7,7 +7,7 @@
|
||||
#include "ErrorCodes.h"
|
||||
|
||||
int ErrorCodes_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb, void *app_key)
|
||||
asn_app_constraint_failed_f *ctfailcb, void *app_key)
|
||||
{
|
||||
/* Replace with underlying type checker */
|
||||
td->check_constraints = asn_DEF_ENUMERATED.check_constraints;
|
||||
@ -38,69 +38,69 @@ static void ErrorCodes_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td)
|
||||
}
|
||||
|
||||
void ErrorCodes_free(asn_TYPE_descriptor_t *td, void *struct_ptr,
|
||||
int contents_only)
|
||||
int contents_only)
|
||||
{
|
||||
ErrorCodes_1_inherit_TYPE_descriptor(td);
|
||||
td->free_struct(td, struct_ptr, contents_only);
|
||||
}
|
||||
|
||||
int ErrorCodes_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
|
||||
int ilevel, asn_app_consume_bytes_f *cb, void *app_key)
|
||||
int ilevel, asn_app_consume_bytes_f *cb, void *app_key)
|
||||
{
|
||||
ErrorCodes_1_inherit_TYPE_descriptor(td);
|
||||
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
|
||||
}
|
||||
|
||||
asn_dec_rval_t ErrorCodes_decode_ber(asn_codec_ctx_t *opt_codec_ctx,
|
||||
asn_TYPE_descriptor_t *td,
|
||||
void **structure, const void *bufptr,
|
||||
size_t size, int tag_mode)
|
||||
asn_TYPE_descriptor_t *td,
|
||||
void **structure, const void *bufptr,
|
||||
size_t size, int tag_mode)
|
||||
{
|
||||
ErrorCodes_1_inherit_TYPE_descriptor(td);
|
||||
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size,
|
||||
tag_mode);
|
||||
tag_mode);
|
||||
}
|
||||
|
||||
asn_enc_rval_t ErrorCodes_encode_der(asn_TYPE_descriptor_t *td, void *structure,
|
||||
int tag_mode, ber_tlv_tag_t tag,
|
||||
asn_app_consume_bytes_f *cb, void *app_key)
|
||||
int tag_mode, ber_tlv_tag_t tag,
|
||||
asn_app_consume_bytes_f *cb, void *app_key)
|
||||
{
|
||||
ErrorCodes_1_inherit_TYPE_descriptor(td);
|
||||
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
|
||||
}
|
||||
|
||||
asn_dec_rval_t ErrorCodes_decode_xer(asn_codec_ctx_t *opt_codec_ctx,
|
||||
asn_TYPE_descriptor_t *td,
|
||||
void **structure, const char *opt_mname,
|
||||
const void *bufptr, size_t size)
|
||||
asn_TYPE_descriptor_t *td,
|
||||
void **structure, const char *opt_mname,
|
||||
const void *bufptr, size_t size)
|
||||
{
|
||||
ErrorCodes_1_inherit_TYPE_descriptor(td);
|
||||
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr,
|
||||
size);
|
||||
size);
|
||||
}
|
||||
|
||||
asn_enc_rval_t ErrorCodes_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
|
||||
int ilevel, enum xer_encoder_flags_e flags,
|
||||
asn_app_consume_bytes_f *cb, void *app_key)
|
||||
int ilevel, enum xer_encoder_flags_e flags,
|
||||
asn_app_consume_bytes_f *cb, void *app_key)
|
||||
{
|
||||
ErrorCodes_1_inherit_TYPE_descriptor(td);
|
||||
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
|
||||
}
|
||||
|
||||
asn_dec_rval_t ErrorCodes_decode_uper(asn_codec_ctx_t *opt_codec_ctx,
|
||||
asn_TYPE_descriptor_t *td,
|
||||
asn_per_constraints_t *constraints,
|
||||
void **structure,
|
||||
asn_per_data_t *per_data)
|
||||
asn_TYPE_descriptor_t *td,
|
||||
asn_per_constraints_t *constraints,
|
||||
void **structure,
|
||||
asn_per_data_t *per_data)
|
||||
{
|
||||
ErrorCodes_1_inherit_TYPE_descriptor(td);
|
||||
return td->uper_decoder(opt_codec_ctx, td, constraints, structure,
|
||||
per_data);
|
||||
per_data);
|
||||
}
|
||||
|
||||
asn_enc_rval_t ErrorCodes_encode_uper(asn_TYPE_descriptor_t *td,
|
||||
asn_per_constraints_t *constraints,
|
||||
void *structure, asn_per_outp_t *per_out)
|
||||
asn_per_constraints_t *constraints,
|
||||
void *structure, asn_per_outp_t *per_out)
|
||||
{
|
||||
ErrorCodes_1_inherit_TYPE_descriptor(td);
|
||||
return td->uper_encoder(td, constraints, structure, per_out);
|
||||
|
@ -7,15 +7,15 @@
|
||||
#include "ExpOTDUncertainty.h"
|
||||
|
||||
int ExpOTDUncertainty_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -29,7 +29,7 @@ int ExpOTDUncertainty_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -57,77 +57,77 @@ static void ExpOTDUncertainty_1_inherit_TYPE_descriptor(
|
||||
}
|
||||
|
||||
void ExpOTDUncertainty_free(asn_TYPE_descriptor_t *td, void *struct_ptr,
|
||||
int contents_only)
|
||||
int contents_only)
|
||||
{
|
||||
ExpOTDUncertainty_1_inherit_TYPE_descriptor(td);
|
||||
td->free_struct(td, struct_ptr, contents_only);
|
||||
}
|
||||
|
||||
int ExpOTDUncertainty_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
|
||||
int ilevel, asn_app_consume_bytes_f *cb,
|
||||
void *app_key)
|
||||
int ilevel, asn_app_consume_bytes_f *cb,
|
||||
void *app_key)
|
||||
{
|
||||
ExpOTDUncertainty_1_inherit_TYPE_descriptor(td);
|
||||
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
|
||||
}
|
||||
|
||||
asn_dec_rval_t ExpOTDUncertainty_decode_ber(asn_codec_ctx_t *opt_codec_ctx,
|
||||
asn_TYPE_descriptor_t *td,
|
||||
void **structure,
|
||||
const void *bufptr, size_t size,
|
||||
int tag_mode)
|
||||
asn_TYPE_descriptor_t *td,
|
||||
void **structure,
|
||||
const void *bufptr, size_t size,
|
||||
int tag_mode)
|
||||
{
|
||||
ExpOTDUncertainty_1_inherit_TYPE_descriptor(td);
|
||||
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size,
|
||||
tag_mode);
|
||||
tag_mode);
|
||||
}
|
||||
|
||||
asn_enc_rval_t ExpOTDUncertainty_encode_der(asn_TYPE_descriptor_t *td,
|
||||
void *structure, int tag_mode,
|
||||
ber_tlv_tag_t tag,
|
||||
asn_app_consume_bytes_f *cb,
|
||||
void *app_key)
|
||||
void *structure, int tag_mode,
|
||||
ber_tlv_tag_t tag,
|
||||
asn_app_consume_bytes_f *cb,
|
||||
void *app_key)
|
||||
{
|
||||
ExpOTDUncertainty_1_inherit_TYPE_descriptor(td);
|
||||
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
|
||||
}
|
||||
|
||||
asn_dec_rval_t ExpOTDUncertainty_decode_xer(asn_codec_ctx_t *opt_codec_ctx,
|
||||
asn_TYPE_descriptor_t *td,
|
||||
void **structure,
|
||||
const char *opt_mname,
|
||||
const void *bufptr, size_t size)
|
||||
asn_TYPE_descriptor_t *td,
|
||||
void **structure,
|
||||
const char *opt_mname,
|
||||
const void *bufptr, size_t size)
|
||||
{
|
||||
ExpOTDUncertainty_1_inherit_TYPE_descriptor(td);
|
||||
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr,
|
||||
size);
|
||||
size);
|
||||
}
|
||||
|
||||
asn_enc_rval_t ExpOTDUncertainty_encode_xer(asn_TYPE_descriptor_t *td,
|
||||
void *structure, int ilevel,
|
||||
enum xer_encoder_flags_e flags,
|
||||
asn_app_consume_bytes_f *cb,
|
||||
void *app_key)
|
||||
void *structure, int ilevel,
|
||||
enum xer_encoder_flags_e flags,
|
||||
asn_app_consume_bytes_f *cb,
|
||||
void *app_key)
|
||||
{
|
||||
ExpOTDUncertainty_1_inherit_TYPE_descriptor(td);
|
||||
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
|
||||
}
|
||||
|
||||
asn_dec_rval_t ExpOTDUncertainty_decode_uper(asn_codec_ctx_t *opt_codec_ctx,
|
||||
asn_TYPE_descriptor_t *td,
|
||||
asn_per_constraints_t *constraints,
|
||||
void **structure,
|
||||
asn_per_data_t *per_data)
|
||||
asn_TYPE_descriptor_t *td,
|
||||
asn_per_constraints_t *constraints,
|
||||
void **structure,
|
||||
asn_per_data_t *per_data)
|
||||
{
|
||||
ExpOTDUncertainty_1_inherit_TYPE_descriptor(td);
|
||||
return td->uper_decoder(opt_codec_ctx, td, constraints, structure,
|
||||
per_data);
|
||||
per_data);
|
||||
}
|
||||
|
||||
asn_enc_rval_t ExpOTDUncertainty_encode_uper(asn_TYPE_descriptor_t *td,
|
||||
asn_per_constraints_t *constraints,
|
||||
void *structure,
|
||||
asn_per_outp_t *per_out)
|
||||
asn_per_constraints_t *constraints,
|
||||
void *structure,
|
||||
asn_per_outp_t *per_out)
|
||||
{
|
||||
ExpOTDUncertainty_1_inherit_TYPE_descriptor(td);
|
||||
return td->uper_encoder(td, constraints, structure, per_out);
|
||||
|
@ -7,14 +7,14 @@
|
||||
#include "ExpectedOTD.h"
|
||||
|
||||
int ExpectedOTD_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb, void *app_key)
|
||||
asn_app_constraint_failed_f *ctfailcb, void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -28,7 +28,7 @@ int ExpectedOTD_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -55,73 +55,73 @@ static void ExpectedOTD_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td)
|
||||
}
|
||||
|
||||
void ExpectedOTD_free(asn_TYPE_descriptor_t *td, void *struct_ptr,
|
||||
int contents_only)
|
||||
int contents_only)
|
||||
{
|
||||
ExpectedOTD_1_inherit_TYPE_descriptor(td);
|
||||
td->free_struct(td, struct_ptr, contents_only);
|
||||
}
|
||||
|
||||
int ExpectedOTD_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
|
||||
int ilevel, asn_app_consume_bytes_f *cb, void *app_key)
|
||||
int ilevel, asn_app_consume_bytes_f *cb, void *app_key)
|
||||
{
|
||||
ExpectedOTD_1_inherit_TYPE_descriptor(td);
|
||||
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
|
||||
}
|
||||
|
||||
asn_dec_rval_t ExpectedOTD_decode_ber(asn_codec_ctx_t *opt_codec_ctx,
|
||||
asn_TYPE_descriptor_t *td,
|
||||
void **structure, const void *bufptr,
|
||||
size_t size, int tag_mode)
|
||||
asn_TYPE_descriptor_t *td,
|
||||
void **structure, const void *bufptr,
|
||||
size_t size, int tag_mode)
|
||||
{
|
||||
ExpectedOTD_1_inherit_TYPE_descriptor(td);
|
||||
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size,
|
||||
tag_mode);
|
||||
tag_mode);
|
||||
}
|
||||
|
||||
asn_enc_rval_t ExpectedOTD_encode_der(asn_TYPE_descriptor_t *td,
|
||||
void *structure, int tag_mode,
|
||||
ber_tlv_tag_t tag,
|
||||
asn_app_consume_bytes_f *cb,
|
||||
void *app_key)
|
||||
void *structure, int tag_mode,
|
||||
ber_tlv_tag_t tag,
|
||||
asn_app_consume_bytes_f *cb,
|
||||
void *app_key)
|
||||
{
|
||||
ExpectedOTD_1_inherit_TYPE_descriptor(td);
|
||||
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
|
||||
}
|
||||
|
||||
asn_dec_rval_t ExpectedOTD_decode_xer(asn_codec_ctx_t *opt_codec_ctx,
|
||||
asn_TYPE_descriptor_t *td,
|
||||
void **structure, const char *opt_mname,
|
||||
const void *bufptr, size_t size)
|
||||
asn_TYPE_descriptor_t *td,
|
||||
void **structure, const char *opt_mname,
|
||||
const void *bufptr, size_t size)
|
||||
{
|
||||
ExpectedOTD_1_inherit_TYPE_descriptor(td);
|
||||
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr,
|
||||
size);
|
||||
size);
|
||||
}
|
||||
|
||||
asn_enc_rval_t ExpectedOTD_encode_xer(asn_TYPE_descriptor_t *td,
|
||||
void *structure, int ilevel,
|
||||
enum xer_encoder_flags_e flags,
|
||||
asn_app_consume_bytes_f *cb,
|
||||
void *app_key)
|
||||
void *structure, int ilevel,
|
||||
enum xer_encoder_flags_e flags,
|
||||
asn_app_consume_bytes_f *cb,
|
||||
void *app_key)
|
||||
{
|
||||
ExpectedOTD_1_inherit_TYPE_descriptor(td);
|
||||
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
|
||||
}
|
||||
|
||||
asn_dec_rval_t ExpectedOTD_decode_uper(asn_codec_ctx_t *opt_codec_ctx,
|
||||
asn_TYPE_descriptor_t *td,
|
||||
asn_per_constraints_t *constraints,
|
||||
void **structure,
|
||||
asn_per_data_t *per_data)
|
||||
asn_TYPE_descriptor_t *td,
|
||||
asn_per_constraints_t *constraints,
|
||||
void **structure,
|
||||
asn_per_data_t *per_data)
|
||||
{
|
||||
ExpectedOTD_1_inherit_TYPE_descriptor(td);
|
||||
return td->uper_decoder(opt_codec_ctx, td, constraints, structure,
|
||||
per_data);
|
||||
per_data);
|
||||
}
|
||||
|
||||
asn_enc_rval_t ExpectedOTD_encode_uper(asn_TYPE_descriptor_t *td,
|
||||
asn_per_constraints_t *constraints,
|
||||
void *structure, asn_per_outp_t *per_out)
|
||||
asn_per_constraints_t *constraints,
|
||||
void *structure, asn_per_outp_t *per_out)
|
||||
{
|
||||
ExpectedOTD_1_inherit_TYPE_descriptor(td);
|
||||
return td->uper_encoder(td, constraints, structure, per_out);
|
||||
|
@ -16,7 +16,7 @@ int Ext_GeographicalInformation_constraint(
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -30,7 +30,7 @@ int Ext_GeographicalInformation_constraint(
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -58,16 +58,16 @@ static void Ext_GeographicalInformation_1_inherit_TYPE_descriptor(
|
||||
}
|
||||
|
||||
void Ext_GeographicalInformation_free(asn_TYPE_descriptor_t *td,
|
||||
void *struct_ptr, int contents_only)
|
||||
void *struct_ptr, int contents_only)
|
||||
{
|
||||
Ext_GeographicalInformation_1_inherit_TYPE_descriptor(td);
|
||||
td->free_struct(td, struct_ptr, contents_only);
|
||||
}
|
||||
|
||||
int Ext_GeographicalInformation_print(asn_TYPE_descriptor_t *td,
|
||||
const void *struct_ptr, int ilevel,
|
||||
asn_app_consume_bytes_f *cb,
|
||||
void *app_key)
|
||||
const void *struct_ptr, int ilevel,
|
||||
asn_app_consume_bytes_f *cb,
|
||||
void *app_key)
|
||||
{
|
||||
Ext_GeographicalInformation_1_inherit_TYPE_descriptor(td);
|
||||
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
|
||||
@ -79,7 +79,7 @@ asn_dec_rval_t Ext_GeographicalInformation_decode_ber(
|
||||
{
|
||||
Ext_GeographicalInformation_1_inherit_TYPE_descriptor(td);
|
||||
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size,
|
||||
tag_mode);
|
||||
tag_mode);
|
||||
}
|
||||
|
||||
asn_enc_rval_t Ext_GeographicalInformation_encode_der(
|
||||
@ -96,7 +96,7 @@ asn_dec_rval_t Ext_GeographicalInformation_decode_xer(
|
||||
{
|
||||
Ext_GeographicalInformation_1_inherit_TYPE_descriptor(td);
|
||||
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr,
|
||||
size);
|
||||
size);
|
||||
}
|
||||
|
||||
asn_enc_rval_t Ext_GeographicalInformation_encode_xer(
|
||||
@ -114,7 +114,7 @@ asn_dec_rval_t Ext_GeographicalInformation_decode_uper(
|
||||
{
|
||||
Ext_GeographicalInformation_1_inherit_TYPE_descriptor(td);
|
||||
return td->uper_decoder(opt_codec_ctx, td, constraints, structure,
|
||||
per_data);
|
||||
per_data);
|
||||
}
|
||||
|
||||
asn_enc_rval_t Ext_GeographicalInformation_encode_uper(
|
||||
@ -150,7 +150,7 @@ asn_TYPE_descriptor_t asn_DEF_Ext_GeographicalInformation = {
|
||||
asn_DEF_Ext_GeographicalInformation_tags_1,
|
||||
sizeof(asn_DEF_Ext_GeographicalInformation_tags_1) /
|
||||
sizeof(asn_DEF_Ext_GeographicalInformation_tags_1[0]), /* 1 */
|
||||
asn_DEF_Ext_GeographicalInformation_tags_1, /* Same as above */
|
||||
asn_DEF_Ext_GeographicalInformation_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_Ext_GeographicalInformation_tags_1) /
|
||||
sizeof(asn_DEF_Ext_GeographicalInformation_tags_1[0]), /* 1 */
|
||||
&ASN_PER_TYPE_EXT_GEOGRAPHICAL_INFORMATION_CONSTR_1,
|
||||
|
@ -7,16 +7,16 @@
|
||||
#include "Extended-reference.h"
|
||||
|
||||
static int memb_smlc_code_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -30,7 +30,7 @@ static int memb_smlc_code_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -44,7 +44,7 @@ static int memb_transaction_ID_constraint_1(
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -58,7 +58,7 @@ static int memb_transaction_ID_constraint_1(
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -77,13 +77,13 @@ static asn_per_constraints_t ASN_PER_MEMB_TRANSACTION_ID_CONSTR_3 = {
|
||||
};
|
||||
static asn_TYPE_member_t asn_MBR_Extended_reference_1[] = {
|
||||
{ATF_NOFLAGS, 0, offsetof(struct Extended_reference, smlc_code),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_smlc_code_constraint_1,
|
||||
&ASN_PER_MEMB_SMLC_CODE_CONSTR_2, 0, "smlc-code"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_smlc_code_constraint_1,
|
||||
&ASN_PER_MEMB_SMLC_CODE_CONSTR_2, 0, "smlc-code"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct Extended_reference, transaction_ID),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_transaction_ID_constraint_1,
|
||||
&ASN_PER_MEMB_TRANSACTION_ID_CONSTR_3, 0, "transaction-ID"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_transaction_ID_constraint_1,
|
||||
&ASN_PER_MEMB_TRANSACTION_ID_CONSTR_3, 0, "transaction-ID"},
|
||||
};
|
||||
static ber_tlv_tag_t asn_DEF_Extended_reference_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))};
|
||||
@ -121,7 +121,7 @@ asn_TYPE_descriptor_t asn_DEF_Extended_reference = {
|
||||
asn_DEF_Extended_reference_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_Extended_reference_tags_1) /
|
||||
sizeof(asn_DEF_Extended_reference_tags_1[0]), /* 1 */
|
||||
0, /* No PER visible constraints */
|
||||
0, /* No PER visible constraints */
|
||||
asn_MBR_Extended_reference_1,
|
||||
2, /* Elements count */
|
||||
&asn_SPC_Extended_reference_specs_1 /* Additional specs */
|
||||
|
@ -7,8 +7,8 @@
|
||||
#include "ExtensionContainer.h"
|
||||
|
||||
int ExtensionContainer_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
{
|
||||
/* Replace with underlying type checker */
|
||||
td->check_constraints = asn_DEF_INTEGER.check_constraints;
|
||||
@ -38,57 +38,57 @@ static void ExtensionContainer_1_inherit_TYPE_descriptor(
|
||||
}
|
||||
|
||||
void ExtensionContainer_free(asn_TYPE_descriptor_t *td, void *struct_ptr,
|
||||
int contents_only)
|
||||
int contents_only)
|
||||
{
|
||||
ExtensionContainer_1_inherit_TYPE_descriptor(td);
|
||||
td->free_struct(td, struct_ptr, contents_only);
|
||||
}
|
||||
|
||||
int ExtensionContainer_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
|
||||
int ilevel, asn_app_consume_bytes_f *cb,
|
||||
void *app_key)
|
||||
int ilevel, asn_app_consume_bytes_f *cb,
|
||||
void *app_key)
|
||||
{
|
||||
ExtensionContainer_1_inherit_TYPE_descriptor(td);
|
||||
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
|
||||
}
|
||||
|
||||
asn_dec_rval_t ExtensionContainer_decode_ber(asn_codec_ctx_t *opt_codec_ctx,
|
||||
asn_TYPE_descriptor_t *td,
|
||||
void **structure,
|
||||
const void *bufptr, size_t size,
|
||||
int tag_mode)
|
||||
asn_TYPE_descriptor_t *td,
|
||||
void **structure,
|
||||
const void *bufptr, size_t size,
|
||||
int tag_mode)
|
||||
{
|
||||
ExtensionContainer_1_inherit_TYPE_descriptor(td);
|
||||
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size,
|
||||
tag_mode);
|
||||
tag_mode);
|
||||
}
|
||||
|
||||
asn_enc_rval_t ExtensionContainer_encode_der(asn_TYPE_descriptor_t *td,
|
||||
void *structure, int tag_mode,
|
||||
ber_tlv_tag_t tag,
|
||||
asn_app_consume_bytes_f *cb,
|
||||
void *app_key)
|
||||
void *structure, int tag_mode,
|
||||
ber_tlv_tag_t tag,
|
||||
asn_app_consume_bytes_f *cb,
|
||||
void *app_key)
|
||||
{
|
||||
ExtensionContainer_1_inherit_TYPE_descriptor(td);
|
||||
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
|
||||
}
|
||||
|
||||
asn_dec_rval_t ExtensionContainer_decode_xer(asn_codec_ctx_t *opt_codec_ctx,
|
||||
asn_TYPE_descriptor_t *td,
|
||||
void **structure,
|
||||
const char *opt_mname,
|
||||
const void *bufptr, size_t size)
|
||||
asn_TYPE_descriptor_t *td,
|
||||
void **structure,
|
||||
const char *opt_mname,
|
||||
const void *bufptr, size_t size)
|
||||
{
|
||||
ExtensionContainer_1_inherit_TYPE_descriptor(td);
|
||||
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr,
|
||||
size);
|
||||
size);
|
||||
}
|
||||
|
||||
asn_enc_rval_t ExtensionContainer_encode_xer(asn_TYPE_descriptor_t *td,
|
||||
void *structure, int ilevel,
|
||||
enum xer_encoder_flags_e flags,
|
||||
asn_app_consume_bytes_f *cb,
|
||||
void *app_key)
|
||||
void *structure, int ilevel,
|
||||
enum xer_encoder_flags_e flags,
|
||||
asn_app_consume_bytes_f *cb,
|
||||
void *app_key)
|
||||
{
|
||||
ExtensionContainer_1_inherit_TYPE_descriptor(td);
|
||||
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
|
||||
@ -101,7 +101,7 @@ asn_dec_rval_t ExtensionContainer_decode_uper(
|
||||
{
|
||||
ExtensionContainer_1_inherit_TYPE_descriptor(td);
|
||||
return td->uper_decoder(opt_codec_ctx, td, constraints, structure,
|
||||
per_data);
|
||||
per_data);
|
||||
}
|
||||
|
||||
asn_enc_rval_t ExtensionContainer_encode_uper(
|
||||
@ -133,7 +133,7 @@ asn_TYPE_descriptor_t asn_DEF_ExtensionContainer = {
|
||||
asn_DEF_ExtensionContainer_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_ExtensionContainer_tags_1) /
|
||||
sizeof(asn_DEF_ExtensionContainer_tags_1[0]), /* 1 */
|
||||
0, /* No PER visible constraints */
|
||||
0, /* No PER visible constraints */
|
||||
0,
|
||||
0, /* No members */
|
||||
0 /* No specifics */
|
||||
|
@ -7,14 +7,14 @@
|
||||
#include "FineRTD.h"
|
||||
|
||||
int FineRTD_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb, void *app_key)
|
||||
asn_app_constraint_failed_f *ctfailcb, void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -28,7 +28,7 @@ int FineRTD_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -55,67 +55,67 @@ static void FineRTD_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td)
|
||||
}
|
||||
|
||||
void FineRTD_free(asn_TYPE_descriptor_t *td, void *struct_ptr,
|
||||
int contents_only)
|
||||
int contents_only)
|
||||
{
|
||||
FineRTD_1_inherit_TYPE_descriptor(td);
|
||||
td->free_struct(td, struct_ptr, contents_only);
|
||||
}
|
||||
|
||||
int FineRTD_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, int ilevel,
|
||||
asn_app_consume_bytes_f *cb, void *app_key)
|
||||
asn_app_consume_bytes_f *cb, void *app_key)
|
||||
{
|
||||
FineRTD_1_inherit_TYPE_descriptor(td);
|
||||
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
|
||||
}
|
||||
|
||||
asn_dec_rval_t FineRTD_decode_ber(asn_codec_ctx_t *opt_codec_ctx,
|
||||
asn_TYPE_descriptor_t *td, void **structure,
|
||||
const void *bufptr, size_t size, int tag_mode)
|
||||
asn_TYPE_descriptor_t *td, void **structure,
|
||||
const void *bufptr, size_t size, int tag_mode)
|
||||
{
|
||||
FineRTD_1_inherit_TYPE_descriptor(td);
|
||||
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size,
|
||||
tag_mode);
|
||||
tag_mode);
|
||||
}
|
||||
|
||||
asn_enc_rval_t FineRTD_encode_der(asn_TYPE_descriptor_t *td, void *structure,
|
||||
int tag_mode, ber_tlv_tag_t tag,
|
||||
asn_app_consume_bytes_f *cb, void *app_key)
|
||||
int tag_mode, ber_tlv_tag_t tag,
|
||||
asn_app_consume_bytes_f *cb, void *app_key)
|
||||
{
|
||||
FineRTD_1_inherit_TYPE_descriptor(td);
|
||||
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
|
||||
}
|
||||
|
||||
asn_dec_rval_t FineRTD_decode_xer(asn_codec_ctx_t *opt_codec_ctx,
|
||||
asn_TYPE_descriptor_t *td, void **structure,
|
||||
const char *opt_mname, const void *bufptr,
|
||||
size_t size)
|
||||
asn_TYPE_descriptor_t *td, void **structure,
|
||||
const char *opt_mname, const void *bufptr,
|
||||
size_t size)
|
||||
{
|
||||
FineRTD_1_inherit_TYPE_descriptor(td);
|
||||
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr,
|
||||
size);
|
||||
size);
|
||||
}
|
||||
|
||||
asn_enc_rval_t FineRTD_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
|
||||
int ilevel, enum xer_encoder_flags_e flags,
|
||||
asn_app_consume_bytes_f *cb, void *app_key)
|
||||
int ilevel, enum xer_encoder_flags_e flags,
|
||||
asn_app_consume_bytes_f *cb, void *app_key)
|
||||
{
|
||||
FineRTD_1_inherit_TYPE_descriptor(td);
|
||||
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
|
||||
}
|
||||
|
||||
asn_dec_rval_t FineRTD_decode_uper(asn_codec_ctx_t *opt_codec_ctx,
|
||||
asn_TYPE_descriptor_t *td,
|
||||
asn_per_constraints_t *constraints,
|
||||
void **structure, asn_per_data_t *per_data)
|
||||
asn_TYPE_descriptor_t *td,
|
||||
asn_per_constraints_t *constraints,
|
||||
void **structure, asn_per_data_t *per_data)
|
||||
{
|
||||
FineRTD_1_inherit_TYPE_descriptor(td);
|
||||
return td->uper_decoder(opt_codec_ctx, td, constraints, structure,
|
||||
per_data);
|
||||
per_data);
|
||||
}
|
||||
|
||||
asn_enc_rval_t FineRTD_encode_uper(asn_TYPE_descriptor_t *td,
|
||||
asn_per_constraints_t *constraints,
|
||||
void *structure, asn_per_outp_t *per_out)
|
||||
asn_per_constraints_t *constraints,
|
||||
void *structure, asn_per_outp_t *per_out)
|
||||
{
|
||||
FineRTD_1_inherit_TYPE_descriptor(td);
|
||||
return td->uper_encoder(td, constraints, structure, per_out);
|
||||
@ -144,7 +144,7 @@ asn_TYPE_descriptor_t asn_DEF_FineRTD = {
|
||||
0, /* Use generic outmost tag fetcher */
|
||||
asn_DEF_FineRTD_tags_1,
|
||||
sizeof(asn_DEF_FineRTD_tags_1) / sizeof(asn_DEF_FineRTD_tags_1[0]), /* 1 */
|
||||
asn_DEF_FineRTD_tags_1, /* Same as above */
|
||||
asn_DEF_FineRTD_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_FineRTD_tags_1) / sizeof(asn_DEF_FineRTD_tags_1[0]), /* 1 */
|
||||
&ASN_PER_TYPE_FINE_RTD_CONSTR_1,
|
||||
0,
|
||||
|
@ -7,14 +7,14 @@
|
||||
#include "FixType.h"
|
||||
|
||||
int FixType_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb, void *app_key)
|
||||
asn_app_constraint_failed_f *ctfailcb, void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -28,7 +28,7 @@ int FixType_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -55,67 +55,67 @@ static void FixType_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td)
|
||||
}
|
||||
|
||||
void FixType_free(asn_TYPE_descriptor_t *td, void *struct_ptr,
|
||||
int contents_only)
|
||||
int contents_only)
|
||||
{
|
||||
FixType_1_inherit_TYPE_descriptor(td);
|
||||
td->free_struct(td, struct_ptr, contents_only);
|
||||
}
|
||||
|
||||
int FixType_print(asn_TYPE_descriptor_t *td, const void *struct_ptr, int ilevel,
|
||||
asn_app_consume_bytes_f *cb, void *app_key)
|
||||
asn_app_consume_bytes_f *cb, void *app_key)
|
||||
{
|
||||
FixType_1_inherit_TYPE_descriptor(td);
|
||||
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
|
||||
}
|
||||
|
||||
asn_dec_rval_t FixType_decode_ber(asn_codec_ctx_t *opt_codec_ctx,
|
||||
asn_TYPE_descriptor_t *td, void **structure,
|
||||
const void *bufptr, size_t size, int tag_mode)
|
||||
asn_TYPE_descriptor_t *td, void **structure,
|
||||
const void *bufptr, size_t size, int tag_mode)
|
||||
{
|
||||
FixType_1_inherit_TYPE_descriptor(td);
|
||||
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size,
|
||||
tag_mode);
|
||||
tag_mode);
|
||||
}
|
||||
|
||||
asn_enc_rval_t FixType_encode_der(asn_TYPE_descriptor_t *td, void *structure,
|
||||
int tag_mode, ber_tlv_tag_t tag,
|
||||
asn_app_consume_bytes_f *cb, void *app_key)
|
||||
int tag_mode, ber_tlv_tag_t tag,
|
||||
asn_app_consume_bytes_f *cb, void *app_key)
|
||||
{
|
||||
FixType_1_inherit_TYPE_descriptor(td);
|
||||
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
|
||||
}
|
||||
|
||||
asn_dec_rval_t FixType_decode_xer(asn_codec_ctx_t *opt_codec_ctx,
|
||||
asn_TYPE_descriptor_t *td, void **structure,
|
||||
const char *opt_mname, const void *bufptr,
|
||||
size_t size)
|
||||
asn_TYPE_descriptor_t *td, void **structure,
|
||||
const char *opt_mname, const void *bufptr,
|
||||
size_t size)
|
||||
{
|
||||
FixType_1_inherit_TYPE_descriptor(td);
|
||||
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr,
|
||||
size);
|
||||
size);
|
||||
}
|
||||
|
||||
asn_enc_rval_t FixType_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
|
||||
int ilevel, enum xer_encoder_flags_e flags,
|
||||
asn_app_consume_bytes_f *cb, void *app_key)
|
||||
int ilevel, enum xer_encoder_flags_e flags,
|
||||
asn_app_consume_bytes_f *cb, void *app_key)
|
||||
{
|
||||
FixType_1_inherit_TYPE_descriptor(td);
|
||||
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
|
||||
}
|
||||
|
||||
asn_dec_rval_t FixType_decode_uper(asn_codec_ctx_t *opt_codec_ctx,
|
||||
asn_TYPE_descriptor_t *td,
|
||||
asn_per_constraints_t *constraints,
|
||||
void **structure, asn_per_data_t *per_data)
|
||||
asn_TYPE_descriptor_t *td,
|
||||
asn_per_constraints_t *constraints,
|
||||
void **structure, asn_per_data_t *per_data)
|
||||
{
|
||||
FixType_1_inherit_TYPE_descriptor(td);
|
||||
return td->uper_decoder(opt_codec_ctx, td, constraints, structure,
|
||||
per_data);
|
||||
per_data);
|
||||
}
|
||||
|
||||
asn_enc_rval_t FixType_encode_uper(asn_TYPE_descriptor_t *td,
|
||||
asn_per_constraints_t *constraints,
|
||||
void *structure, asn_per_outp_t *per_out)
|
||||
asn_per_constraints_t *constraints,
|
||||
void *structure, asn_per_outp_t *per_out)
|
||||
{
|
||||
FixType_1_inherit_TYPE_descriptor(td);
|
||||
return td->uper_encoder(td, constraints, structure, per_out);
|
||||
@ -144,7 +144,7 @@ asn_TYPE_descriptor_t asn_DEF_FixType = {
|
||||
0, /* Use generic outmost tag fetcher */
|
||||
asn_DEF_FixType_tags_1,
|
||||
sizeof(asn_DEF_FixType_tags_1) / sizeof(asn_DEF_FixType_tags_1[0]), /* 1 */
|
||||
asn_DEF_FixType_tags_1, /* Same as above */
|
||||
asn_DEF_FixType_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_FixType_tags_1) / sizeof(asn_DEF_FixType_tags_1[0]), /* 1 */
|
||||
&ASN_PER_TYPE_FIX_TYPE_CONSTR_1,
|
||||
0,
|
||||
|
@ -7,14 +7,14 @@
|
||||
#include "FrameDrift.h"
|
||||
|
||||
int FrameDrift_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb, void *app_key)
|
||||
asn_app_constraint_failed_f *ctfailcb, void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -28,7 +28,7 @@ int FrameDrift_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -55,69 +55,69 @@ static void FrameDrift_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td)
|
||||
}
|
||||
|
||||
void FrameDrift_free(asn_TYPE_descriptor_t *td, void *struct_ptr,
|
||||
int contents_only)
|
||||
int contents_only)
|
||||
{
|
||||
FrameDrift_1_inherit_TYPE_descriptor(td);
|
||||
td->free_struct(td, struct_ptr, contents_only);
|
||||
}
|
||||
|
||||
int FrameDrift_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
|
||||
int ilevel, asn_app_consume_bytes_f *cb, void *app_key)
|
||||
int ilevel, asn_app_consume_bytes_f *cb, void *app_key)
|
||||
{
|
||||
FrameDrift_1_inherit_TYPE_descriptor(td);
|
||||
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
|
||||
}
|
||||
|
||||
asn_dec_rval_t FrameDrift_decode_ber(asn_codec_ctx_t *opt_codec_ctx,
|
||||
asn_TYPE_descriptor_t *td,
|
||||
void **structure, const void *bufptr,
|
||||
size_t size, int tag_mode)
|
||||
asn_TYPE_descriptor_t *td,
|
||||
void **structure, const void *bufptr,
|
||||
size_t size, int tag_mode)
|
||||
{
|
||||
FrameDrift_1_inherit_TYPE_descriptor(td);
|
||||
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size,
|
||||
tag_mode);
|
||||
tag_mode);
|
||||
}
|
||||
|
||||
asn_enc_rval_t FrameDrift_encode_der(asn_TYPE_descriptor_t *td, void *structure,
|
||||
int tag_mode, ber_tlv_tag_t tag,
|
||||
asn_app_consume_bytes_f *cb, void *app_key)
|
||||
int tag_mode, ber_tlv_tag_t tag,
|
||||
asn_app_consume_bytes_f *cb, void *app_key)
|
||||
{
|
||||
FrameDrift_1_inherit_TYPE_descriptor(td);
|
||||
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
|
||||
}
|
||||
|
||||
asn_dec_rval_t FrameDrift_decode_xer(asn_codec_ctx_t *opt_codec_ctx,
|
||||
asn_TYPE_descriptor_t *td,
|
||||
void **structure, const char *opt_mname,
|
||||
const void *bufptr, size_t size)
|
||||
asn_TYPE_descriptor_t *td,
|
||||
void **structure, const char *opt_mname,
|
||||
const void *bufptr, size_t size)
|
||||
{
|
||||
FrameDrift_1_inherit_TYPE_descriptor(td);
|
||||
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr,
|
||||
size);
|
||||
size);
|
||||
}
|
||||
|
||||
asn_enc_rval_t FrameDrift_encode_xer(asn_TYPE_descriptor_t *td, void *structure,
|
||||
int ilevel, enum xer_encoder_flags_e flags,
|
||||
asn_app_consume_bytes_f *cb, void *app_key)
|
||||
int ilevel, enum xer_encoder_flags_e flags,
|
||||
asn_app_consume_bytes_f *cb, void *app_key)
|
||||
{
|
||||
FrameDrift_1_inherit_TYPE_descriptor(td);
|
||||
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
|
||||
}
|
||||
|
||||
asn_dec_rval_t FrameDrift_decode_uper(asn_codec_ctx_t *opt_codec_ctx,
|
||||
asn_TYPE_descriptor_t *td,
|
||||
asn_per_constraints_t *constraints,
|
||||
void **structure,
|
||||
asn_per_data_t *per_data)
|
||||
asn_TYPE_descriptor_t *td,
|
||||
asn_per_constraints_t *constraints,
|
||||
void **structure,
|
||||
asn_per_data_t *per_data)
|
||||
{
|
||||
FrameDrift_1_inherit_TYPE_descriptor(td);
|
||||
return td->uper_decoder(opt_codec_ctx, td, constraints, structure,
|
||||
per_data);
|
||||
per_data);
|
||||
}
|
||||
|
||||
asn_enc_rval_t FrameDrift_encode_uper(asn_TYPE_descriptor_t *td,
|
||||
asn_per_constraints_t *constraints,
|
||||
void *structure, asn_per_outp_t *per_out)
|
||||
asn_per_constraints_t *constraints,
|
||||
void *structure, asn_per_outp_t *per_out)
|
||||
{
|
||||
FrameDrift_1_inherit_TYPE_descriptor(td);
|
||||
return td->uper_encoder(td, constraints, structure, per_out);
|
||||
|
@ -7,14 +7,14 @@
|
||||
#include "FrameNumber.h"
|
||||
|
||||
int FrameNumber_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb, void *app_key)
|
||||
asn_app_constraint_failed_f *ctfailcb, void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -28,7 +28,7 @@ int FrameNumber_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -55,73 +55,73 @@ static void FrameNumber_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td)
|
||||
}
|
||||
|
||||
void FrameNumber_free(asn_TYPE_descriptor_t *td, void *struct_ptr,
|
||||
int contents_only)
|
||||
int contents_only)
|
||||
{
|
||||
FrameNumber_1_inherit_TYPE_descriptor(td);
|
||||
td->free_struct(td, struct_ptr, contents_only);
|
||||
}
|
||||
|
||||
int FrameNumber_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
|
||||
int ilevel, asn_app_consume_bytes_f *cb, void *app_key)
|
||||
int ilevel, asn_app_consume_bytes_f *cb, void *app_key)
|
||||
{
|
||||
FrameNumber_1_inherit_TYPE_descriptor(td);
|
||||
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
|
||||
}
|
||||
|
||||
asn_dec_rval_t FrameNumber_decode_ber(asn_codec_ctx_t *opt_codec_ctx,
|
||||
asn_TYPE_descriptor_t *td,
|
||||
void **structure, const void *bufptr,
|
||||
size_t size, int tag_mode)
|
||||
asn_TYPE_descriptor_t *td,
|
||||
void **structure, const void *bufptr,
|
||||
size_t size, int tag_mode)
|
||||
{
|
||||
FrameNumber_1_inherit_TYPE_descriptor(td);
|
||||
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size,
|
||||
tag_mode);
|
||||
tag_mode);
|
||||
}
|
||||
|
||||
asn_enc_rval_t FrameNumber_encode_der(asn_TYPE_descriptor_t *td,
|
||||
void *structure, int tag_mode,
|
||||
ber_tlv_tag_t tag,
|
||||
asn_app_consume_bytes_f *cb,
|
||||
void *app_key)
|
||||
void *structure, int tag_mode,
|
||||
ber_tlv_tag_t tag,
|
||||
asn_app_consume_bytes_f *cb,
|
||||
void *app_key)
|
||||
{
|
||||
FrameNumber_1_inherit_TYPE_descriptor(td);
|
||||
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
|
||||
}
|
||||
|
||||
asn_dec_rval_t FrameNumber_decode_xer(asn_codec_ctx_t *opt_codec_ctx,
|
||||
asn_TYPE_descriptor_t *td,
|
||||
void **structure, const char *opt_mname,
|
||||
const void *bufptr, size_t size)
|
||||
asn_TYPE_descriptor_t *td,
|
||||
void **structure, const char *opt_mname,
|
||||
const void *bufptr, size_t size)
|
||||
{
|
||||
FrameNumber_1_inherit_TYPE_descriptor(td);
|
||||
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr,
|
||||
size);
|
||||
size);
|
||||
}
|
||||
|
||||
asn_enc_rval_t FrameNumber_encode_xer(asn_TYPE_descriptor_t *td,
|
||||
void *structure, int ilevel,
|
||||
enum xer_encoder_flags_e flags,
|
||||
asn_app_consume_bytes_f *cb,
|
||||
void *app_key)
|
||||
void *structure, int ilevel,
|
||||
enum xer_encoder_flags_e flags,
|
||||
asn_app_consume_bytes_f *cb,
|
||||
void *app_key)
|
||||
{
|
||||
FrameNumber_1_inherit_TYPE_descriptor(td);
|
||||
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
|
||||
}
|
||||
|
||||
asn_dec_rval_t FrameNumber_decode_uper(asn_codec_ctx_t *opt_codec_ctx,
|
||||
asn_TYPE_descriptor_t *td,
|
||||
asn_per_constraints_t *constraints,
|
||||
void **structure,
|
||||
asn_per_data_t *per_data)
|
||||
asn_TYPE_descriptor_t *td,
|
||||
asn_per_constraints_t *constraints,
|
||||
void **structure,
|
||||
asn_per_data_t *per_data)
|
||||
{
|
||||
FrameNumber_1_inherit_TYPE_descriptor(td);
|
||||
return td->uper_decoder(opt_codec_ctx, td, constraints, structure,
|
||||
per_data);
|
||||
per_data);
|
||||
}
|
||||
|
||||
asn_enc_rval_t FrameNumber_encode_uper(asn_TYPE_descriptor_t *td,
|
||||
asn_per_constraints_t *constraints,
|
||||
void *structure, asn_per_outp_t *per_out)
|
||||
asn_per_constraints_t *constraints,
|
||||
void *structure, asn_per_outp_t *per_out)
|
||||
{
|
||||
FrameNumber_1_inherit_TYPE_descriptor(td);
|
||||
return td->uper_encoder(td, constraints, structure, per_out);
|
||||
|
@ -8,17 +8,17 @@
|
||||
|
||||
static asn_TYPE_member_t asn_MBR_GANSS_AssistData_1[] = {
|
||||
{ATF_NOFLAGS, 0, offsetof(struct GANSS_AssistData, ganss_controlHeader),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_GANSS_ControlHeader,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "ganss-controlHeader"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_GANSS_ControlHeader,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "ganss-controlHeader"},
|
||||
};
|
||||
static ber_tlv_tag_t asn_DEF_GANSS_AssistData_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))};
|
||||
static asn_TYPE_tag2member_t asn_MAP_GANSS_AssistData_tag2el_1[] = {
|
||||
{(ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0,
|
||||
0} /* ganss-controlHeader at 1062 */
|
||||
0} /* ganss-controlHeader at 1062 */
|
||||
};
|
||||
static asn_SEQUENCE_specifics_t asn_SPC_GANSS_AssistData_specs_1 = {
|
||||
sizeof(struct GANSS_AssistData),
|
||||
@ -50,7 +50,7 @@ asn_TYPE_descriptor_t asn_DEF_GANSS_AssistData = {
|
||||
asn_DEF_GANSS_AssistData_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_GANSS_AssistData_tags_1) /
|
||||
sizeof(asn_DEF_GANSS_AssistData_tags_1[0]), /* 1 */
|
||||
0, /* No PER visible constraints */
|
||||
0, /* No PER visible constraints */
|
||||
asn_MBR_GANSS_AssistData_1,
|
||||
1, /* Elements count */
|
||||
&asn_SPC_GANSS_AssistData_specs_1 /* Additional specs */
|
||||
|
@ -8,28 +8,28 @@
|
||||
|
||||
static asn_TYPE_member_t asn_MBR_GANSS_ControlHeader_1[] = {
|
||||
{ATF_POINTER, 2,
|
||||
offsetof(struct GANSS_ControlHeader, ganssCommonAssistData),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_GANSSCommonAssistData,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "ganssCommonAssistData"},
|
||||
offsetof(struct GANSS_ControlHeader, ganssCommonAssistData),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_GANSSCommonAssistData,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "ganssCommonAssistData"},
|
||||
{ATF_POINTER, 1,
|
||||
offsetof(struct GANSS_ControlHeader, ganssGenericAssistDataList),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_SeqOfGANSSGenericAssistDataElement,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "ganssGenericAssistDataList"},
|
||||
offsetof(struct GANSS_ControlHeader, ganssGenericAssistDataList),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_SeqOfGANSSGenericAssistDataElement,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "ganssGenericAssistDataList"},
|
||||
};
|
||||
static int asn_MAP_GANSS_ControlHeader_oms_1[] = {0, 1};
|
||||
static ber_tlv_tag_t asn_DEF_GANSS_ControlHeader_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))};
|
||||
static asn_TYPE_tag2member_t asn_MAP_GANSS_ControlHeader_tag2el_1[] = {
|
||||
{(ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0,
|
||||
0}, /* ganssCommonAssistData at 1065 */
|
||||
0}, /* ganssCommonAssistData at 1065 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0,
|
||||
0} /* ganssGenericAssistDataList at 1066 */
|
||||
0} /* ganssGenericAssistDataList at 1066 */
|
||||
};
|
||||
static asn_SEQUENCE_specifics_t asn_SPC_GANSS_ControlHeader_specs_1 = {
|
||||
sizeof(struct GANSS_ControlHeader),
|
||||
@ -61,7 +61,7 @@ asn_TYPE_descriptor_t asn_DEF_GANSS_ControlHeader = {
|
||||
asn_DEF_GANSS_ControlHeader_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_GANSS_ControlHeader_tags_1) /
|
||||
sizeof(asn_DEF_GANSS_ControlHeader_tags_1[0]), /* 1 */
|
||||
0, /* No PER visible constraints */
|
||||
0, /* No PER visible constraints */
|
||||
asn_MBR_GANSS_ControlHeader_1,
|
||||
2, /* Elements count */
|
||||
&asn_SPC_GANSS_ControlHeader_specs_1 /* Additional specs */
|
||||
|
@ -15,7 +15,7 @@ static int memb_deltaGNASSTOD_constraint_1(
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -29,7 +29,7 @@ static int memb_deltaGNASSTOD_constraint_1(
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -42,32 +42,32 @@ static asn_per_constraints_t ASN_PER_MEMB_DELTA_GNASSTOD_CONSTR_4 = {
|
||||
};
|
||||
static asn_TYPE_member_t asn_MBR_GANSS_MsrSetElement_1[] = {
|
||||
{ATF_POINTER, 4, offsetof(struct GANSS_MsrSetElement, referenceFrame),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_ReferenceFrame,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "referenceFrame"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_ReferenceFrame,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "referenceFrame"},
|
||||
{ATF_POINTER, 3, offsetof(struct GANSS_MsrSetElement, ganssTODm),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_GANSSTODm, 0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "ganssTODm"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_GANSSTODm, 0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "ganssTODm"},
|
||||
{ATF_POINTER, 2, offsetof(struct GANSS_MsrSetElement, deltaGNASSTOD),
|
||||
(ASN_TAG_CLASS_CONTEXT | (2 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_deltaGNASSTOD_constraint_1,
|
||||
&ASN_PER_MEMB_DELTA_GNASSTOD_CONSTR_4, 0, "deltaGNASSTOD"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (2 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_deltaGNASSTOD_constraint_1,
|
||||
&ASN_PER_MEMB_DELTA_GNASSTOD_CONSTR_4, 0, "deltaGNASSTOD"},
|
||||
{ATF_POINTER, 1, offsetof(struct GANSS_MsrSetElement, ganssTODUncertainty),
|
||||
(ASN_TAG_CLASS_CONTEXT | (3 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_GANSSTODUncertainty,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "ganssTODUncertainty"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (3 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_GANSSTODUncertainty,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "ganssTODUncertainty"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct GANSS_MsrSetElement, ganss_SgnTypeList),
|
||||
(ASN_TAG_CLASS_CONTEXT | (4 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_SeqOfGANSS_SgnTypeElement,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "ganss-SgnTypeList"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (4 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_SeqOfGANSS_SgnTypeElement,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "ganss-SgnTypeList"},
|
||||
};
|
||||
static int asn_MAP_GANSS_MsrSetElement_oms_1[] = {0, 1, 2, 3};
|
||||
static ber_tlv_tag_t asn_DEF_GANSS_MsrSetElement_tags_1[] = {
|
||||
@ -77,9 +77,9 @@ static asn_TYPE_tag2member_t asn_MAP_GANSS_MsrSetElement_tag2el_1[] = {
|
||||
{(ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0}, /* ganssTODm at 1457 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0}, /* deltaGNASSTOD at 1458 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0,
|
||||
0}, /* ganssTODUncertainty at 1459 */
|
||||
0}, /* ganssTODUncertainty at 1459 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0,
|
||||
0} /* ganss-SgnTypeList at 1463 */
|
||||
0} /* ganss-SgnTypeList at 1463 */
|
||||
};
|
||||
static asn_SEQUENCE_specifics_t asn_SPC_GANSS_MsrSetElement_specs_1 = {
|
||||
sizeof(struct GANSS_MsrSetElement),
|
||||
@ -111,7 +111,7 @@ asn_TYPE_descriptor_t asn_DEF_GANSS_MsrSetElement = {
|
||||
asn_DEF_GANSS_MsrSetElement_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_GANSS_MsrSetElement_tags_1) /
|
||||
sizeof(asn_DEF_GANSS_MsrSetElement_tags_1[0]), /* 1 */
|
||||
0, /* No PER visible constraints */
|
||||
0, /* No PER visible constraints */
|
||||
asn_MBR_GANSS_MsrSetElement_1,
|
||||
5, /* Elements count */
|
||||
&asn_SPC_GANSS_MsrSetElement_specs_1 /* Additional specs */
|
||||
|
@ -10,10 +10,10 @@
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include "GANSSTODm.h"
|
||||
#include <NativeInteger.h>
|
||||
#include "GANSSTODUncertainty.h"
|
||||
#include "GANSSTODm.h"
|
||||
#include "SeqOfGANSS-SgnTypeElement.h"
|
||||
#include <NativeInteger.h>
|
||||
#include <constr_SEQUENCE.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -7,15 +7,15 @@
|
||||
#include "GANSS-SgnElement.h"
|
||||
|
||||
static int memb_cNo_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -29,7 +29,7 @@ static int memb_cNo_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -43,7 +43,7 @@ static int memb_carrierQualityInd_constraint_1(
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -57,22 +57,22 @@ static int memb_carrierQualityInd_constraint_1(
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
static int memb_codePhase_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -86,7 +86,7 @@ static int memb_codePhase_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -100,7 +100,7 @@ static int memb_integerCodePhase_constraint_1(
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -114,7 +114,7 @@ static int memb_integerCodePhase_constraint_1(
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -128,7 +128,7 @@ static int memb_codePhaseRMSError_constraint_1(
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -142,22 +142,22 @@ static int memb_codePhaseRMSError_constraint_1(
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
static int memb_doppler_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -171,21 +171,21 @@ static int memb_doppler_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
static int memb_adr_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -199,7 +199,7 @@ static int memb_adr_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -248,43 +248,43 @@ static asn_per_constraints_t ASN_PER_MEMB_ADR_CONSTR_10 = {
|
||||
};
|
||||
static asn_TYPE_member_t asn_MBR_GANSS_SgnElement_1[] = {
|
||||
{ATF_NOFLAGS, 0, offsetof(struct GANSS_SgnElement, svID),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_SVID, 0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "svID"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_SVID, 0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "svID"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct GANSS_SgnElement, cNo),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_cNo_constraint_1, &ASN_PER_MEMB_C_NO_CONSTR_3,
|
||||
0, "cNo"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_cNo_constraint_1, &ASN_PER_MEMB_C_NO_CONSTR_3,
|
||||
0, "cNo"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct GANSS_SgnElement, mpathDet),
|
||||
(ASN_TAG_CLASS_CONTEXT | (2 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_MpathIndic, 0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "mpathDet"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (2 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_MpathIndic, 0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "mpathDet"},
|
||||
{ATF_POINTER, 1, offsetof(struct GANSS_SgnElement, carrierQualityInd),
|
||||
(ASN_TAG_CLASS_CONTEXT | (3 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_carrierQualityInd_constraint_1,
|
||||
&ASN_PER_MEMB_CARRIER_QUALITY_IND_CONSTR_5, 0, "carrierQualityInd"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (3 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_carrierQualityInd_constraint_1,
|
||||
&ASN_PER_MEMB_CARRIER_QUALITY_IND_CONSTR_5, 0, "carrierQualityInd"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct GANSS_SgnElement, codePhase),
|
||||
(ASN_TAG_CLASS_CONTEXT | (4 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_codePhase_constraint_1,
|
||||
&ASN_PER_MEMB_CODE_PHASE_CONSTR_6, 0, "codePhase"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (4 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_codePhase_constraint_1,
|
||||
&ASN_PER_MEMB_CODE_PHASE_CONSTR_6, 0, "codePhase"},
|
||||
{ATF_POINTER, 1, offsetof(struct GANSS_SgnElement, integerCodePhase),
|
||||
(ASN_TAG_CLASS_CONTEXT | (5 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_integerCodePhase_constraint_1,
|
||||
&ASN_PER_MEMB_INTEGER_CODE_PHASE_CONSTR_7, 0, "integerCodePhase"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (5 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_integerCodePhase_constraint_1,
|
||||
&ASN_PER_MEMB_INTEGER_CODE_PHASE_CONSTR_7, 0, "integerCodePhase"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct GANSS_SgnElement, codePhaseRMSError),
|
||||
(ASN_TAG_CLASS_CONTEXT | (6 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_codePhaseRMSError_constraint_1,
|
||||
&ASN_PER_MEMB_CODE_PHASE_RMS_ERROR_CONSTR_8, 0, "codePhaseRMSError"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (6 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_codePhaseRMSError_constraint_1,
|
||||
&ASN_PER_MEMB_CODE_PHASE_RMS_ERROR_CONSTR_8, 0, "codePhaseRMSError"},
|
||||
{ATF_POINTER, 2, offsetof(struct GANSS_SgnElement, doppler),
|
||||
(ASN_TAG_CLASS_CONTEXT | (7 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_doppler_constraint_1,
|
||||
&ASN_PER_MEMB_DOPPLER_CONSTR_9, 0, "doppler"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (7 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_doppler_constraint_1,
|
||||
&ASN_PER_MEMB_DOPPLER_CONSTR_9, 0, "doppler"},
|
||||
{ATF_POINTER, 1, offsetof(struct GANSS_SgnElement, adr),
|
||||
(ASN_TAG_CLASS_CONTEXT | (8 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_adr_constraint_1, &ASN_PER_MEMB_ADR_CONSTR_10,
|
||||
0, "adr"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (8 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_adr_constraint_1, &ASN_PER_MEMB_ADR_CONSTR_10,
|
||||
0, "adr"},
|
||||
};
|
||||
static int asn_MAP_GANSS_SgnElement_oms_1[] = {3, 5, 7, 8};
|
||||
static ber_tlv_tag_t asn_DEF_GANSS_SgnElement_tags_1[] = {
|
||||
@ -294,12 +294,12 @@ static asn_TYPE_tag2member_t asn_MAP_GANSS_SgnElement_tag2el_1[] = {
|
||||
{(ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0}, /* cNo at 1480 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0}, /* mpathDet at 1481 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0,
|
||||
0}, /* carrierQualityInd at 1482 */
|
||||
0}, /* carrierQualityInd at 1482 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0}, /* codePhase at 1483 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0,
|
||||
0}, /* integerCodePhase at 1484 */
|
||||
0}, /* integerCodePhase at 1484 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0,
|
||||
0}, /* codePhaseRMSError at 1485 */
|
||||
0}, /* codePhaseRMSError at 1485 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0, 0}, /* doppler at 1486 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (8 << 2)), 8, 0, 0} /* adr at 1487 */
|
||||
};
|
||||
@ -333,7 +333,7 @@ asn_TYPE_descriptor_t asn_DEF_GANSS_SgnElement = {
|
||||
asn_DEF_GANSS_SgnElement_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_GANSS_SgnElement_tags_1) /
|
||||
sizeof(asn_DEF_GANSS_SgnElement_tags_1[0]), /* 1 */
|
||||
0, /* No PER visible constraints */
|
||||
0, /* No PER visible constraints */
|
||||
asn_MBR_GANSS_SgnElement_1,
|
||||
9, /* Elements count */
|
||||
&asn_SPC_GANSS_SgnElement_specs_1 /* Additional specs */
|
||||
|
@ -10,9 +10,9 @@
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include "MpathIndic.h"
|
||||
#include "SVID.h"
|
||||
#include <NativeInteger.h>
|
||||
#include "MpathIndic.h"
|
||||
#include <constr_SEQUENCE.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -15,7 +15,7 @@ static int memb_ganssSignalID_constraint_1(
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -29,7 +29,7 @@ static int memb_ganssSignalID_constraint_1(
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -42,15 +42,15 @@ static asn_per_constraints_t ASN_PER_MEMB_GANSS_SIGNAL_ID_CONSTR_2 = {
|
||||
};
|
||||
static asn_TYPE_member_t asn_MBR_GANSS_SgnTypeElement_1[] = {
|
||||
{ATF_NOFLAGS, 0, offsetof(struct GANSS_SgnTypeElement, ganssSignalID),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_ganssSignalID_constraint_1,
|
||||
&ASN_PER_MEMB_GANSS_SIGNAL_ID_CONSTR_2, 0, "ganssSignalID"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_ganssSignalID_constraint_1,
|
||||
&ASN_PER_MEMB_GANSS_SIGNAL_ID_CONSTR_2, 0, "ganssSignalID"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct GANSS_SgnTypeElement, ganss_SgnList),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_SeqOfGANSS_SgnElement,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "ganss-SgnList"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_SeqOfGANSS_SgnElement,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "ganss-SgnList"},
|
||||
};
|
||||
static ber_tlv_tag_t asn_DEF_GANSS_SgnTypeElement_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))};
|
||||
@ -88,7 +88,7 @@ asn_TYPE_descriptor_t asn_DEF_GANSS_SgnTypeElement = {
|
||||
asn_DEF_GANSS_SgnTypeElement_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_GANSS_SgnTypeElement_tags_1) /
|
||||
sizeof(asn_DEF_GANSS_SgnTypeElement_tags_1[0]), /* 1 */
|
||||
0, /* No PER visible constraints */
|
||||
0, /* No PER visible constraints */
|
||||
asn_MBR_GANSS_SgnTypeElement_1,
|
||||
2, /* Elements count */
|
||||
&asn_SPC_GANSS_SgnTypeElement_specs_1 /* Additional specs */
|
||||
|
@ -10,8 +10,8 @@
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <NativeInteger.h>
|
||||
#include "SeqOfGANSS-SgnElement.h"
|
||||
#include <NativeInteger.h>
|
||||
#include <constr_SEQUENCE.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -14,16 +14,16 @@ static asn_per_constraints_t ASN_PER_TYPE_GANSS_ALMANAC_ELEMENT_CONSTR_1 = {
|
||||
};
|
||||
static asn_TYPE_member_t asn_MBR_GANSSAlmanacElement_1[] = {
|
||||
{ATF_NOFLAGS, 0,
|
||||
offsetof(struct GANSSAlmanacElement, choice.keplerianAlmanacSet),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_Almanac_KeplerianSet,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "keplerianAlmanacSet"},
|
||||
offsetof(struct GANSSAlmanacElement, choice.keplerianAlmanacSet),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_Almanac_KeplerianSet,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "keplerianAlmanacSet"},
|
||||
};
|
||||
static asn_TYPE_tag2member_t asn_MAP_GANSSAlmanacElement_tag2el_1[] = {
|
||||
{(ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0,
|
||||
0} /* keplerianAlmanacSet at 1362 */
|
||||
0} /* keplerianAlmanacSet at 1362 */
|
||||
};
|
||||
static asn_CHOICE_specifics_t asn_SPC_GANSSAlmanacElement_specs_1 = {
|
||||
sizeof(struct GANSSAlmanacElement),
|
||||
|
@ -7,16 +7,16 @@
|
||||
#include "GANSSAlmanacModel.h"
|
||||
|
||||
static int memb_weekNumber_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -30,21 +30,21 @@ static int memb_weekNumber_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
static int memb_toa_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -58,21 +58,21 @@ static int memb_toa_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
static int memb_ioda_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -86,7 +86,7 @@ static int memb_ioda_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -111,28 +111,28 @@ static asn_per_constraints_t ASN_PER_MEMB_IODA_CONSTR_5 = {
|
||||
};
|
||||
static asn_TYPE_member_t asn_MBR_GANSSAlmanacModel_1[] = {
|
||||
{ATF_NOFLAGS, 0, offsetof(struct GANSSAlmanacModel, weekNumber),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_weekNumber_constraint_1,
|
||||
&ASN_PER_MEMB_WEEK_NUMBER_CONSTR_2, 0, "weekNumber"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_weekNumber_constraint_1,
|
||||
&ASN_PER_MEMB_WEEK_NUMBER_CONSTR_2, 0, "weekNumber"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct GANSSAlmanacModel, svIDMask),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_SVIDMASK, 0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "svIDMask"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_SVIDMASK, 0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "svIDMask"},
|
||||
{ATF_POINTER, 2, offsetof(struct GANSSAlmanacModel, toa),
|
||||
(ASN_TAG_CLASS_CONTEXT | (2 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_toa_constraint_1, &ASN_PER_MEMB_TOA_CONSTR_4,
|
||||
0, "toa"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (2 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_toa_constraint_1, &ASN_PER_MEMB_TOA_CONSTR_4,
|
||||
0, "toa"},
|
||||
{ATF_POINTER, 1, offsetof(struct GANSSAlmanacModel, ioda),
|
||||
(ASN_TAG_CLASS_CONTEXT | (3 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_ioda_constraint_1,
|
||||
&ASN_PER_MEMB_IODA_CONSTR_5, 0, "ioda"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (3 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_ioda_constraint_1,
|
||||
&ASN_PER_MEMB_IODA_CONSTR_5, 0, "ioda"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct GANSSAlmanacModel, ganssAlmanacList),
|
||||
(ASN_TAG_CLASS_CONTEXT | (4 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_SeqOfGANSSAlmanacElement,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "ganssAlmanacList"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (4 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_SeqOfGANSSAlmanacElement,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "ganssAlmanacList"},
|
||||
};
|
||||
static int asn_MAP_GANSSAlmanacModel_oms_1[] = {2, 3};
|
||||
static ber_tlv_tag_t asn_DEF_GANSSAlmanacModel_tags_1[] = {
|
||||
@ -142,7 +142,7 @@ static asn_TYPE_tag2member_t asn_MAP_GANSSAlmanacModel_tag2el_1[] = {
|
||||
{(ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0}, /* svIDMask at 1349 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0}, /* toa at 1350 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0}, /* ioda at 1351 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0} /* ganssAlmanacList at 1353 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0} /* ganssAlmanacList at 1353 */
|
||||
};
|
||||
static asn_SEQUENCE_specifics_t asn_SPC_GANSSAlmanacModel_specs_1 = {
|
||||
sizeof(struct GANSSAlmanacModel),
|
||||
@ -174,7 +174,7 @@ asn_TYPE_descriptor_t asn_DEF_GANSSAlmanacModel = {
|
||||
asn_DEF_GANSSAlmanacModel_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_GANSSAlmanacModel_tags_1) /
|
||||
sizeof(asn_DEF_GANSSAlmanacModel_tags_1[0]), /* 1 */
|
||||
0, /* No PER visible constraints */
|
||||
0, /* No PER visible constraints */
|
||||
asn_MBR_GANSSAlmanacModel_1,
|
||||
5, /* Elements count */
|
||||
&asn_SPC_GANSSAlmanacModel_specs_1 /* Additional specs */
|
||||
|
@ -10,9 +10,9 @@
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <NativeInteger.h>
|
||||
#include "SVIDMASK.h"
|
||||
#include "SeqOfGANSSAlmanacElement.h"
|
||||
#include <NativeInteger.h>
|
||||
#include <constr_SEQUENCE.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -7,8 +7,8 @@
|
||||
#include "GANSSAssistanceData.h"
|
||||
|
||||
int GANSSAssistanceData_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
{
|
||||
const OCTET_STRING_t *st = (const OCTET_STRING_t *)sptr;
|
||||
size_t size;
|
||||
@ -16,7 +16,7 @@ int GANSSAssistanceData_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -30,7 +30,7 @@ int GANSSAssistanceData_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -58,57 +58,57 @@ static void GANSSAssistanceData_1_inherit_TYPE_descriptor(
|
||||
}
|
||||
|
||||
void GANSSAssistanceData_free(asn_TYPE_descriptor_t *td, void *struct_ptr,
|
||||
int contents_only)
|
||||
int contents_only)
|
||||
{
|
||||
GANSSAssistanceData_1_inherit_TYPE_descriptor(td);
|
||||
td->free_struct(td, struct_ptr, contents_only);
|
||||
}
|
||||
|
||||
int GANSSAssistanceData_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
|
||||
int ilevel, asn_app_consume_bytes_f *cb,
|
||||
void *app_key)
|
||||
int ilevel, asn_app_consume_bytes_f *cb,
|
||||
void *app_key)
|
||||
{
|
||||
GANSSAssistanceData_1_inherit_TYPE_descriptor(td);
|
||||
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
|
||||
}
|
||||
|
||||
asn_dec_rval_t GANSSAssistanceData_decode_ber(asn_codec_ctx_t *opt_codec_ctx,
|
||||
asn_TYPE_descriptor_t *td,
|
||||
void **structure,
|
||||
const void *bufptr, size_t size,
|
||||
int tag_mode)
|
||||
asn_TYPE_descriptor_t *td,
|
||||
void **structure,
|
||||
const void *bufptr, size_t size,
|
||||
int tag_mode)
|
||||
{
|
||||
GANSSAssistanceData_1_inherit_TYPE_descriptor(td);
|
||||
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size,
|
||||
tag_mode);
|
||||
tag_mode);
|
||||
}
|
||||
|
||||
asn_enc_rval_t GANSSAssistanceData_encode_der(asn_TYPE_descriptor_t *td,
|
||||
void *structure, int tag_mode,
|
||||
ber_tlv_tag_t tag,
|
||||
asn_app_consume_bytes_f *cb,
|
||||
void *app_key)
|
||||
void *structure, int tag_mode,
|
||||
ber_tlv_tag_t tag,
|
||||
asn_app_consume_bytes_f *cb,
|
||||
void *app_key)
|
||||
{
|
||||
GANSSAssistanceData_1_inherit_TYPE_descriptor(td);
|
||||
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
|
||||
}
|
||||
|
||||
asn_dec_rval_t GANSSAssistanceData_decode_xer(asn_codec_ctx_t *opt_codec_ctx,
|
||||
asn_TYPE_descriptor_t *td,
|
||||
void **structure,
|
||||
const char *opt_mname,
|
||||
const void *bufptr, size_t size)
|
||||
asn_TYPE_descriptor_t *td,
|
||||
void **structure,
|
||||
const char *opt_mname,
|
||||
const void *bufptr, size_t size)
|
||||
{
|
||||
GANSSAssistanceData_1_inherit_TYPE_descriptor(td);
|
||||
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr,
|
||||
size);
|
||||
size);
|
||||
}
|
||||
|
||||
asn_enc_rval_t GANSSAssistanceData_encode_xer(asn_TYPE_descriptor_t *td,
|
||||
void *structure, int ilevel,
|
||||
enum xer_encoder_flags_e flags,
|
||||
asn_app_consume_bytes_f *cb,
|
||||
void *app_key)
|
||||
void *structure, int ilevel,
|
||||
enum xer_encoder_flags_e flags,
|
||||
asn_app_consume_bytes_f *cb,
|
||||
void *app_key)
|
||||
{
|
||||
GANSSAssistanceData_1_inherit_TYPE_descriptor(td);
|
||||
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
|
||||
@ -121,7 +121,7 @@ asn_dec_rval_t GANSSAssistanceData_decode_uper(
|
||||
{
|
||||
GANSSAssistanceData_1_inherit_TYPE_descriptor(td);
|
||||
return td->uper_decoder(opt_codec_ctx, td, constraints, structure,
|
||||
per_data);
|
||||
per_data);
|
||||
}
|
||||
|
||||
asn_enc_rval_t GANSSAssistanceData_encode_uper(
|
||||
|
@ -14,16 +14,16 @@ static asn_per_constraints_t ASN_PER_TYPE_GANSS_CLOCK_MODEL_CONSTR_1 = {
|
||||
};
|
||||
static asn_TYPE_member_t asn_MBR_GANSSClockModel_1[] = {
|
||||
{ATF_NOFLAGS, 0,
|
||||
offsetof(struct GANSSClockModel, choice.standardClockModelList),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_SeqOfStandardClockModelElement,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "standardClockModelList"},
|
||||
offsetof(struct GANSSClockModel, choice.standardClockModelList),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_SeqOfStandardClockModelElement,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "standardClockModelList"},
|
||||
};
|
||||
static asn_TYPE_tag2member_t asn_MAP_GANSSClockModel_tag2el_1[] = {
|
||||
{(ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0,
|
||||
0} /* standardClockModelList at 1274 */
|
||||
0} /* standardClockModelList at 1274 */
|
||||
};
|
||||
static asn_CHOICE_specifics_t asn_SPC_GANSSClockModel_specs_1 = {
|
||||
sizeof(struct GANSSClockModel),
|
||||
|
@ -8,35 +8,35 @@
|
||||
|
||||
static asn_TYPE_member_t asn_MBR_GANSSCommonAssistData_1[] = {
|
||||
{ATF_POINTER, 3, offsetof(struct GANSSCommonAssistData, ganssReferenceTime),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_GANSSReferenceTime,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "ganssReferenceTime"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_GANSSReferenceTime,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "ganssReferenceTime"},
|
||||
{ATF_POINTER, 2, offsetof(struct GANSSCommonAssistData, ganssRefLocation),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_GANSSRefLocation,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "ganssRefLocation"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_GANSSRefLocation,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "ganssRefLocation"},
|
||||
{ATF_POINTER, 1,
|
||||
offsetof(struct GANSSCommonAssistData, ganssIonosphericModel),
|
||||
(ASN_TAG_CLASS_CONTEXT | (2 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_GANSSIonosphericModel,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "ganssIonosphericModel"},
|
||||
offsetof(struct GANSSCommonAssistData, ganssIonosphericModel),
|
||||
(ASN_TAG_CLASS_CONTEXT | (2 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_GANSSIonosphericModel,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "ganssIonosphericModel"},
|
||||
};
|
||||
static int asn_MAP_GANSSCommonAssistData_oms_1[] = {0, 1, 2};
|
||||
static ber_tlv_tag_t asn_DEF_GANSSCommonAssistData_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))};
|
||||
static asn_TYPE_tag2member_t asn_MAP_GANSSCommonAssistData_tag2el_1[] = {
|
||||
{(ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0,
|
||||
0}, /* ganssReferenceTime at 1071 */
|
||||
0}, /* ganssReferenceTime at 1071 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0,
|
||||
0}, /* ganssRefLocation at 1072 */
|
||||
0}, /* ganssRefLocation at 1072 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0,
|
||||
0} /* ganssIonosphericModel at 1073 */
|
||||
0} /* ganssIonosphericModel at 1073 */
|
||||
};
|
||||
static asn_SEQUENCE_specifics_t asn_SPC_GANSSCommonAssistData_specs_1 = {
|
||||
sizeof(struct GANSSCommonAssistData),
|
||||
@ -68,7 +68,7 @@ asn_TYPE_descriptor_t asn_DEF_GANSSCommonAssistData = {
|
||||
asn_DEF_GANSSCommonAssistData_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_GANSSCommonAssistData_tags_1) /
|
||||
sizeof(asn_DEF_GANSSCommonAssistData_tags_1[0]), /* 1 */
|
||||
0, /* No PER visible constraints */
|
||||
0, /* No PER visible constraints */
|
||||
asn_MBR_GANSSCommonAssistData_1,
|
||||
3, /* Elements count */
|
||||
&asn_SPC_GANSSCommonAssistData_specs_1 /* Additional specs */
|
||||
|
@ -45,9 +45,9 @@ extern "C"
|
||||
#endif
|
||||
|
||||
/* Referred external types */
|
||||
#include "GANSSReferenceTime.h"
|
||||
#include "GANSSRefLocation.h"
|
||||
#include "GANSSIonosphericModel.h"
|
||||
#include "GANSSRefLocation.h"
|
||||
#include "GANSSReferenceTime.h"
|
||||
|
||||
#endif /* _GANSSCommonAssistData_H_ */
|
||||
#include <asn_internal.h>
|
||||
|
@ -7,15 +7,15 @@
|
||||
#include "GANSSDataBit.h"
|
||||
|
||||
int GANSSDataBit_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -29,7 +29,7 @@ int GANSSDataBit_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -56,74 +56,74 @@ static void GANSSDataBit_1_inherit_TYPE_descriptor(asn_TYPE_descriptor_t *td)
|
||||
}
|
||||
|
||||
void GANSSDataBit_free(asn_TYPE_descriptor_t *td, void *struct_ptr,
|
||||
int contents_only)
|
||||
int contents_only)
|
||||
{
|
||||
GANSSDataBit_1_inherit_TYPE_descriptor(td);
|
||||
td->free_struct(td, struct_ptr, contents_only);
|
||||
}
|
||||
|
||||
int GANSSDataBit_print(asn_TYPE_descriptor_t *td, const void *struct_ptr,
|
||||
int ilevel, asn_app_consume_bytes_f *cb, void *app_key)
|
||||
int ilevel, asn_app_consume_bytes_f *cb, void *app_key)
|
||||
{
|
||||
GANSSDataBit_1_inherit_TYPE_descriptor(td);
|
||||
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
|
||||
}
|
||||
|
||||
asn_dec_rval_t GANSSDataBit_decode_ber(asn_codec_ctx_t *opt_codec_ctx,
|
||||
asn_TYPE_descriptor_t *td,
|
||||
void **structure, const void *bufptr,
|
||||
size_t size, int tag_mode)
|
||||
asn_TYPE_descriptor_t *td,
|
||||
void **structure, const void *bufptr,
|
||||
size_t size, int tag_mode)
|
||||
{
|
||||
GANSSDataBit_1_inherit_TYPE_descriptor(td);
|
||||
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size,
|
||||
tag_mode);
|
||||
tag_mode);
|
||||
}
|
||||
|
||||
asn_enc_rval_t GANSSDataBit_encode_der(asn_TYPE_descriptor_t *td,
|
||||
void *structure, int tag_mode,
|
||||
ber_tlv_tag_t tag,
|
||||
asn_app_consume_bytes_f *cb,
|
||||
void *app_key)
|
||||
void *structure, int tag_mode,
|
||||
ber_tlv_tag_t tag,
|
||||
asn_app_consume_bytes_f *cb,
|
||||
void *app_key)
|
||||
{
|
||||
GANSSDataBit_1_inherit_TYPE_descriptor(td);
|
||||
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
|
||||
}
|
||||
|
||||
asn_dec_rval_t GANSSDataBit_decode_xer(asn_codec_ctx_t *opt_codec_ctx,
|
||||
asn_TYPE_descriptor_t *td,
|
||||
void **structure, const char *opt_mname,
|
||||
const void *bufptr, size_t size)
|
||||
asn_TYPE_descriptor_t *td,
|
||||
void **structure, const char *opt_mname,
|
||||
const void *bufptr, size_t size)
|
||||
{
|
||||
GANSSDataBit_1_inherit_TYPE_descriptor(td);
|
||||
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr,
|
||||
size);
|
||||
size);
|
||||
}
|
||||
|
||||
asn_enc_rval_t GANSSDataBit_encode_xer(asn_TYPE_descriptor_t *td,
|
||||
void *structure, int ilevel,
|
||||
enum xer_encoder_flags_e flags,
|
||||
asn_app_consume_bytes_f *cb,
|
||||
void *app_key)
|
||||
void *structure, int ilevel,
|
||||
enum xer_encoder_flags_e flags,
|
||||
asn_app_consume_bytes_f *cb,
|
||||
void *app_key)
|
||||
{
|
||||
GANSSDataBit_1_inherit_TYPE_descriptor(td);
|
||||
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
|
||||
}
|
||||
|
||||
asn_dec_rval_t GANSSDataBit_decode_uper(asn_codec_ctx_t *opt_codec_ctx,
|
||||
asn_TYPE_descriptor_t *td,
|
||||
asn_per_constraints_t *constraints,
|
||||
void **structure,
|
||||
asn_per_data_t *per_data)
|
||||
asn_TYPE_descriptor_t *td,
|
||||
asn_per_constraints_t *constraints,
|
||||
void **structure,
|
||||
asn_per_data_t *per_data)
|
||||
{
|
||||
GANSSDataBit_1_inherit_TYPE_descriptor(td);
|
||||
return td->uper_decoder(opt_codec_ctx, td, constraints, structure,
|
||||
per_data);
|
||||
per_data);
|
||||
}
|
||||
|
||||
asn_enc_rval_t GANSSDataBit_encode_uper(asn_TYPE_descriptor_t *td,
|
||||
asn_per_constraints_t *constraints,
|
||||
void *structure,
|
||||
asn_per_outp_t *per_out)
|
||||
asn_per_constraints_t *constraints,
|
||||
void *structure,
|
||||
asn_per_outp_t *per_out)
|
||||
{
|
||||
GANSSDataBit_1_inherit_TYPE_descriptor(td);
|
||||
return td->uper_encoder(td, constraints, structure, per_out);
|
||||
|
@ -7,16 +7,16 @@
|
||||
#include "GANSSDataBitAssist.h"
|
||||
|
||||
static int memb_ganssTOD_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -30,7 +30,7 @@ static int memb_ganssTOD_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -44,7 +44,7 @@ static int memb_ganssDataTypeID_constraint_1(
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -58,7 +58,7 @@ static int memb_ganssDataTypeID_constraint_1(
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -77,24 +77,24 @@ static asn_per_constraints_t ASN_PER_MEMB_GANSS_DATA_TYPE_ID_CONSTR_4 = {
|
||||
};
|
||||
static asn_TYPE_member_t asn_MBR_GANSSDataBitAssist_1[] = {
|
||||
{ATF_NOFLAGS, 0, offsetof(struct GANSSDataBitAssist, ganssTOD),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_ganssTOD_constraint_1,
|
||||
&ASN_PER_MEMB_GANSS_TOD_CONSTR_2, 0, "ganssTOD"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_ganssTOD_constraint_1,
|
||||
&ASN_PER_MEMB_GANSS_TOD_CONSTR_2, 0, "ganssTOD"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct GANSSDataBitAssist, svID),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_SVID, 0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "svID"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_SVID, 0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "svID"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct GANSSDataBitAssist, ganssDataTypeID),
|
||||
(ASN_TAG_CLASS_CONTEXT | (2 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_ganssDataTypeID_constraint_1,
|
||||
&ASN_PER_MEMB_GANSS_DATA_TYPE_ID_CONSTR_4, 0, "ganssDataTypeID"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (2 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_ganssDataTypeID_constraint_1,
|
||||
&ASN_PER_MEMB_GANSS_DATA_TYPE_ID_CONSTR_4, 0, "ganssDataTypeID"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct GANSSDataBitAssist, ganssDataBits),
|
||||
(ASN_TAG_CLASS_CONTEXT | (3 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_SeqOf_GANSSDataBits,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "ganssDataBits"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (3 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_SeqOf_GANSSDataBits,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "ganssDataBits"},
|
||||
};
|
||||
static ber_tlv_tag_t asn_DEF_GANSSDataBitAssist_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))};
|
||||
@ -134,7 +134,7 @@ asn_TYPE_descriptor_t asn_DEF_GANSSDataBitAssist = {
|
||||
asn_DEF_GANSSDataBitAssist_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_GANSSDataBitAssist_tags_1) /
|
||||
sizeof(asn_DEF_GANSSDataBitAssist_tags_1[0]), /* 1 */
|
||||
0, /* No PER visible constraints */
|
||||
0, /* No PER visible constraints */
|
||||
asn_MBR_GANSSDataBitAssist_1,
|
||||
4, /* Elements count */
|
||||
&asn_SPC_GANSSDataBitAssist_specs_1 /* Additional specs */
|
||||
|
@ -10,9 +10,9 @@
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <NativeInteger.h>
|
||||
#include "SVID.h"
|
||||
#include "SeqOf-GANSSDataBits.h"
|
||||
#include <NativeInteger.h>
|
||||
#include <constr_SEQUENCE.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -15,7 +15,7 @@ static int memb_dganssRefTime_constraint_1(
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -29,7 +29,7 @@ static int memb_dganssRefTime_constraint_1(
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -42,15 +42,15 @@ static asn_per_constraints_t ASN_PER_MEMB_DGANSS_REF_TIME_CONSTR_2 = {
|
||||
};
|
||||
static asn_TYPE_member_t asn_MBR_GANSSDiffCorrections_1[] = {
|
||||
{ATF_NOFLAGS, 0, offsetof(struct GANSSDiffCorrections, dganssRefTime),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_dganssRefTime_constraint_1,
|
||||
&ASN_PER_MEMB_DGANSS_REF_TIME_CONSTR_2, 0, "dganssRefTime"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_dganssRefTime_constraint_1,
|
||||
&ASN_PER_MEMB_DGANSS_REF_TIME_CONSTR_2, 0, "dganssRefTime"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct GANSSDiffCorrections, sgnTypeList),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_SeqOfSgnTypeElement,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "sgnTypeList"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_SeqOfSgnTypeElement,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "sgnTypeList"},
|
||||
};
|
||||
static ber_tlv_tag_t asn_DEF_GANSSDiffCorrections_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))};
|
||||
@ -88,7 +88,7 @@ asn_TYPE_descriptor_t asn_DEF_GANSSDiffCorrections = {
|
||||
asn_DEF_GANSSDiffCorrections_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_GANSSDiffCorrections_tags_1) /
|
||||
sizeof(asn_DEF_GANSSDiffCorrections_tags_1[0]), /* 1 */
|
||||
0, /* No PER visible constraints */
|
||||
0, /* No PER visible constraints */
|
||||
asn_MBR_GANSSDiffCorrections_1,
|
||||
2, /* Elements count */
|
||||
&asn_SPC_GANSSDiffCorrections_specs_1 /* Additional specs */
|
||||
|
@ -10,8 +10,8 @@
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <NativeInteger.h>
|
||||
#include "SeqOfSgnTypeElement.h"
|
||||
#include <NativeInteger.h>
|
||||
#include <constr_SEQUENCE.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -7,16 +7,16 @@
|
||||
#include "GANSSGenericAssistDataElement.h"
|
||||
|
||||
static int memb_ganssID_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -30,7 +30,7 @@ static int memb_ganssID_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -43,96 +43,96 @@ static asn_per_constraints_t ASN_PER_MEMB_GANSS_ID_CONSTR_2 = {
|
||||
};
|
||||
static asn_TYPE_member_t asn_MBR_GANSSGenericAssistDataElement_1[] = {
|
||||
{ATF_POINTER, 9, offsetof(struct GANSSGenericAssistDataElement, ganssID),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_ganssID_constraint_1,
|
||||
&ASN_PER_MEMB_GANSS_ID_CONSTR_2, 0, "ganssID"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_ganssID_constraint_1,
|
||||
&ASN_PER_MEMB_GANSS_ID_CONSTR_2, 0, "ganssID"},
|
||||
{ATF_POINTER, 8,
|
||||
offsetof(struct GANSSGenericAssistDataElement, ganssTimeModel),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_SeqOfGANSSTimeModel,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "ganssTimeModel"},
|
||||
offsetof(struct GANSSGenericAssistDataElement, ganssTimeModel),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_SeqOfGANSSTimeModel,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "ganssTimeModel"},
|
||||
{ATF_POINTER, 7,
|
||||
offsetof(struct GANSSGenericAssistDataElement, ganssDiffCorrections),
|
||||
(ASN_TAG_CLASS_CONTEXT | (2 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_GANSSDiffCorrections,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "ganssDiffCorrections"},
|
||||
offsetof(struct GANSSGenericAssistDataElement, ganssDiffCorrections),
|
||||
(ASN_TAG_CLASS_CONTEXT | (2 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_GANSSDiffCorrections,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "ganssDiffCorrections"},
|
||||
{ATF_POINTER, 6,
|
||||
offsetof(struct GANSSGenericAssistDataElement, ganssNavigationModel),
|
||||
(ASN_TAG_CLASS_CONTEXT | (3 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_GANSSNavModel,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "ganssNavigationModel"},
|
||||
offsetof(struct GANSSGenericAssistDataElement, ganssNavigationModel),
|
||||
(ASN_TAG_CLASS_CONTEXT | (3 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_GANSSNavModel,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "ganssNavigationModel"},
|
||||
{ATF_POINTER, 5,
|
||||
offsetof(struct GANSSGenericAssistDataElement, ganssRealTimeIntegrity),
|
||||
(ASN_TAG_CLASS_CONTEXT | (4 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_GANSSRealTimeIntegrity,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "ganssRealTimeIntegrity"},
|
||||
offsetof(struct GANSSGenericAssistDataElement, ganssRealTimeIntegrity),
|
||||
(ASN_TAG_CLASS_CONTEXT | (4 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_GANSSRealTimeIntegrity,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "ganssRealTimeIntegrity"},
|
||||
{ATF_POINTER, 4,
|
||||
offsetof(struct GANSSGenericAssistDataElement, ganssDataBitAssist),
|
||||
(ASN_TAG_CLASS_CONTEXT | (5 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_GANSSDataBitAssist,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "ganssDataBitAssist"},
|
||||
offsetof(struct GANSSGenericAssistDataElement, ganssDataBitAssist),
|
||||
(ASN_TAG_CLASS_CONTEXT | (5 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_GANSSDataBitAssist,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "ganssDataBitAssist"},
|
||||
{ATF_POINTER, 3,
|
||||
offsetof(struct GANSSGenericAssistDataElement, ganssRefMeasurementAssist),
|
||||
(ASN_TAG_CLASS_CONTEXT | (6 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_GANSSRefMeasurementAssist,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "ganssRefMeasurementAssist"},
|
||||
offsetof(struct GANSSGenericAssistDataElement, ganssRefMeasurementAssist),
|
||||
(ASN_TAG_CLASS_CONTEXT | (6 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_GANSSRefMeasurementAssist,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "ganssRefMeasurementAssist"},
|
||||
{ATF_POINTER, 2,
|
||||
offsetof(struct GANSSGenericAssistDataElement, ganssAlmanacModel),
|
||||
(ASN_TAG_CLASS_CONTEXT | (7 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_GANSSAlmanacModel,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "ganssAlmanacModel"},
|
||||
offsetof(struct GANSSGenericAssistDataElement, ganssAlmanacModel),
|
||||
(ASN_TAG_CLASS_CONTEXT | (7 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_GANSSAlmanacModel,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "ganssAlmanacModel"},
|
||||
{ATF_POINTER, 1,
|
||||
offsetof(struct GANSSGenericAssistDataElement, ganssUTCModel),
|
||||
(ASN_TAG_CLASS_CONTEXT | (8 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_GANSSUTCModel,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "ganssUTCModel"},
|
||||
offsetof(struct GANSSGenericAssistDataElement, ganssUTCModel),
|
||||
(ASN_TAG_CLASS_CONTEXT | (8 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_GANSSUTCModel,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "ganssUTCModel"},
|
||||
};
|
||||
static int asn_MAP_GANSSGenericAssistDataElement_oms_1[] = {0, 1, 2, 3, 4,
|
||||
5, 6, 7, 8};
|
||||
5, 6, 7, 8};
|
||||
static ber_tlv_tag_t asn_DEF_GANSSGenericAssistDataElement_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))};
|
||||
static asn_TYPE_tag2member_t asn_MAP_GANSSGenericAssistDataElement_tag2el_1[] =
|
||||
{
|
||||
{(ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0}, /* ganssID at 1082 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0,
|
||||
0}, /* ganssTimeModel at 1083 */
|
||||
0}, /* ganssTimeModel at 1083 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0,
|
||||
0}, /* ganssDiffCorrections at 1084 */
|
||||
0}, /* ganssDiffCorrections at 1084 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0,
|
||||
0}, /* ganssNavigationModel at 1085 */
|
||||
0}, /* ganssNavigationModel at 1085 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0,
|
||||
0}, /* ganssRealTimeIntegrity at 1086 */
|
||||
0}, /* ganssRealTimeIntegrity at 1086 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0,
|
||||
0}, /* ganssDataBitAssist at 1087 */
|
||||
0}, /* ganssDataBitAssist at 1087 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0,
|
||||
0}, /* ganssRefMeasurementAssist at 1088 */
|
||||
0}, /* ganssRefMeasurementAssist at 1088 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0,
|
||||
0}, /* ganssAlmanacModel at 1089 */
|
||||
0}, /* ganssAlmanacModel at 1089 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (8 << 2)), 8, 0,
|
||||
0} /* ganssUTCModel at 1090 */
|
||||
0} /* ganssUTCModel at 1090 */
|
||||
};
|
||||
static asn_SEQUENCE_specifics_t asn_SPC_GANSSGenericAssistDataElement_specs_1 =
|
||||
{
|
||||
sizeof(struct GANSSGenericAssistDataElement),
|
||||
offsetof(struct GANSSGenericAssistDataElement, _asn_ctx),
|
||||
asn_MAP_GANSSGenericAssistDataElement_tag2el_1,
|
||||
9, /* Count of tags in the map */
|
||||
9, /* Count of tags in the map */
|
||||
asn_MAP_GANSSGenericAssistDataElement_oms_1, /* Optional members */
|
||||
9,
|
||||
0, /* Root/Additions */
|
||||
@ -155,10 +155,10 @@ asn_TYPE_descriptor_t asn_DEF_GANSSGenericAssistDataElement = {
|
||||
asn_DEF_GANSSGenericAssistDataElement_tags_1,
|
||||
sizeof(asn_DEF_GANSSGenericAssistDataElement_tags_1) /
|
||||
sizeof(asn_DEF_GANSSGenericAssistDataElement_tags_1[0]), /* 1 */
|
||||
asn_DEF_GANSSGenericAssistDataElement_tags_1, /* Same as above */
|
||||
asn_DEF_GANSSGenericAssistDataElement_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_GANSSGenericAssistDataElement_tags_1) /
|
||||
sizeof(asn_DEF_GANSSGenericAssistDataElement_tags_1[0]), /* 1 */
|
||||
0, /* No PER visible constraints */
|
||||
0, /* No PER visible constraints */
|
||||
asn_MBR_GANSSGenericAssistDataElement_1,
|
||||
9, /* Elements count */
|
||||
&asn_SPC_GANSSGenericAssistDataElement_specs_1 /* Additional specs */
|
||||
|
@ -58,14 +58,14 @@ extern "C"
|
||||
#endif
|
||||
|
||||
/* Referred external types */
|
||||
#include "SeqOfGANSSTimeModel.h"
|
||||
#include "GANSSAlmanacModel.h"
|
||||
#include "GANSSDataBitAssist.h"
|
||||
#include "GANSSDiffCorrections.h"
|
||||
#include "GANSSNavModel.h"
|
||||
#include "GANSSRealTimeIntegrity.h"
|
||||
#include "GANSSDataBitAssist.h"
|
||||
#include "GANSSRefMeasurementAssist.h"
|
||||
#include "GANSSAlmanacModel.h"
|
||||
#include "GANSSUTCModel.h"
|
||||
#include "SeqOfGANSSTimeModel.h"
|
||||
|
||||
#endif /* _GANSSGenericAssistDataElement_H_ */
|
||||
#include <asn_internal.h>
|
||||
|
@ -15,7 +15,7 @@ static int memb_ionoStormFlag1_constraint_1(
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -29,7 +29,7 @@ static int memb_ionoStormFlag1_constraint_1(
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -43,7 +43,7 @@ static int memb_ionoStormFlag2_constraint_1(
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -57,7 +57,7 @@ static int memb_ionoStormFlag2_constraint_1(
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -71,7 +71,7 @@ static int memb_ionoStormFlag3_constraint_1(
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -85,7 +85,7 @@ static int memb_ionoStormFlag3_constraint_1(
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -99,7 +99,7 @@ static int memb_ionoStormFlag4_constraint_1(
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -113,7 +113,7 @@ static int memb_ionoStormFlag4_constraint_1(
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -127,7 +127,7 @@ static int memb_ionoStormFlag5_constraint_1(
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -141,7 +141,7 @@ static int memb_ionoStormFlag5_constraint_1(
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -178,25 +178,25 @@ static asn_per_constraints_t ASN_PER_MEMB_IONO_STORM_FLAG5_CONSTR_6 = {
|
||||
};
|
||||
static asn_TYPE_member_t asn_MBR_GANSSIonoStormFlags_1[] = {
|
||||
{ATF_NOFLAGS, 0, offsetof(struct GANSSIonoStormFlags, ionoStormFlag1),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_ionoStormFlag1_constraint_1,
|
||||
&ASN_PER_MEMB_IONO_STORM_FLAG1_CONSTR_2, 0, "ionoStormFlag1"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_ionoStormFlag1_constraint_1,
|
||||
&ASN_PER_MEMB_IONO_STORM_FLAG1_CONSTR_2, 0, "ionoStormFlag1"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct GANSSIonoStormFlags, ionoStormFlag2),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_ionoStormFlag2_constraint_1,
|
||||
&ASN_PER_MEMB_IONO_STORM_FLAG2_CONSTR_3, 0, "ionoStormFlag2"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_ionoStormFlag2_constraint_1,
|
||||
&ASN_PER_MEMB_IONO_STORM_FLAG2_CONSTR_3, 0, "ionoStormFlag2"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct GANSSIonoStormFlags, ionoStormFlag3),
|
||||
(ASN_TAG_CLASS_CONTEXT | (2 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_ionoStormFlag3_constraint_1,
|
||||
&ASN_PER_MEMB_IONO_STORM_FLAG3_CONSTR_4, 0, "ionoStormFlag3"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (2 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_ionoStormFlag3_constraint_1,
|
||||
&ASN_PER_MEMB_IONO_STORM_FLAG3_CONSTR_4, 0, "ionoStormFlag3"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct GANSSIonoStormFlags, ionoStormFlag4),
|
||||
(ASN_TAG_CLASS_CONTEXT | (3 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_ionoStormFlag4_constraint_1,
|
||||
&ASN_PER_MEMB_IONO_STORM_FLAG4_CONSTR_5, 0, "ionoStormFlag4"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (3 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_ionoStormFlag4_constraint_1,
|
||||
&ASN_PER_MEMB_IONO_STORM_FLAG4_CONSTR_5, 0, "ionoStormFlag4"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct GANSSIonoStormFlags, ionoStormFlag5),
|
||||
(ASN_TAG_CLASS_CONTEXT | (4 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_ionoStormFlag5_constraint_1,
|
||||
&ASN_PER_MEMB_IONO_STORM_FLAG5_CONSTR_6, 0, "ionoStormFlag5"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (4 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_ionoStormFlag5_constraint_1,
|
||||
&ASN_PER_MEMB_IONO_STORM_FLAG5_CONSTR_6, 0, "ionoStormFlag5"},
|
||||
};
|
||||
static ber_tlv_tag_t asn_DEF_GANSSIonoStormFlags_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))};
|
||||
@ -237,7 +237,7 @@ asn_TYPE_descriptor_t asn_DEF_GANSSIonoStormFlags = {
|
||||
asn_DEF_GANSSIonoStormFlags_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_GANSSIonoStormFlags_tags_1) /
|
||||
sizeof(asn_DEF_GANSSIonoStormFlags_tags_1[0]), /* 1 */
|
||||
0, /* No PER visible constraints */
|
||||
0, /* No PER visible constraints */
|
||||
asn_MBR_GANSSIonoStormFlags_1,
|
||||
5, /* Elements count */
|
||||
&asn_SPC_GANSSIonoStormFlags_specs_1 /* Additional specs */
|
||||
|
@ -7,15 +7,15 @@
|
||||
#include "GANSSIonosphereModel.h"
|
||||
|
||||
static int memb_ai0_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -29,21 +29,21 @@ static int memb_ai0_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
static int memb_ai1_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -57,21 +57,21 @@ static int memb_ai1_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
static int memb_ai2_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -85,7 +85,7 @@ static int memb_ai2_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -110,17 +110,17 @@ static asn_per_constraints_t ASN_PER_MEMB_AI2_CONSTR_4 = {
|
||||
};
|
||||
static asn_TYPE_member_t asn_MBR_GANSSIonosphereModel_1[] = {
|
||||
{ATF_NOFLAGS, 0, offsetof(struct GANSSIonosphereModel, ai0),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_ai0_constraint_1, &ASN_PER_MEMB_AI0_CONSTR_2,
|
||||
0, "ai0"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_ai0_constraint_1, &ASN_PER_MEMB_AI0_CONSTR_2,
|
||||
0, "ai0"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct GANSSIonosphereModel, ai1),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_ai1_constraint_1, &ASN_PER_MEMB_AI1_CONSTR_3,
|
||||
0, "ai1"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_ai1_constraint_1, &ASN_PER_MEMB_AI1_CONSTR_3,
|
||||
0, "ai1"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct GANSSIonosphereModel, ai2),
|
||||
(ASN_TAG_CLASS_CONTEXT | (2 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_ai2_constraint_1, &ASN_PER_MEMB_AI2_CONSTR_4,
|
||||
0, "ai2"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (2 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_ai2_constraint_1, &ASN_PER_MEMB_AI2_CONSTR_4,
|
||||
0, "ai2"},
|
||||
};
|
||||
static ber_tlv_tag_t asn_DEF_GANSSIonosphereModel_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))};
|
||||
@ -159,7 +159,7 @@ asn_TYPE_descriptor_t asn_DEF_GANSSIonosphereModel = {
|
||||
asn_DEF_GANSSIonosphereModel_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_GANSSIonosphereModel_tags_1) /
|
||||
sizeof(asn_DEF_GANSSIonosphereModel_tags_1[0]), /* 1 */
|
||||
0, /* No PER visible constraints */
|
||||
0, /* No PER visible constraints */
|
||||
asn_MBR_GANSSIonosphereModel_1,
|
||||
3, /* Elements count */
|
||||
&asn_SPC_GANSSIonosphereModel_specs_1 /* Additional specs */
|
||||
|
@ -8,18 +8,18 @@
|
||||
|
||||
static asn_TYPE_member_t asn_MBR_GANSSIonosphericModel_1[] = {
|
||||
{ATF_NOFLAGS, 0, offsetof(struct GANSSIonosphericModel, ganssIonoModel),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_GANSSIonosphereModel,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "ganssIonoModel"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_GANSSIonosphereModel,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "ganssIonoModel"},
|
||||
{ATF_POINTER, 1,
|
||||
offsetof(struct GANSSIonosphericModel, ganssIonoStormFlags),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_GANSSIonoStormFlags,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "ganssIonoStormFlags"},
|
||||
offsetof(struct GANSSIonosphericModel, ganssIonoStormFlags),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_GANSSIonoStormFlags,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "ganssIonoStormFlags"},
|
||||
};
|
||||
static int asn_MAP_GANSSIonosphericModel_oms_1[] = {1};
|
||||
static ber_tlv_tag_t asn_DEF_GANSSIonosphericModel_tags_1[] = {
|
||||
@ -27,7 +27,7 @@ static ber_tlv_tag_t asn_DEF_GANSSIonosphericModel_tags_1[] = {
|
||||
static asn_TYPE_tag2member_t asn_MAP_GANSSIonosphericModel_tag2el_1[] = {
|
||||
{(ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0}, /* ganssIonoModel at 1138 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0,
|
||||
0} /* ganssIonoStormFlags at 1139 */
|
||||
0} /* ganssIonoStormFlags at 1139 */
|
||||
};
|
||||
static asn_SEQUENCE_specifics_t asn_SPC_GANSSIonosphericModel_specs_1 = {
|
||||
sizeof(struct GANSSIonosphericModel),
|
||||
@ -59,7 +59,7 @@ asn_TYPE_descriptor_t asn_DEF_GANSSIonosphericModel = {
|
||||
asn_DEF_GANSSIonosphericModel_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_GANSSIonosphericModel_tags_1) /
|
||||
sizeof(asn_DEF_GANSSIonosphericModel_tags_1[0]), /* 1 */
|
||||
0, /* No PER visible constraints */
|
||||
0, /* No PER visible constraints */
|
||||
asn_MBR_GANSSIonosphericModel_1,
|
||||
2, /* Elements count */
|
||||
&asn_SPC_GANSSIonosphericModel_specs_1 /* Additional specs */
|
||||
|
@ -7,16 +7,16 @@
|
||||
#include "GANSSLocationInfo.h"
|
||||
|
||||
static int memb_ganssTODFrac_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -30,22 +30,22 @@ static int memb_ganssTODFrac_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
static int memb_ganssTimeID_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -59,7 +59,7 @@ static int memb_ganssTimeID_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -73,7 +73,7 @@ static int memb_stationaryIndication_constraint_1(
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -87,7 +87,7 @@ static int memb_stationaryIndication_constraint_1(
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -112,51 +112,51 @@ static asn_per_constraints_t ASN_PER_MEMB_STATIONARY_INDICATION_CONSTR_9 = {
|
||||
};
|
||||
static asn_TYPE_member_t asn_MBR_GANSSLocationInfo_1[] = {
|
||||
{ATF_POINTER, 5, offsetof(struct GANSSLocationInfo, referenceFrame),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_ReferenceFrame,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "referenceFrame"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_ReferenceFrame,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "referenceFrame"},
|
||||
{ATF_POINTER, 4, offsetof(struct GANSSLocationInfo, ganssTODm),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_GANSSTODm, 0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "ganssTODm"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_GANSSTODm, 0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "ganssTODm"},
|
||||
{ATF_POINTER, 3, offsetof(struct GANSSLocationInfo, ganssTODFrac),
|
||||
(ASN_TAG_CLASS_CONTEXT | (2 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_ganssTODFrac_constraint_1,
|
||||
&ASN_PER_MEMB_GANSS_TOD_FRAC_CONSTR_4, 0, "ganssTODFrac"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (2 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_ganssTODFrac_constraint_1,
|
||||
&ASN_PER_MEMB_GANSS_TOD_FRAC_CONSTR_4, 0, "ganssTODFrac"},
|
||||
{ATF_POINTER, 2, offsetof(struct GANSSLocationInfo, ganssTODUncertainty),
|
||||
(ASN_TAG_CLASS_CONTEXT | (3 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_GANSSTODUncertainty,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "ganssTODUncertainty"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (3 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_GANSSTODUncertainty,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "ganssTODUncertainty"},
|
||||
{ATF_POINTER, 1, offsetof(struct GANSSLocationInfo, ganssTimeID),
|
||||
(ASN_TAG_CLASS_CONTEXT | (4 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_ganssTimeID_constraint_1,
|
||||
&ASN_PER_MEMB_GANSS_TIME_ID_CONSTR_6, 0, "ganssTimeID"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (4 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_ganssTimeID_constraint_1,
|
||||
&ASN_PER_MEMB_GANSS_TIME_ID_CONSTR_6, 0, "ganssTimeID"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct GANSSLocationInfo, fixType),
|
||||
(ASN_TAG_CLASS_CONTEXT | (5 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_FixType, 0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "fixType"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (5 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_FixType, 0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "fixType"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct GANSSLocationInfo, posData),
|
||||
(ASN_TAG_CLASS_CONTEXT | (6 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_PositionData,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "posData"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (6 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_PositionData,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "posData"},
|
||||
{ATF_POINTER, 1, offsetof(struct GANSSLocationInfo, stationaryIndication),
|
||||
(ASN_TAG_CLASS_CONTEXT | (7 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_stationaryIndication_constraint_1,
|
||||
&ASN_PER_MEMB_STATIONARY_INDICATION_CONSTR_9, 0, "stationaryIndication"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (7 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_stationaryIndication_constraint_1,
|
||||
&ASN_PER_MEMB_STATIONARY_INDICATION_CONSTR_9, 0, "stationaryIndication"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct GANSSLocationInfo, posEstimate),
|
||||
(ASN_TAG_CLASS_CONTEXT | (8 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_Ext_GeographicalInformation,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "posEstimate"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (8 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_Ext_GeographicalInformation,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "posEstimate"},
|
||||
};
|
||||
static int asn_MAP_GANSSLocationInfo_oms_1[] = {0, 1, 2, 3, 4, 7};
|
||||
static ber_tlv_tag_t asn_DEF_GANSSLocationInfo_tags_1[] = {
|
||||
@ -166,12 +166,12 @@ static asn_TYPE_tag2member_t asn_MAP_GANSSLocationInfo_tag2el_1[] = {
|
||||
{(ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0}, /* ganssTODm at 1412 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0}, /* ganssTODFrac at 1413 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0,
|
||||
0}, /* ganssTODUncertainty at 1414 */
|
||||
0}, /* ganssTODUncertainty at 1414 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0}, /* ganssTimeID at 1415 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0, 0}, /* fixType at 1416 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0}, /* posData at 1417 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (7 << 2)), 7, 0,
|
||||
0}, /* stationaryIndication at 1418 */
|
||||
0}, /* stationaryIndication at 1418 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (8 << 2)), 8, 0, 0} /* posEstimate at 1424 */
|
||||
};
|
||||
static asn_SEQUENCE_specifics_t asn_SPC_GANSSLocationInfo_specs_1 = {
|
||||
@ -204,7 +204,7 @@ asn_TYPE_descriptor_t asn_DEF_GANSSLocationInfo = {
|
||||
asn_DEF_GANSSLocationInfo_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_GANSSLocationInfo_tags_1) /
|
||||
sizeof(asn_DEF_GANSSLocationInfo_tags_1[0]), /* 1 */
|
||||
0, /* No PER visible constraints */
|
||||
0, /* No PER visible constraints */
|
||||
asn_MBR_GANSSLocationInfo_1,
|
||||
9, /* Elements count */
|
||||
&asn_SPC_GANSSLocationInfo_specs_1 /* Additional specs */
|
||||
|
@ -10,12 +10,12 @@
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include "GANSSTODm.h"
|
||||
#include <NativeInteger.h>
|
||||
#include "GANSSTODUncertainty.h"
|
||||
#include "FixType.h"
|
||||
#include "PositionData.h"
|
||||
#include "Ext-GeographicalInformation.h"
|
||||
#include "FixType.h"
|
||||
#include "GANSSTODUncertainty.h"
|
||||
#include "GANSSTODm.h"
|
||||
#include "PositionData.h"
|
||||
#include <NativeInteger.h>
|
||||
#include <constr_SEQUENCE.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -8,11 +8,11 @@
|
||||
|
||||
static asn_TYPE_member_t asn_MBR_GANSSMeasureInfo_1[] = {
|
||||
{ATF_NOFLAGS, 0, offsetof(struct GANSSMeasureInfo, ganssMsrSetList),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_SeqOfGANSS_MsrSetElement,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "ganssMsrSetList"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_SeqOfGANSS_MsrSetElement,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "ganssMsrSetList"},
|
||||
};
|
||||
static ber_tlv_tag_t asn_DEF_GANSSMeasureInfo_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))};
|
||||
@ -49,7 +49,7 @@ asn_TYPE_descriptor_t asn_DEF_GANSSMeasureInfo = {
|
||||
asn_DEF_GANSSMeasureInfo_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_GANSSMeasureInfo_tags_1) /
|
||||
sizeof(asn_DEF_GANSSMeasureInfo_tags_1[0]), /* 1 */
|
||||
0, /* No PER visible constraints */
|
||||
0, /* No PER visible constraints */
|
||||
asn_MBR_GANSSMeasureInfo_1,
|
||||
1, /* Elements count */
|
||||
&asn_SPC_GANSSMeasureInfo_specs_1 /* Additional specs */
|
||||
|
@ -15,7 +15,7 @@ static int memb_nonBroadcastIndFlag_constraint_1(
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -29,21 +29,21 @@ static int memb_nonBroadcastIndFlag_constraint_1(
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
static int memb_toeMSB_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -57,21 +57,21 @@ static int memb_toeMSB_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
static int memb_eMSB_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -85,22 +85,22 @@ static int memb_eMSB_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
static int memb_sqrtAMBS_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -114,7 +114,7 @@ static int memb_sqrtAMBS_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -145,39 +145,39 @@ static asn_per_constraints_t ASN_PER_MEMB_SQRT_AMBS_CONSTR_5 = {
|
||||
};
|
||||
static asn_TYPE_member_t asn_MBR_GANSSNavModel_1[] = {
|
||||
{ATF_NOFLAGS, 0, offsetof(struct GANSSNavModel, nonBroadcastIndFlag),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_nonBroadcastIndFlag_constraint_1,
|
||||
&ASN_PER_MEMB_NON_BROADCAST_IND_FLAG_CONSTR_2, 0, "nonBroadcastIndFlag"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_nonBroadcastIndFlag_constraint_1,
|
||||
&ASN_PER_MEMB_NON_BROADCAST_IND_FLAG_CONSTR_2, 0, "nonBroadcastIndFlag"},
|
||||
{ATF_POINTER, 3, offsetof(struct GANSSNavModel, toeMSB),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_toeMSB_constraint_1,
|
||||
&ASN_PER_MEMB_TOE_MSB_CONSTR_3, 0, "toeMSB"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_toeMSB_constraint_1,
|
||||
&ASN_PER_MEMB_TOE_MSB_CONSTR_3, 0, "toeMSB"},
|
||||
{ATF_POINTER, 2, offsetof(struct GANSSNavModel, eMSB),
|
||||
(ASN_TAG_CLASS_CONTEXT | (2 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_eMSB_constraint_1,
|
||||
&ASN_PER_MEMB_E_MSB_CONSTR_4, 0, "eMSB"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (2 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_eMSB_constraint_1,
|
||||
&ASN_PER_MEMB_E_MSB_CONSTR_4, 0, "eMSB"},
|
||||
{ATF_POINTER, 1, offsetof(struct GANSSNavModel, sqrtAMBS),
|
||||
(ASN_TAG_CLASS_CONTEXT | (3 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_sqrtAMBS_constraint_1,
|
||||
&ASN_PER_MEMB_SQRT_AMBS_CONSTR_5, 0, "sqrtAMBS"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (3 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_sqrtAMBS_constraint_1,
|
||||
&ASN_PER_MEMB_SQRT_AMBS_CONSTR_5, 0, "sqrtAMBS"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct GANSSNavModel, ganssSatelliteList),
|
||||
(ASN_TAG_CLASS_CONTEXT | (4 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_SeqOfGANSSSatelliteElement,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "ganssSatelliteList"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (4 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_SeqOfGANSSSatelliteElement,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "ganssSatelliteList"},
|
||||
};
|
||||
static int asn_MAP_GANSSNavModel_oms_1[] = {1, 2, 3};
|
||||
static ber_tlv_tag_t asn_DEF_GANSSNavModel_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))};
|
||||
static asn_TYPE_tag2member_t asn_MAP_GANSSNavModel_tag2el_1[] = {
|
||||
{(ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0,
|
||||
0}, /* nonBroadcastIndFlag at 1228 */
|
||||
0}, /* nonBroadcastIndFlag at 1228 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0}, /* toeMSB at 1229 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0}, /* eMSB at 1230 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0}, /* sqrtAMBS at 1231 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0,
|
||||
0} /* ganssSatelliteList at 1233 */
|
||||
0} /* ganssSatelliteList at 1233 */
|
||||
};
|
||||
static asn_SEQUENCE_specifics_t asn_SPC_GANSSNavModel_specs_1 = {
|
||||
sizeof(struct GANSSNavModel),
|
||||
@ -209,7 +209,7 @@ asn_TYPE_descriptor_t asn_DEF_GANSSNavModel = {
|
||||
asn_DEF_GANSSNavModel_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_GANSSNavModel_tags_1) /
|
||||
sizeof(asn_DEF_GANSSNavModel_tags_1[0]), /* 1 */
|
||||
0, /* No PER visible constraints */
|
||||
0, /* No PER visible constraints */
|
||||
asn_MBR_GANSSNavModel_1,
|
||||
5, /* Elements count */
|
||||
&asn_SPC_GANSSNavModel_specs_1 /* Additional specs */
|
||||
|
@ -10,8 +10,8 @@
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <NativeInteger.h>
|
||||
#include "SeqOfGANSSSatelliteElement.h"
|
||||
#include <NativeInteger.h>
|
||||
#include <constr_SEQUENCE.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -14,11 +14,11 @@ static asn_per_constraints_t ASN_PER_TYPE_GANSS_ORBIT_MODEL_CONSTR_1 = {
|
||||
};
|
||||
static asn_TYPE_member_t asn_MBR_GANSSOrbitModel_1[] = {
|
||||
{ATF_NOFLAGS, 0, offsetof(struct GANSSOrbitModel, choice.keplerianSet),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NavModel_KeplerianSet,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "keplerianSet"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NavModel_KeplerianSet,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "keplerianSet"},
|
||||
};
|
||||
static asn_TYPE_tag2member_t asn_MAP_GANSSOrbitModel_tag2el_1[] = {
|
||||
{(ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0} /* keplerianSet at 1248 */
|
||||
|
@ -7,9 +7,9 @@
|
||||
#include "GANSSPositioningMethod.h"
|
||||
|
||||
int GANSSPositioningMethod_constraint(asn_TYPE_descriptor_t *td,
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
{
|
||||
const BIT_STRING_t *st = (const BIT_STRING_t *)sptr;
|
||||
size_t size;
|
||||
@ -17,7 +17,7 @@ int GANSSPositioningMethod_constraint(asn_TYPE_descriptor_t *td,
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -39,7 +39,7 @@ int GANSSPositioningMethod_constraint(asn_TYPE_descriptor_t *td,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -67,36 +67,36 @@ static void GANSSPositioningMethod_1_inherit_TYPE_descriptor(
|
||||
}
|
||||
|
||||
void GANSSPositioningMethod_free(asn_TYPE_descriptor_t *td, void *struct_ptr,
|
||||
int contents_only)
|
||||
int contents_only)
|
||||
{
|
||||
GANSSPositioningMethod_1_inherit_TYPE_descriptor(td);
|
||||
td->free_struct(td, struct_ptr, contents_only);
|
||||
}
|
||||
|
||||
int GANSSPositioningMethod_print(asn_TYPE_descriptor_t *td,
|
||||
const void *struct_ptr, int ilevel,
|
||||
asn_app_consume_bytes_f *cb, void *app_key)
|
||||
const void *struct_ptr, int ilevel,
|
||||
asn_app_consume_bytes_f *cb, void *app_key)
|
||||
{
|
||||
GANSSPositioningMethod_1_inherit_TYPE_descriptor(td);
|
||||
return td->print_struct(td, struct_ptr, ilevel, cb, app_key);
|
||||
}
|
||||
|
||||
asn_dec_rval_t GANSSPositioningMethod_decode_ber(asn_codec_ctx_t *opt_codec_ctx,
|
||||
asn_TYPE_descriptor_t *td,
|
||||
void **structure,
|
||||
const void *bufptr,
|
||||
size_t size, int tag_mode)
|
||||
asn_TYPE_descriptor_t *td,
|
||||
void **structure,
|
||||
const void *bufptr,
|
||||
size_t size, int tag_mode)
|
||||
{
|
||||
GANSSPositioningMethod_1_inherit_TYPE_descriptor(td);
|
||||
return td->ber_decoder(opt_codec_ctx, td, structure, bufptr, size,
|
||||
tag_mode);
|
||||
tag_mode);
|
||||
}
|
||||
|
||||
asn_enc_rval_t GANSSPositioningMethod_encode_der(asn_TYPE_descriptor_t *td,
|
||||
void *structure, int tag_mode,
|
||||
ber_tlv_tag_t tag,
|
||||
asn_app_consume_bytes_f *cb,
|
||||
void *app_key)
|
||||
void *structure, int tag_mode,
|
||||
ber_tlv_tag_t tag,
|
||||
asn_app_consume_bytes_f *cb,
|
||||
void *app_key)
|
||||
{
|
||||
GANSSPositioningMethod_1_inherit_TYPE_descriptor(td);
|
||||
return td->der_encoder(td, structure, tag_mode, tag, cb, app_key);
|
||||
@ -108,14 +108,14 @@ asn_dec_rval_t GANSSPositioningMethod_decode_xer(
|
||||
{
|
||||
GANSSPositioningMethod_1_inherit_TYPE_descriptor(td);
|
||||
return td->xer_decoder(opt_codec_ctx, td, structure, opt_mname, bufptr,
|
||||
size);
|
||||
size);
|
||||
}
|
||||
|
||||
asn_enc_rval_t GANSSPositioningMethod_encode_xer(asn_TYPE_descriptor_t *td,
|
||||
void *structure, int ilevel,
|
||||
enum xer_encoder_flags_e flags,
|
||||
asn_app_consume_bytes_f *cb,
|
||||
void *app_key)
|
||||
void *structure, int ilevel,
|
||||
enum xer_encoder_flags_e flags,
|
||||
asn_app_consume_bytes_f *cb,
|
||||
void *app_key)
|
||||
{
|
||||
GANSSPositioningMethod_1_inherit_TYPE_descriptor(td);
|
||||
return td->xer_encoder(td, structure, ilevel, flags, cb, app_key);
|
||||
@ -128,7 +128,7 @@ asn_dec_rval_t GANSSPositioningMethod_decode_uper(
|
||||
{
|
||||
GANSSPositioningMethod_1_inherit_TYPE_descriptor(td);
|
||||
return td->uper_decoder(opt_codec_ctx, td, constraints, structure,
|
||||
per_data);
|
||||
per_data);
|
||||
}
|
||||
|
||||
asn_enc_rval_t GANSSPositioningMethod_encode_uper(
|
||||
|
@ -8,18 +8,18 @@
|
||||
|
||||
static asn_TYPE_member_t asn_MBR_GANSSRealTimeIntegrity_1[] = {
|
||||
{ATF_NOFLAGS, 0,
|
||||
offsetof(struct GANSSRealTimeIntegrity, ganssBadSignalList),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_SeqOfBadSignalElement,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "ganssBadSignalList"},
|
||||
offsetof(struct GANSSRealTimeIntegrity, ganssBadSignalList),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_SeqOfBadSignalElement,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "ganssBadSignalList"},
|
||||
};
|
||||
static ber_tlv_tag_t asn_DEF_GANSSRealTimeIntegrity_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))};
|
||||
static asn_TYPE_tag2member_t asn_MAP_GANSSRealTimeIntegrity_tag2el_1[] = {
|
||||
{(ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0,
|
||||
0} /* ganssBadSignalList at 1295 */
|
||||
0} /* ganssBadSignalList at 1295 */
|
||||
};
|
||||
static asn_SEQUENCE_specifics_t asn_SPC_GANSSRealTimeIntegrity_specs_1 = {
|
||||
sizeof(struct GANSSRealTimeIntegrity),
|
||||
@ -51,7 +51,7 @@ asn_TYPE_descriptor_t asn_DEF_GANSSRealTimeIntegrity = {
|
||||
asn_DEF_GANSSRealTimeIntegrity_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_GANSSRealTimeIntegrity_tags_1) /
|
||||
sizeof(asn_DEF_GANSSRealTimeIntegrity_tags_1[0]), /* 1 */
|
||||
0, /* No PER visible constraints */
|
||||
0, /* No PER visible constraints */
|
||||
asn_MBR_GANSSRealTimeIntegrity_1,
|
||||
1, /* Elements count */
|
||||
&asn_SPC_GANSSRealTimeIntegrity_specs_1 /* Additional specs */
|
||||
|
@ -8,11 +8,11 @@
|
||||
|
||||
static asn_TYPE_member_t asn_MBR_GANSSRefLocation_1[] = {
|
||||
{ATF_NOFLAGS, 0, offsetof(struct GANSSRefLocation, threeDLocation),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_Ext_GeographicalInformation,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "threeDLocation"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_Ext_GeographicalInformation,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "threeDLocation"},
|
||||
};
|
||||
static ber_tlv_tag_t asn_DEF_GANSSRefLocation_tags_1[] = {
|
||||
(ASN_TAG_CLASS_UNIVERSAL | (16 << 2))};
|
||||
@ -49,7 +49,7 @@ asn_TYPE_descriptor_t asn_DEF_GANSSRefLocation = {
|
||||
asn_DEF_GANSSRefLocation_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_GANSSRefLocation_tags_1) /
|
||||
sizeof(asn_DEF_GANSSRefLocation_tags_1[0]), /* 1 */
|
||||
0, /* No PER visible constraints */
|
||||
0, /* No PER visible constraints */
|
||||
asn_MBR_GANSSRefLocation_1,
|
||||
1, /* Elements count */
|
||||
&asn_SPC_GANSSRefLocation_specs_1 /* Additional specs */
|
||||
|
@ -15,7 +15,7 @@ static int memb_ganssSignalID_constraint_1(
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -29,7 +29,7 @@ static int memb_ganssSignalID_constraint_1(
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -42,16 +42,16 @@ static asn_per_constraints_t ASN_PER_MEMB_GANSS_SIGNAL_ID_CONSTR_2 = {
|
||||
};
|
||||
static asn_TYPE_member_t asn_MBR_GANSSRefMeasurementAssist_1[] = {
|
||||
{ATF_POINTER, 1, offsetof(struct GANSSRefMeasurementAssist, ganssSignalID),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_ganssSignalID_constraint_1,
|
||||
&ASN_PER_MEMB_GANSS_SIGNAL_ID_CONSTR_2, 0, "ganssSignalID"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_ganssSignalID_constraint_1,
|
||||
&ASN_PER_MEMB_GANSS_SIGNAL_ID_CONSTR_2, 0, "ganssSignalID"},
|
||||
{ATF_NOFLAGS, 0,
|
||||
offsetof(struct GANSSRefMeasurementAssist, ganssRefMeasAssitList),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_SeqOfGANSSRefMeasurementElement,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "ganssRefMeasAssitList"},
|
||||
offsetof(struct GANSSRefMeasurementAssist, ganssRefMeasAssitList),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_SeqOfGANSSRefMeasurementElement,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "ganssRefMeasAssitList"},
|
||||
};
|
||||
static int asn_MAP_GANSSRefMeasurementAssist_oms_1[] = {0};
|
||||
static ber_tlv_tag_t asn_DEF_GANSSRefMeasurementAssist_tags_1[] = {
|
||||
@ -59,7 +59,7 @@ static ber_tlv_tag_t asn_DEF_GANSSRefMeasurementAssist_tags_1[] = {
|
||||
static asn_TYPE_tag2member_t asn_MAP_GANSSRefMeasurementAssist_tag2el_1[] = {
|
||||
{(ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0}, /* ganssSignalID at 1321 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0,
|
||||
0} /* ganssRefMeasAssitList at 1323 */
|
||||
0} /* ganssRefMeasAssitList at 1323 */
|
||||
};
|
||||
static asn_SEQUENCE_specifics_t asn_SPC_GANSSRefMeasurementAssist_specs_1 = {
|
||||
sizeof(struct GANSSRefMeasurementAssist),
|
||||
@ -91,7 +91,7 @@ asn_TYPE_descriptor_t asn_DEF_GANSSRefMeasurementAssist = {
|
||||
asn_DEF_GANSSRefMeasurementAssist_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_GANSSRefMeasurementAssist_tags_1) /
|
||||
sizeof(asn_DEF_GANSSRefMeasurementAssist_tags_1[0]), /* 1 */
|
||||
0, /* No PER visible constraints */
|
||||
0, /* No PER visible constraints */
|
||||
asn_MBR_GANSSRefMeasurementAssist_1,
|
||||
2, /* Elements count */
|
||||
&asn_SPC_GANSSRefMeasurementAssist_specs_1 /* Additional specs */
|
||||
|
@ -10,8 +10,8 @@
|
||||
#include <asn_application.h>
|
||||
|
||||
/* Including external dependencies */
|
||||
#include <NativeInteger.h>
|
||||
#include "SeqOfGANSSRefMeasurementElement.h"
|
||||
#include <NativeInteger.h>
|
||||
#include <constr_SEQUENCE.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -7,16 +7,16 @@
|
||||
#include "GANSSRefMeasurementElement.h"
|
||||
|
||||
static int memb_doppler0_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -30,22 +30,22 @@ static int memb_doppler0_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
static int memb_codePhase_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -59,22 +59,22 @@ static int memb_codePhase_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
static int memb_intCodePhase_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
const void *sptr,
|
||||
asn_app_constraint_failed_f *ctfailcb,
|
||||
void *app_key)
|
||||
{
|
||||
long value;
|
||||
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -88,7 +88,7 @@ static int memb_intCodePhase_constraint_1(asn_TYPE_descriptor_t *td,
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -102,7 +102,7 @@ static int memb_codePhaseSearchWindow_constraint_1(
|
||||
if (!sptr)
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: value not given (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
|
||||
@ -116,7 +116,7 @@ static int memb_codePhaseSearchWindow_constraint_1(
|
||||
else
|
||||
{
|
||||
_ASN_CTFAIL(app_key, td, sptr, "%s: constraint failed (%s:%d)",
|
||||
td->name, __FILE__, __LINE__);
|
||||
td->name, __FILE__, __LINE__);
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -147,42 +147,42 @@ static asn_per_constraints_t ASN_PER_MEMB_CODE_PHASE_SEARCH_WINDOW_CONSTR_7 = {
|
||||
};
|
||||
static asn_TYPE_member_t asn_MBR_GANSSRefMeasurementElement_1[] = {
|
||||
{ATF_NOFLAGS, 0, offsetof(struct GANSSRefMeasurementElement, svID),
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_SVID, 0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "svID"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (0 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_SVID, 0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "svID"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct GANSSRefMeasurementElement, doppler0),
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_doppler0_constraint_1,
|
||||
&ASN_PER_MEMB_DOPPLER0_CONSTR_3, 0, "doppler0"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (1 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_doppler0_constraint_1,
|
||||
&ASN_PER_MEMB_DOPPLER0_CONSTR_3, 0, "doppler0"},
|
||||
{ATF_POINTER, 1,
|
||||
offsetof(struct GANSSRefMeasurementElement, additionalDoppler),
|
||||
(ASN_TAG_CLASS_CONTEXT | (2 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_AdditionalDopplerFields,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "additionalDoppler"},
|
||||
offsetof(struct GANSSRefMeasurementElement, additionalDoppler),
|
||||
(ASN_TAG_CLASS_CONTEXT | (2 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_AdditionalDopplerFields,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "additionalDoppler"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct GANSSRefMeasurementElement, codePhase),
|
||||
(ASN_TAG_CLASS_CONTEXT | (3 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_codePhase_constraint_1,
|
||||
&ASN_PER_MEMB_CODE_PHASE_CONSTR_5, 0, "codePhase"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (3 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_codePhase_constraint_1,
|
||||
&ASN_PER_MEMB_CODE_PHASE_CONSTR_5, 0, "codePhase"},
|
||||
{ATF_NOFLAGS, 0, offsetof(struct GANSSRefMeasurementElement, intCodePhase),
|
||||
(ASN_TAG_CLASS_CONTEXT | (4 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_intCodePhase_constraint_1,
|
||||
&ASN_PER_MEMB_INT_CODE_PHASE_CONSTR_6, 0, "intCodePhase"},
|
||||
(ASN_TAG_CLASS_CONTEXT | (4 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_intCodePhase_constraint_1,
|
||||
&ASN_PER_MEMB_INT_CODE_PHASE_CONSTR_6, 0, "intCodePhase"},
|
||||
{ATF_NOFLAGS, 0,
|
||||
offsetof(struct GANSSRefMeasurementElement, codePhaseSearchWindow),
|
||||
(ASN_TAG_CLASS_CONTEXT | (5 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_codePhaseSearchWindow_constraint_1,
|
||||
&ASN_PER_MEMB_CODE_PHASE_SEARCH_WINDOW_CONSTR_7, 0,
|
||||
"codePhaseSearchWindow"},
|
||||
offsetof(struct GANSSRefMeasurementElement, codePhaseSearchWindow),
|
||||
(ASN_TAG_CLASS_CONTEXT | (5 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_NativeInteger, memb_codePhaseSearchWindow_constraint_1,
|
||||
&ASN_PER_MEMB_CODE_PHASE_SEARCH_WINDOW_CONSTR_7, 0,
|
||||
"codePhaseSearchWindow"},
|
||||
{ATF_POINTER, 1,
|
||||
offsetof(struct GANSSRefMeasurementElement, additionalAngle),
|
||||
(ASN_TAG_CLASS_CONTEXT | (6 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_AddionalAngleFields,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "additionalAngle"},
|
||||
offsetof(struct GANSSRefMeasurementElement, additionalAngle),
|
||||
(ASN_TAG_CLASS_CONTEXT | (6 << 2)), -1, /* IMPLICIT tag at current level */
|
||||
&asn_DEF_AddionalAngleFields,
|
||||
0, /* Defer constraints checking to the member type */
|
||||
0, /* No PER visible constraints */
|
||||
0, "additionalAngle"},
|
||||
};
|
||||
static int asn_MAP_GANSSRefMeasurementElement_oms_1[] = {2, 6};
|
||||
static ber_tlv_tag_t asn_DEF_GANSSRefMeasurementElement_tags_1[] = {
|
||||
@ -191,11 +191,11 @@ static asn_TYPE_tag2member_t asn_MAP_GANSSRefMeasurementElement_tag2el_1[] = {
|
||||
{(ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0}, /* svID at 1328 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0}, /* doppler0 at 1331 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0,
|
||||
0}, /* additionalDoppler at 1332 */
|
||||
0}, /* additionalDoppler at 1332 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0}, /* codePhase at 1333 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (4 << 2)), 4, 0, 0}, /* intCodePhase at 1334 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (5 << 2)), 5, 0,
|
||||
0}, /* codePhaseSearchWindow at 1335 */
|
||||
0}, /* codePhaseSearchWindow at 1335 */
|
||||
{(ASN_TAG_CLASS_CONTEXT | (6 << 2)), 6, 0, 0} /* additionalAngle at 1336 */
|
||||
};
|
||||
static asn_SEQUENCE_specifics_t asn_SPC_GANSSRefMeasurementElement_specs_1 = {
|
||||
@ -225,10 +225,10 @@ asn_TYPE_descriptor_t asn_DEF_GANSSRefMeasurementElement = {
|
||||
asn_DEF_GANSSRefMeasurementElement_tags_1,
|
||||
sizeof(asn_DEF_GANSSRefMeasurementElement_tags_1) /
|
||||
sizeof(asn_DEF_GANSSRefMeasurementElement_tags_1[0]), /* 1 */
|
||||
asn_DEF_GANSSRefMeasurementElement_tags_1, /* Same as above */
|
||||
asn_DEF_GANSSRefMeasurementElement_tags_1, /* Same as above */
|
||||
sizeof(asn_DEF_GANSSRefMeasurementElement_tags_1) /
|
||||
sizeof(asn_DEF_GANSSRefMeasurementElement_tags_1[0]), /* 1 */
|
||||
0, /* No PER visible constraints */
|
||||
0, /* No PER visible constraints */
|
||||
asn_MBR_GANSSRefMeasurementElement_1,
|
||||
7, /* Elements count */
|
||||
&asn_SPC_GANSSRefMeasurementElement_specs_1 /* Additional specs */
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user