Repository navigation
Conversation
- Add IsoSdu and IsoSduAssembler to bumble.host. Each host IsoLink owns an assembler that reassembles fragmented HCI ISO Data packets into complete SDUs; malformed or out-of-sequence fragments are logged and dropped. - Host now emits 'iso_sdu' (handle, IsoSdu) instead of 'iso_packet', and CisLink/BisLink sinks receive IsoSdu instead of raw HCI_IsoDataPacket fragments. Drop the experimental decorator from Device.on_iso_sdu. - Fix Packet_Status_Flag parsing/serialization: it is a 2-bit field at bits 14-15 of the ISO_SDU_Length field, not a single bit at bit 15. Add HCI_IsoDataPacket.PbFlag and HCI_IsoDataPacket.PacketStatus enums. - Update apps (bench, auracast, lea_unicast) and the unicast server example to the new sink interface.
This branch has not been deployed
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.
assembler that reassembles fragmented HCI ISO Data packets into complete
SDUs; malformed or out-of-sequence fragments are logged and dropped.
CisLink/BisLink sinks receive IsoSdu instead of raw HCI_IsoDataPacket
fragments. Drop the experimental decorator from Device.on_iso_sdu.
bits 14-15 of the ISO_SDU_Length field, not a single bit at bit 15. Add
HCI_IsoDataPacket.PbFlag and HCI_IsoDataPacket.PacketStatus enums.
to the new sink interface.
Breaking changes
iso_packetis replaced byiso_sdu(handle,IsoSdu).CisLink.sink/BisLink.sinknow receivebumble.host.IsoSdu(usesdu.data) instead ofHCI_IsoDataPacketfragments.Testing
tests/host_test.py(assembler, packet status, error recovery, per-link assembly in Host) andtests/hci_test.py(2-bit Packet_Status_Flag).pytest tests,mypy,black,ruffpass.