XGRIDSDocs
  • 简体中文
  • English
  • 繁體中文
  • 日本語
  • Deutsch
  • Español
  • Italiano
  • Français
  • Русский
  • Polski
  • Nederlands
  • 简体中文
  • English
  • 繁體中文
  • 日本語
  • Deutsch
  • Español
  • Italiano
  • Français
  • Русский
  • Polski
  • Nederlands
  • Lixel PortalCam Series

    • PortalCam P1

      • Product Overview
      • Basic Operation
      • Using the LCC Scan App
      • Maintenance and Care
      • FAQ
  • Lixel K Series

    • Lixel K1

      • Product Overview
      • Basic Operation
      • Device Activation and Connection
      • Scanning Workflow
      • Acquire Point Cloud Data with Absolute Coordinate
      • Map Fusion
      • Route Planning Suggestions for Typical Scenes
      • Precautions
      • FAQ
    • Lixel K2

      • Product Overview
      • Basic Operation
      • Device Activation and Connection
      • Scanning Workflow
      • Acquire Point Cloud Data with Absolute Coordinate
      • Map Fusion
      • Route Planning Suggestions for Typical Scenes
      • Precautions
      • FAQ
  • Lixel L Series

    • Lixel L2 Pro

      • Product Overview
      • Basic Operation
      • Device Activation and Connection
      • Scanning Workflow
      • Acquire Point Cloud Data with Absolute Coordinate
      • Measure Point
      • Appendix
      • FAQ
    • Lixel L3

      • Product Overview
      • Basic Device Functions
      • Device Activation and Connection
      • Data Capture
      • Capturing Absolute Coordinates
      • Appendix
      • FAQ
  • Robotics

    • Lixel OpenAPI

      • Overview
      • Connection & Authentication
      • Message Model & Codec
      • Interface Catalog
      • Real-time Data
      • Project File Access
      • Error Codes
      • Python

        • Quick Start
        • Client Wrapper & Tools
        • FAQ
      • C++

        • Quick Start
        • Client & Examples
        • FAQ
      • OpenAPI-XPanel
  • Accessories

    • Stick Light

      • Installation Guide
      • Basic Operation
      • FAQ
  • Lixel Studio

    • Version and Copyright
    • Installation and Activation
    • Software Interface
    • File Operations
    • Project Processing
    • Tools
    • 2D Drawing
    • Applications
    • Settings
    • Device Connection
    • FAQ
    • Usage Tips

      • Data Flow Overview
      • Software Licensing Guide
      • Understanding Scanner Accuracy Specifications
      • Point Cloud Registration Guide
  • Lixel CyberColor

    • LCC Studio

      • Getting Started
      • Version and Updates
      • Download and Installation
      • Interface Overview and Navigation
      • Before Reconstruction
      • Model Reconstruction
      • Single Model Reconstruction
      • Map Fusion
      • Aerial-Ground Fusion
      • Aerial Reconstruction
      • My Models
      • Other Features
      • Settings and Account
      • Converter
      • Publish to Third-Party Platforms
      • Video Reconstruction
      • FAQ
    • LCC Scene Editor

      • Version & Updates
      • Account & Login
      • Product Overview & Home
      • Editor Interface
      • Scene Navigation Modes
      • File
      • Settings
      • Edit Operations
      • Window
      • Global Toolbar
      • Assets & Properties
      • Left Toolbar
      • Viewpoints
      • Portal
      • Skybox
      • Annotations
      • Measurement
      • Flythrough
      • Scene Report
      • 3D Layout
      • Mini-Map
      • Preview Mode (Viewer)
      • Help
      • FAQ
      • Spawn Point
    • LCC Model Editor

      • Version and Updates
      • User Guide
      • Overview and Interface
      • File Operations
      • Selectors
      • Editing Operations
      • Measurement
      • Color Grading
      • Asset Management
      • Settings and Help
      • FAQ
    • Capture Guide

      • Overview
      • Capture Devices Overview
      • General Capture Principles
      • Indoor Scene Capture
      • Outdoor Scene Capture
      • Large-Scale Capture (Map Fusion)
      • Aerial-Ground Map Fusion Capture
      • Object Capture
      • People Capture
      • Video Reconstruction Capture
      • HD Enhancement
      • Control Points (Lixel P1)
      • FAQ and Troubleshooting
    • LCC Studio Linux

      • Product Overview
      • Architecture Guide
      • Installation and Deployment Guide
      • Container Startup Parameters Guide
      • CodeMeter Offline Licensing Deployment Guide
      • API Reference
      • Appendix - Developer Data Guide
      • Appendix - Error Code List
      • Single-Machine Multi-GPU Cluster Deployment QuickStart
    • Best Practices

      • Merging Multiple Large 3DGS Models
      • Aerial-Ground Map Fusion Workflow
      • Data Flow Overview
      • Software Licensing Guide
    • Version History
  • Plugin & SDK

    • Unreal

      • What's New
      • Introduction
      • Quick Start - Windows
      • Quick Start - Linux
      • Quick Start - Quest3
      • URL Data Loading (Pro)
      • Editions and Licensing
      • Rendering
      • Tiled Rasterization (Pro)
      • Visual Settings
      • Normals and Lighting
      • Scene Editing
      • Performance Parameters
      • Performance Guide
      • Third-party and Engine Plugin Integration
      • Proxy Mesh
      • Loading Animation
      • Collision
      • Navigation System Support
      • Single Layer Water Support
      • Localization
      • FAQ
      • Troubleshooting
      • Logging and Diagnostics
      • Contact Us
      • Best Practices

        • Relighting 3DGS with a LixelStudio Mesh
        • Per-camera Independent Rendering
      • API Reference

        • ALCCActorBase
        • ULCCComponentBase
        • ULCCComponent
        • ULCC2Component
        • SOG / SPZ / PLY Actors
        • ALCC2ProxyMesh
        • ALCCClippingVolume
        • ALCCSectionPlane
        • ALCCLoadVolume
        • ULCCUtilLibrary
        • Enums
        • Structs
      • Changelog

        • v3.6.0
        • v3.5.0
        • v3.4.0
        • v3.3.1
        • v3.0.0
        • v2.2.1
        • v1.0.0
        • v0.9.0
        • v0.8.0
        • v0.7.1
        • v0.6.1
        • v0.5.2
        • v0.4.1
        • v0.4.0
        • v0.3.0
        • v0.0.5
        • v0.0.4
        • v0.0.3
        • v0.0.2
        • v0.0.1
    • Unity

      • Unity SDK Introduction
      • Technical Features
      • Development Environment Requirements
      • PC Quick Start Guide
      • Project Settings Optimization Guide
      • Pico 4 Ultra Development Guide
      • Pico 4 Ultra PC Streaming Guide
      • Quest 3 Development Guide
      • Quest 3 PC Streaming Guide
      • Pico Space Pro Development Guide
      • Pico Space Pro Business Streaming Guide
      • OpenXR Development Guide
      • Pico 4 Ultra Business Streaming Guide
      • Glossary
      • FAQ
      • Contact Us
      • Feature Development Guide

        • Multi-Scene Mixed Rendering Development Guide
        • Shadow Receiving Development Guide
        • Real-Time Lighting Development Guide
        • Multi-Camera Rendering Development Guide
        • High-Resolution Image Rendering Development Guide
        • LCC and LCC2 Data Format Compatibility Development Guide
        • Loading Effect Development Guide
        • Mip Rendering Mode Switching Development Guide
        • Edge and Corner Snapping Development Guide
        • Projected Decal Development Guide
        • Video Projected Decal Development Guide
        • Highlight Development Guide
        • Real-Time Clipping Development Guide
        • Color Adjustment Development Guide
        • Getting Scene Mesh Data Development Guide
        • Editor Mode Development Guide
        • Render Performance Parameter Configuration Guide
        • Application and Data Co-packaging Development Guide
        • Collision System Development Guide
        • macOS Development Permission Issue Guide
        • iOS Device Compilation and Packaging Development Guide
      • API Reference

        • LCCManager
        • Renderer
        • Data Types
      • Changelog

        • v2.4.0
        • v2.3.0
        • v2.2.10
        • v2.2.0
        • v2.1.19
        • v2.0.14
    • Web

      • Introduction
      • Rendering Performance Optimization Guide
      • Graphics Configuration
      • WebGPU Development Guide
      • FAQ
      • API Reference

        • LCCObject::checkRenderNextFrame
        • LCCObject::clearRenderNextFrame
        • LCCObject::ecef2Prj
        • LCCObject::getBounds
        • LCCObject::getEnvInstancedMesh
        • LCCObject::getInstancedMesh
        • LCCObject::getLodInfos
        • LCCObject::getOriginPosition
        • LCCObject::getProjectionCoordinateSystemInfos
        • LCCObject::hasCollision
        • LCCObject::hasEnvironment
        • LCCObject::hasShcoef
        • LCCObject::intersectsCapsule
        • LCCObject::intersectsRayExt
        • LCCObject::intersectsRayFromOriginExt
        • LCCObject::intersectsSphere
        • LCCObject::lowerToBottom
        • LCCObject::prj2Ecef
        • LCCObject::raiseToTop
        • LCCObject::raycast
        • LCCObject::raycastFromOrigin
        • LCCObject::setAlpha
        • LCCObject::setClipBox
        • LCCObject::setClipPlane
        • LCCObject::setClipPrism
        • LCCObject::setEndLod
        • LCCObject::setLodAutoLevelUp
        • LCCObject::setMaxDistance
        • LCCObject::setMaxNodeSplats
        • LCCObject::setMaxSplats
        • LCCObject::setMinSplatSize
        • LCCObject::setMipFilter
        • LCCObject::setOriginPosition
        • LCCObject::setPointsColor
        • LCCObject::setRenderState
        • LCCObject::setRotation
        • LCCObject::setScale
        • LCCObject::setSemantic
        • LCCObject::setSemanticColor
        • LCCObject::setSmooth
        • LCCObject::setStartLod
        • LCCObject::setTranslation
        • LCCObject::setVisible
        • LCCObject::togglePointsDisplayMode
        • LCCObject::useEnvironment
        • LCCObject::useShcoef
        • LCCRender::clearIndexDB
        • LCCRender::dispose
        • LCCRender::load
        • LCCRender::setCamera
        • LCCRender::unload
        • LCCRender::update
      • Changelog

        • v0.6.6
        • v0.6.4
        • v0.6.3
        • v0.6.2
        • v0.6.1
        • v0.6.0
        • v0.5.5
        • v0.5.4
        • v0.5.3
        • v0.5.2
        • v0.5.1
        • v0.5.0
        • v0.4.1
        • v0.4.0
        • v0.3.1
        • v0.3.0
        • v0.2.0
  • API

    • Structured Spatial Modeling

      • Access Guide
      • Modeling Workflow
      • API Reference
      • Temporary Upload Credentials
      • Error Codes

Interface Catalog

This page lists all interfaces by function group. Every topic is prefixed with lixel/application/, omitted in the tables. Direction markers: REQ=request, RSP=response, RPT=report (see Message Model & Codec).

Status monitoring

InterfaceDirectionTopic (prefix omitted)MessageDescription
Device heartbeatRPTreport/heartbeat(JSON)Heartbeat broadcast, for discovery
Device statusRPTreport/device_statusDeviceStatusReportMapping / system / RTK status at 1 Hz
Real-time poseRPTreport/lio_poseLioPoseReportReal-time LIO pose while scanning
Real-time point cloudRPTreport/lio_pclMqttCompressMsgCompressed real-time point cloud
System errorRPTreport/system_errorSystemErrorReportSystem error code report

Among the interfaces exposed by the OpenAPI, only the heartbeat uses JSON text, for discovering a device and reading the protocol version and the authorization state:

{"DeviceSN":"A256A60000","Timestamp":1697703246.5,"ProtocolVersion":"3.0.0","Features":["openapi_license"],"OpenapiLicenseState":"active","OpenapiLicenseText":"Authorized"}
  • DeviceSN: device serial number.
  • Timestamp: current device time.
  • ProtocolVersion: protocol version. It stays "3.0.0" and cannot tell whether the device supports OpenAPI authorization.

The fields below are added by firmware that supports OpenAPI authorization:

FieldTypeValuesDescription
Featuresstring arraycontains "openapi_license"The firmware supports OpenAPI authorization. A heartbeat without this field, or whose array does not contain this value, comes from a device on the earlier key-based scheme
OpenapiLicenseStatestringnone, active, expiredAuthorization state: not authorized, authorized, recording minutes used up. Left out while the device cannot read its own authorization state
OpenapiLicenseTextstringNot authorized, Authorized, ExpiredThe state as English text that can be shown as is. Left out together with OpenapiLicenseState

For how the device handles requests in each state, see Connection & Authentication · OpenAPI authorization and key.

The device status is reported once per second, carrying the mapping state, system resources, and RTK status:

message DeviceStatusReport {
    message DeviceStatus {
        sint32 app_sessions = 1; // number of APP sessions
    }
    Header header = 1;
    uint32 modeling_state = 2; // unified status code
    string device_sn = 3;      // device serial number
    string project_id = 4;     // project name
    string time_zone = 5;      // current time zone
    bool init_ready = 6;       // whether SLAM of the current scan is ready
    SystemStatus system_status = 7;
    RtkStatus rtk_status = 8;
    DeviceStatus device_status = 9;
}

init_ready tells whether SLAM of the current scan is ready; it does not mean the device needs initializing. After AC_START the device sets it to true once SLAM has started, and back to false after the scan stops. So it is always false while the device is in standby, which is normal; the OpenAPI has no separate initialization step and needs none.

For decoding the real-time point cloud and pose, see Real-time Data.

Device management

InterfaceDirectionTopic (prefix omitted)Message
Query device infoREQ / RSPrequest·response/device_infoDeviceInfoRequest / DeviceInfoResponse
Device configREQ / RSPrequest·response/device_configDeviceConfigRequest / DeviceConfigResponse (a comment in the public proto mentions report/device_config, but no DeviceConfigReport message is defined and the device has no such topic; do not subscribe to it)
Device controlREQ / RSPrequest·response/device_controlDeviceControlRequest / DeviceControlResponse
Query OpenAPI authorizationREQ / RSPrequest·response/openapi_licenseOpenapiLicenseRequest / OpenapiLicenseResponse, see Query the OpenAPI authorization

Not every device fills in every sub-message of DeviceInfo; for example, some devices do not return storage_info. A sub-message that is not filled in does not appear in the decoded JSON; treat it as "not provided", not as an error. The USB disk read/write state can be read from udisk_info.rw_enable.

Device control supported ActionCmd: AC_USB_MASS, AC_USB_ETHER, AC_DISK_FORMAT, AC_POWER_OFF, AC_SYSTEM_REBOOT, plus the file-sharing switches AC_START_FS / AC_STOP_FS (see Project File Access; a fixed default credential is used once enabled). AC_DISK_FORMAT, AC_POWER_OFF, and AC_SYSTEM_REBOOT erase data or power off / reboot the device — confirm before calling.

message DeviceControlRequest {
    Header header = 1;
    Application.ActionCmd action = 2;
}

message DeviceControlResponse {
    Header header = 1;
    Application.ActionCmd action = 2;
    Error error = 15;
}

Device config supports setting the time and the main storage type:

message DeviceConfigRequest {
    message TimeConfig {
        sint64 time_secs = 1; // timestamp (second precision)
        string time_zone = 2; // time zone (e.g. "Asia/Shanghai")
    }
    message MainStorageConfig {
        sint32 storage_type = 1; // 0: internal storage, 1: TF card, 2: USB Disk
    }
    Header header = 1;
    optional TimeConfig time_config = 4;
    optional MainStorageConfig main_storage_config = 8;
}

Query the OpenAPI authorization

InterfaceDirectionTopic (prefix omitted)Message
Query OpenAPI authorizationREQ / RSPrequest·response/openapi_licenseOpenapiLicenseRequest / OpenapiLicenseResponse

Queries the authorization state, the authorization code, and the remaining recording minutes of the device. Set action in the request to AC_GET_CONFIG; the device returns the result in info of the response.

  • No key is needed. It can be queried in the none, active, and expired states, and on a device that is not activated, with or without a key, and with a wrong one. The query is not metered.
  • Only a device whose heartbeat Features contains "openapi_license" has this topic; check the heartbeat before querying (see Connection & Authentication · Telling which kind of device it is). A device on the earlier key-based scheme does not respond, and the request times out.
  • This interface is read-only; this SDK cannot grant or install an authorization.
  • Examples: Python python/example/usage/openapi_license.py, C++ cpp/build/examples/openapi_license.
message OpenapiLicenseRequest {
    Header header = 1;
    Application.ActionCmd action = 2; // AC_GET_CONFIG
    string license = 3;               // not used by this SDK, leave empty
}
message OpenapiLicenseInfo {
    reserved 2, 3;
    bool licensed = 1;         // an authorization record exists (expired ones included)
    string device_sn = 4;      // serial number of the device the authorization is bound to
    string code = 5;           // authorization code bound to this device
    sint64 granted_min = 6;    // total granted minutes, -1 for a permanent authorization
    sint64 used_min = 7;       // total used minutes
    sint64 remaining_min = 8;  // remaining minutes, -1 for a permanent authorization
    string state = 9;          // none, active, expired
    string state_text = 10;    // state text in English
}
message OpenapiLicenseResponse {
    Header header = 1;                // session_id is the same as in the request
    Application.ActionCmd action = 2; // the action of the request
    OpenapiLicenseInfo info = 3;
    Error error = 15;
}

action must be AC_GET_CONFIG; license is not used, leave it empty. The response copies the request header (session_id is the same as in the request) and echoes the request action.

Fields of info:

FieldTypeDescription
licensedbooltrue when the device has an authorization record (expired ones included)
device_snstringSerial number of the device the authorization is bound to; empty for none
codestringAuthorization code bound to this device; empty for none
granted_minsint64Total granted recording minutes; -1 for a permanent authorization; 0 for none
used_minsint64Total used minutes; 0 for none. For a permanent authorization it is still the real total, not -1
remaining_minsint64Remaining minutes; -1 for a permanent authorization; 0 for none. Decreases in real time while recording
statestringnone, active, expired
state_textstringThe state as English text that can be shown as is
statestate_textMeaning
noneNot authorizedThe device has no usable authorization record
activeAuthorizedA time-limited authorization with remaining_min of 1 or more, or a permanent authorization
expiredExpiredA time-limited authorization with remaining_min below 1
error.codeerror.descConditioninfo
EC_Success (0x12040001)successaction is AC_GET_CONFIGPresent
EC_RequestError (0x32040002)unsupported actionaction is a value the device does not support, e.g. 0 or AC_STARTAbsent
EC_ProtoError (0x32040001)parse errorThe request payload cannot be parsedAbsent

A decoded response (time-limited authorization; by the protobuf JSON mapping a sint64 is a string in JSON):

{
  "header": {"session_id": "s1", "seq": 0, "stamp": "0", "scaler": "0", "device_id": ""},
  "action": "AC_GET_CONFIG",
  "info": {
    "licensed": true,
    "device_sn": "A256A60000",
    "code": "<authorization code>",
    "granted_min": "600",
    "used_min": "125",
    "remaining_min": "475",
    "state": "active",
    "state_text": "Authorized"
  },
  "error": {"code": 302252033, "desc": "success"}
}

For a permanent authorization, granted_min and remaining_min are "-1", and used_min is still the real total.

Scan mapping

InterfaceDirectionTopic (prefix omitted)Message
Scan controlREQ / RSP / RPTrequest·response·report/modelingModelingRequest / ModelingResponse / ModelingReport
Current project file URLsREQ / RSPrequest·response/modeling_statusModelingStatusRequest / ModelingStatusResponse

Scan action supports AC_START / AC_STOP. The response to AC_START only means the device received the request; the device then goes standby → starting → scanning (usually reaching scanning after 14 to 15 seconds), and an AC_STOP sent before it is scanning is deferred. Subscribe to report/device_status and read modeling_state instead of waiting a fixed time — see Quick Start (Python / C++).

modeling_status returns the current project's project_id and project_name, plus the URLs of the pose, control point, and measure point files; it does not return the scan state — use modeling_state from report/device_status for that. When the device has no current project data (for example in standby) it publishes no response, and request() raises TimeoutError.

Key fields:

message ModelingRequest {
    Header header = 1;
    Application.ActionCmd action = 2;    // supports AC_START / AC_STOP
    string project_name = 3;             // custom project name
    Modeling.RecordMode record_mode = 4; // RM_CALC / RM_RECORD / RM_RECORD_CALC
    Modeling.ScanMode scan_mode = 5;     // SM_PCL / SM_LCC / SM_PORTRAIT
    Modeling.MountType mount_type = 6;   // MT_HAND / MT_CAR / MT_UAV / MT_BACKPACK
    string pre_project_id = 7;           // preceding project ID (continued-scan feature in later versions)
    Modeling.AssistMode assist_mode = 8; // scan assist mode AM_GUIDED / AM_VISUAL
}

The scan status report (report/modeling) carries the travel distance, speed, scan time, and the post-scan data-processing progress:

message ModelingReport {
    message ScanStatus {
        float move_distance = 1; // travel distance
        float move_speed = 2;    // movement speed
        sint64 scan_time = 3;    // scan time (seconds)
    }
    Header header = 1;
    sint32 pgo_progress = 2; // post-scan data-processing progress (0~100)
    ScanStatus scan_status = 3;
}

Point management

InterfaceDirectionTopic (prefix omitted)Message
Control point operationsREQ / RSP / RPTrequest·response·report/control_pointControlPointRequest / ControlPointResponse / ControlPointReport
Measure point operationsREQ / RSPrequest·response/measure_pointMeasurePointRequest / MeasurePointResponse

Control point action supports AC_ADD / AC_REMOVE. AC_UPDATE is defined in the proto but the device does not handle it and returns EC_ProtoError (desc is invalid action). Measure point action supports AC_ADD / AC_REMOVE only. The comment in the proto block below says AC_UPDATE is supported; follow the description here instead.

In standby the device does not reply to control point requests; while scanning it does, and returns EC_RequestError (desc is no project data) when there is no current project data. AC_ADD ignores the id in the request; the id in the response is chosen by the device (for example, request 9999, response 1) and used to remove the point. On a successful AC_ADD, error.desc is the pose of the point (x y z qw qx qy qz, 7 floating-point numbers separated by spaces), not a text description.

Note: the measure point feature is supported on some devices only; verify that your target device provides it before use.

message ControlPointRequest {
    Header header = 1;
    Application.ActionCmd action = 2; // supports AC_ADD / AC_REMOVE / AC_UPDATE
    sint32 id = 3;                    // control point ID
    sint32 type = 4;                  // type (0: device, 1: centering pole, 100: legacy)
    string label = 5;                 // control point label
    sint32 height = 6;                // base point height (unit: mm)
}

Control point height (differs by model)

height is the base point height of the control point in mm; with a centering pole (type 1), fill in the pole height. Models handle this field differently:

ModelSaves heightheight in the responseProject control point file (control_points_url)
Lixel K2YesThe request value, echoed back; also carried in the report/control_point reportHas a height column, in m
Lixel L2ProNo; the request value is ignoredAlways 0No height column
  • On a K2 with type 1, the device uses height to move the control point coordinate down to the foot of the centering pole.
  • A Lixel L2Pro control point response fills in only id and label; type and height decode as the proto3 default 0, which does not mean the request failed. When the pole height is needed on a Lixel L2Pro, record it yourself and apply it in post-processing.
  • To tell whether a device supports the control point height, send one AC_ADD and check whether height in the response equals the request value. If a K2 returns 0, upgrade the device firmware to the latest version.

Project management

InterfaceDirectionTopic (prefix omitted)Message
Project list operationsREQ / RSPrequest·response/project_listProjectListRequest / ProjectListResponse

action supports:

  • AC_LIST_ALL_PROJECTS: list all projects.
  • AC_MODIFY_PROJECT_LABELS: modify labels (needs id + tag_name).
  • AC_DELETE_PROJECTS: delete projects (needs id_list).

Modifying labels and deleting projects are rejected while the device is starting, scanning, or stopping a scan; do them in standby. The poses_url, xbin_url, etc. returned by AC_LIST_ALL_PROJECTS are HTTP URLs; for the host value, see Project File Access.

message ProjectListRequest {
    Header header = 1;
    // supports AC_LIST_ALL_PROJECTS / AC_MODIFY_PROJECT_LABELS / AC_DELETE_PROJECTS only
    Application.ActionCmd action = 2;
    optional string id = 3;
    optional string tag_name = 4;
    repeated string id_list = 5; // delete multiple projects at once
}

RTK / Ntrip

InterfaceDirectionTopic (prefix omitted)Message
Get Ntrip profileREQ / RSPrequest·response/get_ntrip_profileGetNtripProfileRequest / GetNtripProfileResponse
Set Ntrip profileREQ / RSPrequest·response/set_ntrip_profileSetNtripProfileRequest / SetNtripProfileResponse
Get RTK advanced configREQ / RSPrequest·response/get_rtk_advanceGetRtkAdvanceRequest / GetRtkAdvanceResponse
Set RTK advanced configREQ / RSPrequest·response/set_rtk_advanceSetRtkAdvanceRequest / SetRtkAdvanceResponse
  • Set Ntrip action supports AC_LOGIN / AC_LOGOUT.
  • CORS type: CUSTOM / QIANXUN / ZHONGYI.
  • Coordinate frame: UNKNOWN / ITRF2008 / WGS84 / CGCS2000.
  • RTK satellite systems: GPS / BDS / GLO / GAL / QZSS / IRNSS.

Note: when the RTK hardware is not connected (RtkStatus.state is HwDisconnected) or there is no RTK device, the set-Ntrip request is rejected and the device returns EC_RequestError (desc is operation forbidden).

Data processing

InterfaceDirectionTopic (prefix omitted)Message
Data unpackREQ / RSP / RPTrequest·response·report/data_unpackDataUnpackRequest / DataUnpackResponse / DataUnpackReport

data_source currently supports XBIN_DATA; if data_topics is omitted, everything is unpacked; report/data_unpack reports the unpack progress (0~100). When the device is not in standby, this request returns EC_RequestError.

message DataUnpackRequest {
    enum DataSource {
        XBIN_DATA = 0; // xbin data
    }
    Header header = 1;
    string project_name = 2;           // project name
    DataSource data_source = 3;        // data source
    repeated string data_topics = 4;   // data topics (unpack all by default if omitted)
    optional string data_ouputdir = 5; // output directory name (relative to the project directory)
}

Note: the data unpack feature is supported only on specific models and firmware versions. Before use, query the firmware version via the heartbeat ProtocolVersion or the device info, and confirm with XGRIDS whether the target model / firmware supports it. On an unsupported device the request has no effect. The Lixel L2Pro has no data unpack interface and does not respond to this request, with or without a key.

Error code convention

Request-response messages carry the result in the Error error = 15 field. Common ones: EC_RequestSuccess, EC_RequestError, EC_ProtoError; Ntrip-related: EC_NtripLoginSuccess, EC_NtripLogoutSuccess, EC_NtripLogoutFailed, EC_NtripDisConnected, EC_NtripNetworkError, EC_NtripAuthError. For the full list, see Error Codes.