# 软件

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

要设计和管理 API，您必须了解代码中 API 的组织以及源代码目录文件的关系、功能和操作。

## 应用处理器目录结构

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

QSH 公开的 API 称为用于应用程序开发的 QSH 客户端 API。以下信息说明了 QSH 客户端 API 树结构和每个软件组件的位置。

QSH 客户端 API 的源代码位于 `<workspace>/build-qcom-wayland/workspace/sources/sensinghub/sensing-hub` 目录中。

    ├───/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: 要查看和自定义源代码，参见 [Qualcomm Linux Yocto 指南](https://docs.qualcomm.com/bundle/publicresource/topics/80-70015-27)。传感器中枢位于 `<workspace>/build-qcom-wayland/workspace/sources/sensinghub/sensing-hub/`。

## 低功耗处理器目录结构

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

QSH 软件堆栈由框架、API、传感器驱动程序和算法组件组成。此信息可供对 Qualcomm Linux 附带的专有软件具有完全访问权限的许可用户使用。更多信息，参见 [Qualcomm Linux Sensors Guide - Addendum](https://docs.qualcomm.com/bundle/resource/topics/80-70015-7A/overview.html) 中的 [Software](https://docs.qualcomm.com/bundle/resource/topics/80-70015-7A/software.html)。 
Note: [Qualcomm Linux Sensors Guide - Addendum](https://docs.qualcomm.com/bundle/resource/topics/80-70015-7A/overview.html) 仅可由具有授权访问权限的许可用户访问。

## 编译和刷写 aDSP

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

此信息可供对 Qualcomm Linux 附带的专有软件具有完全访问权限的许可用户使用。更多信息，参见 [Qualcomm Linux Sensors Guide - Addendum](https://docs.qualcomm.com/bundle/resource/topics/80-70015-7A/overview.html) 中的 [Software](https://docs.qualcomm.com/bundle/resource/topics/80-70015-7A/software.html)。 
Note: [Qualcomm Linux Sensors Guide - Addendum](https://docs.qualcomm.com/bundle/resource/topics/80-70015-7A/overview.html) 仅可由具有授权访问权限的许可用户访问。

Last Published: Dec 03, 2024

[Previous Topic
接口](https://docs.qualcomm.com/bundle/publicresource/80-70015-7SC/topics/qsh_api_reference.md) [Next Topic
示例](https://docs.qualcomm.com/bundle/publicresource/80-70015-7SC/topics/samples.md)