aboutsummaryrefslogtreecommitdiff
path: root/mqtt/node.go
blob: 3400307ca6a6d4ea9fa23af25ec0d7a3b72b32c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package mqtt

import "buf.build/gen/go/meshtastic/protobufs/protocolbuffers/go/meshtastic"

// Node implements a meshtastic node that connects only via MQTT
type Node struct {
	user *meshtastic.User
}

func NewNode(user *meshtastic.User) *Node {
	return &Node{
		user: user,
	}
}