miro
LogiButton

 

Payload Format

1. Overview

Device functionality is documented in the firmware specifications

1.1. Data Encoding

Unless otherwise noted, payloads will use big endian data encoding.

There are three distinct uplink payloads:

All uplinks are sent to LoRaWAN port 15.

2.1. Event message

On every qualifying button press an event message is sent to the network. The event message gets sent when the user interacts with the button. Specifically when the user orders or confirms a transaction.

It contains the following data: event, button count, temperature, battery-voltage.

Message for open order

Field

Description

Length

Value

Battery level

Battery level according to LoRaWAN specification

1 byte

0x00 - 0xFF

Message ID

Type of Message

1 byte

0x01

Message for close order

Field

Description

Length

Value

Battery level

Battery level according to LoRaWAN specification

1 byte

0x00 - 0xFF

Message ID

Type of Message

1 byte

0x11

Order messages are sent as confirmed messages. Display and LED will show if order has been successfully placed or failed.

2.2. Status Message

The device sends a regular status messages at fixed interval. The status message is always unconfirmed, regardless of the settings.

The status message consists of the following data structs. Please note, depending on the LoRaWAN region not all data structs may be present.

Field

Description

Length

Value

Battery level

Battery level according to LoRaWAN specification

1 byte

0x00 - 0xFF

Message ID

Type of Message

1 byte

0x31

Firmware Version

1 byte

0x02

Hardware Revision

1 byte

0x02

Device status

Current order state

1 byte

0x00: open, 0x01: closed

The MVP device does not support any downlink configuration.