Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DA] Add per-device addressing (DA) to WAN topic/channel decoding strategy #136

Merged
merged 4 commits into from
Jun 7, 2023

Commits on May 25, 2023

  1. [DA] Add per-device addressing and topic decoding strategies

    This aims towards bringing in multi-tenant channel bundle endpoints,
    for example suitable to accepting TTS/TTN payloads, in order to run
    a network of multiple devices on a single TTN application conveniently.
    
    The feature is called "device addressing" (DA).
    
    Examples:
    
    - mqttkit-1/d/123e4567-e89b-12d3-a456-426614174000
    - mqttkit-1/dt/network-gateway-node
    
    It works with both MQTT and HTTP protocols.
    amotl committed May 25, 2023
    Configuration menu
    Copy the full SHA
    5d062a4 View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2023

  1. [DA] Improve per-device addressing and topic/channel decoding strategies

    Add more details about per-device decoding to the `WanBusStrategy`, and
    exercise a few topic/channel decodings, including edge cases.
    
    Examples:
    
    - myrealm/acme/area-42/foo-70b3d57ed005dac6
    - myrealm/d/123e4567-e89b-12d3-a456-426614174000
    - myrealm/dt/acme-area42-eui70b3d57ed005dac6
    - myrealm/dt/eui-70b3d57ed005dac6
    - myrealm/dt/acme-area42-eui70b3d57ed005dac6
    - myrealm/dt/acme-area42-eui70b3d57ed005dac6-suffix
    - myrealm/dt/myrealm-acme-area42-eui70b3d57ed005dac6
    - mqttkit-1/d
    - myrealm/dt
    amotl committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    6dfba77 View commit details
    Browse the repository at this point in the history
  2. [DA] Improve usability by using clear path fragment identifier prefixes

    For the new SensorWAN "direct" addressing scheme, by getting rid of the
    previous `/d` vs. `/dt` path fragments, and using `/device` vs.
    `/channel` instead, it reduces confusion about the meaning of those
    prefixes, and makes usage less error prone.
    amotl committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    6cead7d View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2023

  1. [DA] Add protection for SensorWAN "direct" addressing scheme

    By defining a `direct_channel_allowed_networks` setting on the
    application configuration, the direct access to the corresponding
    channel will be restricted to the specified networks/owners.
    amotl committed Jun 7, 2023
    Configuration menu
    Copy the full SHA
    1fa3ca5 View commit details
    Browse the repository at this point in the history