3
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

UIFlow でWi-Fi の電波強度を表示する

Posted at

はじめに

UIFlow からWi-Fiの電波強度を確認する方法です。
V1.64現在,公式ブロックに無いためTipsとして残します。

開発環境

・M5Stick-C
・UIFlow(Bata1.63) Micropython v1.11
 2020/10/14 確認
 M5Stack シリーズは特に問わないと思います。

Flow

標準では RSSI に関するブロックは見つかりませんでした。
コードを実行により,python コードを記載します。stと言う変数に代入します。

image.png

sample.py
# rssi を取得
st=wifiCfg.wlan_sta.status('rssi')
# IP を取得
st=wifiCfg.wlan_sta.ifconfig()
# MACアドレスを取得
st=wifiCfg.wlan_sta.config('mac')

まとめ

UIFlow で出来ないと感じた時はMicroPython のライブラリを調べましょう。

参考資料

https://docs.micropython.org/en/latest/index.html
https://docs.micropython.org/en/latest/library/network.html

3
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?