Device schemas
Device Drivers maintain Device Schemas, which are used by PixelCore to store and structure the data generated by corresponding devices. LoRaWAN Device Drivers Schemas maintain a similar structure. Usually following 4 Groups of Properties are present:
- Credentials
- Measurements
- Settings
- LNS Bridge
This list is not fixed and other Property Groups can be added by Device Drivers when needed, but for LoRaWAN Device Drivers these specific Property Groups are usually present.
Credentials¶
Credentials Property Group consists of several Properties, which describe the LoRaWAN configuration settings for a particular device. That usually includes the following information: EUI, Device Class, Device Address, Region, Version and some other parameters. EUI field is used to match the incoming LoRaWAN message to corresponding Device Driver (via Object Schema relation).
Measurements¶
Measurements Property Group consist of arbitrary Properties which match corresponding device functionality and features. Examples of Properties are: Temperature, Humidity, Battery Status and other.
Settings¶
Settings Property Group contains Properties which are used to reflect actual behaviour of Device Driver on reporting device timeout status (no messages seen for more then specific period of time) and battery low status (device reported battery capacity reached defined threshold). These parameters can be changed via corresponding RPC calls.
LNS Bridge¶
LNS Bridge Property Group contains Properties which are used to store the raw data messages coming from/sent to a device.