Resources | developer.brewmp.com Resources | developer.brewmp.com

Developer

resources

DIAG protocol

The Diag Protocol is the oldest of the communication protocols and the only of the three technologies presented here that cannot be used with Brew MP Simulators.

In previous versions of the BREW Tools, the diag implementation was contained in a file called QCOMOEM.dll. Because of this, diag is sometimes referred to as QCOMOEM.dll.

The QCOMOEM.dll library is used by the BREW AppLoader, PEK Studio (the former name for the current Test Studio), and the BREW Logger. QCOMOEM.dll and its corresponding service, OEMLayerServer.exe, allow multiple BREW tools to use a device simultaneously.

The following libraries are used in BREW/Brew MP to implement the diag protocol:

  • QCOMOEM.dll is used by the BREW AppLoader, PEK Studio (the former name for the current Test Studio), and the BREW Logger. QCOMOEM.dll and its corresponding service, OEMLayerServer.exe, allow multiple BREW tools to use a device simultaneously. Non-BREW Tools, including QPST, cannot be used.
  • QPST and its service, QPSTServer, is a COM-based set of libraries that Qualcomm's internal and OEM tool suite, QPST, is based upon. Tools that use the QPST library can access a device simultaneously. When connecting on a diag port, and when QPST is installed on the system, BTIL can use QPST to establish a BTIL connection, using diag as transport for its packets.
  • dmsssdi is a library used by BTIL when connecting on a diag port. This library, unlike the other two, is not designed to have multiple compatible tools share the connection.

Device support

The diag protocol is supported on all AMSS-based devices.

Tools support

Loader and Logger are the only Brew MP tools that support the diag protocol. For BREW 3.x/4.x, PEK Studio supported diag as well. All of these tools support BTIL and/or Connect. On Brew MP devices, BTIL can use diag as a low-level transport, therefore any BTIL tool can be used over a diag connection. The tool itself is using BTIL rather than diag to perform functions such as filesystem operations.

Connection types supported

Diag only supports USB and serial ports.

With the exception of BTIL running on top of diag, the tools cannot run concurrently with QXDM, EFS Explorer or other QPST-based tools.