Hi Ari,
Theres no command for specifically testing the physical connection, so I would suggest just trying to recieve UDP packets using the commands available.
As far as the the scan command goes, you should refer to the API documentation on the main wiki page: http://processors.wiki.ti.com/index.php/CC3000
Regards,
Aaron