Skip to content

API MISUSE: <CBCentralManager: 0x1014f8150> can only accept this command while in the powered on state #39

Description

@yunkai909

If I call the scanForPeripherals function immediately after calling let centralManager: CentralManager = .live() , I got the error and cannot receive anything.
when i call scanForPeripherals delay some times ,the error is gone and can receive devices

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions