Scott Shawcroft
5ec195b5ef
Remove PacketBuffer.packet_size
...
Fixes #2853
2021-04-08 13:29:26 -07:00
microDev
a52eb88031
run code formatting script
2021-03-15 19:27:36 +05:30
Scott Shawcroft
9fcf96cb64
Replace _bleio.ConnectionError with the native version
...
Replace uses of _bleio.ConnectionError with regular ConnectionError
Fixes #3008
2020-10-07 17:11:32 -07:00
Taku Fukada
d356581651
Fix several type hints
2020-07-27 18:05:13 +09:00
dherrada
d0d949cd24
Made every init return None
2020-07-03 14:23:34 -04:00
dherrada
3df03a5650
Made most of the requested changes
2020-07-03 13:49:00 -04:00
dherrada
9b4ffc0571
Changed unions to ReadableBuffer and WriteableBuffer
2020-07-02 17:47:52 -04:00
dherrada
26f1fd0071
Added type hints to _bleio
2020-07-02 14:11:25 -04:00
Scott Shawcroft
4e8de3c554
Swap sphinx to autoapi and the inline stubs
2020-05-12 17:28:24 -07:00
dherrada
c534a872a2
Merge branch 'master' into master
2020-05-12 12:26:02 -04:00
Dan Halbert
e1366d78b1
trivial change to force rebuild
2020-05-04 23:05:47 -04:00
Dan Halbert
b7836aeac6
address review comments
2020-05-04 19:51:08 -04:00
Dan Halbert
d6c6f9f4f0
add PacketBuffer .incoming_ and .outgoing_packet_length
2020-05-04 15:59:45 -04:00
dherrada
0e465e63b9
Did audiopwmio, bitbangio, and _bleio
2020-05-01 18:23:27 -04:00
Dan Halbert
46298ddcb4
PacketBuffer doc fixes
2020-04-30 00:36:01 -04:00
Dan Halbert
3d62f87e29
back to '.packet_size' for compatiblity
2020-04-29 22:10:56 -04:00
Dan Halbert
84cee1ab8d
rename and improve PacketBuffer packet length property
2020-04-29 17:49:31 -04:00
Scott Shawcroft
8a5d3cd6c4
Add exception on small buffer and fix Connecion WRITE handling
2020-03-25 17:41:47 -07:00
Dan Halbert
e21580b67f
PacketBuffer.packet_size was returning bool instead of int
2020-01-27 17:10:56 -05:00
Scott Shawcroft
82fb761c0f
Add PacketBuffer and MTU negotiation support.
...
PacketBuffer facilitates packet oriented BLE protocols such as BLE
MIDI and the Apple Media Service.
This also adds PHY, MTU and connection event extension negotiation
to speed up data transfer when possible.
2020-01-03 17:29:54 -08:00