title: on NodeMCU, how does WIFI.STARTSMART() work?
body: <p>on <a href="http://www.nodemcu.com/docs/wifi-module/#wifi-module-wifi-startsmart" rel="nofollow">http://www.nodemcu.com/docs/wifi-module/#wifi-module-wifi-startsmart</a>, I see code snippet: </p>
  
  <pre><code>    wifi.startsmart(6, function() 
         print("Auto config success!")
      end)
  </code></pre>
  
  <p>But what else is needed to make it work? </p>
  
  <p>it seems related to wifi sniffer mode, but I can't find any documentation or example.</p>