O'Reilly logo

Mastering Internet of Things by Peter Waher

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Defining Smart Objects

We are now ready to add our first IPSO Smart Object. The IPSO Smart Object Guidelines, from the Smart Objects Starter Pack, contains the object definitions we need. If you haven't downloaded these already, do so now. The Digital Input smart object is defined as follows:

Name

Res.

R/W/E

M/O

Type

Description

Digital Input State

5500

R

M

Boolean

The current state of a digital input.

Digital Input Counter

5501

R

O

Integer

The cumulative value of the active state detected

Digital Input Polarity

5502

RW

O

Boolean

The polarity of the digital input as a Boolean (0 = Normal, 1= Reversed)

Digital Input Debounce Period

5503

RW

O

Integer

The debounce period in ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required