smart-mirror-full/extracted/device/script/src/agt/ble/adapter.py [146:156]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    @staticmethod
    def get_address():
        """
        Gets the BD Address of the host

        :return: Host BD Address
        """
        p = _hciconfig(['hci0'])
        bdaddr = p.stdout.decode('utf-8').split('BD Address: ')[1].split(' ')[0]
        bdaddr = bdaddr.replace(':', '').strip()
        return bdaddr
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



smart-mirror-full/extracted/device/script/src/agt/bt_classic/adapter.py [89:99]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    @staticmethod
    def get_address():
        """
        Gets the BD Address of the host

        :return: Host BD Address
        """
        p = _hciconfig(['hci0'])
        bdaddr = p.stdout.decode('utf-8').split('BD Address: ')[1].split(' ')[0]
        bdaddr = bdaddr.replace(':', '').strip()
        return bdaddr
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



