lorawan-stack: Show join-request, uplink and errors in Console traffic view

Summary

Show raw and decoded payload in Console traffic view

Why do we need this?

  • Insight in streaming data
  • Feature match with V2 Console

What is already there? What do you see now?

The event payload in as.up.forward is available when opening the row in the Console.

What is missing? What do you want to see?

as.up.data.forward has fields frm_payload (bytes) and decoded_payload (object). I’d like to see the former as hex and the latter as a key/value object (note; this can be nested); in the row. If you open the row, show the payload again. Also show ids.dev_addr.

For as.up.join.forward show the ids.join_eui and ids.dev_eui in the row.

When there’s an error, show the formatted error (message_format with attributes) in red or something highlighted. Refs #1967)

How do you propose to implement this?

React magic

Can you do this yourself and submit a Pull Request?

Can review

Please coordinate

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 26 (24 by maintainers)

Most upvoted comments

Order of importance;

  1. Hex display of ids.join_eui, ids.dev_eui and ids.dev_addr in join-requests, ids.dev_addr and uplink_message.frm_payload for uplink messages
  2. Formatted error messages (i.e. fill in the attributes)
  3. Show decoded payload JSON

So my suggestion to keep this actionable:

  • Let’s not touch the icons and event type message for now but in a separate PR
  • Use a flexible form of the data column, with loose elements based on the specific needs of the event type

@bafonins let me know if you need any other info or clarification to continue with this issue.