### 3D Editor Quick Start Example Source: https://open.iot.10086.cn/doc/aiot/fuse/detail/1424 Provides a quick start guide for the 3D editor. This example outlines the basic steps for creating and manipulating 3D scenes. ```guide 1. Create ground. 2. Generate fences. 3. Generate roads. 4. Save and publish. ``` -------------------------------- ### Dataset - Quick Start Example Source: https://open.iot.10086.cn/doc/aiot/fuse/detail/1122 Quick start guide for using datasets. Covers the initial steps for creating and managing datasets. ```dataset Dataset Quick Start ``` -------------------------------- ### Dataset Quick Start Example Source: https://open.iot.10086.cn/doc/aiot/fuse/detail/1205 Quick start guide for using datasets. ```dataset Quick Start ``` -------------------------------- ### Dataset Quick Start Example Source: https://open.iot.10086.cn/doc/aiot/fuse/detail/1661 A quick start guide for creating and using datasets within the platform. Covers basic dataset creation and binding. ```javascript const dataset = new Dataset('myDataset'); dataset.addSource({ type: 'api', url: '/api/data' }); ``` -------------------------------- ### 3D Editor - Quick Start Example Source: https://open.iot.10086.cn/doc/aiot/fuse/detail/1122 Quick start guide for the 3D editor. Covers the initial steps for creating and manipulating 3D scenes. ```3d_editor 3D Editor Quick Start ``` -------------------------------- ### Voice Service - Product Access Example Source: https://open.iot.10086.cn/doc/aiot/fuse/detail/1122 Guide on how to access and integrate the voice service product. Covers initial setup and connection. ```voice Voice Service Product Access Guide ``` -------------------------------- ### 3D Editor Quick Start Example Source: https://open.iot.10086.cn/doc/aiot/fuse/detail/3140 Quick start guide for the 3D editor, covering ground creation, fence generation, and road creation. Learn to integrate 2D and 3D components. ```3d Create Ground Generate Fence Generate Road ``` -------------------------------- ### 3D Editor Quick Start Examples Source: https://open.iot.10086.cn/doc/aiot/fuse/detail/3142 Quick start guide for the 3D editor, covering ground creation, fence generation, road generation, saving, publishing, and 2D/3D component interaction. ```3deditor Create Ground Generate Fence Generate Road Save and Publish 2D Component Call 3D Scene 3D Component Call 2D Component ``` -------------------------------- ### Development Guide: Uploading Device Data Example Source: https://open.iot.10086.cn/doc/aiot/fuse/detail/961 Shows how to upload device data using the development guide, likely involving specific SDKs or APIs. ```guide Follow the SDK documentation for correct data payload structure and API endpoints. ``` -------------------------------- ### HTTP Push API - Development Guide Example Source: https://open.iot.10086.cn/doc/aiot/fuse/detail/975 Provides a conceptual overview of the development guide for HTTP Push. Actual code examples would be specific to the implementation. ```text Refer to the detailed API documentation for specific endpoints, request/response formats, and authentication methods for HTTP Push. ``` -------------------------------- ### Application Development - Import Devices into Project Example Source: https://open.iot.10086.cn/doc/aiot/fuse/detail/1205 Guide to importing devices into your project. ```app_dev Import Devices into Project ``` -------------------------------- ### Server-Side Subscription Example (New) Source: https://open.iot.10086.cn/doc/aiot/fuse/detail/1424 Demonstrates setting up server-side subscriptions for data. This example shows how to manage consumer groups and configure product subscriptions. ```api POST /subscription/consumer-groups PUT /subscription/products/{productKey}/subscribe ``` -------------------------------- ### 3D Editor - Example 3: Information Sign Setup Source: https://open.iot.10086.cn/doc/aiot/fuse/detail/3146 A guide on setting up information signs or panels within a 3D scene to display data or context. ```text # Example 3: Information Sign Setup: 1. **Create Sign Model**: Design or import a 3D model for the information sign. 2. **Add Text/Display Area**: Create a surface within the model where text or dynamic data will be displayed. 3. **Link Data Source**: Connect the display area to a data source (e.g., device property, simulation variable). 4. **Update Content**: Configure the sign to dynamically update its content based on the linked data. ``` -------------------------------- ### WiFi Positioning Usage Guide Example Source: https://open.iot.10086.cn/doc/aiot/fuse/detail/1424 Provides the usage guide for the WiFi Positioning service. This example describes how to use WiFi signals for location determination. ```guide 1. Ensure device has WiFi enabled. 2. Call the positioning API. 3. The service uses nearby WiFi BSSIDs to estimate location. ``` -------------------------------- ### Base Station Positioning Usage Guide Example Source: https://open.iot.10086.cn/doc/aiot/fuse/detail/1424 Outlines the usage guide for the Base Station Positioning service. This example describes how to obtain location data. ```guide 1. Obtain device IMEI. 2. Call the positioning API with IMEI. 3. Process the returned location data. ``` -------------------------------- ### Application Development - Create Your First Project Example Source: https://open.iot.10086.cn/doc/aiot/fuse/detail/1205 Guide to creating your first project in the application development section. ```app_dev Create Your First Project ``` -------------------------------- ### Device Parameter Setting - Get Device Resolution Example Source: https://open.iot.10086.cn/doc/aiot/fuse/detail/1205 Example of getting the device resolution (Tianyuan devices only). ```api Get Device Resolution (Tianyuan devices only) ``` -------------------------------- ### Smart Voice SVS Product Access Example Source: https://open.iot.10086.cn/doc/aiot/fuse/detail/1424 Shows how to access the Smart Voice SVS product. This example outlines the initial steps for integration. ```guide 1. Register your application. 2. Obtain API credentials. 3. Integrate the SVS SDK. ``` -------------------------------- ### Data Usage - Data Configuration Example Source: https://open.iot.10086.cn/doc/aiot/fuse/detail/1122 Example demonstrating data configuration. Shows how to set up data connections and parameters for visualization or processing. ```data_usage Data Configuration Example ``` -------------------------------- ### Device Parameter Setting - Get Device Firmware Update Example Source: https://open.iot.10086.cn/doc/aiot/fuse/detail/1205 Example of getting device firmware update information. ```api Get Device Firmware Update ``` -------------------------------- ### Message Queue User Guide Examples Source: https://open.iot.10086.cn/doc/aiot/fuse/detail/1205 User guide examples for message queue, covering message production, consumption, and access authentication. ```mq Message Production Message Consumption Access Authentication Best Practices ``` -------------------------------- ### Configure and Start SDK and TCP Protocol Hub Source: https://open.iot.10086.cn/doc/aiot/fuse/detail/1589 Initialize the logging system, configure the SDK and TCP protocol hub, and start the service. ```java // 初始化日志系统,默认提供文件日志 // 可指定logback日志配置文件相对于resources目录的路径 // 注意,SDK和协议站配置默认统一使用SDK和协议站配置中首先配置的日志系统 // 如以下示例,即使TCP协议站在配置了日志系统,TCP协议站也会使用SDK配置的日志系统 ILogger logger = FileLogger.getInstance("logback.xml"); // 配置SDK Config sdkConfig = new Config(logger); // 非必填,默认为文件配置,可选择手动填入泛协议接入服务和平台相关配置 // 如config.connectionHost("${connection_host}") // .serviceId("${service_id}") // .instanceName("${instance_name}") // .instanceKey("${instance_key}") // 也可通过填入IAdapterConfig接口实现类方式配置泛协议接入服务和平台相关配置,如 sdkConfig.adapterConfig(AdapterFileConfig.getInstance()) // 配置设备映射关系配置,非必填,默认为文件配置 .deviceConfig(DeviceFileConfig.getInstance()) // 配置平台设备的响应及命令下发接口的实现,非必填,默认实现仅打印日志 .deviceDownLinkHandler(new SampleDeviceDownLinkHandler()); // 初始化SDK配置 sdkConfig.init(); // 配置TCP协议站,此处配置了TLV编解码器 TcpProtocolHubConfig protocolHubConfig = new TcpProtocolHubConfig(logger) { @Override public void addChannelHandlers(ChannelPipeline pipeline) { pipeline.addLast(new TlvDecoder()) .addLast(TvlEncoder.INSTANCE); } }; // 配置TCP协议站的配置 protocolHubConfig // 同SDK配置,也可使用代码形式配置 .tcpProtocolHubConfig(TcpFileConfig.getInstance()) // 配置自定义设备的协议解码及上行业务开发 .tcpDeviceUpLinkHandler(new SampleDeviceUpLinkHandler()); // 初始化TCP协议站配置 protocolHubConfig.init(); ``` -------------------------------- ### Video Service AI Task (Cloud Algorithm) - Task Start Example Source: https://open.iot.10086.cn/doc/aiot/fuse/detail/1122 Example for starting an AI task. This initiates the execution of a cloud-based algorithm. ```video Start AI Task ``` -------------------------------- ### Application Development - Project Integration Product List Example Source: https://open.iot.10086.cn/doc/aiot/fuse/detail/1122 Example showing how to list products integrated into a project. Helps in managing project dependencies. ```app_dev List Products Integrated into Project ``` -------------------------------- ### Device Parameter Setting - Get Device Current WiFi Strength Example Source: https://open.iot.10086.cn/doc/aiot/fuse/detail/1205 Example of getting the current WiFi signal strength (Tianyuan devices only). ```api Get Device Current WiFi Strength (Tianyuan devices only) ``` -------------------------------- ### Application Development - Project Integration Device List Example Source: https://open.iot.10086.cn/doc/aiot/fuse/detail/1122 Example showing how to list devices integrated into a project. Helps in managing device connections within the project. ```app_dev List Devices Integrated into Project ``` -------------------------------- ### Server-Side Subscription Configuration Example Source: https://open.iot.10086.cn/doc/aiot/fuse/detail/3159 Shows how to configure a product for server-side subscription. This enables real-time data push from the platform to your application. ```json { "productId": "your_product_id", "subscriptionEnabled": true, "messageTypes": ["PROPERTY_REPORT", "EVENT_REPORT"] } ``` -------------------------------- ### Query Device Property History Request Example Source: https://open.iot.10086.cn/doc/aiot/fuse/detail/1422 Use this GET request to query historical data for a specific device property. Ensure you provide the product ID, device name, property identifier, and the start and end times in milliseconds. ```http GET http(s)://iot-api.heclouds.com/thingmodel/query-device-property-history ?product_id=9MaNe52pNO&device_name=no001&identifier=someDate&start_time=1681713647000&end_time=1681799966562 ``` -------------------------------- ### Live Replay API: Get Device Intercom Address Example Source: https://open.iot.10086.cn/doc/aiot/fuse/detail/1424 Demonstrates how to get the device intercom address using the API. This example shows the request. ```api GET /replay/intercom/address?deviceId= ``` -------------------------------- ### Knowledge Base Management - Manage Knowledge Base Example Source: https://open.iot.10086.cn/doc/aiot/fuse/detail/1723 Guide on managing existing knowledge bases, including updating content and settings. ```kb Manage Knowledge Base ``` -------------------------------- ### Live Replay API: Get Stream Address Example Source: https://open.iot.10086.cn/doc/aiot/fuse/detail/1424 Illustrates how to get the live stream address for replay using the API. This example shows the request. ```api GET /replay/stream/address?deviceId= ``` -------------------------------- ### Android SDK Initialization Example Source: https://open.iot.10086.cn/doc/aiot/fuse/detail/1102 Shows how to initialize the Android SDK for IoT platform integration. ```java IotPlatform.initialize(context, "YOUR_API_KEY", "YOUR_API_SECRET"); ``` -------------------------------- ### Knowledge Base Creation Example Source: https://open.iot.10086.cn/doc/aiot/fuse/detail/961 Provides steps for creating a knowledge base for intelligent agents. Knowledge bases store information that agents can access. ```kb Upload documents, FAQs, or structured data to populate the knowledge base. ``` -------------------------------- ### Device Parameter Setting API: Get Broadcast Address Example Source: https://open.iot.10086.cn/doc/aiot/fuse/detail/1424 Illustrates how to get the voice broadcast address for a device using the API. This example shows the request. ```api GET /devices/{deviceId}/broadcast/address ``` -------------------------------- ### Application Development - Import Device into Project Example Source: https://open.iot.10086.cn/doc/aiot/fuse/detail/1122 Example demonstrating how to import a device into an application project. This integrates device data and control into the application. ```app_dev Import Device into Project ``` -------------------------------- ### Live Replay API: Get Replay Address (Specific File) Example Source: https://open.iot.10086.cn/doc/aiot/fuse/detail/1424 Shows how to get the replay address for a specific file using the API. This example outlines the request. ```api GET /replay/address/file?fileName= ``` -------------------------------- ### Smart Voice SVS - Product Access Example Source: https://open.iot.10086.cn/doc/aiot/fuse/detail/1200 Illustrates the initial steps for accessing the Smart Voice SVS product. This typically involves SDK integration and initialization. ```javascript // Assuming SVS SDK is loaded const svsClient = new SVSClient({ appKey: "YOUR_APP_KEY", appSecret: "YOUR_APP_SECRET" }); svsClient.initialize().then(() => { console.log("SVS client initialized successfully."); }).catch(error => { console.error("Failed to initialize SVS client:", error); }); ``` -------------------------------- ### Build and Compile Example Program Source: https://open.iot.10086.cn/doc/aiot/fuse/detail/918 Steps to compile the example program using CMake and Make. This includes creating a build directory, generating Makefiles, and executing the compilation. ```bash mkdir build #创建build文件夹 cd build #进入build文件夹 cmake .. #以../目录下的CMakeLists.txt生成makefile make #编译 ./ont_onejson_example #执行 ```