Package 

Interface CGMSessionRunTimeCallback

    • Method Detail

      • onContinuousGlucoseMonitorSessionRunTimeReceived

         abstract void onContinuousGlucoseMonitorSessionRunTimeReceived(@NonNull() BluetoothDevice device, @IntRange(from = 0, to = 65535) int sessionRunTime, boolean secured)

        Callback called whenever the CGM Session Run Time characteristic was read.

        If the E2E CRC field was present in the CGM packet, the data has been verified against it.If CRC check has failed, the onContinuousGlucoseMonitorSessionRunTimeReceivedWithCrcError will be called instead.

        Parameters:
        device - the target device.
        sessionRunTime - the expected run time of the CGM session depending on physiologicaleffects in future devices, in hours.
        secured - true if the packet was sent with E2E-CRC value that was verified tomatch the packet, false if the packet didn't contain CRC field.