RSPRO: Add two more ResoltCodes
Change-Id: I1b665b501106a4aac90e642c11f4123e6a77868d
This commit is contained in:
parent
a844bb07d8
commit
71752ddd2b
|
@ -89,6 +89,8 @@ ResultCode ::= ENUMERATED {
|
||||||
illegalClientId (1),
|
illegalClientId (1),
|
||||||
illegalBankId (2),
|
illegalBankId (2),
|
||||||
illegalSlotId (3),
|
illegalSlotId (3),
|
||||||
|
unsupportedProtocolVersion (4),
|
||||||
|
unknownSlotmap (5),
|
||||||
|
|
||||||
-- no card is present in given slot
|
-- no card is present in given slot
|
||||||
cardNotPresent (100),
|
cardNotPresent (100),
|
||||||
|
|
|
@ -23,6 +23,8 @@ typedef enum ResultCode {
|
||||||
ResultCode_illegalClientId = 1,
|
ResultCode_illegalClientId = 1,
|
||||||
ResultCode_illegalBankId = 2,
|
ResultCode_illegalBankId = 2,
|
||||||
ResultCode_illegalSlotId = 3,
|
ResultCode_illegalSlotId = 3,
|
||||||
|
ResultCode_unsupportedProtocolVersion = 4,
|
||||||
|
ResultCode_unknownSlotmap = 5,
|
||||||
ResultCode_cardNotPresent = 100,
|
ResultCode_cardNotPresent = 100,
|
||||||
ResultCode_cardUnresponsive = 101,
|
ResultCode_cardUnresponsive = 101,
|
||||||
ResultCode_cardTransmissionError = 102
|
ResultCode_cardTransmissionError = 102
|
||||||
|
|
|
@ -87,26 +87,30 @@ static const asn_INTEGER_enum_map_t asn_MAP_ResultCode_value2enum_1[] = {
|
||||||
{ 1, 15, "illegalClientId" },
|
{ 1, 15, "illegalClientId" },
|
||||||
{ 2, 13, "illegalBankId" },
|
{ 2, 13, "illegalBankId" },
|
||||||
{ 3, 13, "illegalSlotId" },
|
{ 3, 13, "illegalSlotId" },
|
||||||
|
{ 4, 26, "unsupportedProtocolVersion" },
|
||||||
|
{ 5, 14, "unknownSlotmap" },
|
||||||
{ 100, 14, "cardNotPresent" },
|
{ 100, 14, "cardNotPresent" },
|
||||||
{ 101, 16, "cardUnresponsive" },
|
{ 101, 16, "cardUnresponsive" },
|
||||||
{ 102, 21, "cardTransmissionError" }
|
{ 102, 21, "cardTransmissionError" }
|
||||||
/* This list is extensible */
|
/* This list is extensible */
|
||||||
};
|
};
|
||||||
static const unsigned int asn_MAP_ResultCode_enum2value_1[] = {
|
static const unsigned int asn_MAP_ResultCode_enum2value_1[] = {
|
||||||
4, /* cardNotPresent(100) */
|
6, /* cardNotPresent(100) */
|
||||||
6, /* cardTransmissionError(102) */
|
8, /* cardTransmissionError(102) */
|
||||||
5, /* cardUnresponsive(101) */
|
7, /* cardUnresponsive(101) */
|
||||||
2, /* illegalBankId(2) */
|
2, /* illegalBankId(2) */
|
||||||
1, /* illegalClientId(1) */
|
1, /* illegalClientId(1) */
|
||||||
3, /* illegalSlotId(3) */
|
3, /* illegalSlotId(3) */
|
||||||
0 /* ok(0) */
|
0, /* ok(0) */
|
||||||
|
5, /* unknownSlotmap(5) */
|
||||||
|
4 /* unsupportedProtocolVersion(4) */
|
||||||
/* This list is extensible */
|
/* This list is extensible */
|
||||||
};
|
};
|
||||||
static const asn_INTEGER_specifics_t asn_SPC_ResultCode_specs_1 = {
|
static const asn_INTEGER_specifics_t asn_SPC_ResultCode_specs_1 = {
|
||||||
asn_MAP_ResultCode_value2enum_1, /* "tag" => N; sorted by tag */
|
asn_MAP_ResultCode_value2enum_1, /* "tag" => N; sorted by tag */
|
||||||
asn_MAP_ResultCode_enum2value_1, /* N => "tag"; sorted by N */
|
asn_MAP_ResultCode_enum2value_1, /* N => "tag"; sorted by N */
|
||||||
7, /* Number of elements in the maps */
|
9, /* Number of elements in the maps */
|
||||||
8, /* Extensions before this member */
|
10, /* Extensions before this member */
|
||||||
1, /* Strict enumeration */
|
1, /* Strict enumeration */
|
||||||
0, /* Native long size */
|
0, /* Native long size */
|
||||||
0
|
0
|
||||||
|
|
Loading…
Reference in New Issue