Skip to main content
. 2019 May 14;19(10):2228. doi: 10.3390/s19102228

Table 6.

Sample event definition in the smart contract.

Component Type Role
Sensor event Event Give notice when sensing value exceeds the threshold
Actuator event Event Give notice whenever the actuator state is changed
Device creating event Event Give notice when new device is added
Device updating event Event Give notice when specific device is updated
Device delete event Event Give notice when specific device is deleted