Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Functions Related to the Device the Parser is executed for.  All functions are optional. Not calling them will not change any data.


Access Field Fields of the Device. (Type: String)

Code Block
// Read only properties:
Device.name

Access the Address field of the Device. (Type: String)

Code Block
Device.address

Access the Tags of the Device. (Type: Array of Strings)

Code Block
Device.tags

Access the Serial field of the Device. (Type: String)

Code Block
Device.serial // String
Device.address // String
Device.tags // Array of Strings
Device.serial // String


Update the physical location of the sensor

Code Block
Device.setLocation(lon, lat)

...