Skip to main content
DreisamLib SDK 1.0.0 Update Notes I. Update Overview The newly released DreisamLib SDK focuses on implementing device connection and blood glucose data interaction capabilities. It provides core functions such as lightweight initialization, a complete device connection link, data synchronization, and historical query, which is suitable for the development of applications that need to interface with blood glucose devices. II. Core Function Updates
  1. Initialization Management: Provides dual interfaces of preInit (pre-initialization, no impact on App cold start) and initSDK (formal initialization), combined with the unInit interface to realize resource release, making the initialization process more flexible and controllable.
  2. Device Connection Control: Covers the full-link capabilities such as connection precondition check (checkPreConditions), specified device connection (connectDevice), connection status query (isDeviceConnected), and disconnection (disconnect), supporting connection status monitoring and log callback.
  3. Heartbeat Detection: Adds startHeartbeat and stopHeartbeat interfaces to support heartbeat keep-alive and stop detection after device connection.
  4. Data Interaction Capabilities: Supports real-time blood glucose data callback, historical data acquisition within a specified time range, and data synchronization progress monitoring. The core data model is GlucoseBean, which carries complete blood glucose-related information.
  5. Listener and Enumeration Support: Provides 6 types of listener interfaces (covering scenarios such as connection status, data synchronization, and logs), and defines the ConnectingState connection status enumeration to simplify development and docking.