Documentation ¶
Index ¶
- Constants
- func GetContactStatus(address string, contactNum string) (string, error)
- func GetHardwareInfo(address string) (string, string, error)
- func SendCommand(command []byte, address string) ([]byte, *nerr.E)
- func TurnContactOff(address string, contactNum string) (string, error)
- func TurnContactOn(address string, contactNum string) (string, error)
Constants ¶
View Source
const (
SPACE = 0x20
)
Variables ¶
This section is empty.
Functions ¶
func GetContactStatus ¶
GetContactStatus will report the status of the contact, returing if it is either on or off (open/closed)
func GetHardwareInfo ¶
GetHardwareInfo will get all the hardware info for the iTach
func SendCommand ¶
SendCommand will be responsible for sending a command to the device
func TurnContactOff ¶
TurnContactOff will set the state of the contact relay specified to off
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.