How are you using finddevices() in your code? Do you have some code that I can use to reproduce this bug?
The 'length' argument is meant to provide a timeout value, but there were some problems...
Type: Posts; User: buzz111; Keyword(s):
How are you using finddevices() in your code? Do you have some code that I can use to reproduce this bug?
The 'length' argument is meant to provide a timeout value, but there were some problems...
Hey, thanks for checking it works :)
Hi,
I've released a 0.2.2 version of LightBlue, a cross-platform Bluetooth api for Mac OS X, Linux and Python for Series 60. The new version properly fixes the PyS60 3rd Edition builds which were...
findservices() calls socket.bt_obex_discover() internally, so that must be the cause of the crash. It'd be good to know why bt_obex_discover() crashes -- could you file a bug for this for PyS60?
Hi,
I've got a working 3rd edition build now, and I'll make some other changes and do a release in a month or so. If you're keen, email me and I can send you the current working build.
The zip package just provides the source code for the library. If you want to use the library in the emulator, you need to make your own build of the library; it won't work if you just copy the...
It sounds like you are asking about Bluetooth and RFCOMM in general, and not specifically about lightblue, if I understand this correctly. The socket objects in lightblue just send whatever data you...
:(
Thanks anyway...
Hm, it looks like the gethostaddr() implementation doesn't work on newer versions of Symbian, since I haven't done a #define that I should have. And gethostclass() might not work either. Could you...
Argh, this is so frustrating.
Ok, so "KERN-EXEC 3" apparently might have something to do with null pointers ... I don't know why there'd be a problem now - the cpp extension files haven't changed...
Thanks LFD!
I've put up:
- a new .sisx for 3rd Edition and
- an unsigned .sis with the free dev cert capabilities
as part of a 0.2.1 release on the sourceforge files page at...
Just to check: is it true that the imp.load_dynamic() call is no longer necessary for the latest versions of PyS60? And extensions will automatically be loaded -- even if they are not installed on...
Haha... because Windows is such a pain for bluetooth development :)
Still, it'd be great to support it in some future version of lightblue. It'd be a while off though ... but thanks for your...
Great, thanks for the tips lfd, I'll give it a go.
Hi cyke64,
Thanks a lot for pointing that out.
I'll put the "!" in to allow the package to be installed elsewhere. And fix the c:\sys\bin install. Hmm, can that be "!:\sys\bin" instead?...
Hi,
It's pretty much just how sockets in Python for Series 60 work. To connect a RFCOMM socket, just do something like this:
addr = "00:12:34:ab:cd:ef"
port = 1
import lightblue
s =...
I'm not sure exactly what you mean, so maybe you could explain your problem in a bit more detail. When you say "announce", do you mean the bit about advertising the service? If you need to advertise...
Hi, yes I plan to have it available in the next couple of weeks.
Thanks! :)
> For splitclass return values look at
> http://www.bluetooth.org/assigned-numbers/baseband.htm instead
> given site (need a paying registration
Darn - must have changed since I...
Hi,
I've been working on a cross-platform Python Bluetooth library named LightBlue, and I'm very pleased to say version 0.1 is now available on the sourceforge page at
...
Hi,
As far as I can tell, calling bt_advertise_service() with a 'False' flag should stop advertising a service. But if I run the snippet below, it will start advertising the service, but the...
I'm looking to distribute a small library (4 files in the package) to my phone. Obviously I could do this by manually making a new folder for the package on the phone, and manually transferring each...
No - didn't get it working, but I don't think it's actually supposed to work.
There are no problems with getting the phone to connect to the PC running pyserial, but I can't get the PC with...
Hi,
Could anyone clarify on how to connect to the phone over RFCOMM using python? I'm sure this is meant to be easy but for some reason my python code on the phone does not receive the connection...