Kebijakan Privasi
Perjanjian Privasi dan Keamanan Data
platform/os/freertos, which has been verified and tested on Espressif's ESP8266 platform.CMakeLists.txt to FreeRTOS and enable the code extraction feature:set(BUILD_TYPE "release")set(PLATFORM "freertos")set(EXTRACT_SRC ON)set(FEATURE_AT_TCP_ENABLED OFF)
mkdir buildcd buildcmake ..
output/qcloud_iot_c_sdk with the following directory hierarchy:qcloud_iot_c_sdk├── include│ ├── config.h│ ├── exports├── platform└── sdk_src└── internal_inc
include directory: contains the SDK APIs and variable parameters, where config.h is the compilation macros generated according to the compilation options. For more information, please see API and Variable Parameter Description.platform directory: contains platform-related code, which can be modified and adapted according to the specific conditions of the device. For more information on functions, please see Overview.sdk_src directory: contains the SDK core logic and protocol-related code, which generally don't need to be modified, where internal_inc is the header file used internally by the SDK.qcloud_iot_c_sdk to the compilation and development environment of your target platform and then modify the compilation options as needed.qcloud_iot_c_sdk directory extracted above to components/qcloud_iot.components/qcloud_iot, create a compilation configuration file component.mk with the following content:## Component Makefile#COMPONENT_ADD_INCLUDEDIRS := \\qcloud_iot_c_sdk/include \\qcloud_iot_c_sdk/include/exports \\qcloud_iot_c_sdk/sdk_src/internal_incCOMPONENT_SRCDIRS := \\qcloud_iot_c_sdk/sdk_src \\qcloud_iot_c_sdk/platform
qcloud_iot_c_sdk as a component and then call the IoT Hub C-SDK APIs in your code to connect devices and send/receive messages.Apakah halaman ini membantu?
Anda juga dapat Menghubungi Penjualan atau Mengirimkan Tiket untuk meminta bantuan.
masukan