I\'m just pasting a code snippet, but the question is why when it calls a BLE scan from another custom class, doesn\'t it detect state or search? Thanks for help!