{"id":1109,"date":"2017-03-11T16:56:39","date_gmt":"2017-03-11T16:56:39","guid":{"rendered":"http:\/\/easycoding.tn\/?page_id=1109"},"modified":"2017-03-11T16:57:35","modified_gmt":"2017-03-11T16:57:35","slug":"scan-class","status":"publish","type":"page","link":"http:\/\/easycoding.tn\/index.php\/nodemcu\/tuniot-documentation\/iot\/scan-class\/","title":{"rendered":"Scan class"},"content":{"rendered":"<ul>\n<li><strong><img loading=\"lazy\" class=\"size-full wp-image-1114 alignright\" src=\"http:\/\/easycoding.tn\/wp-content\/uploads\/2017\/03\/ScanWifiNetwork.jpg\" alt=\"ScanWifiNetwork\" width=\"169\" height=\"47\" \/>Scan wifi network:<\/strong><br \/>\nScan for available Wi-Fi networks in one run and return the number of networks that has been discovered.<br \/>\n<span style=\"color: #00ff00;\"><span style=\"color: #000000;\">Return type:<\/span> <strong>Number<\/strong><\/span><\/li>\n<li><strong>Scan delete:<\/strong><br \/>\nDelete the last scan result from memory.<br \/>\n<img loading=\"lazy\" class=\"alignnone size-full wp-image-1113\" src=\"http:\/\/easycoding.tn\/wp-content\/uploads\/2017\/03\/Scan-delete.jpg\" alt=\"Scan delete\" width=\"119\" height=\"45\" \/><\/li>\n<li><strong>Wifi SSID:<br \/>\n<img loading=\"lazy\" class=\"size-full wp-image-1112 alignright\" src=\"http:\/\/easycoding.tn\/wp-content\/uploads\/2017\/03\/ScanWifiSSID.jpg\" alt=\"ScanWifiSSID\" width=\"130\" height=\"43\" \/><\/strong>Return the SSID of a network discovered during the scan. It accepts one parameter: the network item. This item is a zero based index of network discovered during scan. It means that if you have 2 networks, the first network will have a network item (0). The second will have a network item (1).<br \/>\n<span style=\"color: #00ff00;\"><span style=\"color: #000000;\">Return type:<\/span> <strong>String<\/strong><\/span><\/li>\n<li><strong><img loading=\"lazy\" class=\"size-full wp-image-1111 alignright\" src=\"http:\/\/easycoding.tn\/wp-content\/uploads\/2017\/03\/ScanWifiRSSI.jpg\" alt=\"ScanWifiRSSI\" width=\"123\" height=\"46\" \/>Wifi RSSI:<\/strong><br \/>\nReturn the RSSI (Received Signal Strength Indication) of a network discovered during the scan. It accepts one parameter: the network item. This item is a zero based index of network discovered during scan. It means that if you have 2 networks, the first network will have a network item (0). The second will have a network item (1).<br \/>\n<span style=\"color: #00ff00;\"><span style=\"color: #000000;\">Return type:<\/span> <strong>String<\/strong><\/span><\/li>\n<li><strong>Encryption type:<\/strong><br \/>\nReturn a Boolean of the encryption type of the network item.<br \/>\n<span style=\"color: #00ff00;\"><span style=\"color: #000000;\">Return type:<\/span> <strong>Boolean<br \/>\n<img loading=\"lazy\" class=\"alignnone size-medium wp-image-1110\" src=\"http:\/\/easycoding.tn\/wp-content\/uploads\/2017\/03\/ScanEncryptionType-300x46.jpg\" alt=\"ScanEncryptionType\" width=\"300\" height=\"46\" srcset=\"http:\/\/easycoding.tn\/wp-content\/uploads\/2017\/03\/ScanEncryptionType-300x46.jpg 300w, http:\/\/easycoding.tn\/wp-content\/uploads\/2017\/03\/ScanEncryptionType.jpg 366w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><br \/>\n<\/strong><\/span><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Scan wifi network: Scan for available Wi-Fi networks in one run and return the number of networks that has been&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":1080,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"http:\/\/easycoding.tn\/index.php\/wp-json\/wp\/v2\/pages\/1109"}],"collection":[{"href":"http:\/\/easycoding.tn\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/easycoding.tn\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/easycoding.tn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/easycoding.tn\/index.php\/wp-json\/wp\/v2\/comments?post=1109"}],"version-history":[{"count":2,"href":"http:\/\/easycoding.tn\/index.php\/wp-json\/wp\/v2\/pages\/1109\/revisions"}],"predecessor-version":[{"id":1116,"href":"http:\/\/easycoding.tn\/index.php\/wp-json\/wp\/v2\/pages\/1109\/revisions\/1116"}],"up":[{"embeddable":true,"href":"http:\/\/easycoding.tn\/index.php\/wp-json\/wp\/v2\/pages\/1080"}],"wp:attachment":[{"href":"http:\/\/easycoding.tn\/index.php\/wp-json\/wp\/v2\/media?parent=1109"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}