@kvaser/canking-api
Version:
CanKing API to communicate with the CanKing service using Node.js.
27 lines (14 loc) • 790 B
Markdown
[**Kvaser CanKing GUI Extensions SDK v7.5.1**](../../README.md)
***
[Kvaser CanKing GUI Extensions SDK](../../modules.md) / [ipc](../README.md) / getFrameDefinitions
# Function: getFrameDefinitions()
> **getFrameDefinitions**(`nodeIdentifier?`): `Promise`\<[`FrameDefinition`](../../models/interfaces/FrameDefinition.md)[]\>
Gets all available frame definitions.
## Parameters
### nodeIdentifier?
`string`
An optional node identifier. If specified then all frame definitions available for the
specified node will be returned; otherwise all available frame definitions will be returned.
## Returns
`Promise`\<[`FrameDefinition`](../../models/interfaces/FrameDefinition.md)[]\>
A promise that resolves with a collection of all available frame definitions.