progetto201 API
|
RSSI: manages RSSI of the nodes. More...
Functions | |
get_rssi ($t_conn_res) | |
Returns all RSSI of the nodes. More... | |
Variables | |
$response = array("errors" => array()) | |
Prepare default response array with no errors. More... | |
$data_tables = array("t_type0_data") | |
Array with data tables. More... | |
RSSI: manages RSSI of the nodes.
Client perspective:
The script tries to connect to the database and then checks the request method.
If the method is GET get_rssi() is called.
Error codes:
get_rssi | ( | $t_conn_res | ) |
Returns all RSSI of the nodes.
A loop uses $data_tables to make the query string. These strings are executed by the queryToArray() function.
Errors list:
array | $t_conn_res | file system path with plans |
$data_tables = array("t_type0_data") |
Array with data tables.
$response = array("errors" => array()) |
Prepare default response array with no errors.