Qualcomm Enhanced SDK (QESDK) API Reference (8)

Qualcomm Enhanced SDK (QESDK) API Reference (8)

    • 3.3 Data path priority
      • 3.3.1 Data path priority function
        • 3.3.1.1 Creator
        • 3.3.1.2 registerFlowStatusUpdates
        • 3.3.1.3 addFlow
        • 3.3.1.4 getFlow
        • 3.3.1.5 deleteFlow
        • 3.3.1.6 deleteAllFlows
      • 3.3.2 Data path priority callback interface
      • 3.3.3 Data path priority enumeration
        • 3.3.3.1 Direction
        • 3.3.3.2 Agreement
        • 3.3.3.3 appType
        • 3.3.3.4 Process status

3.3 Data path priority

The data path prioritization subsystem provides an API for clients to control specific process priorities.

3.3.1 Data path priority function

3.3.1.1 Creator

Constructor for primary link entry data path priority.

DataPathPriorityManager();

Parameters

Parameters API type Data type Description
qesdkhandle Java IQesdk Proven Iqesdk interface
Native qesdk_handle_t Proven qesdk_handle_t interface

Return results

Return results API type Data type Description
datapathPriorityManager Java datapathPriorityManager Subsystem Manager Object
Native
3.3.1.2 registerFlowStatusUpdates

Register callbacks to receive process status updates.

registerFlowStatusUpdates();

Parameters

Parameters API type Data type Description
registerFlowStatusUpdates Java IflowStatus Provides callbacks for updates to each process and the status associated with the process.
Native dpp_flowStatus

Return results

Return results API type Description
Java int
  • SUCCESS ≥ 0 failed
  • -1 IQesdk is NULL
  • -2 subsystem error
Native int8_t
3.3.1.3 addFlow

Adds a new filter to the system and applies the provided uplink/downlink levels, PDCP timers and OOD values.

addFlow();

Parameters

Return results

Return results API type Description
Java int
  • SUCCESS ≥ 0 failed
  • -1 IQesdk is NULL
  • -2 subsystem error
Native int8_t
3.3.1.4 getFlow

Retrieve all processes added by the client and the status associated with each process.

getFlow()

Note
If the filter stack is empty, the callback will not be called.

Parameters

Parameters API type Data type Description
cb Java IflowStatus Provides callbacks for process information. Each process is a unique API call within a callback, as there is no vector support in QESDK yet.
Native dpp_flowStatus

Return results

Return results API type Description
Java int
  • SUCCESS ≥ 0 failed
  • -1 IQesdk is NULL
  • -2 subsystem error
Native int8_t
3.3.1.5 deleteFlow

Delete the corresponding process based on ID.

deleteFlow();

Parameters

Parameters API type Data type Description
flowId Java int The process ID to be deleted.
Native uint32_t

Return results

Return results API type Description
Java int
  • SUCCESS ≥ 0 failed
  • -1 IQesdk is NULL
  • -2 subsystem error
Native int8_t
3.3.1.6 deleteAllFlows

Delete all processes added by the client.

deleteAllFlows();

Return results

Return results API type Description
Java int
  • SUCCESS ≥ 0 failed
  • -1 IQesdk is NULL
  • -2 subsystem error
Native int8_t

3.3.2 Data path priority callback interface

iFlowStatus

IflowStatus() {<!-- -->
        onValues(int id, flowStatusEnum status, String statusString) {<!-- -->}
        }

Parameters

Parameters Description
id Process ID.
State An enumeration indicating the current state of the process.
statusString A string that provides more information about any error to aid debugging.

3.3.3 Data path priority enumeration

3.3.3.1 Direction

Supported process direction values.

Enumeration value
UPLINK
DOWNLINK
BOTH
3.3.3.2 Protocol

Supported process protocol values.

Enumeration value
TCP_FLOW
UDP_FLOW
TCPUDP_FLOW
3.3.3.3 appType

Supported process appType values.

Enumeration value
APP_UNSPECIFIED
APP_PRIORITY
APP_VOICE
APP_GAMING
APP_VIDEO
3.3.3.4 Process status

Filter status value. Also includes error values when adding filters.

Enumeration value
FLOW_PENDING
FLOW_ACTIVE
FLOW_INACTIVITY_TIMEOUT
FLOW_DELETED
ERROR_DUPLICATE_FLOW
ERROR_ FLOW_LIMIT_REACHED
ERROR_INVALID_ FLOW_ARGS
ERROR_FLOW_INTERNA