Message types

Asset Tracker Template

tags
Asset Tracker Template

The type field takes one of the following values:

  • BUTTON_PRESS_SHORT: A short button press. The module sends this message when a button is released before the long press timeout expires.
  • BUTTON_PRESS_LONG: A long button press. The module sends this message when a button is held for the duration of the long press timeout, which you configure with CONFIG_APP_BUTTON_LONG_PRESS_TIMEOUT_MS.