Skip to content

Feat/ble rssi proximity#140

Open
MatteoCnda1 wants to merge 1 commit into
mainfrom
feat/ble-rssi-proximity
Open

Feat/ble rssi proximity#140
MatteoCnda1 wants to merge 1 commit into
mainfrom
feat/ble-rssi-proximity

Conversation

@MatteoCnda1
Copy link
Copy Markdown

Summary

Add a BLE RSSI proximity detector example using STM32duinoBLE. Closes #95

Changes

  • Added lib/ble/examples/BleRssiProximity/BleRssiProximity.ino
  • Scans for a named beacon (STeaMi-Beacon)
  • Reads RSSI and applies a moving-average filter over 5 samples
  • Maps RSSI (-30 dBm close, -90 dBm far) to a 0-100% proximity value
  • Displays an ASCII gauge on the Serial monitor

Problem

The driver SSD1327 is not yet implemented on arduino thus the program shows only the device's rssi on the terminal monitor.

Checklist

  • make lint passes (clang-format)
  • make build passes (PlatformIO)
  • make test-native passes
  • [ x] make test-hardware passes on a connected STeaMi
  • [ x] README updated (if adding/changing public API)
  • Examples added (lib/ble/examples/BleRssiProximity/BleRssiProximity.ino)
  • Commit messages follow conventional commits format

@MatteoCnda1 MatteoCnda1 force-pushed the feat/ble-rssi-proximity branch from c4f480d to d973e6e Compare April 23, 2026 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

examples(ble): Add BLE RSSI proximity detector example.

2 participants