I have a misunderstanding about the difference between samples and events in a wireless sensor node? Are they the same? Or the data before processing is considered as samples while after processing is an event? Can sensors detect events before processing data?