Skip to content

Go packages to interface with the Linux Netlink, Connector and One-Wire subsystems

License

Notifications You must be signed in to change notification settings

lambdasoup/go-netlink

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status GoDoc

go-netlink

This is a suite of Go packages to interface with the Linux netlink subsystem.

go-netlink was created to talk to a Maxim iButton temperature sensor via netlink. The provided suite so far does not do much more than to do exactly that. Netlink / Connector / One-Wire have been separated into hierarchical layers to reflect the kernel's architecture. Feel free to extend this to more Netlink / Connector or One-Wire endpoints.

The project's license is GPL3+

ibutton tool installation

Go package management can install ibutton directly from github:

go install github.com/lambdasoup/go-netlink/ibutton/ibutton

ibutton tool usage

start a new mission

ibutton -command start

stop the currently running mission

ibutton -command stop

print out the sample log

ibutton -command read

show the button status

ibutton -command status

clear the button mission memory

ibutton -command clear

About

Go packages to interface with the Linux Netlink, Connector and One-Wire subsystems

Topics

Resources

License

Stars

Watchers

Forks