- Initialization Management: Provides dual interfaces of
preInit(pre-initialization, no impact on App cold start) andinitSDK(formal initialization), combined with theunInitinterface to realize resource release, making the initialization process more flexible and controllable. - 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. - Heartbeat Detection: Adds
startHeartbeatandstopHeartbeatinterfaces to support heartbeat keep-alive and stop detection after device connection. - 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. - Listener and Enumeration Support: Provides 6 types of listener interfaces (covering scenarios such as connection status, data synchronization, and logs), and defines the
ConnectingStateconnection status enumeration to simplify development and docking.
