Skip to content

CommandRequestInfo

Defined in: src/types/command_response.ts:46

Information about a command request and its response.

optional cmd?: number

Defined in: src/types/command_response.ts:68

Command identifier.


optional device_status?: number

Defined in: src/types/command_response.ts:52

Device-reported status code.


optional expiration_timestamp?: number

Defined in: src/types/command_response.ts:66

Timestamp when the request expires.


node_id: string

Defined in: src/types/command_response.ts:60

Node ID the command was sent to.


optional request_data?: unknown

Defined in: src/types/command_response.ts:56

Data sent in the request.


request_id: string

Defined in: src/types/command_response.ts:48

Unique identifier of the command request.


optional request_timestamp?: number

Defined in: src/types/command_response.ts:62

Timestamp when the request was created.


optional response_data?: unknown

Defined in: src/types/command_response.ts:58

Data received in the response.


optional response_timestamp?: number

Defined in: src/types/command_response.ts:64

Timestamp when the response was received.


status: string

Defined in: src/types/command_response.ts:50

Current status of the request.


optional status_description?: string

Defined in: src/types/command_response.ts:54

Human-readable description of the status.