Files

Wireless GPIO Application
[Applications]

This application implements a simple configurable wirless digirtal IO module.
More...

Files

file  wgpio.c
 

Implementation of the Wireless GPIO Application.



Detailed Description

This application implements a simple configurable wirless digirtal IO module.
Overview

The application uses 1 key for input and two LEDs for signalling the output, where LED0 represents the actor and LED1 gives status information, e.g. if a key press is received by another node.

After power up, the application is in state APP_RUNNING and is waiting for input events. When the key is pressed shortly, the local actor (if enabled) is processed and frame indicating a CMD_SWITCH is sent. If this frame is received by another node, the actor of this node is updated and a CMD_STATUS frame is sent.

Each node can enter the configuration mode, when long pressing of the key is detected. In the configuration the node can be adjusted to be STANDBY (0), SWITCH (1), ACTOR (2) or SWACTOR (switch and actor, 3).

Protocoll

Usage

baustelle1.jpg

under construction



This documentation for µracoli was generated on Tue Apr 9 2013 by  doxygen 1.7.1