Zigbee 中间件代码组织 - 的托管集成 AWS IoT Device Management

本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。

Zigbee 中间件代码组织

以下显示了 ZigBee 参考中间件代码组织。

ACS Zigbee DPK

Zigbee DPK 的代码位于以下示例中列出的目录中:

./IotManagedIntegrationsDeviceSDK-Middleware/example-iot-ace-dpk/example/dpk/ace_hal/ |— common |— |— fxnDbusClient |— |— include |— kvs |— log |— wifi |— |— include |— |— src |— |— wifid |— |— fxnWifiClient |— |— include |— zibgee |— |— include |— |— src |— |— zigbeed |— |— ember |— |— include |— zwave |— |— include |— |— src |— |— zwaved |— |— fxnZwaveClient |— |— include |— |— zware

硅实验室 Zigbee SDK

Silicon Labs SDK 显示在IotManagedIntegrationsDeviceSDK-Middleware/example-iot-ace-z3-gateway文件夹中。这个 ACS Zigbee DPK 层是为这个 Silicon Labs SDK 实现的。

./IotManagedIntegrationsDeviceSDK-Middleware/example-iot-ace-zz3-gateway/ |— autogen |— config |— gecko_sdk_4.3.2 |— |— platform |— |— protocol |— |— util

ACS Zigbee 服务

ZigBee 服务的代码位于该文件夹内。IotManagedIntegrationsDeviceSDK-Middleware/example-iot-ace-general/middleware/zigbee/此位置的srcinclude子文件夹包含与 ACS Zigbee 服务相关的所有文件。

IotManagedIntegrationsDeviceSDK-Middleware/example-iot-ace-general/middleware/zigbee/src/ |— zb_alloc.c |— zb_callbacks.c |— zb_database.c |— zb_discovery.c |— zb_log.c |— zb_main.c |— zb_region_info.c |— zb_server.c |— zb_svc.c |— zb_svc_pwr.c |— zb_timer.c |— zb_util.c |— zb_zdo.c |— zb_zts.c IotManagedIntegrationsDeviceSDK-Middleware/example-iot-ace-general/middleware/zigbee/include/ |— init.zigbeeservice.rc |— zb_ace_log_uml.h |— zb_alloc.h |— zb_callbacks.h |— zb_client_aipc.h |— zb_client_event_handler.h |— zb_database.h |— zb_discovery.h |— zb_log.h |— zb_region_info.h |— zb_server.h |— zb_svc.h |— zb_svc_pwr.h |— zb_timer.h |— zb_util.h |— zb_zdo.h |— zb_zts.h

ACS Zigbee 适配器

ACS Zigbee 适配器的代码位于文件夹内。IotManagedIntegrationsDeviceSDK-Middleware/example-iot-ace-general/middleware/zigbee/api此位置的srcinclude子文件夹包含与 ACS Zigbee Adaptor 库相关的所有文件。

IotManagedIntegrationsDeviceSDK-Middleware/example-iot-ace-general/middleware/zigbee/api/src/ |— zb_client_aipc.c |— zb_client_api.c |— zb_client_event_handler.c |— zb_client_zcl.c IotManagedIntegrationsDeviceSDK-Middleware/example-iot-ace-general/middleware/zigbee/api/include/ |— ace |— |— zb_adapter.h |— |— zb_command.h |— |— zb_network.h |— |— zb_types.h |— |— zb_zcl.h |— |— zb_zcl_cmd.h |— |— zb_zcl_color_control.h |— |— zb_zcl_hvac.h |— |— zb_zcl_id.h |— |— zb_zcl_identify.h |— |— zb_zcl_level.h |— |— zb_zcl_measure_and_sensing.h |— |— zb_zcl_onoff.h |— |— zb_zcl_power.h