leaps_pos_set

Set default position of the node. Default position is not used when in tag mode but is stored anyway so the module can be configured to anchor mode and use the value previously set by leaps_pos_set. This call does a write to internal flash in case of new value being set, hence should not be used frequently and can take in worst case hundreds of milliseconds!

Input
  • x: ? 32-bit integer ? (position coordinate in millimeters)

  • y: ? 32-bit integer ? (position coordinate in millimeters)

  • z: ? 32-bit integer ? (position coordinate in millimeters)

  • pqf: ? 8-bit integer ? (position quality factor)

Output

Example 1

TLV request

Type

Length

Value

int32_t -
little endian,
is x
coordinate in
millimeters
int32_t -
little endian,
is y
coordinate in
millimeters
int32_t -
little endian,
is z
coordinate in
millimeters
uint8_t -
is quality
factor in
percents
(0-100)

0x01

0x0D

0x4b 0x0a 0x00 0x00 0x1f 0x04 0x00 0x00 0x9c 0x0e 0x00 0x00 0x64

Type 0x01 means command leaps_pos_set

TLV response

Type

Length

Value

0x40

0x01

0x00

Type 0x40 means status code