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 |