blob: 1f1387a91c0b508c014189ed5949489d6495aa17 [file] [log] [blame]
Harald Welte3aa901d2018-08-13 18:32:36 +02001/*
2 * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)
3 * From ASN.1 module "RSPRO"
4 * found in "../../asn1/RSPRO.asn"
5 */
6
7#include <osmocom/rspro/SlotPhysStatus.h>
8
9static asn_TYPE_member_t asn_MBR_SlotPhysStatus_1[] = {
10 { ATF_NOFLAGS, 0, offsetof(struct SlotPhysStatus, resetActive),
11 (ASN_TAG_CLASS_CONTEXT | (0 << 2)),
12 -1, /* IMPLICIT tag at current level */
13 &asn_DEF_BOOLEAN,
14 0, /* Defer constraints checking to the member type */
15 0, /* PER is not compiled, use -gen-PER */
16 0,
17 "resetActive"
18 },
19 { ATF_POINTER, 3, offsetof(struct SlotPhysStatus, vccPresent),
20 (ASN_TAG_CLASS_CONTEXT | (1 << 2)),
21 -1, /* IMPLICIT tag at current level */
22 &asn_DEF_BOOLEAN,
23 0, /* Defer constraints checking to the member type */
24 0, /* PER is not compiled, use -gen-PER */
25 0,
26 "vccPresent"
27 },
28 { ATF_POINTER, 2, offsetof(struct SlotPhysStatus, clkActive),
29 (ASN_TAG_CLASS_CONTEXT | (2 << 2)),
30 -1, /* IMPLICIT tag at current level */
31 &asn_DEF_BOOLEAN,
32 0, /* Defer constraints checking to the member type */
33 0, /* PER is not compiled, use -gen-PER */
34 0,
35 "clkActive"
36 },
37 { ATF_POINTER, 1, offsetof(struct SlotPhysStatus, cardPresent),
38 (ASN_TAG_CLASS_CONTEXT | (3 << 2)),
39 -1, /* IMPLICIT tag at current level */
40 &asn_DEF_BOOLEAN,
41 0, /* Defer constraints checking to the member type */
42 0, /* PER is not compiled, use -gen-PER */
43 0,
44 "cardPresent"
45 },
46};
47static const ber_tlv_tag_t asn_DEF_SlotPhysStatus_tags_1[] = {
48 (ASN_TAG_CLASS_UNIVERSAL | (16 << 2))
49};
50static const asn_TYPE_tag2member_t asn_MAP_SlotPhysStatus_tag2el_1[] = {
51 { (ASN_TAG_CLASS_CONTEXT | (0 << 2)), 0, 0, 0 }, /* resetActive */
52 { (ASN_TAG_CLASS_CONTEXT | (1 << 2)), 1, 0, 0 }, /* vccPresent */
53 { (ASN_TAG_CLASS_CONTEXT | (2 << 2)), 2, 0, 0 }, /* clkActive */
54 { (ASN_TAG_CLASS_CONTEXT | (3 << 2)), 3, 0, 0 } /* cardPresent */
55};
56static asn_SEQUENCE_specifics_t asn_SPC_SlotPhysStatus_specs_1 = {
57 sizeof(struct SlotPhysStatus),
58 offsetof(struct SlotPhysStatus, _asn_ctx),
59 asn_MAP_SlotPhysStatus_tag2el_1,
60 4, /* Count of tags in the map */
61 0, 0, 0, /* Optional elements (not needed) */
62 3, /* Start extensions */
63 5 /* Stop extensions */
64};
65asn_TYPE_descriptor_t asn_DEF_SlotPhysStatus = {
66 "SlotPhysStatus",
67 "SlotPhysStatus",
68 SEQUENCE_free,
69 SEQUENCE_print,
70 SEQUENCE_constraint,
71 SEQUENCE_decode_ber,
72 SEQUENCE_encode_der,
73 SEQUENCE_decode_xer,
74 SEQUENCE_encode_xer,
75 0, 0, /* No UPER support, use "-gen-PER" to enable */
76 0, 0, /* No APER support, use "-gen-PER" to enable */
77 0, /* Use generic outmost tag fetcher */
78 asn_DEF_SlotPhysStatus_tags_1,
79 sizeof(asn_DEF_SlotPhysStatus_tags_1)
80 /sizeof(asn_DEF_SlotPhysStatus_tags_1[0]), /* 1 */
81 asn_DEF_SlotPhysStatus_tags_1, /* Same as above */
82 sizeof(asn_DEF_SlotPhysStatus_tags_1)
83 /sizeof(asn_DEF_SlotPhysStatus_tags_1[0]), /* 1 */
84 0, /* No PER visible constraints */
85 asn_MBR_SlotPhysStatus_1,
86 4, /* Elements count */
87 &asn_SPC_SlotPhysStatus_specs_1 /* Additional specs */
88};
89