Skip to content

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

@bobparks

Description

@bobparks

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

  • Designer
  • Blocks editor
  • [ x] Companion
  • Compiled apps
  • Buildserver
  • Debugging
  • Other... (please describe)

Expected behavior

Should throw an error if left blank.

Steps to reproduce

Connect to a Microbit with this example AIA.

@ewpatton

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions