Updated: 2026-12-03
Suprema G-SDK Introduction
In addition to the integration methods using BioStar 2 API or BioStar Device SDK, Suprema G-SDK provides an integration option for device, user, and log management.
What is Suprema G-SDK?
Suprema G-SDK is a lightweight, scalable, and cross-platform solution for communicating with BioStar 2 devices. It helps speed up development.
How does Suprema G-SDK work?
[Figure 1. Suprema G-SDK architecture]
Suprema G-SDK consists of Device Gateway and client libraries. Device Gateway works as a gRPC server and handles communication with the devices, and your application connects to it using one of the client libraries.
Because Suprema G-SDK is based on gRPC, it supports a wide range of programming languages, including Java, C#, Python, Node.js, and Go. gRPC (gRPC Remote Procedure Calls) is an open-source remote procedure call (RPC) system initially developed at Google in 2015.
Multi-language support
- Language-neutral IDL
- Language-specific client libraries
Device Gateway can run on a server or in the cloud. Its core modules use the Suprema protocol and are written in Go.
[Figure 2. Device Gateway structure]
How is Suprema G-SDK different from BioStar Device SDK?
BioStar Device SDK provides native libraries, with sample code in C# and C++. Suprema G-SDK offers more flexible development options, especially for developers who want to use other programming languages.
The table below compares BioStar Device SDK and Suprema G-SDK.
| Item | BioStar Device SDK | Suprema G-SDK |
| Connection | Application ↔ Device | Application ↔ Device Gateway ↔ Device |
| Implementation | Native libraries (.dll, .so) | Client libraries + Device Gateway |
| OS | Windows, Linux (Ubuntu 22.04) | Windows, Linux (x86, AMD64, Arm), macOS |
| Languages | C#, C++ | Java, C#, Python, Node.js, Go, C++, Kotlin, Swift |
| Max. Devices | Up to 1,000 | Up to 1,000 (Master Gateway: up to 100,000) |
[Table 1. BioStar Device SDK vs Suprema G-SDK]
One of the biggest advantages of Suprema G-SDK over BioStar Device SDK is its support for a wide range of programming languages. With BioStar Device SDK, your application calls the native SDK library directly, as shown below. Because of this structure, using BioStar Device SDK with other languages may require additional bindings and data marshaling for the SDK functions and structures used by the application.
[Figure 3. BioStar Device SDK structure]
In contrast, Suprema G-SDK provides client libraries and language-specific sample code to simplify integration.
How does Suprema G-SDK support a wide range of languages?
Each application uses the client library for its own language and communicates with Device Gateway over gRPC, as shown below. This allows applications written in different languages to use the same Device Gateway.

[Figure 4. Suprema G-SDK structure]
Additional information about Suprema G-SDK
1. Master Gateway
A single Device Gateway supports up to 1,000 device connections.
Master Gateway helps you manage multiple Device Gateways and can be deployed on a cloud server. Unlike Device Gateway, Master Gateway requires a valid license to run.
For more information, see the Master Gateway overview and [Suprema G-SDK] Device Gateway vs Master Gateway Comparison.
| Item | Device Gateway | Master Gateway |
| Role | Direct communication with devices | Centralized management of multiple Device Gateways |
| Security | One-way authentication | Mutual authentication (certificate + token) |
| Target | Single site | Multi-site, multi-tenant |
| Max. Devices | Up to 1,000 per Device Gateway | Up to 100,000 via multiple Device Gateways |
[Table 2. Device Gateway vs Master Gateway]
2. Advanced Access Control APIs
Suprema G-SDK provides APIs for basic device management as well as advanced access control features such as Zone, Wiegand, and RS-485. The APIs are organized into categories, including Core, Master Gateway, Authentication, Access Control, T&A, and Configuration.
For detailed API descriptions, see the Suprema G-SDK API Reference.
3. Sample Code in More Languages
Suprema G-SDK provides sample code in Java, C#, Python, Node.js, Go, C++, Kotlin, and Swift. The sample code for each language is in the example folder of its client SDK package.
Summary of Suprema G-SDK
| Item | Details |
| Supported OS | Windows, Linux (x86, AMD64, Arm), macOS |
| Max. Devices | Up to 1,000 per Device Gateway Up to 100,000 with Master Gateway (up to 100 Device Gateways per Master Gateway) |
| Supported Languages | Java, C#, Python, Node.js, Go, C++, Kotlin, Swift |
| Supported APIs | Core, Master Gateway, Authentication, Access Control, T&A, Configuration, and more See the Suprema G-SDK API Reference. |
| Supported Devices | Supported BioStar 2 devices vary by Suprema G-SDK version. For newly supported devices, see the release notes. |
| Unsupported Devices | All BioStar 1 devices, including BioEntry Plus v2, BioEntry W v2, XPass v2, XPS2 v2, and BLN v2 |
| Download | Suprema Download Center (login required) |
| Manual | Suprema G-SDK documentation |
[Table 3. Suprema G-SDK summary]