1.1. Demo App

1.1.1. Introduction:

Demo App introduces the SDK development process and some simple business logic. Before developing the App, it is recommended to complete the operation of demo App according to this document.

In the preparation section, get the Appkey, Appsecret and Security pictures of iOS. When integrating the SDK, please confirm whether the BundleId, Appkey, Appsecret and Security pictures are consistent with the information on the platform. Any mismatch will cause the SDK to be unavailable.

image-20200302180605130

1.1.2. Function Overview

Demo App includes:

  • Login module: Account (mobile phone or email) registration and login
  • Home management and device management module: including home creation and current home switching. Display of device list and control of device function point in home. Device rename and device removal.
  • Device activator module: including smartConfig mode, AP mode, wired gateway distribution network and gateway sub device activator
  • Smart scene module: smart scene creation and execution
  • User module: user information

Demo link

1.1.3. QA

API interface request prompt signature error

{
  "success" : false,
  "errorCode" : "SING_VALIDATE_FALED",
  "status" : "error",
  "errorMsg" : "Permission Verification Failed",
  "t" : 1583208740059
}
  • Confirm whether the BundleId, Appkey, Appsecret and security picture are consistent with the information on the IOT platform. Any mismatch will fail the verification. Please check according to the section of Preparation.

results matching ""

    No results matching ""