alexa-samples / alexa-smarthome

Resources for Alexa Smart Home developers.
https://alexa.design/smarthome
Other
682 stars 336 forks source link

Anyone Having idea about how to implement AddOrUpdateReport? #95

Closed Sharvin26 closed 5 years ago

Sharvin26 commented 5 years ago

I am facing problem while Implementing AddOrUpdateReport. Can anyone help me with it? I had Some questions related to the implementation of AddOrUpdateReport:

  1. It belongs to namespace Alexa.Discovery while Discovery Interface also belongs to the same So do we need to add both in the lambda? If yes, then I added a condition to differentiate but there is no directive given in the documentation So how can we classify between Discovery Interface and AddOrUpdateReport?
  2. Also, can anyone post a sample implementation of discovery and AddOrUpdateReport just for the reference purpose? Documentation is not clear enough. Thanks in advance.