swixteen  0.03
Switch a lamp on/off with X10 RF commands
 All Files Functions Variables Macros Pages
Functions
SwitchSender.c File Reference
#include <fcntl.h>
#include <stdio.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include "../Sysfs/Sysfs.h"
#include "../config.h"
Include dependency graph for SwitchSender.c:

Go to the source code of this file.

Functions

int SwitchSender (int State)
 Switch sender on or off. More...
 

Function Documentation

int SwitchSender ( int  State)

Switch sender on or off.

Parameters
State(0 or 1)
Returns
0 on succes, a negative number on failure

Definition at line 15 of file SwitchSender.c.

Here is the caller graph for this function: