ppegusii / cs677-smart-homes-IoT

Programming Assignment 1: Internet of Things and Smart Homes
GNU General Public License v2.0
2 stars 0 forks source link

Timestamps for events generated by devices and sensors #32

Open ameetrivedi opened 9 years ago

ameetrivedi commented 9 years ago

If timestamp is added in the regparam of each RPC call, will gateway handle it that way or something else needs to be done for the timestamp?

ppegusii commented 9 years ago

I believe we only need to put the correct timestamp in the StateInfo struct used in QueryState, ChangeState, and when the sensors call ReportMotion or ReportDoorState on the gateway.

ameetrivedi commented 9 years ago

Added.