You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
266 B
9 lines
266 B
<?php
|
|
if( isset( $_POST['device'] ) ){
|
|
require_once('../../scripts/sys_utils.php');
|
|
$AA = list_AP_NEARBY( $_POST['device'] );
|
|
$result = array();
|
|
foreach( $AA as $A ) $result[] = array( 'ssid'=>$A );
|
|
echo json_encode($result);
|
|
} else echo "{}";
|
|
?>
|