rmbridge

package module
v0.0.0-...-28eacc0 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConnectUSB

func ConnectUSB(passphrase string) bool

ConnectUSB will try to establish a connection to the reMarkable via USB

func ConnectWifi

func ConnectWifi(passphrase string, ipAdress string) bool

ConnectWifi will try to establish a connection to the reMarkable via Wifi at a given ip address

func Disconnect

func Disconnect()

Disconnect ends a possible connection to the remarkable

func Download

func Download(remoteFiles []string, localFolder string)

Download will fetch a list of file on the remarkable and download them into the local folder

func GetClient

func GetClient() *goph.Client

func Upload

func Upload(localFiles []string, remoteFolder RMPath)

Upload will upload a list of local files into the specific folder on the remarkable

Types

type RMPath

type RMPath string
const (
	TemplateFolder RMPath = "/usr/share/remarkable/templates"
	TemplateMaster        = "/usr/share/remarkable/templates/templates.json"
)

Jump to

Keyboard shortcuts

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