Bluetooth Low Energy device console app
Windows command-line tool for interacting with Bluetooth LE devices
Windows 10, BT 4.0 adapter
endif : end conditional block
* you can also use standard C language string formating characters like \t, \n etc.
BLEConsole.exe < cmd.txt, where is cmd.txt is a simple text file with content:
foreach if open $ read #0/#0 close endif endfor