Several Bluetooth LE utilities (blepair,blegatt)
require providing bluetooth device as a parameter.
You can specify either:
Bluetooth address (BD_ADDR). It's unique, but hard to remember and type.
Friendly name. It may be not unique. An additional time is required to lookup the device by it's friendly name.
Bluetooth device alias. It is convenient and fast as Bluetooth Address.
Bluetooth device aliases are stored in the file named "bt_aliases.txt" in the current (working) directory.
This file is a simple text file that associates Bluetooth Addresses with aliases, one line per Bluetooth Address.
For each device a single line should be present with the following information:
BD_ADDR alias [optional comments...]
Fields are separated by any number of blanks and/or tab characters. Lines starting with a "#" are comments and are ignored.
# Example bt_aliases.txt file
# Sensor tags
# Other devices