ルーチンの説明 14-WiFi-Shield->scan ネットワークをスキャンします

ビデオ チュートリアル 12 - WIFI ワイヤレス画像送信: https://singtown.com/learn/50005/
ビデオ チュートリアル 39 - OpenMV リモート デバッグ用の WIFI プログラミング: https://singtown.com/learn/50899/
# Scan Example
#
# 此示例显示如何使用WiFi扩展或者OpenMV RT自带的WIFI来扫描网络。

import time
import network

wlan = network.WLAN(network.STA_IF)
wlan.active(True)

print("Scanning...")
while True:
    scan_result = wlan.scan()
    for ap in scan_result:
        print(
            "SSID: %s BSSID: %s Channel: %d RSSI: %d Auth: %d"
            % (ap[0], ":".join(["%X" % i for i in ap[1]]), ap[2], ap[3], ap[4])
        )
    print()
    time.sleep_ms(1000)

Singtown Technology OpenMV 公式中国語ドキュメント機能説明:

results matching ""

    No results matching ""