Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

  • getAPIVersion(region?: Regions): Promise<string>
  • getTokenByName(account: Account, deviceID: string, names?: string | string[]): Promise<string>
  • Parameters

    • account: Account

      Account instance

    • deviceID: string

      Id of device

    • Optional names: string | string[]

      Array of names of the token, if null will return the first token found

    Returns Promise<string>

  • Parse a LoRaWAN QR Code string to JSON format. example:

    Parameters

    • qr_code: string

      QR Code string, example: LW:D0:1122334455667788:AABBCCDDEEFF0011:AABB1122:OAABBCCDDEEFF:SYYWWNNNNNN:PFOOBAR:CAF2C

    Returns QRCodeFormat

  • Perform downlink to a device using official TagoIO support. Example

    • sendDownlink(account, "736acc665bd2460018df8c52", { payload: "01", port: 05, confirmed: false })

    Parameters

    • account: Account

      TagoIO SDK Account instanced class

    • device_id: string

      id of your device

    • dn_options: DownlinkOptions

      downlink parameter options.

    Returns Promise<string>

  • updateMultipleDropdown(device: Device, variables: string | string[], values: string | string[]): Promise<void>
  • Go through variables used in Multiple Dropdown variables and remove a specified value. Then updates the variables.

    Parameters

    • device: Device

      TagoIO Device instanced class.

    • variables: string | string[]

      variables inside the device to be verified.

    • values: string | string[]

    Returns Promise<void>