add support and examples for deferred state report responses

This commit is contained in:
David 2025-05-11 23:12:47 +00:00
parent f4d07b589c
commit 61b032c889
8 changed files with 147 additions and 25 deletions

View file

@ -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 {