@ -156,6 +156,14 @@ func (c *converter) CheckTimeouts(isOffline bool) ([]*Event, bool) {
Value: nil,
}
if isOffline {
// last received data
event.Updated = fld.last
} else {
// actual detection moment
event.Updated = &now
var mask uint64 = ^(ALL_BITS << fld.length)
mask = mask << from
fld.value = mask