Return-Path: From: Marcel Holtmann To: BlueZ users In-Reply-To: References: Date: Thu, 28 Jun 2007 17:00:31 +0200 Message-Id: <1183042831.9499.27.camel@aeonflux.holtmann.net> Mime-Version: 1.0 Subject: Re: [Bluez-users] Service Discovery Issues Reply-To: BlueZ users List-Id: BlueZ users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Sender: bluez-users-bounces@lists.sourceforge.net Errors-To: bluez-users-bounces@lists.sourceforge.net Hi Robert, > >> try wrapping the handle with dbus.Uint32() to get the right type. > > I've tried wrapping that now so the line of code now looks like: > > print adapter.GetRemoteServiceRecordAsXML('00:17:B0:A0:E7:09', > dbus.Uint32(handle)) > > But I get a different error this time around: > > AttributeError: 'module' object has no attribute 'Uint32' I am not a Python guru, but you might simply start using the Python D-Bus documentation to find it out by yourself. Maybe it is dbus.UInt32. Regards Marcel ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users