The preamble series is >, >, >

[Graffiti Internet of Things Footprint] Data type and value constraint description of Graffiti cloud platform

To the standard instruction set design of the various terms and matters needing attention to make a simple explanation ~

Instruction set description

Instructions, that is, are used to guide the way a piece of hardware works; Set means set, “instruction set” means a set of different guidance instructions. To put it simply, an instruction set is a collection of assembly instructions, and different CPUs use different instruction sets.

Instruction set is stored inside the CPU, used to guide the CPU to calculate and control the computer operating system of a series of instructions set! According to different standard product categories, doodle IoT development platform has designed corresponding standard instruction sets for issuing control function instructions to devices.

Two, noun explanation

Ø Standard product categories: A standard product category provides a standardized list of product categories that can be controlled using a standard instruction set, and that can be queried using a standard state set.

Ø Standard Instruction Set: A standard instruction set is a set of instructions for control functions that can be issued by a device. Separated by product category, the control instructions supported by a specific product are subsets of the standard instruction set for the product category.

Ø Standard state set: The standard state set is the set of functional states that a device can report. Distinguished by product category, the functional states supported by a specific product are subsets of the standard state set for that class of products.

Ø List of standard products:

Three, matters needing attention

Ø This chapter provides the instruction set of some categories of products of Doodle Platform. More products are in continuous adaptation, and work orders can be submitted if there is demand.

Ø The instruction set provided in this section is not completely consistent with the product function definition in the Doodle Cloud. Doodle cloud ADAPTS the instructions of different products under the same category in Doodle IoT platform.

Ø The developer only needs to adapt the instruction set of the same category to control different products under the same category.

Ø If the returned standard product is an early product with class code Qt, it may not be supported anymore. If you need access, please submit the work order for confirmation.

Four, common problems

Q: How do I determine whether the device supports standard product access?

A: You can query the standard access function properties (instruction set) and support reportable state properties (state set) supported by your device with the following command.

/ v1.0 / devices / {device_id} / specifications

Q: How to debug the function of the device?

A: You can debug the function of the device by issuing instructions in the instruction set.

/ v1.0 / devices / {device_id} / commands

Q: How to query the current state of the device?

A: You can query the current status of the device with the following command.

/ v1.0 / devices / {device_id} / status `