API
urs
set the position propagation rate.
Example:
leaps> urs
Usage urs <nom> <stat>
leaps> urs 10 20
err code: 0
tcs
Configure node as tag with given options. This command requires reset for new configuration to take effect.
Example:
leaps> tcs
usage: tcs <opt> <val> ...
opt: stat_det,lp,le,enc,leds,ble,fwup(0,1) mode(0-twr,1-ul-tdoa,2-dl-tdoa)
uwb(0-off,1-pasv,2-act)
leaps> tcs le 1 leds 1 uwb 2
ok(0)
tlv
Parses given TLV frame.
Example:
read node configuration
leaps> tlv 8 0
CRC: 0x37
OUTPUT(hex):
40 01 00 06 46 03 5e 80 00 57
tlvr
Cmd as TLV frame with manual CRC
Example:
read node configuration
leaps> tlv 8 0 55
OUTPUT FRAME:
40 01 00 46 02 b0 00
ums
Set default UART mode
Example:
leaps> ums 1
Low Energy Accurate Positioning System
Copyright : 2016-2024 LEAPS
License : Please visit https://www.leapslabs.com/leaps-rtls-license
Compiled : Mar 26 2024 09:19:46 (v0.16.2-14d8a4)
Help : ? or help
amlg
Get MAC address list
Example:
leaps> amlg
mac0=00:00:00:00:00:02 (usr)
mac1=F1:7C:5C:D8:28:55 (def, mutable, rand)
dacs
Configures distance alarm event.
Example:
leaps> dacs
Usage: dacs <thold_1> <thold_2> <mincon> <minnocon> <opt>
opt: bit 0,1,2 enables leds,buzzer,motor respectively
leaps> dacs 500 2000 0 0 7
dacs: ok
dacg
Reads configuration of distance alarm event.
Example:
leaps> dacg
Usage: dacs <thold_1> <thold_2> <thold_3>
leaps> dacg
dacg: thold_1=1000 thold_2=2000 thold_3=3000
acs
Configure node as anchor with given options. This command requires reset for new configuration to take effect.
Example:
leaps> acs
*[Output when UWB routing backhaul is disabled]*
usage: acs <opt> <val> ...
opt: inr,bn,enc,leds,ble,fwup,cr,uab(0,1) uwb(0-off,1-pasv,2-act)
*[Output when UWB routing backhaul is enabled]*
usage: acs <opt> <val> ...
opt: inr,bn,enc,leds,ble,fwup,cr,uab(0,1) bh(0-off,1-on,2-auto)
uwb(0-off,1-pasv,2-act)
leaps> acs leds 1 uwb 2
ok(0)
fls
Configures filters, e.g. measurement filter, location filter, measurement select strategy etc.
Example:
leaps> fls
leaps> usage: fls <id> <param(byte array, max len:8)>
id: 0=meas, 1=loc, 2=meas strtg
leaps> fls 2 1
fls: ok
flg
Get filters, e.g. measurement filter, location filter, measurement select strategy etc.
Example:
leaps> flg
leaps> usage: flg <id>
id: 0=meas, 1=loc, 2=meas strtg
leaps> flg 2
flg: id:2(meas strtg) param(hex):01 00 00 00 00 00 00 00
eks
Sets encryption key, takes encryption key as argument.
Example:
leaps> eks 00112233445566778899aabbccddeeff
key_set: 00112233445566778899AABBCCDDEEFF