Flic Home

    Community

    • Login
    • Search
    • Popular
    • Users
    1. Home
    2. Wand7698
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Best 0
    • Controversial 0
    • Groups 0

    Wand7698

    @Wand7698

    0
    Reputation
    1
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Wand7698 Unfollow Follow

    Latest posts made by Wand7698

    • Unable to Get RSSI from Flic 2 Using fliclib-linux-hci on Raspberry Pi

      I’m working with a Flic 2 button and a Raspberry Pi Zero 2 W, using the fliclib-linux-hci Git SDK.

      I successfully built my own Debian package from the SDK and installed it on the Pi:

      Package:
      flicd_1.0-1_arm64.deb

      The daemon installs and runs correctly. Below is the systemd service I’m using:

      cat /etc/systemd/system/flicd.service

      [Unit]
      Description=Flic Button Daemon
      After=bluetooth.target
      Requires=bluetooth.target

      [Service]
      Type=simple
      ExecStart=/usr/bin/flicd -f /var/lib/flicd/flic.sqlite3
      Restart=always
      RestartSec=3
      User=root

      [Install]
      WantedBy=multi-user.target

      Pairing and button events work fine, so communication with the button is confirmed.

      Issue

      I’m trying to read RSSI (signal strength) from the Flic 2 button, or otherwise estimate distance between the Pi and the button.

      I’ve tried multiple code variants (both modifying the SDK and external BLE approaches), but I’m unable to retrieve:

      RSSI values

      Any distance-related data

      It seems like RSSI is either not exposed through the SDK, or not available during normal operation.

      Questions

      Is RSSI data available at all from Flic 2 via fliclib-linux-hci?

      If not, is there an alternative supported way to estimate proximity or distance?

      Does the Flic firmware intentionally block RSSI access for power or privacy reasons?

      Has anyone successfully retrieved RSSI from a Flic 2 on Linux/Raspberry Pi?

      Any guidance, confirmation, or examples would be greatly appreciated.
      Thanks in advance!

      posted in Developers
      Wand7698
      Wand7698