The SDK provides a list of supported Bluetooth devices. Select the matching instance to prepare for scanning.
Copy
Ask AI
import VitalDeviceslet devicesManager = DevicesManager()/// Get the brandslet brands = DevicesManager.brands()/// Each brand has deviceslet devices = DevicesManager.devices(for: brands[0])
Readings taken with the SDK are not guaranteed to match the official Freestyle
Libre app. This mismatch happens due to the algorithm difference used by us,
compared to the official Freestyle Libre.
We currently support Libre 1 sensors via NFC readings. Please make sure you add NFC capabilities in your app:Also add the key NFCReaderUsageDescription in your info.plist. This key should explain why your app needs to use NFC.To use the reader:
Copy
Ask AI
let reader = Libre1Reader( readingMessage: "Ready for reading", errorMessage: "Failed reading from sensor", completionMessage: "Completed successfully!", queue: mainQueue)let reading = try await reader.read()
This automatic behaviour is available since Vital iOS 1.0.0, Vital Android 3.0.0, Vital Flutter SDK 4.0.0
and Vital React Native 4.0.0.
Vital Devices SDK automatically uploads any blood pressure and glucose samples discovered during
the read operation, provided that the Vital Core SDK has a signed-in user.The SDK does not currently buffer samples that fail to upload. You might want to ensure that the
device has Internet connectivity before initiating the read operation.