aliyun / iotx-api-demo Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
物联网平台, 产品为基础版, 调用云端api => rrpc接口(https://help.aliyun.com/document_detail/69797.html?spm=a2c4g.11186623.6.714.eOYgF5),
返回结果如下:
Recommend: 'https://error-center.aliyun.com/status/search?Keyword=InvalidAction.NotFound&source=PopGw',
Message: 'Specified api is not found, please check your url and method.',
RequestId: '64CED2F9-3E10-45E7-AE92-E38A14EE0FA2',
HostId: 'iot.cn-shanghai.aliyuncs.com',
Code: 'InvalidAction.NotFound'
疑问: 目前除了这个接口都可以正常返回, 可以确定签名和参数格式都正确, 那么Action=RRpc时, 此接口是否有限制? 文档中说明了rrpc是支持的.
该测试用例在Python3中存在json数据编码和字符串组合错误
/iotx-api-demo/python/iot-sdk-demo/iotSdkDemo/Test/Test.py:
第131行存在空格错误。
An error occurred while querying device statistic!
代码注释写的是对属性对属性的设置,删除、查询实际上调用的是标签的api。或者说这里默认标签也是一种属性?反正刚开始对我造成了一定干扰,经过核对官网api列表才看出问题
//设置设备属性
saveDevicePropTest(productKey, deviceName);
//删除设备属性
deleteDevicePropTest(productKey, deviceName);
//查询设备属性
queryDevicePropTest(productKey, deviceName);
在官方github示例中调用api的client被定义在方法的静态参数中
private static DefaultAcsClient client = AbstractManager.getClient();
那么如果后期多线程调用这个client是否安全,是否会正常返回。
创建产品创建的是基础版本,如何创建高级版本呢?
如题
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.