检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
在左侧导航栏选择“产品”,单击左侧“创建产品”。 图1 创建产品-SL651 在对应的产品栏单击“详情”进入产品详情页面,单击“基本信息”中“上传模型文件”,导入SL651.zip,导入后如下所示。 图2 模型定义-SL651 在IoTDA平台注册设备 IoTDA平台通过设备ID标识设备。SL651遥测站接入平台请使
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
则需将工程Jar包和第三方Jar包打包成一个Zip包。 本文使用到了多个第三方库,因此,如下图所示,将工程Jar包和第三方Jar包打包成一个Zip包。 进入函数工作流服务控制台,创建函数并上传包含工程Jar包和第三方Jar包的Zip包。 为避免调试过程中函数因内存不足或超时导致调
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
单击“设置转发目标”页签,单击“添加”,设置转发目标。 参数名 参数说明 转发目标 选择“云数据库 MySQL(RDS)” 数据库实例地址 填写数据库实例的连接IP(或域名)和端口。 数据库名称 填写数据库实例中转发目标数据库名称。 访问账户 填写数据库实例的账户。 访问密码 填写数据库实例的密码。 SSL
String 参数说明:设备节点类型。 ENDPOINT:非直连设备。 GATEWAY:直连设备或网关。 UNKNOWN:未知。 description 否 String 参数说明:设备的描述信息。 最大长度:2048 fw_version 否 String 参数说明:设备的固件版本。
开发产品模型 找到新增的产品,单击“查看”进入产品界面。 在产品详情“基本信息”页面,直接上传模型文件BearPi_Agriculture.zip。 图4 上传产品模型-MQTT 在产品列表中,单击对应的产品,进入产品详情页。您可以查看产品ID、产品名称、设备类型、数据格式、厂商名称
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
myhuaweicloud.com 8883 MQTTS 下载并修改华为SDK示例代码进行设备引导(这里以java sdk代码为示例)。 用IDEA/Eclipse打开SDK代码工程,修改iot-device-demo目录下的DEMO示例“BootstrapSample”中的参数,其中device
如不依赖第三方Jar包,可将工程打包成一个单独的Jar包,如下图所示。 如工程依赖第三方Jar包,则需将工程Jar包和所有第三方Jar包打包成一个zip包,如下图所示。 进入函数工作流服务控制台,创建函数。函数执行入口以[包名].[类名].[执行函数名]格式填写。 配置测试事件,调试函数。
String 参数说明:设备节点类型。 ENDPOINT:非直连设备。 GATEWAY:直连设备或网关。 UNKNOWN:未知。 description 否 String 参数说明:设备的描述信息。 最大长度:2048 fw_version 否 String 参数说明:设备的固件版本。
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted