Changes between Initial Version and Version 1 of Internal/AntennaController


Ignore:
Timestamp:
Sep 27, 2016, 9:58:12 PM (8 years ago)
Author:
jkol
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/AntennaController

    v1 v1  
     1= REST API =
     2All valid calls will reply with formatted XML. The first line will be `<response status="OK">` for commands that execute correctly, or `<response status="ERROR">` 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).
     3|| '''REST API Call''' || '''Description''' ||
     4|| /Antenna/enable || Powers up the antenna and enables further communication. ||
     5|| /Antenna/disable || Powers down the antenna. ||
     6|| /Antenna/select?pattern=''<int>'' || Selects the requested antenna pattern (valid numbers: 0 to 49) ||
     7|| /Antenna/status || Returns status information. Last known configured pattern and whether the antenna is enabled. ||
     8|| /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). ||
     9|| /Antenna/factory_restore || Restores antenna pattern states to factory configuration. ''THIS TAKES SEVERAL MINUTES TO COMPLETE. DO NOT USE UNLESS NECESSARY.'' ||