pamoja for TypeScript - v0.2.0
    Preparing search index...

    Variable multicastConst

    multicast: {
        appSKey: typeof lorawanMcAppSKey;
        keKey: typeof lorawanMcKeKey;
        key: typeof lorawanMcKey;
        nwkSKey: typeof lorawanMcNwkSKey;
        PORT: number;
        rootKey: typeof lorawanMcRootKey;
        wrapKey: typeof lorawanWrapMcKey;
    }

    Remote multicast setup, TS005-2.0.0, on port 200.

    A group of devices is given one address and one key, so a firmware image goes out once rather than once per device. The group key travels wrapped under a key each device derives from its own root key and never transmits.

    Type Declaration

    • ReadonlyappSKey: typeof lorawanMcAppSKey

      Derives the key that reads a group's payloads.

    • ReadonlykeKey: typeof lorawanMcKeKey

      Derives the key a group's key travels under.

    • Readonlykey: typeof lorawanMcKey

      Unwraps the group key a setup command carried.

    • ReadonlynwkSKey: typeof lorawanMcNwkSKey

      Derives the key that verifies a group's frames.

    • ReadonlyPORT: number

      The port this package is spoken on.

    • ReadonlyrootKey: typeof lorawanMcRootKey

      Derives a device's multicast root key.

    • ReadonlywrapKey: typeof lorawanWrapMcKey

      Wraps a group key for a device, which is what a server does.

    const ke = multicast.keKey(multicast.rootKey(appKey))
    const groupKey = multicast.key(ke, wrappedFromTheServer)
    const payloadKey = multicast.appSKey(groupKey, groupAddr)