ChannelUrl

Static helpers for encoding and parsing Meshtastic channel URLs (https://meshtastic.org/e/#...).

Properties

Link copied to clipboard
const val PREFIX: String

The standard URL prefix for Meshtastic channel shares.

Functions

Link copied to clipboard
fun encode(set: ChannelSet): String

Encodes a ChannelSet into a base64-url-safe Meshtastic share link.

Link copied to clipboard
fun parse(url: String): ChannelSet?

Parses a Meshtastic share link into a ChannelSet.