function · Browser and Node

# planMtu

The MTU a plan really allows: its own, capped by the largest frame under the dwell limit.

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

Import:

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

## Declaration

Signature:

```ts
planMtu(plan: {
    tx: LoRaSetting;
    mtu: number;
    budget: AirtimePolicy;
}): number;
```

### Parameters

- **`plan` (required)**: `{ tx: LoRaSetting; mtu: number; budget: AirtimePolicy; }`

### Returns

`number`

[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/)

---

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