mirror of
https://github.com/kawasaki/pyscrlink.git
synced 2026-01-06 03:30:13 +01:00
LEGO Boost communicates with a Scratch extension through Scratch-link. It was reported that bluepy-scratch-link fails to connect to LEGO Boost. LEGO Boost advertises adtype 0x7 "Complete List of 128-bit Service Class UUIDs". However, bluepy-scratch-link checks only adtype 0x3 "Complete List of 16-bit Service Class UUIDs" which is valid for micro:bit. To allow bluepy-scratch-link, check both adtypes 0x7 and 0x3. Introduce constants to note those two adtype values. Signed-off-by: Shin'ichiro Kawasaki <kawasaki@juno.dti.ne.jp>
14 KiB
Executable File
14 KiB
Executable File