= Antenna Controller = == REST API == All valid calls will reply with formatted XML. The first line will be `` for commands that execute correctly, or `` if either the parameters passed are invalid of the call failed for some other reason (check /var/log/syslog on the relevant Pi for more information). || '''REST API Call''' || '''Description''' || || /Antenna/enable || Powers up the antenna and enables further communication. Takes 3-4 seconds for antenna to "boot up". || || /Antenna/disable || Powers down the antenna. || || /Antenna/select?pattern='''' || Selects the requested antenna pattern (valid numbers: 0 to 49) || || /Antenna/status || Returns status information: last known configured pattern and whether the antenna is enabled. || || /Antenna/default || Restores antenna configuration to defaults: auto TX/RX on omni and directional ports, 115200bpbs on RS485, selects pattern 49 (all array elements off). || || /Antenna/factory_restore || Restores antenna pattern states to factory configuration. ''THIS TAKES 11 MINUTES TO COMPLETE. DO NOT USE UNLESS NECESSARY.'' || '''Example XML responses:''' Response to: .../Antenna/enable {{{ }}} Response to: .../Antenna/status {{{ }}}