Skip to content
Snippets Groups Projects
Commit 26fa816b authored by schmitting's avatar schmitting
Browse files

IN functions added, types/templates modified

parent de22143f
No related branches found
No related tags found
No related merge requests found
This diff is collapsed.
...@@ -44,12 +44,10 @@ module LibItsDcc_Templates { ...@@ -44,12 +44,10 @@ module LibItsDcc_Templates {
*/ */
template UtRadioCommandIndication m_utRadioCommandIndication(Channel p_channel, template UtRadioCommandIndication m_utRadioCommandIndication(Channel p_channel,
template integer p_measuredPower, template integer p_measuredPower,
template integer p_interPacketSpacing_Toff, template integer p_interPacketSpacing_Toff) :=
template integer p_burstLength_Ton) :=
{channel := p_channel, {channel := p_channel,
measuredPower := p_measuredPower, measuredPower := p_measuredPower,
interPacketSpacing_Toff := p_interPacketSpacing_Toff, interPacketSpacing_Toff := p_interPacketSpacing_Toff
burstLength_Ton := p_burstLength_Ton
} // End m_utRadioCommandIndication } // End m_utRadioCommandIndication
} // End of group utPrimitives } // End of group utPrimitives
...@@ -63,11 +61,11 @@ module LibItsDcc_Templates { ...@@ -63,11 +61,11 @@ module LibItsDcc_Templates {
*/ */
template InReq m_In_Request(integer p_commandReference, template InReq m_In_Request(integer p_commandReference,
octetstring p_referenceBurst, octetstring p_referenceBurst,
integer p_requestedSendPower, integer p_requestedTxPower,
integer p_dCCProfileIdentifier) := integer p_dCCProfileIdentifier) :=
{commandReference := p_commandReference, {commandReference := p_commandReference,
referenceBurst := p_referenceBurst, referenceBurst := p_referenceBurst,
requestedSendPower := p_requestedSendPower, requestedSendPower := p_requestedTxPower,
dCCProfileIdentifier := p_dCCProfileIdentifier dCCProfileIdentifier := p_dCCProfileIdentifier
} // End m_In_Request } // End m_In_Request
...@@ -76,12 +74,11 @@ module LibItsDcc_Templates { ...@@ -76,12 +74,11 @@ module LibItsDcc_Templates {
*/ */
template InSta mw_In_Status(template integer p_commandReference, template InSta mw_In_Status(template integer p_commandReference,
template Channel p_channel, template Channel p_channel,
template boolean p_transmissionSuccessStatus, template boolean p_transmissionSuccessStatus) :=
template integer p_achievedSendPower) :=
{commandReference := p_commandReference, {commandReference := p_commandReference,
channel := p_channel, channel := p_channel,
transmissionSuccessStatus := p_transmissionSuccessStatus, transmissionSuccessStatus := p_transmissionSuccessStatus,
achievedSendPower := p_achievedSendPower achievedSendPower := ?
} // End mw_In_Status } // End mw_In_Status
} // End of group inSapPrimitives } // End of group inSapPrimitives
......
...@@ -36,8 +36,7 @@ module LibItsDcc_TypesAndValues { ...@@ -36,8 +36,7 @@ module LibItsDcc_TypesAndValues {
type record UtRadioCommandIndication { type record UtRadioCommandIndication {
Channel channel, Channel channel,
integer measuredPower, integer measuredPower,
integer interPacketSpacing_Toff, integer interPacketSpacing_Toff
integer burstLength_Ton
} }
} // End of group utRadioPrimitives } // End of group utRadioPrimitives
...@@ -83,6 +82,12 @@ module LibItsDcc_TypesAndValues { ...@@ -83,6 +82,12 @@ module LibItsDcc_TypesAndValues {
} }
} // End of group subFields } // End of group subFields
group Constants {
const integer c_maxCommandReference := 256;
} // End of group Constants
} }
with { with {
encode "LibItsDcc_TypesAndValues" encode "LibItsDcc_TypesAndValues"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment