# libxaal demo A set of small apps using libxaal (a xAAL library in C) Conforms to xAAL specification v0.7 ## Devices Following applications are proposed as proof of concept: - dumper: Listen to the xAAL bus and (pretty) print messages to stdout Usefull for debugging purpose Alternatives without decoding messages: tshark -i eth0 -Y "ip.dst == 224.0.29.200" socat UDP-RECVFROM:1236,ip-add-membership=224.0.29.200:0.0.0.0,reuseport,fork STDOUT - dummyLamp: Behave like a basic lamp Accepts on/off queries; show results on stdout - lampCommander: A simple command-line HMI for lamps It listens to 'alive' messages from lamp devices and maintain an internal list of discovered ones. (It manages timeout.) The 'select' menu allows to select/deselect which of the discovered lamps one then wants to command. The 'on' menu sends a 'on' request to selected lamps. The 'off' menu sends a 'off' request to selected lamps. - thermoPC: Themperature of your CPU(s) on xAAL Dependencies: libsensors4-dev The intent of this piece of code is to sow 'groupped' xAAL devices. It exposes as much as 'thermometer.basic' devices as your libsensors reports temperature sensors for your CPU(s). Try: sensors|grep '^Core' Note that if you really need to monitor sensors of your PC, snmp is a better choice: http://www.net-snmp.org/wiki/index.php/Net-SNMP_and_lm-sensors_on_Ubuntu_10.04 - thermoWatch: Displays thermometers values It listens to 'alive' messages from thermometers devices and maintain an internal list of discovered ones. - tattler: An exotic sensor that monitors given Ethernet addresses on the home network and sends xAAL notification about their presence. It does the job by looking at the neighbors table (ARP), and sends UDP probes when nodes fall in a stale state, and after waiting a configured time. Note: this time is given in seconds, it can be 0 (immediately), or negative (no probes). The configuration file is in a json format. Dependencies: libmnl-dev libjson-c-dev - azerty: A dummy set of switch buttons (i.e., your keyboard) Dependencies: libjson-c-dev ## Copyright - Christophe Lohr - IMT Atlantique - 2019 - The demo applications are provided according to the terms of the GNU General Public License v3.0 and following - Dual-licenses are accepted, contact us.