Flic Home

    Community

    • Login
    • Search
    • Popular
    • Users

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

    Developers
    1
    1
    11
    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.
    • Wand7698
      Wand7698 last edited by

      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!

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