Shell API

UART Interface

Shell uses the UART interface, which can also work in binary mode. The binary mode is used to read API commands in TLV format. The module starts by default in binary mode after reset. The shell mode can be entered by pressing ENTER twice within one second. The binary mode can be entered by executing command 終了 in shell mode. The shell mode and the binary mode can be switched back and forth.

ちなみに

Press Enter to repeat the last command


Supported Commands

コマンド

説明

?

このヘルプ

?

ヘルプ

このヘルプ

ヘルプ

終了

終了

終了

リセット

システムを再起動します

リセット

frst

出荷時設定にリセット

frst

si

システム情報

si

f

ヒープ上の空きメモリを表示

f

stg

統計情報の取得

stg

stc

統計情報をクリア

stc

rbv

Read battery voltage

rbv

rcs

Read charger status

rcs

ut

デバイスの稼働時間を表示

ut

gc

GPIO クリア

gc

gg

GPIO 获取

gg

gs

GPIO セット

gs

gt

GPIOの切り替え

gt

twi

汎用 TWI 読み取り

twi

aid

ACC デバイス ID を読み取ります

aid

av

ACC 値の読み取り

av

scs

固定構成セット

scs

scg

固定構成の取得

scg

les

測定値を表示します。そしてポス。

les

lec

CSV で測定値と位置を表示

lec

lep

CSV で位置を表示

lep

lej

Show pos. in JSON

lej

lea

how meas., pos. and pdoa

lea

ucs

Set UWB channel and compliance

ucs

utpg

TxPwr を取得

utpg

utps

TxPwr を設定する

utps

ufs

UWB Frontend Set

ufs

ucls

Set BLE Adv UWB counter low water mark

ucls

uclg

Get BLE Adv UWB counter low water mark

uclg

nmg

ノードモードを取得

nmg

nmo

UWB モードをオフに設定します

nmo

nmp

UWB モードをパッシブに設定します

nmp

nma

モードを AN に設定します

nma

nmi

モードを ANI に設定します

nmi

nmt

モードを TN に設定します

nmt

nmtl

モードを TN-LP に設定します。

nmtl

nmb

モードを BN に設定します

nmb

ln

Show node list

ln

la

AN リストを表示

la

nis

ネットワーク ID を設定します

nis

nls

ノードラベルを設定します

nls

nps

Set network profile

nps

udi

受信した IoT データを表示

udi

uui

IoT データを送信する

uui

usps

UWB Synchronization Pulse Set

usps

uspg

UWB Synchronization Pulse Get

uspg

urs

Set update rate

urs

urg

Get update rate

urg

tcs

タグ構成を設定します

tcs

tlv

TLV フレームを送信

tlv

tlvr

Cmd as TLV frame with manual CRC

tlvr

ums

デフォルトの UART モードを設定します

ums

ana

MAC アドレスを設定

ana

amlg

Get MAC address list.

amlg

mrs

Set mesh random timing

mrs

mrg

Get mesh random timing

mrg

dacs

Distance alarm set

dacs

dacg

Distance alarm get

dacg

acs

ノードの構成

acs

pg

Get the position

pg

ps

Set the position

ps

fls

Filter config set

fls

flg

Get filters

flg

ahs

HW バージョンを 1 回設定します

ahs

eks

暗号化キーを設定します

eks

ekc

暗号化キーをクリアします

ekc

amls

MAC アドレスリストを 1 回設定します

amls

fniq

Configure the device to FiRa UWB Sub-System Nearby Interaction mode.

fniq

fuci

Configure the device to FiRa UWB Sub-System UCI mode.

fuci