2017 © Pedro Peláez
 

library aliyun-iot

aliyun-iot

image

leslie/aliyun-iot

aliyun-iot

  • Wednesday, July 25, 2018
  • by Leslie1sMe
  • Repository
  • 0 Watchers
  • 1 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

aliyun-iot

2018最新sdk封装composer包, (*1)

使用方法:引入项目文件, (*2)

use \Leslie\AliyunIot\AliyunIot;, (*3)

$iot = new AliyunIot('accessKey','accessSecret');, (*4)

删除设备:, (*5)

$iot->deleteDevice('deviceName','productKey');, (*6)

获取设备状态:, (*7)

$iot->getDeviceStatus('deviceName','productKey');, (*8)

产品注册:, (*9)

$iot->createProduct('name','desc','catId');, (*10)

设备列表:, (*11)

$iot->iotList('pageSize','currentPage','productKey');, (*12)

更新产品:, (*13)

$iot->updateProduct('productKey','productName','productDesc');, (*14)

注册设备:, (*15)

$iot->registerDevice('deviceName','productKey');, (*16)

批量检查设备:, (*17)

$iot->batchCheckDeviceNames('deviceName','productKey');, (*18)

批量注册设备:, (*19)

$iot->batchRegisterDevice('count','productKey);, (*20)

发布topic:, (*21)

$iot->pub('topicFullName','qos','messageContent','productKey');, (*22)

RRPC:, (*23)

$iot->rrpc('requestBase64Byte', 'deviceName','productKey', 'timeout');, (*24)

更新设备影子:, (*25)

$iot->updateDeviceShadow('shadowMessage', 'deviceName', 'productKey');, (*26)

获取设备影子:, (*27)

$iot->getDeviceShadow('productKey', 'deviceName'), (*28)

The Versions

25/07 2018

dev-master

9999999-dev

aliyun-iot

  Sources   Download

MIT

The Requires

  • php >=5.3

 

by lizhonglin

25/07 2018

v1.0

1.0.0.0

aliyun-iot

  Sources   Download

MIT

The Requires

  • php >=5.3

 

by lizhonglin