OVERVIEW INDEX DEPRECATED HELP CORRESPONDENCES | provided by TTworkbench

Modulepars Data Types Component Types Port Types Constants Templates Signatures Functions Altsteps Test cases

# Module LPP_Templates

Import Declarations:

- SUPL_CommonSteps
  all
- LPP_PDU_Definitions
  all
- SUPL_V2_TypeDefinitions
  all
- SUPL_V2_CommonSteps
  all
- SUPL_Templates
  all
- SUPL_Configuration
  all
- SUPLTypes
  all
- SUPL_V2_Templates
  all

Data Types Summary
LPP_Messages |

Templates Summary
r_suplPosInit_withLppPayload |
m_suplPosLPP |
mw_suplPosLPP |
mw_lppProvCap |
mw_lppReqAssistData_AGPS |
m_lppProvAssistData_AGPS |
m_lppReqLocInfo_AGPS |
mw_lppProvLocInfo_AGPS |
m_lppProvAssistData_Agps |
RequestLocation_LPP_AGPS |
s_RequestLocInfo |
r_HoriAccuracy |
r_VerAccuracy |
s_QoS |
s_QoS_withoutAccuracy |

Functions Summary
f_checkLppMessages |
f_checkLppMessagesTypes |
f_checkAGNSSRequestAssistData |
f_encodeLppPayload |
f_endSession |

## Details

LPP_Messages

    type record of LPP_Message LPP_Messages

r_suplPosInit_withLppPayload

    template UlpMessage r_suplPosInit_withLppPayload := {
    msSUPLPOSINIT := {
    sETCapabilities := ?,
    requestedAssistData := *,
    locationId := ?,
    position := *,
    sUPLPOS := {
    posPayLoad := {ver2_PosPayLoad_extension := {lPPPayload := ?}},
    velocity := *,
    ver2_SUPL_POS_extension := *
    },
    ver := *,
    ver2_SUPL_POS_INIT_extension := *
    }
    }

m_suplPosLPP

    template (value) UlpMessage m_suplPosLPP(template (value) Ver2_PosPayLoad_extension.lPPPayload p_lpp) := {
    msSUPLPOS := {
    posPayLoad := {
    ver2_PosPayLoad_extension := {
        lPPPayload := p_lpp,
        tIA801Payload := omit
    }
    },
    velocity := omit,
    ver2_SUPL_POS_extension := omit
    }
    }

Returns: UlpMessage -
Parameters:

- p_lpp -

mw_suplPosLPP

    template (present) UlpMessage mw_suplPosLPP(template (present) Ver2_PosPayLoad_extension.lPPPayload p_lpp) := {
    msSUPLPOS := {
    posPayLoad := {
    ver2_PosPayLoad_extension := {
        lPPPayload := p_lpp,
        tIA801Payload := omit
    }
    },
    velocity := omit,
    ver2_SUPL_POS_extension := omit
    }
    }

Returns: UlpMessage -
Parameters:

- p_lpp -

mw_lppProvCap

    template (present) LPP_Message mw_lppProvCap := {
      transactionID := {
    initiator := targetDevice,
    transactionNumber := ?
      },
      endTransaction := true,
      sequenceNumber := *,
      acknowledgement := *,
      lpp_MessageBody := {
    c1 := {
      provideCapabilities := {
    criticalExtensions := {
      c1 := {
    provideCapabilities_r9 :=
        {
            commonIEsProvideCapabilities := *,
            a_gnss_ProvideCapabilities := ?,
            ecid_ProvideCapabilities := *,
            epdu_ProvideCapabilities := *,
            otdoa_ProvideCapabilities :=*
        }
      }
    }
      }
    }
      }
    }

mw_lppReqAssistData_AGPS

    template (present) LPP_Message mw_lppReqAssistData_AGPS := {
      transactionID := {initiator := targetDevice, transactionNumber := ?},
      endTransaction := false,
      sequenceNumber := *,
      acknowledgement := *,
      lpp_MessageBody := {
    c1 := {
      requestAssistanceData := {
    criticalExtensions := {
      c1 := {
    requestAssistanceData_r9 := {
      commonIEsRequestAssistanceData := *,
      a_gnss_RequestAssistanceData := ?,
      otdoa_RequestAssistanceData := *,
      epdu_RequestAssistanceData := *
    }
      }
    }
      }
    }
      }
    }

m_lppProvAssistData_AGPS

    template (value) LPP_Message m_lppProvAssistData_AGPS(template (value) LPP_TransactionID p_transId, template (value) A_GNSS_ProvideAssistanceData aGPS_ProvideAssistanceData) := {
      transactionID := p_transId,
      endTransaction := true,
      sequenceNumber := omit,
      acknowledgement := omit,
      lpp_MessageBody := {
    c1 := {
      provideAssistanceData := {
    criticalExtensions := {
      c1 := {
    provideAssistanceData_r9 := {
      commonIEsProvideAssistanceData := omit,
      a_gnss_ProvideAssistanceData :=aGPS_ProvideAssistanceData,
      otdoa_ProvideAssistanceData :=omit,
      epdu_Provide_Assistance_Data := omit
    }
      }
    }
      }
    }
      }
    }

Returns: LPP_Message -
Parameters:

- p_transId -
- aGPS_ProvideAssistanceData -

m_lppReqLocInfo_AGPS

    template  LPP_Message m_lppReqLocInfo_AGPS( template LPP_TransactionID p_transId,template RequestLocationInformation requestLocationInformation_agps) := {
      transactionID := p_transId,
      endTransaction := false,
      sequenceNumber := omit,
      acknowledgement := omit,
      lpp_MessageBody := {
    c1 := {
      requestLocationInformation := requestLocationInformation_agps
    }
      }
    }

Returns: LPP_Message -
Parameters:

- p_transId -
- requestLocationInformation_agps -

mw_lppProvLocInfo_AGPS

    template(present) LPP_Message mw_lppProvLocInfo_AGPS(template(present) LPP_TransactionID p_transId) := {
      transactionID := *,
      endTransaction := true,
      sequenceNumber := *,
      acknowledgement := *,
      lpp_MessageBody := {
    c1 := {
      provideLocationInformation := {
    criticalExtensions := {
      c1 := {
    provideLocationInformation_r9 := {
      commonIEsProvideLocationInformation := *,
      a_gnss_ProvideLocationInformation := *,
      otdoa_ProvideLocationInformation := *,
      ecid_ProvideLocationInformation := *,
      epdu_ProvideLocationInformation := *
    }
      }
    }
      }
    }
      }
    }

Returns: LPP_Message -
Parameters:

- p_transId -

m_lppProvAssistData_Agps

    template (value) LPP_Message m_lppProvAssistData_Agps(template (value) LPP_TransactionID p_transId, template (value) integer p_cellId) := {
      transactionID := p_transId,
      endTransaction := false,
      sequenceNumber := omit,
      acknowledgement := omit,
      lpp_MessageBody := {
    c1 := {
      provideAssistanceData := {
    criticalExtensions := {
      c1 := {
    provideAssistanceData_r9 := {
      commonIEsProvideAssistanceData := omit,
      a_gnss_ProvideAssistanceData :=omit,
      otdoa_ProvideAssistanceData := omit,
      epdu_Provide_Assistance_Data := omit
    }
      }
    }
      }
    }
      }
    }

Returns: LPP_Message -
Parameters:

- p_transId -
- p_cellId -

RequestLocation_LPP_AGPS

    template (value)  CommonIEsRequestLocationInformation RequestLocation_LPP_AGPS(LocationInformationType p_locationInfoType,
      TriggeredReportingCriteria p_triggeredReportingCriteria,PeriodicalReportingCriteria p_PeriodicalReportingCriteria,
    AdditionalInformation p_AdditionalInformation, QoS p_QoS,Environment p_Environment,LocationCoordinateTypes p_LocationCoordinateTypes,VelocityTypes p_VelocityTypes):={
      locationInformationType:=p_locationInfoType ,
      triggeredReporting:=p_triggeredReportingCriteria,
      periodicalReporting :=p_PeriodicalReportingCriteria,
      additionalInformation:=p_AdditionalInformation,
      qos :=p_QoS,
      environment:=p_Environment,
      locationCoordinateTypes:=p_LocationCoordinateTypes,
      velocityTypes:=p_VelocityTypes
    }

Returns: CommonIEsRequestLocationInformation -
Parameters:

- p_locationInfoType -
- p_triggeredReportingCriteria -
- p_PeriodicalReportingCriteria -
- p_AdditionalInformation -
- p_QoS -
- p_Environment -
- p_LocationCoordinateTypes -
- p_VelocityTypes -

s_RequestLocInfo

    template  CommonIEsRequestLocationInformation s_RequestLocInfo( template LocationInformationType p_locationInfoType, template QoS p_qos):={
      locationInformationType:=p_locationInfoType ,
      triggeredReporting:=omit,
      periodicalReporting :=omit,
      additionalInformation:=omit,
      qos :=p_qos,
      environment:=omit,
      locationCoordinateTypes:=omit,
      velocityTypes:=omit
    }

Returns: CommonIEsRequestLocationInformation -
Parameters:

- p_locationInfoType -
- p_qos -

r_HoriAccuracy

    template HorizontalAccuracy  r_HoriAccuracy( integer Horizontalaccuracy,  integer Horizontalconfidence) :={
    accuracy:=Horizontalaccuracy,
    confidence:=Horizontalconfidence
    }

Returns: HorizontalAccuracy -
Parameters:

- Horizontalaccuracy -
- Horizontalconfidence -

r_VerAccuracy

    template VerticalAccuracy  r_VerAccuracy( integer Verticalaccuracy,  integer Verticalconfidence) :={
    accuracy:=Verticalaccuracy,
    confidence:=Verticalconfidence
    }

Returns: VerticalAccuracy -
Parameters:

- Verticalaccuracy -
- Verticalconfidence -

s_QoS

    template QoS s_QoS( template HorizontalAccuracy p_HorizontalAccuracy,template VerticalAccuracy  p_VerticalAccuracy,template integer responseTime):={
    horizontalAccuracy:=p_HorizontalAccuracy,
    verticalCoordinateRequest:=false,
    verticalAccuracy:=p_VerticalAccuracy,
    responseTime:={time:=responseTime},
    velocityRequest:=false
    }

Returns: QoS -
Parameters:

- p_HorizontalAccuracy -
- p_VerticalAccuracy -
- responseTime -

s_QoS_withoutAccuracy

    template QoS s_QoS_withoutAccuracy( template integer responseTime):={
    horizontalAccuracy:=omit,
    verticalCoordinateRequest:=false,
    verticalAccuracy:=omit,
    responseTime:={time:=responseTime},
    velocityRequest:=false
    }

Returns: QoS -
Parameters:

- responseTime -

f_checkLppMessages

    function f_checkLppMessages(
    in template (value) SessionID p_sessionId,
    in template (value) Ver2_PosPayLoad_extension.lPPPayload p_lppPayloadOSRcvd,
    in template (present) LPP_Messages p_lppPayloadMsgExpct,
    out template (value) LPP_Messages p_lppPayloadMsgRcvd
    )
    runs on SUPLComponent
    return boolean

Runs On: SUPLComponent
Returns: boolean -
Parameters:

- p_sessionId -
- p_lppPayloadOSRcvd -
- p_lppPayloadMsgExpct -
- p_lppPayloadMsgRcvd -

f_checkLppMessagesTypes

    function f_checkLppMessagesTypes(
    in template (value) SessionID p_sessionId,
    in template (value) Ver2_PosPayLoad_extension.lPPPayload p_lppPayloadOSRcvd,
    in template (present) LPP_Messages p_lppPayloadMsgExpct,
    out template (value) LPP_Messages p_lppPayloadMsgRcvd
    )
    runs on SUPLComponent
    return boolean

Runs On: SUPLComponent
Returns: boolean -
Parameters:

- p_sessionId -
- p_lppPayloadOSRcvd -
- p_lppPayloadMsgExpct -
- p_lppPayloadMsgRcvd -

f_checkAGNSSRequestAssistData

    function f_checkAGNSSRequestAssistData(
    in template (value) SessionID p_sessionId,
    in template (value) Ver2_PosPayLoad_extension.lPPPayload p_lppPayloadOSRcvd,
    in template (present) LPP_Messages p_lppPayloadMsgExpct,
    out template (value) LPP_Messages p_lppPayloadMsgRcvd,
    out  A_GNSS_RequestAssistanceData a_GNSS_RequestAssistanceData_Template
    )    runs on SUPLComponent    return boolean

Runs On: SUPLComponent
Returns: boolean -
Parameters:

- p_sessionId -
- p_lppPayloadOSRcvd -
- p_lppPayloadMsgExpct -
- p_lppPayloadMsgRcvd -
- a_GNSS_RequestAssistanceData_Template -

f_encodeLppPayload

    function f_encodeLppPayload(in template(value) LPP_Messages p_lppMessages)
    return Ver2_PosPayLoad_extension.lPPPayload

Returns: lPPPayload -
Parameters:

- p_lppMessages -

f_endSession

    function f_endSession(in verdicttype p_verdict, in charstring p_errorMsg, SessionID p_sessionId)
    runs on SUPLComponent

Runs On: SUPLComponent
Returns: void -
Parameters:

- p_verdict -
- p_errorMsg -
- p_sessionId -

© Copyright Testing Technologies IST GmbH 2012