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

import meshtastic "github.com/crypto-smoke/meshtastic-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,
	}
}