Our website is under construction. Please stay tuned!

API


urs

set the position propagation rate.

Example:

leaps> urs

Usage urs <nom> <stat>

leaps> urs 10 20

err code: 0

urg

Get propagation rate.

Example:

leaps> urg

err code: 0, upd rate: 10, 20(stat)

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

ana

Set MAC address

Example:

leaps> ana 0 2:3:4:5:6:8
ana: ok

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)

mrs

Set mesh random timing

Example:

leaps> mrs
Usage: mrs <rand (ms)>
leaps> mrs 10
mrs: ok

mrg

Get mesh random timing

Example:

leaps> mrg
mrg: rand:10

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)

pg

Get the position.

Example:

leaps> pg

x:100 y:120 z:2500 qf:100

ps

Set the position.

Example:

leaps> ps

Usage ps <x> <y> <z>

leaps> ps 100 120 2500

err code: 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

ahs

Set HW version once

Example:

leaps> ahs
usage: ahs <hw_ver> | <board_name>

eks

Sets encryption key, takes encryption key as argument.

Example:

leaps> eks 00112233445566778899aabbccddeeff

key_set: 00112233445566778899AABBCCDDEEFF

ekc

Clears encryption key and disables encryption.

Example:

leaps> ekc

ekc : ok

amls

Set MAC addr list once

Example:

leaps> amls
usage: amls <hex_0> ... <hex_3>