# Software

Source: [https://docs.qualcomm.com/doc/80-70015-7/topic/software.html](https://docs.qualcomm.com/doc/80-70015-7/topic/software.html)

To design and manage the APIs, you must understand the organization of APIs in the code and the relationships, functions, and operations of the source code directory files.

## Application processor directory structure

Source: [https://docs.qualcomm.com/doc/80-70015-7/topic/software.html](https://docs.qualcomm.com/doc/80-70015-7/topic/software.html)

The QSH-exposed APIs are called QSH client APIs for application development. The
            following information illustrates the QSH client API tree structure and the location of
            each software component.

The source code for QSH client APIs is in
                `<workspace>/build-qcom-wayland/workspace/sources/sensinghub/sensing-hub`
            directory.

    ├───/sources/sensinghub/sensing-hub 
    │
    ├───apis				- APIs
    │   └───proto				- Proto API
    │       └───google
    │           └───protobuf  
    │      
    ├───common				- Common header file
    │   └───inc
    │
    ├───examples
    │   └───SessionClient			- Sample 1 source file
    │
    └───session				- Client APIs source and header files
        └───1.0
            ├───inc
            └───src
    Copy to clipboard

Note: To view and customize the source
            code, see the [Qualcomm Linux Yocto Guide](https://docs.qualcomm.com/bundle/publicresource/topics/80-70015-27). The sensing-hub
            source is available at
                `<workspace>/build-qcom-wayland/workspace/sources/sensinghub/sensing-hub/`.

## Low-power processor directory structure

Source: [https://docs.qualcomm.com/doc/80-70015-7/topic/software.html](https://docs.qualcomm.com/doc/80-70015-7/topic/software.html)

The QSH software stack consists of the framework, API, sensor driver, and the algorithm
            components. This information is available to the licensed users who have full access to
            the proprietary software shipped with Qualcomm Linux. For more information, see [Software](https://docs.qualcomm.com/bundle/resource/topics/80-70015-7A/software.html) in [Qualcomm Linux Sensors Guide - Addendum](https://docs.qualcomm.com/bundle/resource/topics/80-70015-7A/overview.html). 
Note: [Qualcomm Linux Sensors Guide - Addendum](https://docs.qualcomm.com/bundle/resource/topics/80-70015-7A/overview.html) is
                accessible only to the licensed users with authorized access.

## Build and flash aDSP

Source: [https://docs.qualcomm.com/doc/80-70015-7/topic/software.html](https://docs.qualcomm.com/doc/80-70015-7/topic/software.html)

This information is available to the licensed users who have full access to the
            proprietary software shipped with Qualcomm Linux. For more information, see [Software](https://docs.qualcomm.com/bundle/resource/topics/80-70015-7A/software.html) in [Qualcomm Linux Sensors Guide - Addendum](https://docs.qualcomm.com/bundle/resource/topics/80-70015-7A/overview.html). 
Note: [Qualcomm Linux Sensors Guide - Addendum](https://docs.qualcomm.com/bundle/resource/topics/80-70015-7A/overview.html) is
                accessible only to the licensed users with authorized access.

Last Published: Oct 14, 2024

[Previous Topic
Interfaces](https://docs.qualcomm.com/bundle/publicresource/80-70015-7/topics/qsh_api_reference.md) [Next Topic
Samples](https://docs.qualcomm.com/bundle/publicresource/80-70015-7/topics/samples.md)