UNPKG

@kvaser/canking-api

Version:

CanKing API to communicate with the CanKing service using Node.js.

30 lines (15 loc) 550 B
[**Kvaser CanKing GUI Extensions SDK v7.5.1**](../../README.md) *** [Kvaser CanKing GUI Extensions SDK](../../modules.md) / [ipc](../README.md) / sendMessage # Function: sendMessage() > **sendMessage**(`channelId`, `frame`): `Promise`\<`void`\> Sends out a frame on the specified out channel. ## Parameters ### channelId `string` Identifier of the out channel to be used when sending out the message. ### frame [`WriteFrame`](../../models/interfaces/WriteFrame.md) Definition of the frame to be sent out. ## Returns `Promise`\<`void`\>