lora_events

package module
v0.0.0-...-ee6d3e7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 28, 2022 License: GPL-3.0 Imports: 3 Imported by: 0

README

lora_events

A golang wrapper to the lorad dbus endpoint, providing all lorad services as a golang module

(work in progress - not all endpoints yet implemented)

See lorad repository for details

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnDetails

type ConnDetails struct {
	Status int16
	Obj    *dbus.Object
	Err    error
}

func NewLoraConnection

func NewLoraConnection() ConnDetails

func (*ConnDetails) Connect

func (lc *ConnDetails) Connect() (int16, error)

func (*ConnDetails) Disconnect

func (lc *ConnDetails) Disconnect() (int16, error)

func (*ConnDetails) File

func (lc *ConnDetails) File(filename string, times ...interface{}) (int16, error)

func (*ConnDetails) GetStatus

func (lc *ConnDetails) GetStatus() (int16, error)

func (*ConnDetails) Message

func (lc *ConnDetails) Message(description string, times ...interface{}) (int16, error)

func (*ConnDetails) UnreliableMessage

func (lc *ConnDetails) UnreliableMessage(description string, times ...interface{}) (int16, error)

func (*ConnDetails) WaitUntilComplete

func (lc *ConnDetails) WaitUntilComplete(requestId int16, timeout int16) error

func (*ConnDetails) WaitUntilUp

func (lc *ConnDetails) WaitUntilUp(connectRequestId int16, connTimeout int16) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL