Repository navigation
M6 Bluetooth core, part A - #41
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Warning Review limit reachedEnable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing. Next included review available in 56 minutes. View limit details
|
Drops the three readers this branch landed from the coverage lock's pending list. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Bre77
changed the base branch from
milestone/m3a-signed-core
to
milestone/m5a-router
November 2, 2026 04:28
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.
Bluetooth core, part A: the
./bluetoothentry,VehicleBluetoothover anyBleTransport, and the confirmation ladder. No hardware has run this; every result below is againstFakeBleLinkandFakeVehicle.test_ble_reassembling_buffer.pycases and the doc 04 vectors pass.test_ble_connect_failover.pycases that need BLE-12 (wake_upwithwait) and BLE-15 (pair).disconnect, checked with fake timers.Left for BLE-12:
wake_up({ wait: true })raisesBluetoothTimeout, andwakeForCommandturns that intoBluetoothCommandFailed, so a sleeping car withwake_if_asleepon fails safely with nothing sent. An awake car whose infotainment handshake timed out drops the link and raises, without the 20 s boot retry.Homey fit. The core has no GATT dependency or native module. Every backend call is bounded here.
maxWriteSizeleft out means 20 bytes. A connect that lands after its attempt was abandoned is closed, because the vehicle has three slots. A read timeout, or a failed write followed by a silent reply window, marks the link lost whateverisConnectedsays.Where this differs from Python, on purpose:
sameFloatin verify plans: Python compares float32 with float32, but Node would compare the caller's double with the decoded float32, and report a command that ran as failed.connectscans when no device is known (doc 05 calls this deliberate), and a not-found scan raisesBluetoothTransportError, notValueError.connect()on a live link does nothing, where Python would open a second link.confirmation's deprecated aliases are not ported;optimisticandverify_commandsremain as read-only views.Readers
charge_state,climate_state,media_stateandvehicle_stateare here because verify plans need them. BLE-14 adds the rest.test/helpers/fakevehicle.tsnow addresses replies to the sender as a real car does, answers a VCSEC status read whenvehicleStatusis set, and records decrypted commands.🤖 Generated with Claude Code