def btaddrtochars(addr):
if not _lightbluecommon._isbtaddr(addr):<EOL><INDENT>raise TypeError("<STR_LIT>" % str(addr))<EOL><DEDENT>if addr.find("<STR_LIT::>") == -<NUM_LIT:1>:<EOL><INDENT>addr = addr.replace("<STR_LIT:->", "<STR_LIT::>")   <EOL><DEDENT>import binascii<EOL>chars = [ord(binascii.unhexlify(part)) for part in addr.split("<STR_LIT::>")]<EOL>return tuple(chars)<EOL>
Takes a bluetooth address and returns a tuple with the corresponding
char values. This can then be used to construct a
IOBluetoothDevice object, providing the signature of the withAddress:
selector has been set (as in _setpyobjcsignatures() in this module).

For example:
    >>> chars = btaddrtochars("00:0e:0a:00:a2:00")
    >>> chars
    (0, 14, 10, 0, 162, 0)
    >>> device = _IOBluetooth.IOBluetoothDevice.withAddress_(chars)
    >>> type(device)
    <objective-c class IOBluetoothDevice at 0xa4024988>
    >>> device.getAddressString()
    u'00-0e-0a-00-a2-00'