function · Node only

# nodeSerialPort

A USB serial port through the "serialport" package. 115200 baud for RUI3 and RNode.

`@toip-tools/mesh-transport/node` · [View source](https://github.com/yourbuddyconner/toip-tools/blob/main/packages/mesh-transport/src/node.ts#L55)

Import:

```ts
import { nodeSerialPort } from "@toip-tools/mesh-transport/node";
```

## Declaration

Signature:

```ts
nodeSerialPort(path: string, baud?: number): SerialPortLike;
```

### Parameters

**`path` (required)**

`string`

**`baud` (optional)**

`number`

Default: `115200`

### Returns

`SerialPortLike`

[Usage guide](https://toip.tools/toolkit/mesh-transport/#usage) · [Error handling](https://toip.tools/toolkit/mesh-transport/#errors) · [All exports](https://toip.tools/toolkit/mesh-transport/api/node/)

---

This is the Markdown version of https://toip.tools/toolkit/mesh-transport/api/node/nodeSerialPort/. An index of the documentation for AI assistants is at https://toip.tools/llms.txt.
