This module contains the definitions for the MQTT load generator component
| tsp_EPTF_MQTT_LGen_debug | tsp_EPTF_MQTT_LGen_debug - boolean - Enabled/disable debug logging |
| tsp_EPTF_MQTT_LGen_debugVerbose | tsp_EPTF_MQTT_LGen_debugVerbose - boolean - Enabled/disable verbosity of debug logging |
| tsp_EPTF_MQTT_LGen_maxBindableCtx | tsp_EPTF_MQTT_LGen_maxBindableCtx - integer - Maximum number of context to bind(?) |
| tsp_EPTF_MQTT_LGen_templates | tsp_EPTF_MQTT_LGen_templates - MQTT_Template_List - MQTT message template definitions for sending |
| tsp_EPTF_MQTT_PUBLISH_responseWatchdog | tsp_EPTF_MQTT_PUBLISH_responseWatchdog - float - Watchdog timer value to wait responses to an MQTT PUBLISH message |
| tsp_EPTF_MQTT_SUBSCRIBE_responseWatchdog | tsp_EPTF_MQTT_SUBSCRIBE_responseWatchdog - float - Watchdog timer value to wait responses to an MQTT SUBSCRIBE message |

| EPTF_MQTT_LGen_Definitions | This module contains the definitions for the MQTT load generator component |
| tsp_EPTF_MQTT_LGen_debug | Enabled/disable debug logging |
| tsp_EPTF_MQTT_LGen_debugVerbose | Enabled/disable verbosity of debug logging |
| tsp_EPTF_MQTT_LGen_maxBindableCtx | Can be used to limit the maximum number of contexts set it to -1 otherwise. |
| tsp_EPTF_MQTT_LGen_templates | MQTT message template definitions for sending |
| tsp_EPTF_MQTT_PUBLISH_responseWatchdog | Watchdog timer value to wait responses to an MQTT PUBLISH message |
| tsp_EPTF_MQTT_SUBSCRIBE_responseWatchdog | Watchdog timer value to wait responses to an MQTT SUBSCRIBE message |
| MQTT_Template | Grouping a <MQTT_v3_1_1_ReqResp> with an id |
| MQTT_Template_List | List of MQTT_Template |
| MQTT_Template_DB | Storing MQTT_Template instances |
| MQTT_Session | Models and MQTT session |
| MQTT_Session_State | States of an MQTT_Session state machine |
| MQTT_Session_List | List of MQTT_Session |
| MQTT_Session_DB | Storing MQTT_Session instances |
| MQTT_Subscription | Models an MQTT subscription |
| MQTT_Subscription_State | States of an MQTT_Subscription state machine |
| MQTT_Subscription_List | List of MQTT_Subscription |
| MQTT_Subscription_DB | Storing MQTT_Subscription instances |
| MQTT_Publish | Models an MQTT publish |
| MQTT_Publish_Side | Side of an MQTT_Publish |
| MQTT_Publish_State | State of an MQTT_Publish |
| MQTT_PublishQos1_State | Qos1 state of an MQTT_Publish_State |
| MQTT_PublishQos2_State | Qos2 state of an MQTT_Publish_State |
| MQTT_Publish_List | List of MQTT_Publish |
| MQTT_Publish_DB | Storing MQTT_Publish instances |
| MQTT_StepCtx | Type that stores the most important pointers |
| MQTT_Address_List | List of <Socket> |
| MQTT_Address_DB | Storing <Socket> instances |
| fcb_EPTF_MQTT_messageReceived | Call-back function type for reporting received MQTT messages |
| EPTF_MQTT_LGen_CT | MQTT load generator component |
| c_MQTT_eventIdx_transportSucc | Integer constant for the MQTT transport succesful indication |
| c_MQTT_eventName_transportSucc | Charstring constant for the MQTT transport succesful indication |
| c_MQTT_eventIdx_transportFail | Integer constant for the MQTT transport fail indication |
| c_MQTT_eventName_transportFail | Charstring constant for the MQTT transport fail indication |
| c_MQTT_eventIdx_transportEstablished | Integer constant for the MQTT transport established indication |
| c_MQTT_eventName_transportEstablished | Charstring constant for the MQTT transport established indication |
| c_MQTT_eventIdx_transportClosed | Integer constant for the MQTT transport closed indication |
| c_MQTT_eventName_transportClosed | Charstring constant for the MQTT transport closed indication |
| c_MQTT_eventIdx_CONNACK_Accepted | Integer constant for the MQTT CONNACK accepted indication |
| c_MQTT_eventName_CONNACK_Accepted | Charstring constant for the MQTT CONNACK accepted indication |
| c_MQTT_eventIdx_CONNACK_Refused | Integer constant for the MQTT CONNACK refused indication |
| c_MQTT_eventName_CONNACK_Refused | Charstring constant for the MQTT CONNACK refused indication |
| c_MQTT_eventIdx_SUBACK_Accepted | Integer constant for the MQTT SUBACK accepted indication |
| c_MQTT_eventName_SUBACK_Accepted | Charstring constant for the MQTT SUBACK accepted indication |
| c_MQTT_eventIdx_SUBACK_Refused | Integer constant for the MQTT SUBACK refused indication |
| c_MQTT_eventName_SUBACK_Refused | Charstring constant for the MQTT SUBACK refused indication |
| c_MQTT_eventIdx_UNSUBACK | Integer constant for the MQTT UNSUBACK indication |
| c_MQTT_eventName_UNSUBACK | Charstring constant for the MQTT UNSUBACK indication |
| c_MQTT_eventIdx_PUBLISH | Integer constant for the MQTT PUBLISH indication |
| c_MQTT_eventName_PUBLISH | Charstring constant for the MQTT PUBLISH indication |
| c_MQTT_eventIdx_PING_Request | Integer constant for the MQTT PING request indication |
| c_MQTT_eventName_PING_Request | Charstring constant for the MQTT PING request indication |
| c_MQTT_eventIdx_PING_Response | Integer constant for the MQTT PING response indication |
| c_MQTT_eventName_PING_Response | Charstring constant for the MQTT PING response indication |
| c_MQTT_eventIdx_PUBACK | Integer constant for the MQTT PUBACK indication |
| c_MQTT_eventName_PUBACK | Charstring constant for the MQTT PUBACK indication |
| c_MQTT_eventIdx_PUBREC | Integer constant for the MQTT PUBREC indication |
| c_MQTT_eventName_PUBREC | Charstring constant for the MQTT PUBREC indication |
| c_MQTT_eventIdx_PUBREL | Integer constant for the MQTT PUBREL indication |
| c_MQTT_eventName_PUBREL | Charstring constant for the MQTT PUBREL indication |
| c_MQTT_eventIdx_PUBCOMP | Integer constant for the MQTT PUBCOMP indication |
| c_MQTT_eventName_PUBCOMP | Charstring constant for the MQTT PUBCOMP indication |
| c_MQTT_eventIdx_PUBLISH_Timeout | Integer constant for the MQTT PUBLISH timeout indication |
| c_MQTT_eventName_PUBLISH_Timeout | Charstring constant for the MQTT PUBLISH timeout indication |
| c_MQTT_eventIdx_SUBSCRIBE_Timeout | Integer constant for the MQTT SUBSCRIBE timeout indication |
| c_MQTT_eventName_SUBSCRIBE_Timeout | Charstring constant for the MQTT SUBSCRIBE timeout indication |
| c_MQTT_stepIdx_init | Integer constant for the MQTT init test step |
| c_MQTT_stepName_init | Charstring constant for the MQTT init test step |
| c_MQTT_stepIdx_cleanUp | Integer constant for the MQTT clean up test step |
| c_MQTT_stepName_cleanUp | Charstring constant for the MQTT clean up test step |
| c_MQTT_stepIdx_setLocalAddress | Integer constant for the MQTT set local address |
| c_MQTT_stepName_setLocalAddress | Integer constant for the MQTT set local address |
| c_MQTT_stepIdx_setLocalAddress_byVars | Integer constant for the MQTT set local address by variables test step |
| c_MQTT_stepName_setLocalAddress_byVars | Integer constant for the MQTT set local address by variables test step |
| c_MQTT_stepIdx_setRemoteAddress | Integer constant for the MQTT set remote address |
| c_MQTT_stepName_setRemoteAddress | Integer constant for the MQTT set remote address |
| c_MQTT_stepIdx_setRemoteAddress_byVars | Integer constant for the MQTT set remote address by variables test step |
| c_MQTT_stepName_setRemoteAddress_byVars | Integer constant for the MQTT set remote address by variables test step |
| c_MQTT_stepIdx_transportConnect | Integer constant for the MQTT transport connect test step |
| c_MQTT_stepName_transportConnect | Charstring constant for the MQTT transport connect test step |
| c_MQTT_stepIdx_transportClose | Integer constant for the MQTT transport close test step |
| c_MQTT_stepName_transportClose | Charstring constant for the MQTT transport close test step |
| c_MQTT_stepIdx_startListening | Integer constant for the MQTT start listening test step |
| c_MQTT_stepName_startListening | Charstring constant for the MQTT start listening test step |
| c_MQTT_stepIdx_loadTemplate_byIntIdx | Integer constant for the MQTT load template by integer idx pointer test step |
| c_MQTT_stepName_loadTemplate_byIntIdx | Charstring constant for the MQTT load template by integer idx pointer test step |
| c_MQTT_stepIdx_loadTemplate_byStringId | Integer constant for the MQTT load template by string id test step |
| c_MQTT_stepName_loadTemplate_byStringId | Charstring constant for the MQTT load template by string id test step |
| c_MQTT_stepIdx_send | Integer constant for the MQTT send test step |
| c_MQTT_stepName_send | Charstring constant for the MQTT send test step |
| c_MQTT_stepIdx_setTopic_stringParam | Integer constant for the MQTT set topic by string parameter test step |
| c_MQTT_stepName_setTopic_stringParam | Charstring constant for the MQTT set topic by string parameter test step |
| c_MQTT_stepIdx_setTopic_add_stringParam | Integer constant for the MQTT set topic by adding a string test step |
| c_MQTT_stepName_setTopic_add_stringParam | Charstring constant for the MQTT set topic by adding a string test step |
| c_MQTT_stepIdx_setTopic_add_varParams | Integer constant for the MQTT set topic by adding variable parameters test step |
| c_MQTT_stepName_setTopic_add_varParams | Charstring constant for the MQTT set topic by adding variable parameters test step |
| c_MQTT_stepIdx_setTopic_add_clientId | Integer constant for the MQTT set topic by adding the client id test step |
| c_MQTT_stepName_setTopic_add_clientId | Charstring constant for the MQTT set topic by adding the client id test step |
| c_MQTT_stepIdx_setQos_intParam | Integer constant for the MQTT set QoS using integer parameter test step |
| c_MQTT_stepName_setQos_intParam | Charstring constant for the MQTT set QoS using integer parameter test step |
| c_MQTT_stepIdx_setPublishMessage_stringParam | Integer constant for the MQTT set publish message using a string parameter test step |
| c_MQTT_stepName_setPublishMessage_stringParam | Charstring constant for the MQTT set publish message using a string parameter test step |
| c_MQTT_stepIdx_setPublishMessage_add_stringParam | Integer constant for the MQTT set publish by adding a string parameter test step |
| c_MQTT_stepName_setPublishMessage_add_stringParam | Charstring constant for the MQTT set publish by adding a string parameter test step |
| c_MQTT_stepIdx_setPublishMessage_add_varParams | Integer constant for the MQTT set publish by adding variable parameters test step |
| c_MQTT_stepName_setPublishMessage_add_varParams | Charstring constant for the MQTT set publish by adding variable parameters test step |
| c_MQTT_stepIdx_setPublishMessage_add_clientId | Integer constant for the MQTT set publish by adding the client id test step |
| c_MQTT_stepName_setPublishMessage_add_clientId | Charstring constant for the MQTT set publish by adding the client id test step |
| c_MQTT_stepIdx_reportPingResponse | Integer constant for the MQTT enabling/disabling the reporting of a ping response test step |
| c_MQTT_stepName_reportPingResponse | Charstring constant for the MQTT enabling/disabling the reporting of a ping response test step |
| c_MQTT_stepIdx_reportPublishResponse | Integer constant for the MQTT enabling/disabling the reporting of a publish response test step |
| c_MQTT_stepName_reportPublishResponse | Charstring constant for the MQTT enabling/disabling the reporting of a publish response test step |
type record MQTT_Template_DB
Storing MQTT_Template instances

| data | MQTT_Template_List - elements |
| hashRef | charstring2int hash reference |
type record MQTT_Session
Models and MQTT session


| eIdx | integer - pointer to the entity that owns the session |
| fsmIdx | integer - pointer to the fsm that owns the session |
| localAddressIdx | integer - pointer to the local address in v_MQTT_addressDB |
| remoteAddressIdx | integer - pointer to the remote address in v_MQTT_addressDB |
| clientId | charstring - the client ID used in the session |
| keepAliveTime | float - timer used for sending keep alive messages |
| nextPacketId | integer - id used for the next packet |
| subscriptionRefs | <EPTF_IntegerList> - pointer to subscriptions in v_MQTT_subscriptionDB MQTT_Subscription_DB |
| publishRefs | <EPTF_IntegerList> - pointer to publications in v_MQTT_publishDB MQTT_Publish_DB |
| keepaliveTimer | integer - reference for the keep alive timer in the scheduler |
| reportPingResponse | boolean - enable/disable reporting of ping responses |
| reportPublishResponse | boolean - enable/disabled reporting of publish responses |
| state | MQTT_Session_State - state of an MQTT session |
type record MQTT_Session_DB
Storing MQTT_Session instances

| queue | <EPTF_FreeBusyQueue> - free-busy queue to provide dynamic array |
| data | MQTT_Session_List - elements |
| hashRef | str2int hash reference |
type record MQTT_Subscription
Models an MQTT subscription

| sessionIdx | integer - the session, the subscription belongs to |
| watchdogTimer | integer - reference to the watchod timer |
| request | <MQTT_v3_1_1_Subscribe> - the MQTT PDU that initialized the subscription (optional) |
| state | MQTT_Subscription_State - state of an MQTT subscription |

States of an MQTT_Subscription state machine
type record MQTT_Subscription_DB
Storing MQTT_Subscription instances

| queue | <EPTF_FreeBusyQueue> - free-busy queue to provide dynamic array |
| data | MQTT_Subscription_List - elements |
| hashRef | str2int hash reference |
type record MQTT_Publish
Models an MQTT publish

| sessionIdx | integer - the session, the subscription belongs to |
| packetId | integer - packet id |
| watchdogTimer | integer - reference to the watchdog timer in the scheduler |
| side | MQTT_Publish_Side - originating or terminating side of the publication |
| state | MQTT_Publish_State - state of an MQTT publish |


type union MQTT_Publish_State
State of an MQTT_Publish
| qos1 | MQTT_PublishQos1_State - QoS1 state |
| qos2 | MQTT_PublishQos2_State - QoS2 state |
| created | boolean - just created |
| removing | boolean - currently removing |
type record MQTT_Publish_DB
Storing MQTT_Publish instances

| queue | <EPTF_FreeBusyQueue> - free-busy queue to provide dynamic array |
| data | MQTT_Publish_List - elements |
| hashRef | str2int hash reference |
type record MQTT_StepCtx
Type that stores the most important pointers
| eIdx | integer - entity index |
| fsmIdx | integer - fsm index |
| sessionIdx | integer - MQTT session index MQTT_Session |
type record MQTT_Address_DB
Storing <Socket> instances

| queue | <EPTF_FreeBusyQueue> - free-busy queue to provide dynamic array |
| data | MQTT_Address_List - elements |
| hashRef | str2int hash reference |
type function fcb_EPTF_MQTT_messageReceived( in EPTF_MQTT_PDU pl_message ) runs on self
Call-back function type for reporting received MQTT messages
| pl_message | in EPTF_MQTT_PDU - received MQTT message |
type component EPTF_MQTT_LGen_CT extends EPTF_MQTT_Transport_User_CT, EPTF_LGenBase_CT, EPTF_Logging_CT
MQTT load generator component

-
-
| v_MQTT_initialized | boolean - Flag to indicate that if init function was already called |
| v_MQTT_bIdx | integer - Name of the NAS_EPS LGen component |
| v_MQTT_loggingMaskId | integer - logging mask id |
| v_MQTT_ctx | MQTT_StepCtx - collection of the most important pointers |
| v_MQTT_session | MQTT_Session - temporary variable for a MQTT_Session |
| v_MQTT_subscription | MQTT_Subscription - temporary variable for a MQTT_Subscription |
| v_MQTT_publish | MQTT_Publish - temporary variable for a MQTT_Publish |
| v_MQTT_msgToProcess | EPTF_MQTT_PDU - message to process |
| v_MQTT_msgToSend | EPTF_MQTT_PDU - message to send |
| vf_MQTT_msgReceived | fcb_EPTF_MQTT_messageReceived - Function hook for reporting received messages |
| v_MQTT_addressDB | MQTT_Address_DB - address database of <Socket> |
| v_MQTT_templateDB | MQTT_Template_DB - template database MQTT_Template |
| v_MQTT_sessionDB | MQTT_Session_DB - MQTT session database of MQTT_Session |
| v_MQTT_subscriptionDB | MQTT_Subscription_DB - MQTT subscription database of MQTT_Subscription |
| v_MQTT_publishDB | MQTT_Publish_DB - MQTT publish database of MQTT_Session |
Grouping a MQTT_v3_1_1_ReqResp with an id
type record MQTT_Template
List of MQTT_Template
type record of MQTT_Template MQTT_Template_List
Storing MQTT_Template instances
type record MQTT_Template_DB
Models and MQTT session
type record MQTT_Session
List of MQTT_Session
type record of MQTT_Session MQTT_Session_List
Storing MQTT_Session instances
type record MQTT_Session_DB
Models an MQTT subscription
type record MQTT_Subscription
List of MQTT_Subscription
type record of MQTT_Subscription MQTT_Subscription_List
Storing MQTT_Subscription instances
type record MQTT_Subscription_DB
Models an MQTT publish
type record MQTT_Publish
State of an MQTT_Publish
type union MQTT_Publish_State
List of MQTT_Publish
type record of MQTT_Publish MQTT_Publish_List
Storing MQTT_Publish instances
type record MQTT_Publish_DB
Type that stores the most important pointers
type record MQTT_StepCtx
List of Socket
type record of Socket MQTT_Address_List
Storing Socket instances
type record MQTT_Address_DB
Call-back function type for reporting received MQTT messages
type function fcb_EPTF_MQTT_messageReceived( in EPTF_MQTT_PDU pl_message ) runs on self
MQTT load generator component
type component EPTF_MQTT_LGen_CT extends EPTF_MQTT_Transport_User_CT, EPTF_LGenBase_CT, EPTF_Logging_CT
Integer constant for the MQTT transport succesful indication
const integer c_MQTT_eventIdx_transportSucc := 0
Charstring constant for the MQTT transport succesful indication
const charstring c_MQTT_eventName_transportSucc := "MQTT transport: succ rsp"
Integer constant for the MQTT transport fail indication
const integer c_MQTT_eventIdx_transportFail := 1
Charstring constant for the MQTT transport fail indication
const charstring c_MQTT_eventName_transportFail := "MQTT transport: fail rsp"
Integer constant for the MQTT transport established indication
const integer c_MQTT_eventIdx_transportEstablished := 2
Charstring constant for the MQTT transport established indication
const charstring c_MQTT_eventName_transportEstablished := "MQTT transport: connection established"
Integer constant for the MQTT transport closed indication
const integer c_MQTT_eventIdx_transportClosed := 3
Charstring constant for the MQTT transport closed indication
const charstring c_MQTT_eventName_transportClosed := "MQTT transport: connection closed"
Integer constant for the MQTT CONNACK accepted indication
const integer c_MQTT_eventIdx_CONNACK_Accepted := 4
Charstring constant for the MQTT CONNACK accepted indication
const charstring c_MQTT_eventName_CONNACK_Accepted := "MQTT rsp: CONNACK Accepted"
Integer constant for the MQTT CONNACK refused indication
const integer c_MQTT_eventIdx_CONNACK_Refused := 5
Charstring constant for the MQTT CONNACK refused indication
const charstring c_MQTT_eventName_CONNACK_Refused := "MQTT rsp: CONNACK Refused"
Integer constant for the MQTT SUBACK accepted indication
const integer c_MQTT_eventIdx_SUBACK_Accepted := 6
Charstring constant for the MQTT SUBACK accepted indication
const charstring c_MQTT_eventName_SUBACK_Accepted := "MQTT rsp: SUBACK Accepted"
Integer constant for the MQTT SUBACK refused indication
const integer c_MQTT_eventIdx_SUBACK_Refused := 7
Charstring constant for the MQTT SUBACK refused indication
const charstring c_MQTT_eventName_SUBACK_Refused := "MQTT rsp: SUBACK Refused"
Integer constant for the MQTT UNSUBACK indication
const integer c_MQTT_eventIdx_UNSUBACK := 8
Charstring constant for the MQTT UNSUBACK indication
const charstring c_MQTT_eventName_UNSUBACK := "MQTT rsp: UNSUBACK"
Integer constant for the MQTT PUBLISH indication
const integer c_MQTT_eventIdx_PUBLISH := 9
Charstring constant for the MQTT PUBLISH indication
const charstring c_MQTT_eventName_PUBLISH := "MQTT req: PUBLISH"
Integer constant for the MQTT PING request indication
const integer c_MQTT_eventIdx_PING_Request := 10
Charstring constant for the MQTT PING request indication
const charstring c_MQTT_eventName_PING_Request := "MQTT req: PING"
Integer constant for the MQTT PING response indication
const integer c_MQTT_eventIdx_PING_Response := 11
Charstring constant for the MQTT PING response indication
const charstring c_MQTT_eventName_PING_Response := "MQTT rsp: PING"
Integer constant for the MQTT PUBACK indication
const integer c_MQTT_eventIdx_PUBACK := 12
Charstring constant for the MQTT PUBACK indication
const charstring c_MQTT_eventName_PUBACK := "MQTT rsp: PUBACK"
Integer constant for the MQTT PUBREC indication
const integer c_MQTT_eventIdx_PUBREC := 13
Charstring constant for the MQTT PUBREC indication
const charstring c_MQTT_eventName_PUBREC := "MQTT rsp: PUBREC"
Integer constant for the MQTT PUBREL indication
const integer c_MQTT_eventIdx_PUBREL := 14
Charstring constant for the MQTT PUBREL indication
const charstring c_MQTT_eventName_PUBREL := "MQTT req: PUBREL"
Integer constant for the MQTT PUBCOMP indication
const integer c_MQTT_eventIdx_PUBCOMP := 15
Charstring constant for the MQTT PUBCOMP indication
const charstring c_MQTT_eventName_PUBCOMP := "MQTT rsp: PUBCOMP"
Integer constant for the MQTT PUBLISH timeout indication
const integer c_MQTT_eventIdx_PUBLISH_Timeout := 16
Charstring constant for the MQTT PUBLISH timeout indication
const charstring c_MQTT_eventName_PUBLISH_Timeout := "MQTT timeout: PUBLISH Timeout"
Integer constant for the MQTT SUBSCRIBE timeout indication
const integer c_MQTT_eventIdx_SUBSCRIBE_Timeout := 17
Charstring constant for the MQTT SUBSCRIBE timeout indication
const charstring c_MQTT_eventName_SUBSCRIBE_Timeout := "MQTT timeout: SUBSCRIBE Timeout"
Integer constant for the MQTT init test step
const integer c_MQTT_stepIdx_init := 0
Charstring constant for the MQTT init test step
const charstring c_MQTT_stepName_init := "MQTT Applib: init"
Integer constant for the MQTT clean up test step
const integer c_MQTT_stepIdx_cleanUp := 1
Charstring constant for the MQTT clean up test step
const charstring c_MQTT_stepName_cleanUp := "MQTT Applib: cleanUp"
Integer constant for the MQTT set local address
const integer c_MQTT_stepIdx_setLocalAddress := 2
Integer constant for the MQTT set local address
const charstring c_MQTT_stepName_setLocalAddress := "MQTT Applib: setLocalAddress"
Integer constant for the MQTT set local address by variables test step
const integer c_MQTT_stepIdx_setLocalAddress_byVars := 3
Integer constant for the MQTT set local address by variables test step
const charstring c_MQTT_stepName_setLocalAddress_byVars := "MQTT Applib: setLocalAddress_byVars"
Integer constant for the MQTT set remote address
const integer c_MQTT_stepIdx_setRemoteAddress := 4
Integer constant for the MQTT set remote address
const charstring c_MQTT_stepName_setRemoteAddress := "MQTT Applib: setRemoteAddress"
Integer constant for the MQTT set remote address by variables test step
const integer c_MQTT_stepIdx_setRemoteAddress_byVars := 5
Integer constant for the MQTT set remote address by variables test step
const charstring c_MQTT_stepName_setRemoteAddress_byVars := "MQTT Applib: setRemoteAddress_byVars"
Integer constant for the MQTT transport connect test step
const integer c_MQTT_stepIdx_transportConnect := 6
Charstring constant for the MQTT transport connect test step
const charstring c_MQTT_stepName_transportConnect := "MQTT Applib: transportConnect"
Integer constant for the MQTT transport close test step
const integer c_MQTT_stepIdx_transportClose := 7
Charstring constant for the MQTT transport close test step
const charstring c_MQTT_stepName_transportClose := "MQTT Applib: transportClose"
Integer constant for the MQTT start listening test step
const integer c_MQTT_stepIdx_startListening := 8
Charstring constant for the MQTT start listening test step
const charstring c_MQTT_stepName_startListening := "MQTT Applib: startListening"
Integer constant for the MQTT load template by integer idx pointer test step
const integer c_MQTT_stepIdx_loadTemplate_byIntIdx := 9
Charstring constant for the MQTT load template by integer idx pointer test step
const charstring c_MQTT_stepName_loadTemplate_byIntIdx := "MQTT Applib: loadTemplate_byIntIdx"
Integer constant for the MQTT load template by string id test step
const integer c_MQTT_stepIdx_loadTemplate_byStringId := 10
Charstring constant for the MQTT load template by string id test step
const charstring c_MQTT_stepName_loadTemplate_byStringId := "MQTT Applib: loadTemplate_byStringId"
Integer constant for the MQTT send test step
const integer c_MQTT_stepIdx_send := 11
Charstring constant for the MQTT send test step
const charstring c_MQTT_stepName_send := "MQTT Applib: send"
Integer constant for the MQTT set topic by string parameter test step
const integer c_MQTT_stepIdx_setTopic_stringParam := 12
Charstring constant for the MQTT set topic by string parameter test step
const charstring c_MQTT_stepName_setTopic_stringParam := "MQTT Applib: setTopic_stringParam"
Integer constant for the MQTT set topic by adding a string test step
const integer c_MQTT_stepIdx_setTopic_add_stringParam := 13
Charstring constant for the MQTT set topic by adding a string test step
const charstring c_MQTT_stepName_setTopic_add_stringParam := "MQTT Applib: setTopic_add_stringParam"
Integer constant for the MQTT set topic by adding variable parameters test step
const integer c_MQTT_stepIdx_setTopic_add_varParams := 14
Charstring constant for the MQTT set topic by adding variable parameters test step
const charstring c_MQTT_stepName_setTopic_add_varParams := "MQTT Applib: setTopic_add_varParams"
Integer constant for the MQTT set topic by adding the client id test step
const integer c_MQTT_stepIdx_setTopic_add_clientId := 15
Charstring constant for the MQTT set topic by adding the client id test step
const charstring c_MQTT_stepName_setTopic_add_clientId := "MQTT Applib: setTopic_add_clientId"
Integer constant for the MQTT set QoS using integer parameter test step
const integer c_MQTT_stepIdx_setQos_intParam := 16
Charstring constant for the MQTT set QoS using integer parameter test step
const charstring c_MQTT_stepName_setQos_intParam := "MQTT Applib: setQos_intParam"
Integer constant for the MQTT set publish message using a string parameter test step
const integer c_MQTT_stepIdx_setPublishMessage_stringParam := 17
Charstring constant for the MQTT set publish message using a string parameter test step
const charstring c_MQTT_stepName_setPublishMessage_stringParam := "MQTT Applib: setPublishMessage_stringParam"
Integer constant for the MQTT set publish by adding a string parameter test step
const integer c_MQTT_stepIdx_setPublishMessage_add_stringParam := 18
Charstring constant for the MQTT set publish by adding a string parameter test step
const charstring c_MQTT_stepName_setPublishMessage_add_stringParam := "MQTT Applib: setPublishMessage_add_stringParam"
Integer constant for the MQTT set publish by adding variable parameters test step
const integer c_MQTT_stepIdx_setPublishMessage_add_varParams := 19
Charstring constant for the MQTT set publish by adding variable parameters test step
const charstring c_MQTT_stepName_setPublishMessage_add_varParams := "MQTT Applib: setPublishMessage_add_varParams"
Integer constant for the MQTT set publish by adding the client id test step
const integer c_MQTT_stepIdx_setPublishMessage_add_clientId := 20
Charstring constant for the MQTT set publish by adding the client id test step
const charstring c_MQTT_stepName_setPublishMessage_add_clientId := "MQTT Applib: setPublishMessage_add_clientId"
Integer constant for the MQTT enabling/disabling the reporting of a ping response test step
const integer c_MQTT_stepIdx_reportPingResponse := 21
Charstring constant for the MQTT enabling/disabling the reporting of a ping response test step
const charstring c_MQTT_stepName_reportPingResponse := "MQTT Applib: reportPingResponse"
Integer constant for the MQTT enabling/disabling the reporting of a publish response test step
const integer c_MQTT_stepIdx_reportPublishResponse := 22
Charstring constant for the MQTT enabling/disabling the reporting of a publish response test step
const charstring c_MQTT_stepName_reportPublishResponse := "MQTT Applib: reportPublishResponse"
Test Step to dynamically allocate and initialize the MQTT FSM context for the caller FSM.
function f_MQTT_step_init( in EPTF_LGenBase_TestStepArgs pl_ptr ) runs on EPTF_MQTT_LGen_CT
Test Step to free up the MQTT FSM context for the caller FSM.
function f_MQTT_step_cleanUp( in EPTF_LGenBase_TestStepArgs pl_ptr ) runs on EPTF_MQTT_LGen_CT
Test step to set the local address in the entity context.
function f_MQTT_step_setLocalAddress_byVars( in EPTF_LGenBase_TestStepArgs pl_ptr ) runs on EPTF_MQTT_LGen_CT
Test step to set the remote address in the FSM context.
function f_MQTT_step_setRemoteAddress_byVars( in EPTF_LGenBase_TestStepArgs pl_ptr ) runs on EPTF_MQTT_LGen_CT
The test step expects that local and remote socket adresses are set in the addressDB.
function f_MQTT_step_transportConnect( in EPTF_LGenBase_TestStepArgs pl_ptr ) runs on EPTF_MQTT_LGen_CT
The test step expects that a transport endpoint is set in the addressDB as a local address.
function f_MQTT_step_transportClose( in EPTF_LGenBase_TestStepArgs pl_ptr ) runs on EPTF_MQTT_LGen_CT
The test step expects that a transport endpoint is set in the addressDB as a local address.
function f_MQTT_step_startListening( in EPTF_LGenBase_TestStepArgs pl_ptr ) runs on EPTF_MQTT_LGen_CT
Test step to load a MQTT_Template from tsp_EPTF_MQTT_LGen_templates into v_MQTT_msgToSend (which can be sent using the send test step) by its integer index in test step args.
function f_MQTT_step_loadTemplate_byIntIdx( in EPTF_LGenBase_TestStepArgs pl_ptr ) runs on EPTF_MQTT_LGen_CT
Test step to load a MQTT_Template from tsp_EPTF_MQTT_LGen_templates into v_MQTT_msgToSend (which can be sent using the send test step) by its string Id.
function f_MQTT_step_loadTemplate_byStringId( in EPTF_LGenBase_TestStepArgs pl_ptr ) runs on EPTF_MQTT_LGen_CT
Test step to send out an MQTT message from v_MQTT_msgToSend.
function f_MQTT_step_send( in EPTF_LGenBase_TestStepArgs pl_ptr ) runs on EPTF_MQTT_LGen_CT
Test step to set the string value referred by the test step argument as the topic of the first subscription entry in SUBSCRIBE and PUBLISH messages.
function f_MQTT_step_setTopic_stringParam( in EPTF_LGenBase_TestStepArgs pl_ptr ) runs on EPTF_MQTT_LGen_CT
Test step to add the string value referred by the test step argument to the topic of the first subscription entry in SUBSCRIBE and PUBLISH messages.
function f_MQTT_step_setTopic_add_stringParam( in EPTF_LGenBase_TestStepArgs pl_ptr ) runs on EPTF_MQTT_LGen_CT
Test step to add the string value of variables referred by the test step argument to the topic of the first subscription entry in SUBSCRIBE and PUBLISH messages.
function f_MQTT_step_setTopic_add_varParams( in EPTF_LGenBase_TestStepArgs pl_ptr ) runs on EPTF_MQTT_LGen_CT
Test step to add client ID in the current session to the topic in the first subscription in SUBSCRIBE and to PUBLISH message.
function f_MQTT_step_setTopic_add_clientId( in EPTF_LGenBase_TestStepArgs pl_ptr ) runs on EPTF_MQTT_LGen_CT
Test step to set the QoS level in SUBSCRIBE and PUBLISH messages using test step arguments
function f_MQTT_step_setQos_intParam( in EPTF_LGenBase_TestStepArgs pl_ptr ) runs on EPTF_MQTT_LGen_CT
Test step to set the content of the payload in PUBLISH message.
function f_MQTT_step_setPublishMessage_stringParam( in EPTF_LGenBase_TestStepArgs pl_ptr ) runs on EPTF_MQTT_LGen_CT
Test step to concatenate a string to the content of the PUBLISH message
function f_MQTT_step_setPublishMessage_add_stringParam( in EPTF_LGenBase_TestStepArgs pl_ptr ) runs on EPTF_MQTT_LGen_CT
Test step to add the content of a set of variables to the payload of a PUBLISH message.
function f_MQTT_step_setPublishMessage_add_varParams( in EPTF_LGenBase_TestStepArgs pl_ptr ) runs on EPTF_MQTT_LGen_CT
Test step to add client ID of the current session to the payload of a PUBLISH message.
function f_MQTT_step_setPublishMessage_add_clientId( in EPTF_LGenBase_TestStepArgs pl_ptr ) runs on EPTF_MQTT_LGen_CT
Test step to set the report ping response to enable/disable using using step arguments.
function f_MQTT_step_reportPingResponse( in EPTF_LGenBase_TestStepArgs pl_ptr ) runs on EPTF_MQTT_LGen_CT
Test step to set the report publish response to enable/disable using step arguments
function f_MQTT_step_reportPublishResponse( in EPTF_LGenBase_TestStepArgs pl_ptr ) runs on EPTF_MQTT_LGen_CT
Initializes the v_MQTT_templateDB MQTT_Template_DB database by adding the templates given in tsp_EPTF_MQTT_LGen_templates
function f_EPTF_MQTT_templateDB_init() runs on EPTF_MQTT_LGen_CT
Adds a new element to the v_MQTT_templateDB MQTT_Template_DB database
function f_EPTF_MQTT_templateDB_add( in MQTT_Template p_template ) runs on EPTF_MQTT_LGen_CT return integer
Gets the index of an MQTT_Template element in v_MQTT_templateDB MQTT_Template_DB database
function f_EPTF_MQTT_templateDB_lookUp( in charstring p_id ) runs on EPTF_MQTT_LGen_CT return integer
Retrieves an element from the v_MQTT_templateDB MQTT_Template_DB database
function f_EPTF_MQTT_templateDB_get( in integer p_idx, inout MQTT_v3_1_1_ReqResp p_pdu ) runs on EPTF_MQTT_LGen_CT
Cleans up the reserved resources of the v_MQTT_templateDB MQTT_Template_DB database
function f_EPTF_MQTT_templateDB_cleanUp() runs on EPTF_MQTT_LGen_CT
This is the entry point for an MQTT session fsm handling events coming from the application layer (e.g.
function f_EPTF_MQTT_session_fromApp( inout EPTF_MQTT_PDU p_msg, in integer p_sIdx ) runs on EPTF_MQTT_LGen_CT
Encapsulates a MQTT PDU with the corresponding entity (and FSM) indices and transport information
type record EPTF_MQTT_PDU
This is the entry point for an MQTT session fsm from the environment layer (e.g.
function f_EPTF_MQTT_session_fromEnv( inout EPTF_MQTT_PDU p_msg, in integer p_sIdx ) runs on EPTF_MQTT_LGen_CT
Handles the T_keepalive timer event in the MQTT_Session FSM
function f_EPTF_MQTT_session_keepalive( in EPTF_ScheduledAction pl_action, in integer pl_eventIndex ) runs on EPTF_MQTT_LGen_CT return boolean
Starts the T_keepalive timer for an MQTT_Session FSM
function f_EPTF_MQTT_session_startT_keepalive( in integer pl_sIdx, in float pl_time ) runs on EPTF_MQTT_LGen_CT return boolean
Cancels the T_keepalive timer of an MQTT_Session FSM
function f_EPTF_MQTT_session_cancelT_keepalive( in integer pl_sessionIdx ) runs on EPTF_MQTT_LGen_CT
Sets the value of the packet id field in the next message to be sent in a session
function f_EPTF_MQTT_session_getNextPacketId( in MQTT_StepCtx p_ctx ) runs on EPTF_MQTT_LGen_CT return integer
Sets a new state for an MQTT_Session FSM
function f_EPTF_MQTT_session_setState( in integer p_sessionIdx, in MQTT_Session_State p_nextState ) runs on EPTF_MQTT_LGen_CT
Sends a message to the transort layer with type EPTF_MQTT_PDU and the provided session index
function f_EPTF_MQTT_session_send( in integer p_sessionIdx, inout EPTF_MQTT_PDU p_msg ) runs on EPTF_MQTT_LGen_CT
Adds a subscription index to an MQTT_Session
function f_EPTF_MQTT_session_registerSubscription( in integer p_sessionIdx, in integer p_subIdx ) runs on EPTF_MQTT_LGen_CT
Removes a subscription index from MQTT_Session
function f_EPTF_MQTT_session_deregisterSubscription( in integer p_sessionIdx, in integer p_subIdx ) runs on EPTF_MQTT_LGen_CT
Adds a publish index to an MQTT_Session
function f_EPTF_MQTT_session_registerPublish( in integer p_sessionIdx, in integer p_pubIdx ) runs on EPTF_MQTT_LGen_CT
Removes a publish index from an MQTT_Session
function f_EPTF_MQTT_session_deregisterPublish( in integer p_sessionIdx, in integer p_pubIdx ) runs on EPTF_MQTT_LGen_CT
Releases all resources related to an MQTT_Session and removes it from the MQTT_Session_DB
function f_EPTF_MQTT_session_remove( in integer p_sessionIdx ) runs on EPTF_MQTT_LGen_CT
Initializes the v_MQTT_sessionDB MQTT_Session_DB database and adds its hash to v_MQTT_sessionDB.hashRef
function f_EPTF_MQTT_sessionDB_init() runs on EPTF_MQTT_LGen_CT
Adds a new element to the v_MQTT_sessionDB MQTT_Session_DB database
function f_EPTF_MQTT_sessionDB_add( in MQTT_Session p_session ) runs on EPTF_MQTT_LGen_CT return integer
Gets the index of a session in v_MQTT_sessionDB MQTT_Session_DB database by its socket address
function f_EPTF_MQTT_sessionDB_lookUp( in Socket p_sock ) runs on EPTF_MQTT_LGen_CT return integer
Retrieves a session’s data from the v_MQTT_sessionDB MQTT_Session_DB database
function f_EPTF_MQTT_sessionDB_get( in integer p_idx, inout MQTT_Session p_session ) runs on EPTF_MQTT_LGen_CT return boolean
Sets the hash of the local socket address of a session by the session index
function f_EPTF_MQTT_sessionDB_setKey( in integer p_idx ) runs on EPTF_MQTT_LGen_CT
Checks if a session element exists in the v_MQTT_sessionDB MQTT_Session_DB database
function f_EPTF_MQTT_sessionDB_check( in integer p_idx ) runs on EPTF_MQTT_LGen_CT return boolean
Removes an element from the v_MQTT_sessionDB MQTT_Session_DB database and releases its resources
function f_EPTF_MQTT_sessionDB_remove( in integer p_idx ) runs on EPTF_MQTT_LGen_CT
Converts a socket address in Socket type format to the string format “IP address:<port number>” to be used as a hash key
function f_EPTF_MQTT_sessionDB_addrHash( in Socket p_sock ) return charstring
Cleans up the reserved resources of the v_MQTT_sessionDB MQTT_Session_DB database
function f_EPTF_MQTT_sessionDB_cleanUp() runs on EPTF_MQTT_LGen_CT
Initializes the v_MQTT_subscriptionDB MQTT_Subscription_DB database
function f_EPTF_MQTT_subscriptionDB_init() runs on EPTF_MQTT_LGen_CT
Adds a new element to the v_MQTT_subscriptionDB MQTT_Subscription_DB database
function f_EPTF_MQTT_subscriptionDB_add( in MQTT_Subscription p_sub ) runs on EPTF_MQTT_LGen_CT return integer
Insert an integer element to the subscription hashmap, key is composed from session ID and packet ID
function f_EPTF_MQTT_subscriptionDB_setKey_packetId( in integer p_idx, in integer p_sessionIdx, in integer p_packetId ) runs on EPTF_MQTT_LGen_CT
Removes the element from the subscription hashmap identified by its session ID and packet ID
function f_EPTF_MQTT_subscriptionDB_removeKey_packetId( in integer p_idx, in integer p_sessionIdx, in integer p_packetId ) runs on EPTF_MQTT_LGen_CT
Gets the index of an MQTT_Subscription element in v_MQTT_subscriptionDB MQTT_Subscription_DB database by a session ID and packet ID
function f_EPTF_MQTT_subscriptionDB_lookUp_packetId( in integer p_sessionIdx, in integer p_packetId ) runs on EPTF_MQTT_LGen_CT return integer
Gets the index of an MQTT_Subscription element in v_MQTT_subscriptionDB MQTT_Subscription_DB database by a session ID and packet ID
function f_EPTF_MQTT_subscriptionDB_lookUp_topicName( in integer p_sessionIdx, in charstring p_topicName ) runs on EPTF_MQTT_LGen_CT return integer
Retrieves an element from the v_MQTT_subscriptionDB MQTT_Subscription_DB database
function f_EPTF_MQTT_subscriptionDB_get( in integer p_idx, inout MQTT_Subscription p_sub ) runs on EPTF_MQTT_LGen_CT return boolean
Checks if an element at an index exists the v_MQTT_subscriptionDB MQTT_Subscription_DB database
function f_EPTF_MQTT_subscriptionDB_check( in integer p_idx ) runs on EPTF_MQTT_LGen_CT return boolean
Removes an element from the v_MQTT_subscriptionDB MQTT_Subscription_DB database
function f_EPTF_MQTT_subscriptionDB_remove( in integer p_idx ) runs on EPTF_MQTT_LGen_CT
Converts a pair of session ID & packet ID to the string format “session_sessionId:id_packetId” to be used as hash key
function f_EPTF_MQTT_subscriptionDB_packetIdHash( in integer p_sessionIdx, in integer p_packetId ) return charstring
Converts a pair of session ID & topic to the string format “session_sessionId:topic_topic” to be used as hash key
function f_EPTF_MQTT_subscriptionDB_topicHash( in integer p_sessionIdx, in charstring p_topic ) return charstring
Cleans up the reserved resources of the v_MQTT_subscriptionDB MQTT_Subscription_DB database
function f_EPTF_MQTT_subscriptionDB_cleanUp() runs on EPTF_MQTT_LGen_CT
Handles a publish transaction in case of QoS 1 and QoS 2 fsm requested by the application layer (e.g.
function f_EPTF_MQTT_publish_fromSession( inout EPTF_MQTT_PDU p_msg, in integer p_pubIdx ) runs on EPTF_MQTT_LGen_CT
Handles PUBLISH and publish response (PUB REC/PUB REL/PUB COMP) messages received from the peer (i.e.
function f_EPTF_MQTT_publish_fromEnv( inout EPTF_MQTT_PDU p_msg, in integer p_pubIdx ) runs on EPTF_MQTT_LGen_CT
Handles the T_watchdog event in the MQTT_Publish FSM
function f_EPTF_MQTT_publish_watchdog( in EPTF_ScheduledAction pl_action, in integer pl_eventIndex ) runs on EPTF_MQTT_LGen_CT return boolean
Start a T_watchdog timer in the MQTT_Publish FSM
function f_EPTF_MQTT_publish_startT_watchdog( in integer pl_pIdx, in float pl_time ) runs on EPTF_MQTT_LGen_CT return boolean
Cancels the T_watchdog timer of an MQTT_Publish FSM
function f_EPTF_MQTT_publish_cancelT_watchdog( in integer pl_publishIdx ) runs on EPTF_MQTT_LGen_CT
Sets the new state of a MQTT_Publish FSM
function f_EPTF_MQTT_publish_setState( in integer p_pubIdx, in MQTT_Publish_State p_nextState ) runs on EPTF_MQTT_LGen_CT
Releaseing resources of an MQTT_Publish FSM
function f_EPTF_MQTT_publish_remove( in integer p_pubIdx ) runs on EPTF_MQTT_LGen_CT
Initializes the v_MQTT_publishDB MQTT_Publish_DB database and creates its hashmap
function f_EPTF_MQTT_publishDB_init() runs on EPTF_MQTT_LGen_CT
Adds a new element to the v_MQTT_publishDB MQTT_Publish_DB database
function f_EPTF_MQTT_publishDB_add( in MQTT_Publish p_pub ) runs on EPTF_MQTT_LGen_CT return integer
Gets the index of an MQTT_Publish element in v_MQTT_publishDB MQTT_Publish_DB database by its session and packet id-s
function f_EPTF_MQTT_publishDB_lookUp( in integer p_sessionIdx, in integer p_packetId ) runs on EPTF_MQTT_LGen_CT return integer
Retrieves an element from the v_MQTT_publishDB MQTT_Publish_DB database
function f_EPTF_MQTT_publishDB_get( in integer p_idx, inout MQTT_Publish p_pub ) runs on EPTF_MQTT_LGen_CT return boolean
Checks if an element exists in the v_MQTT_publishDB MQTT_Publish_DB database
function f_EPTF_MQTT_publishDB_check( in integer p_idx ) runs on EPTF_MQTT_LGen_CT return boolean
Removes an element from the v_MQTT_publishDB MQTT_Publish_DB database
function f_EPTF_MQTT_publishDB_remove( in integer p_idx ) runs on EPTF_MQTT_LGen_CT
Converts a pair of session ID & packet ID to the string format “session_sessionId:id_packetId” to be used as a hash key
function f_EPTF_MQTT_publishDB_packetIdHash( in integer p_sessionIdx, in integer p_packetId ) return charstring
Cleans up the reserved resources of the v_MQTT_publishDB MQTT_Publish_DB database
function f_EPTF_MQTT_publishDB_cleanUp() runs on EPTF_MQTT_LGen_CT
Function to initialize the addressDB
function f_EPTF_MQTT_addressDB_init() runs on EPTF_MQTT_LGen_CT
Add a socket address to the addressDB and return its index if no such entry yet, or return its index if already exists
function f_EPTF_MQTT_addressDB_add( in Socket p_addr, inout integer p_idx ) runs on EPTF_MQTT_LGen_CT
Get the index of a socket entry in addressDB
function f_EPTF_MQTT_addressDB_lookUp( in Socket p_sock ) runs on EPTF_MQTT_LGen_CT return integer
Get a socket address from the addressDB by its index
function f_EPTF_MQTT_addressDB_get( inout Socket p_addr, in integer p_idx ) runs on EPTF_MQTT_LGen_CT
Converts a socket address in Socket type format to the string format “IP address:<port number>” to be used as hash key
function f_EPTF_MQTT_addressDB_Socket2String( Socket p_sock ) return charstring
Function to clean up the address database and release its resources
function f_EPTF_MQTT_addressDB_cleanUp() runs on EPTF_MQTT_LGen_CT
Base component type for a MQTT transport user realization
type component EPTF_MQTT_Transport_User_CT
The main initialization function for the EPTF_MQTT_LGen_CT component type
function f_EPTF_MQTT_LGen_init( in charstring pl_name ) runs on EPTF_MQTT_LGen_CT
Initializing CLL’s logging feature on the EPTF_MQTT_LGen_CT component type
function f_EPTF_MQTT_LGen_initLogging() runs on EPTF_MQTT_LGen_CT
The main clean up function for the EPTF_MQTT_LGen_CT component type
function f_MQTT_cleanUp() runs on EPTF_MQTT_LGen_CT
This function is called by the CLL for each entity instance created on a particular instace of EPTF_MQTT_LGen_CT
function f_MQTT_eCtxBind( in integer pl_eIdx ) runs on EPTF_MQTT_LGen_CT return EPTF_IntegerList
The reverse operation of f_MQTT_eCtxBind.
function f_MQTT_eCtxUnbind( in integer pl_eIdx ) runs on EPTF_MQTT_LGen_CT
The resources reserved during f_MQTT_eCtxBind are reinitalized (reset).
function f_MQTT_eCtxReset( in integer pl_eIdx ) runs on EPTF_MQTT_LGen_CT
Declares the FSM events to the CLL framework implemented by EPTF_MQTT_LGen_CT
function f_EPTF_MQTT_declareEvents() runs on EPTF_MQTT_LGen_CT
Declares the FSM steps to the CLL framework implemented by EPTF_MQTT_LGen_CT
function f_EPTF_MQTT_declareSteps() runs on EPTF_MQTT_LGen_CT
The transport layer implementation EPTF_MQTT_Transport_Provider_CT can report received EPTF_MQTT_PDU message to the load generator layer EPTF_MQTT_Transport_User_CT extended by EPTF_MQTT_LGen_CT using this function.
function f_EPTF_MQTT_LGen_receiveMessage( in EPTF_MQTT_PDU pl_message ) runs on EPTF_MQTT_LGen_CT
The transport layer implementation EPTF_MQTT_Transport_Provider_CT can report received ASP_Event events to the load generator layer EPTF_MQTT_Transport_User_CT extended by EPTF_MQTT_LGen_CT using this function.
function f_EPTF_MQTT_LGen_receiveEvent( in ASP_Event p_event ) runs on EPTF_MQTT_LGen_CT
The transport layer implementation EPTF_MQTT_Transport_Provider_CT can report received EPTF_MQTT_Transport_Response responses to the load generator layer EPTF_MQTT_Transport_User_CT extended by EPTF_MQTT_LGen_CT using this function.
function f_EPTF_MQTT_LGen_transportApiResponse( in EPTF_MQTT_Transport_Response pl_rsp ) runs on EPTF_MQTT_LGen_CT
Type for transport response
type record EPTF_MQTT_Transport_Response
This function is used to send out a message of a EPTF_MQTT_PDU using the registered function fcb_EPTF_MQTT_Transport_sendMessage of the underlying transport layer instance.
function f_EPTF_MQTT_LGen_send( inout EPTF_MQTT_PDU p_msg ) runs on EPTF_MQTT_LGen_CT
This is the main entry point for the MQTT stack realization of the EPTF_MQTT_LGen_CT component that handles messages received from the application layer (e.g.
function f_EPTF_MQTT_stack_fromApp( inout EPTF_MQTT_PDU p_msg, in MQTT_StepCtx p_ctx ) runs on EPTF_MQTT_LGen_CT
This is the main entry point for the MQTT stack realization of the EPTF_MQTT_LGen_CT component that handles messages received from the environment layer (e.g.
function f_EPTF_MQTT_stack_fromEnv( inout EPTF_MQTT_PDU p_msg ) runs on EPTF_MQTT_LGen_CT
Checks if an FSM instance has already been initialized
function f_EPTF_MQTT_isFsmInitialized( in integer pl_eIdx, in integer pl_fsmIdx, inout integer pl_sessionIdx ) runs on EPTF_MQTT_LGen_CT return boolean
Logging functions for the VERBOSE log level
function f_EPTF_MQTT_Logging_VERBOSE( in @lazy charstring pl_message ) runs on EPTF_MQTT_LGen_CT
Logging functions for the DEBUG log level
function f_EPTF_MQTT_Logging_DEBUG( in @lazy charstring pl_message ) runs on EPTF_MQTT_LGen_CT
Logging functions for the WARNING log level
function f_EPTF_MQTT_Logging_WARNING( in @lazy charstring pl_message ) runs on EPTF_MQTT_LGen_CT
Logging functions for the ERROR log level
function f_EPTF_MQTT_Logging_ERROR( in @lazy charstring pl_message ) runs on EPTF_MQTT_LGen_CT
Dispatches events to an entity/fsm
function f_EPTF_MQTT_dispatchEvent( in integer pl_eventIdx, in integer pl_eIdx, in integer pl_fsmCtx, in EPTF_IntegerList pl_reportedArgs ) runs on EPTF_MQTT_LGen_CT
Test step to set the local address in the entity context.
function f_MQTT_step_setLocalAddress( in EPTF_LGenBase_TestStepArgs pl_ptr ) runs on EPTF_MQTT_LGen_CT
Test step to set the remote address in the FSM context.
function f_MQTT_step_setRemoteAddress( in EPTF_LGenBase_TestStepArgs pl_ptr ) runs on EPTF_MQTT_LGen_CT