LoginSignup
0
0

More than 5 years have passed since last update.

RAK811 Lora ButtonをThe Thing Networkにつなげるよ

Last updated at Posted at 2019-01-10

RakwirelessのLoraButtonのセッティングです。

マニュアル参照ですが
teraTermなどで接続します。
ビットレート:115200
改行コード受信:Auto
送信:CR-LF
ローカルエコーありにします。

OTAA:
at+mode=0 /* set the module to LoRaWAN work mode /
at+band /
get Region V2.0.2.0+ support /
at+get_config=dev_eui /
get Dev_EUI check,if need can set /
at+set_config=app_eui:xxxxxxxxxxxx/
set the LoRaGateway app_eui,big endian /
at+set_config=app_key:xxxxxxxxxxxxxxxxxx
/
set the LoRaGateway app_key,big endian /
at+set_config=join_mode:1 /
join OTAA type.( the command only Button firmware) /
at+reset=0 /
Reset the module */

一例です。
・バンド設定
at+band=AS923
OKAS923

・at+get_config=dev_eui
を打つと、DevEUIが入手できます。
ex)OKxxxxxxxxxxxx

これをThe Thing Networkに登録します。

lora-button-2-0.jpg

Dev EUIに先ほどのOK以降を入力し、Registorします。
lora-button-2-1-1.jpg

Application EUIとApplication Keyが出てきます。
赤印を押す事でKeyをコピーできます。
at+set_config=app_eui:xxxxxxxxxxxx/* set the LoRaGateway app_eui,big endian */
at+set_config=app_key:xxxxxxxxxxxxxxxxxx

lora-button-2-1-2.jpg

最後に以下を入力します。
at+set_config=join_mode:1
at+reset=0

以下が出てくれば成功です。
lora-button-3.jpg

0
0
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
0
0