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に登録します。
Dev EUIに先ほどのOK以降を入力し、Registorします。
Application EUIとApplication Keyが出てきます。
赤印を押す事でKeyをコピーできます。
at+set_config=app_eui:xxxxxxxxxxxx/* set the LoRaGateway app_eui,big endian */
at+set_config=app_key:xxxxxxxxxxxxxxxxxx
最後に以下を入力します。
at+set_config=join_mode:1
at+reset=0