Skip to main content

License Management Guide

Scope​

This document describes how to generate fingerprints, install and replace licenses, and diagnose common licensing issues for the Raptor SDK.

Concepts​

  • License file A file distributed by Vantor that grants the right to use the SDK on a specific machine or set of machines. Depending on the license, different features may be enabled.
  • Fingerprint A device identifier generated on the target machine and sent to Vantor when requesting a license. It is represented as an opaque string; its internal structure is private and may change between versions. Treat it only as a token.
  • Time-limited license A license with an expiration date. It cannot be used after that date.
  • Perpetual license A license that never expires. Its dates are not checked against the system clock, so it can be used on devices whose clock is not reliable. A perpetual license is always issued for the fingerprint of a specific machine.

Generating a fingerprint​

C++ Raptor SDK​

To generate a fingerprint directly from the SDK, call:

  • raptor::Context::generateFingerprint()

Notes:

  • Returns std::optional<std::string>.
  • On success, the string identifies the current machine for licensing purposes.
    • The value is opaque; do not parse, modify, or validate it yourself.
    • If the SDK cannot determine a valid machine identifier on this platform, the function returns std::nullopt.

Recommended workflow

  1. Build a small provisioning tool that calls raptor::Context::generateFingerprint().
  2. Run it on the target system and capture the returned string.
  3. Provide that string to Vantor when requesting a license.
  4. Store the license file you receive at a stable location on the target system.

The sdk_info example shipped with the SDK (examples/cpp/sdk_info.cpp and examples/python/sdk_info.py) prints the fingerprint and validates a license file.

Installing and replacing a license​

Place the license file at a stable, readable path on the target machine and point the application at it:

  • C++ SDK — set raptor::Config::licensePath before constructing raptor::Context, or set the licensePath field in the JSON consumed by raptor::parseConfigFromJson().

To replace an existing license (renewal, added features, machine change), overwrite the file at the configured path — or update the path — and then restart the consumer:

  • C++ applications: destroy existing raptor::Context instances and construct new ones, or restart the process.

If the license was reissued for a different fingerprint, request a new license against the current machine's fingerprint first (see Generating a fingerprint).

Troubleshooting​

Initialization errors​

If you encounter an exception related to licensing, the message typically indicates the cause. Common messages and actions:

  • "License file not found or invalid path"
    • Check that the path in licensePath exists and is readable by the application.
  • "Invalid license"
    • The file is present but not a valid Raptor SDK license. Verify that the correct file was installed.
  • "Expired license"
    • The time-limited license has passed its expiration date. Request an updated license.
  • "License was not issued for an application supported by Raptor SDK"
    • The license targets a different product. Install a license specifically issued for Raptor SDK.
  • Fingerprint-related messages (for example, fingerprint mismatch or invalid fingerprint data)
    • Ensure that the license was issued for the fingerprint of the current machine.
    • Regenerate the fingerprint on this machine and request a new license if necessary.

Runtime "ExpiredLicense" / "InvalidLicense" results​

If updatePose() or updatePosition() returns PoseEstimationError::ExpiredLicense, the license has passed its expiration date; request an updated license.

If they return PoseEstimationError::InvalidLicense, the license is otherwise invalid or missing a required feature; check the licensed feature set and request an updated license if needed.

For detailed integration steps and configuration examples, see: