@BTSERVICEOTHERCLASSID is a TCC function that returns a list of other class IDs used by the Bluetooth service whose index is n.
@BTSERVICEOTHERCLASSID[n] : Returns a list of other class IDs used by the Bluetooth service whose index is n. (Indexes range from 0 to _btdevicecount.)
Example:
echo %@btserviceotherclassid[0]