Giter VIP home page Giter VIP logo

iotx-api-demo's Introduction

iotx-api-demo

阿里云物联网平台提供云端SDK使用Demo。Demo中包含Java、Python、PHP、.NET、Go版本SDK。

iotx-api-demo's People

Contributors

alibaba-oss avatar lancelotzhu avatar tihong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

iotx-api-demo's Issues

java demo的main函数中貌似有点小问题

代码注释写的是对属性对属性的设置,删除、查询实际上调用的是标签的api。或者说这里默认标签也是一种属性?反正刚开始对我造成了一定干扰,经过核对官网api列表才看出问题
//设置设备属性
saveDevicePropTest(productKey, deviceName);
//删除设备属性
deleteDevicePropTest(productKey, deviceName);
//查询设备属性
queryDevicePropTest(productKey, deviceName);

调用云端api=> rrpc, 返回invalid.action

物联网平台, 产品为基础版, 调用云端api => rrpc接口(https://help.aliyun.com/document_detail/69797.html?spm=a2c4g.11186623.6.714.eOYgF5),

请求: (GET)
https://iot.cn-shanghai.aliyuncs.com/?Format=JSON&Version=2018-01-20&AccessKeyId=LTAIb5QIjbGUOcMa&Signature=Dy4VV49JEUHB%2FyUrGbWoye%2B%2BHc0%3D&SignatureMethod=HMAC-SHA1&Timestamp=2018-07-05T08:24:38.312Z&SignatureVersion=1.0&SignatureNonce=9774faeb-bb2b-4120-8fb2-b091889b3757&RegionId=cn-shanghai&Action=RRpc&ProductKey=a16M72Hc8hB&DeviceName=zuk_phone&RequestBase64Byte=eyJhY3Rpb24iOiJ1bmxvY2sifQ%3D%3D&Timeout=5000

返回结果如下:
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是支持的.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.