CommandRequestInfo
Defined in: src/types/command_response.ts:46
Information about a command request and its response.
Properties
Section titled “Properties”
optionalcmd?:number
Defined in: src/types/command_response.ts:68
Command identifier.
device_status?
Section titled “device_status?”
optionaldevice_status?:number
Defined in: src/types/command_response.ts:52
Device-reported status code.
expiration_timestamp?
Section titled “expiration_timestamp?”
optionalexpiration_timestamp?:number
Defined in: src/types/command_response.ts:66
Timestamp when the request expires.
node_id
Section titled “node_id”node_id:
string
Defined in: src/types/command_response.ts:60
Node ID the command was sent to.
request_data?
Section titled “request_data?”
optionalrequest_data?:unknown
Defined in: src/types/command_response.ts:56
Data sent in the request.
request_id
Section titled “request_id”request_id:
string
Defined in: src/types/command_response.ts:48
Unique identifier of the command request.
request_timestamp?
Section titled “request_timestamp?”
optionalrequest_timestamp?:number
Defined in: src/types/command_response.ts:62
Timestamp when the request was created.
response_data?
Section titled “response_data?”
optionalresponse_data?:unknown
Defined in: src/types/command_response.ts:58
Data received in the response.
response_timestamp?
Section titled “response_timestamp?”
optionalresponse_timestamp?:number
Defined in: src/types/command_response.ts:64
Timestamp when the response was received.
status
Section titled “status”status:
string
Defined in: src/types/command_response.ts:50
Current status of the request.
status_description?
Section titled “status_description?”
optionalstatus_description?:string
Defined in: src/types/command_response.ts:54
Human-readable description of the status.