# 软件

介绍应用处理器和低功耗处理器的目录结构。

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

## 应用处理器目录结构

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-70018-27)。传感器中枢位于 `<workspace>/build-qcom-wayland/workspace/sources/sensinghub/sensing-hub/`。

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

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

Note

[Qualcomm Linux Sensors Guide - Addendum](https://docs.qualcomm.com/bundle/resource/topics/80-70018-7A/overview.html) 仅可由具有授权访问权限的许可用户访问。

后续步骤

- [调通传感器](https://docs.qualcomm.com/doc/80-70018-7SC/topic/bringup_sensors.html#bringup-sensors)

Last Published: Apr 26, 2025

[Previous Topic
QSH API](https://docs.qualcomm.com/bundle/publicresource/80-70018-7SC/topics/qsh_api_reference.md) [Next Topic
平台](https://docs.qualcomm.com/bundle/publicresource/80-70018-7SC/topics/platform.md)