Skip to content

Conversation

@Linqa2
Copy link
Owner

@Linqa2 Linqa2 commented Dec 28, 2025

Add RSSI Reading Support with Async/Await API

This PR adds support for reading RSSI (Received Signal Strength Indicator) values from connected peripherals using a simple async/await API.

API Design

The implementation follows a simple async function pattern rather than a stream-based approach because:

  • RSSI is pull-based - Unlike characteristic notifications that are pushed by CoreBluetooth, RSSI must be explicitly requested via CBPeripheral.readRSSI() each time
  • Consistency - Matches the pattern of readValue(for:timeout:) and other read operations

@Linqa2 Linqa2 merged commit a9c5e01 into main Dec 28, 2025
1 check passed
@Linqa2 Linqa2 deleted the rssi_monitoring branch December 28, 2025 05:36
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.

2 participants