Our website is under construction. Please stay tuned!

leaps_dist_alarm_cfg_get

Reads configuration of distance alarm detection.


Input
  • (none)

Output
  • threshold_1: ? 32-bits unsigned integer ? (distance threshold in millimeters)

  • threshold_2: ? 32-bits unsigned integer ? (distance threshold in millimeters)

  • mincon: ? 8-bits unsigned integer ? (threshold hysteresis in multiple of update rate)

  • minnoconn: ? 8-bits unsigned integer ? (threshold hysteresis in multiple of update rate)

  • options: ? 8-bits unsigned integer ? (alarm indication options, 0 - LED (discrete), 1 - LED (continuous), 2 - Buzzer (continuous), 3 - Motor (continuous))

Example

TLV request

Type

Length

0x31

0x00

Type 0x31 (49 dec) means command leaps_serial_cfg_get

TLV response

Type

Length

Value

Type

Length

Value

distance
threshold nr.1
(millimeters)
distance
threshold nr.2
(millimeters)

mincon

minnocon

options bits (3-7) reserved
bits (0-2) alarm in dication options

0x40

0x01

0x00

0x52

0x0A

0xDC 0x05 0x00 0x00

0xC4 0x09 0x00 0x00

0x02

0x02

0x01

Type 0x40 means status code

Type 0x52 (82) means distance alarm configuration