bumble 0.0.222__py3-none-any.whl → 0.0.224__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- bumble/_version.py +2 -2
- bumble/apps/controller_info.py +90 -114
- bumble/apps/controller_loopback.py +11 -9
- bumble/apps/gg_bridge.py +1 -1
- bumble/apps/hci_bridge.py +3 -1
- bumble/apps/l2cap_bridge.py +1 -1
- bumble/apps/rfcomm_bridge.py +1 -1
- bumble/apps/scan.py +10 -4
- bumble/apps/speaker/speaker.py +1 -1
- bumble/apps/usb_probe.py +15 -2
- bumble/att.py +97 -32
- bumble/avctp.py +1 -1
- bumble/avdtp.py +3 -3
- bumble/avrcp.py +366 -190
- bumble/bridge.py +10 -2
- bumble/controller.py +14 -1
- bumble/core.py +1 -1
- bumble/device.py +999 -577
- bumble/drivers/intel.py +45 -39
- bumble/drivers/rtk.py +102 -43
- bumble/gatt.py +2 -2
- bumble/gatt_client.py +5 -4
- bumble/gatt_server.py +100 -1
- bumble/hci.py +1367 -844
- bumble/hid.py +2 -2
- bumble/host.py +339 -157
- bumble/l2cap.py +13 -6
- bumble/pandora/l2cap.py +1 -1
- bumble/profiles/battery_service.py +25 -34
- bumble/profiles/heart_rate_service.py +130 -121
- bumble/rfcomm.py +1 -1
- bumble/sdp.py +2 -2
- bumble/smp.py +8 -3
- bumble/snoop.py +111 -1
- bumble/transport/android_netsim.py +1 -1
- bumble/vendor/android/hci.py +108 -86
- bumble/vendor/zephyr/hci.py +24 -18
- {bumble-0.0.222.dist-info → bumble-0.0.224.dist-info}/METADATA +4 -3
- {bumble-0.0.222.dist-info → bumble-0.0.224.dist-info}/RECORD +43 -43
- {bumble-0.0.222.dist-info → bumble-0.0.224.dist-info}/WHEEL +1 -1
- {bumble-0.0.222.dist-info → bumble-0.0.224.dist-info}/entry_points.txt +0 -0
- {bumble-0.0.222.dist-info → bumble-0.0.224.dist-info}/licenses/LICENSE +0 -0
- {bumble-0.0.222.dist-info → bumble-0.0.224.dist-info}/top_level.txt +0 -0
bumble/avctp.py
CHANGED
bumble/avdtp.py
CHANGED
|
@@ -268,7 +268,7 @@ class MediaPacketPump:
|
|
|
268
268
|
await self.clock.sleep(delay)
|
|
269
269
|
|
|
270
270
|
# Emit
|
|
271
|
-
rtp_channel.
|
|
271
|
+
rtp_channel.write(bytes(packet))
|
|
272
272
|
logger.debug(
|
|
273
273
|
f'{color(">>> sending RTP packet:", "green")} {packet}'
|
|
274
274
|
)
|
|
@@ -1519,7 +1519,7 @@ class Protocol(utils.EventEmitter):
|
|
|
1519
1519
|
header = bytes([first_header_byte])
|
|
1520
1520
|
|
|
1521
1521
|
# Send one packet
|
|
1522
|
-
self.l2cap_channel.
|
|
1522
|
+
self.l2cap_channel.write(header + payload[:max_fragment_size])
|
|
1523
1523
|
|
|
1524
1524
|
# Prepare for the next packet
|
|
1525
1525
|
payload = payload[max_fragment_size:]
|
|
@@ -1829,7 +1829,7 @@ class Stream:
|
|
|
1829
1829
|
|
|
1830
1830
|
def send_media_packet(self, packet: MediaPacket) -> None:
|
|
1831
1831
|
assert self.rtp_channel
|
|
1832
|
-
self.rtp_channel.
|
|
1832
|
+
self.rtp_channel.write(bytes(packet))
|
|
1833
1833
|
|
|
1834
1834
|
async def configure(self) -> None:
|
|
1835
1835
|
if self.state != State.IDLE:
|