add support and examples for deferred state report responses
This commit is contained in:
parent
f4d07b589c
commit
61b032c889
8 changed files with 147 additions and 25 deletions
|
|
@ -51,14 +51,16 @@ class Device extends EventEmitter {
|
|||
}
|
||||
getStatusMessage(
|
||||
correlationToken: string,
|
||||
isResponse = false
|
||||
isResponse = false,
|
||||
isDeferred = false,
|
||||
): AlexaStatusMessage {
|
||||
return new AlexaStatusMessage(
|
||||
correlationToken,
|
||||
this.rootTopic,
|
||||
this.endpointId,
|
||||
this.mqttClient,
|
||||
isResponse
|
||||
isResponse,
|
||||
isDeferred
|
||||
);
|
||||
}
|
||||
setManufacturerName(name: string): void {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue