daemon

command
v0.0.0-...-5a484b5 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2016 License: MIT Imports: 10 Imported by: 0

README

AT / example / daemon

This utility should be used as an example of the 'at' package usage. The daemon waits for a modem device that is specified in constants.

	CommandPortPath = "/dev/tty.HUAWEIMobile-Modem"
	NotifyPortPath  = "/dev/tty.HUAWEIMobile-Pcui"

And monitors its SMS inbox and balance.

	BalanceUSSD          = "*100#"
	BalanceCheckInterval = time.Minute
	DeviceCheckInterval  = time.Second * 10

It also spawns a web interface available at http://localhost:%d.

Screenshot

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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