function · Browser and Node

# loraAirtimeMs

Semtech's time-on-air formula, explicit header, CRC on. Milliseconds.

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

Import:

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

## Declaration

Signature:

```ts
loraAirtimeMs(payloadBytes: number, s: LoRaSetting): number;
```

### Parameters

- **`payloadBytes` (required)**: `number`
- **`s` (required)**: `LoRaSetting`

### 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/loraAirtimeMs/. An index of the documentation for AI assistants is at https://toip.tools/llms.txt.
