fix BSSAP_LE_Types FIELDORDER
Change-Id: I6f3d5b238912923431db36a1ba7b4973ae4e2e91
This commit is contained in:
parent
929b406940
commit
c4c2a9176b
|
@ -195,12 +195,12 @@ type union BSSMAP_LE_PDU {
|
|||
type record BSSMAP_LE_IE_APDU {
|
||||
BSSMAP_LE_IEI iei,
|
||||
uint16_t len,
|
||||
BIT1 spare,
|
||||
BSSMAP_LE_ProtocolId protocol_id,
|
||||
BIT1 spare,
|
||||
octetstring data
|
||||
} with {
|
||||
variant "PRESENCE(iei = BSSMAP_LE_IEI_APDU)"
|
||||
variant (len) "LENGTHTO(spare,protocol_id,data)"
|
||||
variant (len) "LENGTHTO(protocol_id,spare,data)"
|
||||
};
|
||||
type enumerated BSSMAP_LE_ProtocolId {
|
||||
BSSMAP_LE_PROT_RESERVED ('0000000'B),
|
||||
|
@ -591,4 +591,4 @@ external function dec_PDU_BSSAP_LE(in octetstring stream) return PDU_BSSAP_LE
|
|||
with { extension "prototype(convert) decode(RAW)" }
|
||||
|
||||
|
||||
} with { encode "RAW" ; variant "FIELDORDER(msb)" }
|
||||
} with { encode "RAW" ; }
|
||||
|
|
|
@ -262,8 +262,8 @@ modifies ts_BSSAP_LE_BSSMAP := {
|
|||
bsslap_apdu := {
|
||||
iei := BSSMAP_LE_IEI_APDU,
|
||||
len := 0,
|
||||
spare := '0'B,
|
||||
protocol_id := prot_id,
|
||||
spare := '0'B,
|
||||
data := data
|
||||
},
|
||||
segmentation := segm
|
||||
|
@ -282,8 +282,8 @@ modifies tr_BSSAP_LE_BSSMAP := {
|
|||
bsslap_apdu := {
|
||||
iei := BSSMAP_LE_IEI_APDU,
|
||||
len := ?,
|
||||
spare := '0'B,
|
||||
protocol_id := prot_id,
|
||||
spare := '0'B,
|
||||
data := data
|
||||
},
|
||||
segmentation := segm
|
||||
|
@ -341,8 +341,8 @@ return template (omit) BSSMAP_LE_IE_APDU {
|
|||
var BSSMAP_LE_IE_APDU ie := {
|
||||
iei := BSSMAP_LE_IEI_APDU,
|
||||
len := 0, // overwritten
|
||||
spare := '0'B,
|
||||
protocol_id := prot_id
|
||||
protocol_id := prot_id,
|
||||
spare := '0'B
|
||||
}
|
||||
if (istemplatekind(data, "omit")) {
|
||||
return omit;
|
||||
|
@ -356,15 +356,15 @@ return template BSSMAP_LE_IE_APDU {
|
|||
var template BSSMAP_LE_IE_APDU ie := {
|
||||
iei := BSSMAP_LE_IEI_APDU,
|
||||
len := ?,
|
||||
spare := '0'B,
|
||||
protocol_id := prot_id
|
||||
protocol_id := prot_id,
|
||||
spare := '0'B
|
||||
}
|
||||
if (istemplatekind(data, "omit")) {
|
||||
return omit;
|
||||
} else if (istemplatekind(data, "*")) {
|
||||
return *;
|
||||
}
|
||||
ie.data := valueof(data);
|
||||
ie.data := data;
|
||||
return ie;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue