What do you mean with direction, IP address? If that’s the case then you can use connman. https://wiki.archlinux.org/index.php/Connman . Connman has useful commands that will help you scan over wifi networks and see which ones are available before connecting. The command connmanctl services might be helpful.
Do you want to only scan the networks available or do you want to connect? If you want to connect your Edison to devices of different networks you have to configure your interfaces properly. You can connect more than one device to the Edison configured as an AP as long as the address of the interface and the devices are in the same network.