app module¶
-
app.
api_devices
(device_name: str, buffering: str)¶ the method for reading and writing to and from the connected devices
Parameters: - device_name (str) – the name of the relevant device
- buffering (str) – whether or not the buffer of the device is requested
Returns: the relevant information about the device in JSON format
-
app.
api_general_device_info
()¶ method to read all the available device names
Returns: the available device names Return type: JSON
-
app.
api_root
()¶ method for the root of the API
Returns: a welcom message Return type: html
-
app.
xml_transfer
()¶ method for transfering the config.xml files to and from the raspberry
Returns: the config.xml or the occured errors