Skip to content

Bug with receiver #3

@daimonkor

Description

@daimonkor
    @Override
    protected void onCreate(){
              mBLEController = BluetoothLEController.getInstance().build(this);
              mBLEController.setBluetoothListener(bluetoothLEListener);
    }

    @Override
    protected void onDestroy() {
        super.onDestroy();

        try {
            mBLEController.release();
        }catch (Exception e){
            LogManager.LogEA(e);
        }
    }

     @Override
    protected void onPause() {
        super.onPause();
       /*my custom key, use when scanLe*/
        if(getCurrentState() == START_SCAN_STATE) {
            mBLEController.cancelScan();
        }
    }

image

Please fix, thank you for support.
I am using BLE Simulator (Battery Service).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions