기계 번역으로 제공되는 번역입니다. 제공된 번역과 원본 영어의 내용이 상충하는 경우에는 영어 버전이 우선합니다.
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
Silicon Labs Zigbee SDK
Silicon Labs SDK는 IotManagedIntegrationsDeviceSDK-Middleware/ 폴더 내에 표시됩니다. 이 ACS Zigbee DPK 계층은이 Silicon Labs SDK에 구현됩니다.example-iot-ace-z3-gateway
./IotManagedIntegrationsDeviceSDK-Middleware/example-iot-ace-zz3-gateway/ |— autogen |— config |— gecko_sdk_4.3.2 |— |— platform |— |— protocol |— |— util
ACS Zigbee 서비스
Zigbee Service의 코드는 IotManagedIntegrationsDeviceSDK-Middleware/ 폴더 내에 있습니다. 이 위치의 example-iot-ace-general/middleware/zigbee/src 및 include 하위 폴더에는 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/apisrc 및 include 하위 폴더에는 ACS Zigbee 어댑터 라이브러리와 관련된 모든 파일이 포함되어 있습니다.
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