Package 

Interface CGMFeatureCallback

  • All Implemented Interfaces:
    no.nordicsemi.android.ble.common.profile.cgm.CGMTypes , no.nordicsemi.android.ble.common.profile.glucose.GlucoseTypes

    
    public interface CGMFeatureCallback
     implements CGMTypes
                        
    • Method Detail

      • onContinuousGlucoseMonitorFeaturesReceived

         abstract void onContinuousGlucoseMonitorFeaturesReceived(@NonNull() BluetoothDevice device, @NonNull() CGMTypes.CGMFeatures features, int type, int sampleLocation, boolean secured)

        Callback called when Continuous Glucose Monitor Feature value was received.

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

        Parameters:
        device - the target device.
        features - the features supported by the target device.
        type - the sample type, see TYPE_* constants.
        sampleLocation - the sample location, see SAMPLE_LOCATION_* constants.
        secured - true, if the value received was secured with E2E-CRC value and theCRC matched the packet.