Flic Home

    Community

    • Login
    • Search
    • Popular
    • Users

    Questions and Observations from Developing with Flics

    Developers
    1
    1
    844
    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.
    • lipj01
      lipj01 last edited by

      Hi, I have some mild issues with the way the flics change between devices they are paired to.
      these observations/questions come from running the Fliclib-linux-hci SDK on a Pi 3B using the built in Bluetooth interface and Raspbian Jessie version 8. The daemon then sends events to a Node-Red server in turn to my application.

      Observation:

      When a flic first connects to the Pi many press events fire in quick succession which appear with the time before the connection when the button was pressed.

      Question:

      I've seen varying amounts so is it, as many events as occurred within a certain time? is there a limit to the number of events? how long is this time period?

      Observation:

      If the connection channel is broken (i.e. during a scheduled reboot of the Pi), the flic will pair to any previously paired device.

      Question:

      Is this the correct behaviour? If so, how can I use the Linux SDK to send a request to the flic to forget it's previously paired devices? Otherwise I now have several flics that are not usable for development. When I am developing an application on a Pi that connects to a flic button, if i reboot the Pi then the flic connects to any of the other Pis that have been used for development with that flic. Please I need a fix to this.

      Final question:

      Is there a way to factory reset a flic or do they not have enough memory for that?

      Cheers

      Jack

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