Flic Home

    Community

    • Login
    • Search
    • Popular
    • Users

    Error code 1 on scan

    Developers
    2
    3
    1379
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • info 6
      info 6 last edited by

      I am receiving this error, trying to pair a Flic2 button on iOS 13.5.1 using the sdk:
      "The operation couldn't be completed. (com.shortcutlabs.flic2lib.buttonscanner error 1)"
      Is there any way to find out what's wrong?

      anton 1 Reply Last reply Reply Quote 0
      • anton
        anton FlicTeam @anton last edited by

        @anton said in Error code 1 on scan:

        @info-6 All flic2lib.buttonscanner error codes are documented here: https://github.com/50ButtonsEach/flic2lib-ios/wiki/Documentation#flicbuttonscannererrorcode

        error 1 appears to be "The scan could not be started since bluetooth was not in the powered on state."

        Also keep in mind that the state will not be "in the powered on state" if you have forgotten to request for bluetooth permissions in your app, or if the user has rejected the request.

        1 Reply Last reply Reply Quote 0
        • anton
          anton FlicTeam @info 6 last edited by

          @info-6 All flic2lib.buttonscanner error codes are documented here: https://github.com/50ButtonsEach/flic2lib-ios/wiki/Documentation#flicbuttonscannererrorcode

          error 1 appears to be "The scan could not be started since bluetooth was not in the powered on state."

          anton 1 Reply Last reply Reply Quote 0
          • First post
            Last post