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 quit in shell mode. The shell mode and the binary mode can be switched back and forth.
Tip
Press Enter to repeat the last command
Supported Commands
Command |
Description |
Example |
---|---|---|
? |
this help |
|
help |
this help |
|
quit |
quit |
|
reset |
Reboot the system |
|
frst |
Factory reset |
|
si |
System info |
|
f |
Show free memory on the heap |
|
stg |
Get stats |
|
stc |
Clear stats |
|
rbv |
Read battery voltage |
|
rcs |
Read charger status |
|
ut |
Show device uptime |
|
gc |
GPIO clear |
|
gg |
GPIO get |
|
gs |
GPIO set |
|
gt |
GPIO toggle |
|
twi |
General purpose TWI read |
|
aid |
Read ACC device ID |
|
av |
Read ACC values |
|
scs |
Stationary config set |
|
scg |
Stationary config get |
|
les |
Show meas. and pos. |
|
lec |
Show meas. and pos. in CSV |
|
lep |
Show pos. in CSV |
|
lej |
Show pos. in JSON |
|
lea |
how meas., pos. and pdoa |
|
ucs |
Set UWB channel and compliance |
|
utpg |
Get TxPwr |
|
utps |
Set TxPwr |
|
ufs |
UWB Frontend Set |
|
ucls |
Set BLE Adv UWB counter low water mark |
|
uclg |
Get BLE Adv UWB counter low water mark |
|
nmg |
Get node mode |
|
nmo |
Set UWB mode to off |
|
nmp |
Set UWB mode to passive |
|
nma |
Set mode to AN |
|
nmi |
Set mode to ANI |
|
nmt |
Set mode to TN |
|
nmtl |
Set mode to TN-LP |
|
nmb |
Set mode to BN |
|
ln |
Show node list |
|
la |
Show AN list |
|
nis |
Set Network ID |
|
nls |
Set node label |
|
nps |
Set network profile |
|
udi |
Show incoming IoT data |
|
uui |
Send IoT data |
|
usps |
UWB Synchronization Pulse Set |
|
uspg |
UWB Synchronization Pulse Get |
|
urs |
Set update rate |
|
urg |
Get update rate |
|
tcs |
Set tag config |
|
tlv |
Send TLV frame |
|
tlvr |
Cmd as TLV frame with manual CRC |
|
ums |
Set default UART mode |
|
ana |
Set MAC address |
|
amlg |
Get MAC address list. |
|
mrs |
Set mesh random timing |
|
mrg |
Get mesh random timing |
|
dacs |
Distance alarm set |
|
dacg |
Distance alarm get |
|
acs |
Configure node |
|
pg |
Get the position |
|
ps |
Set the position |
|
fls |
Filter config set |
|
flg |
Get filters |
|
ahs |
Set HW version once |
|
eks |
Set encryption key |
|
ekc |
Clear encryption key |
|
amls |
Set MAC addr list once |
|
fniq |
Configure the device to FiRa UWB Sub-System Nearby Interaction mode. |
|
fuci |
Configure the device to FiRa UWB Sub-System UCI mode. |