2 * Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
3 * From ASN.1 module "RRLP-Components"
4 * found in "../asn1src/RRLP-Components.asn"
5 * `asn1c -gen-PER -fskeletons-copy -fnative-types`
8 #include "GPSDeltaElementList.h"
11 memb_OCTET_STRING_constraint_1(asn_TYPE_descriptor_t
*td
, const void *sptr
,
12 asn_app_constraint_failed_f
*ctfailcb
, void *app_key
) {
13 const OCTET_STRING_t
*st
= (const OCTET_STRING_t
*)sptr
;
17 _ASN_CTFAIL(app_key
, td
, sptr
,
18 "%s: value not given (%s:%d)",
19 td
->name
, __FILE__
, __LINE__
);
25 if((size
>= 1 && size
<= 47)) {
26 /* Constraint check succeeded */
29 _ASN_CTFAIL(app_key
, td
, sptr
,
30 "%s: constraint failed (%s:%d)",
31 td
->name
, __FILE__
, __LINE__
);
36 static asn_per_constraints_t asn_PER_memb_Member_constr_2
= {
37 { APC_UNCONSTRAINED
, -1, -1, 0, 0 },
38 { APC_CONSTRAINED
, 6, 6, 1, 47 } /* (SIZE(1..47)) */,
39 0, 0 /* No PER value map */
41 static asn_per_constraints_t asn_PER_type_GPSDeltaElementList_constr_1
= {
42 { APC_UNCONSTRAINED
, -1, -1, 0, 0 },
43 { APC_CONSTRAINED
, 5, 5, 1, 32 } /* (SIZE(1..32)) */,
44 0, 0 /* No PER value map */
46 static asn_TYPE_member_t asn_MBR_GPSDeltaElementList_1
[] = {
48 (ASN_TAG_CLASS_UNIVERSAL
| (4 << 2)),
50 &asn_DEF_OCTET_STRING
,
51 memb_OCTET_STRING_constraint_1
,
52 &asn_PER_memb_Member_constr_2
,
57 static ber_tlv_tag_t asn_DEF_GPSDeltaElementList_tags_1
[] = {
58 (ASN_TAG_CLASS_UNIVERSAL
| (16 << 2))
60 static asn_SET_OF_specifics_t asn_SPC_GPSDeltaElementList_specs_1
= {
61 sizeof(struct GPSDeltaElementList
),
62 offsetof(struct GPSDeltaElementList
, _asn_ctx
),
63 0, /* XER encoding is XMLDelimitedItemList */
65 asn_TYPE_descriptor_t asn_DEF_GPSDeltaElementList
= {
66 "GPSDeltaElementList",
67 "GPSDeltaElementList",
70 SEQUENCE_OF_constraint
,
71 SEQUENCE_OF_decode_ber
,
72 SEQUENCE_OF_encode_der
,
73 SEQUENCE_OF_decode_xer
,
74 SEQUENCE_OF_encode_xer
,
75 SEQUENCE_OF_decode_uper
,
76 SEQUENCE_OF_encode_uper
,
77 0, /* Use generic outmost tag fetcher */
78 asn_DEF_GPSDeltaElementList_tags_1
,
79 sizeof(asn_DEF_GPSDeltaElementList_tags_1
)
80 /sizeof(asn_DEF_GPSDeltaElementList_tags_1
[0]), /* 1 */
81 asn_DEF_GPSDeltaElementList_tags_1
, /* Same as above */
82 sizeof(asn_DEF_GPSDeltaElementList_tags_1
)
83 /sizeof(asn_DEF_GPSDeltaElementList_tags_1
[0]), /* 1 */
84 &asn_PER_type_GPSDeltaElementList_constr_1
,
85 asn_MBR_GPSDeltaElementList_1
,
86 1, /* Single element */
87 &asn_SPC_GPSDeltaElementList_specs_1
/* Additional specs */