Expose stream controllers for connection and packets#3
Open
eelco2k wants to merge 21 commits into
Open
Conversation
…LE permissions requestMtu(512) is Android-only in flutter_blue_plus — throws on iOS. iOS negotiates MTU automatically, so the call is unnecessary. bluetoothConnect and bluetoothScan permissions are Android 12+ only. Requesting them on iOS always returns denied.
Write-without-response can silently drop packets. The official Python library uses response=True for all ToRadio writes. Also use a non-zero wantConfigId so the firmware sends back a matching configCompleteId. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
BLE connection is established with services and notifications ready. Config read errors during handshake shouldn't block packet sending. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Allows sending raw data on PRIVATE_APP port which bypasses firmware position rate limiting and merging. Used for phone GPS relay. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The isConnected/isConfigured flags are unreliable after reconnect. Just check if the BLE characteristic exists and try to write. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Throwing 'Not connected' caused the caller's error handler to trigger reconnect, destroying the working connection. Return silently instead and let the BLE write surface actual disconnect errors. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Removed emoji-tagged debug prints that would ship to production. Config and send paths now use _logger consistently. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
for compatibility downgrade to 3.7 protobuf package
features from seancmt fork
Improves position data
revert back to version 4.2.0 for this branch. the V3.1.0 protobufs are found in the `protobufs3` branch.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.