Documentation ¶
Index ¶
- Variables
- func GetDevAddrFromDevEUI(devEUI lorawan.EUI64) lorawan.DevAddr
- func GetGenericAES128Key() lorawan.AES128Key
- func GetJoinRequestDataPayload(node *model.Node) []byte
- func GetPushDataPayload(node *model.Node, fcnt uint32) []byte
- func HandlePacket(data []byte) error
- func Join(gateway *model.Gateway, prometheus tools.Prometheus, withJoin bool)
- func NewGateway(nbNode int, nsAddress string, appskey string, nwskey string, payloads []string) *model.Gateway
- func NewNode(nwsKeyStr string, appsKeyStr string, payloads []string) *model.Node
- func NewRxpk(data []byte) loraserver_structs.RXPK
- func RandomEUI() lorawan.EUI64
- func Start(gateway *model.Gateway, prometheus tools.Prometheus, fcnt uint32)
- type Packet
Constants ¶
This section is empty.
Variables ¶
View Source
var LOG_GATEWAY = logrus.WithFields(logrus.Fields{"logger": "lorhammer/lora/gateway"})
View Source
var LOG_NODE = logrus.WithFields(logrus.Fields{"logger": "lorhammer/lora/node"})
Functions ¶
func GetGenericAES128Key ¶
func HandlePacket ¶
func NewGateway ¶
func NewRxpk ¶
func NewRxpk(data []byte) loraserver_structs.RXPK
Types ¶
Click to show internal directories.
Click to hide internal directories.