def _getdevicetuple(iobtdevice):
addr = _macutil.formatdevaddr(iobtdevice.getAddressString())<EOL>name = iobtdevice.getName()<EOL>cod = iobtdevice.getClassOfDevice()<EOL>return (addr, name, cod)<EOL>
Returns an (addr, name, COD) device tuple from a IOBluetoothDevice object.