Installer/Updater
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.

8 lines
266 B

​
​
​
​
​
​
​
​
  1. <?php
  2. if( isset( $_POST['device'] ) ){
  3. require_once('../../scripts/sys_utils.php');
  4. $AA = list_AP_NEARBY( $_POST['device'] );
  5. $result = array();
  6. foreach( $AA as $A ) $result[] = array( 'ssid'=>$A );
  7. echo json_encode($result);
  8. } else echo "{}";
  9. ?>