mit-cml / appinventor-extensions

Source code of extensions published for MIT App Inventor
Apache License 2.0
87 stars 96 forks source link

Bluetooth 20240604-beta (2024-07-15) if left blank connects to anything #78

Open bobparks opened 2 months ago

bobparks commented 2 months ago

Describe the bug

if the ConnectMatchingName parameter is left blank, the method connects to any old available device in the vicinity. Not sure if this is a problem; we can always ask students to use a conditional to test for blank. (To see if this was really happening, I tried killing the app, reinstalling the app, resetting the phone.)

Affects

Connecting to Bluetooth

Expected behavior

Should throw an error if left blank.

Steps to reproduce

Connect to a Microbit with this example AIA.

@ewpatton