sensboston / BLEConsole

Bluetooth Low Energy device console app
https://sensboston.github.io/BLEConsole
MIT License
196 stars 73 forks source link

example to find and connect a device automatic #4

Closed borgelite closed 4 years ago

borgelite commented 5 years ago

Can you tell me an example to find a specific device and automaticly connecting to it in a foreach loop ?

THX for your great work.

sensboston commented 4 years ago

Built-in foreach iterator has parameter as device name mask: for example, you may use (inscript) foreach myble (this will iterate over all BLE devices with names started from myble)