Overview
As much as possible, the data models for devices are designed to be consistent across different device types. This makes it easier to write applications that work with many different devices.
Common Concepts
There are a few concepts that are common to all devices:
- Basic Information - All devices have the following basic information (for more information on this see Static Information):
id
- a unique identifier that Texture assigns to the devicereferenceId
- This is an identifier that is assigned by you, the user, and is used to reference the device in your own systems. Often this is a user id, an email, or anything else so you can find the device(s) latermanufacturer
- The company that made the devicemodel
- The model of the deviceserialNumber
- The serial number of the devicetags
- A list of tags that you can use to organize your deviceslocation
- The location of the device (note the fidelity may vary)type
- The type of the devicecreatedAt
- The date the device was createdupdatedAt
- The date the device was last updated
- State Updates - The information that is sent from the device to the Texture Platform on a regular cadence so that you can monitor and make decisions based on it.
- Commands - The information that is sent from the Texture Platform to the device to make it do something. Not all devices support commands, but many do and we have tried to make commands as consistent as possible across device types
We have breakout pages with details on the data model for each Device Type: