device-automation-bus / dab-adapter-rs

Apache License 2.0
2 stars 8 forks source link

Poll before application/exit returning to match the Spec requirements. #37

Closed arun-madhavan-013 closed 11 months ago

arun-madhavan-013 commented 11 months ago

DAB-2.0 spec says "The response should only be sent after the application state has changed on the platform." Added max 2 second wait and 100ms sampling frequency for the poll to updated getState. If found matching state in this window; trigger response.