[Pythonmac-SIG] Bluetooth functionality?

Bob Ippolito bob at redivi.com
Wed Aug 25 17:08:53 CEST 2004


On Aug 25, 2004, at 10:54 AM, Nick Bastin wrote:

>
> On Aug 25, 2004, at 3:44 AM, Stefan Kirchberg wrote:
>
>> I'd like to access Bluetooth functions from Python but I just don't 
>> know how to start. There seems to be no such module, and 
>> documentation is also very scanty. Google found nothing either.
>>
>> I want to do a BT device discovery, ask a device for a list of 
>> provided services, pair a device, and finally use some service. Would 
>> be great to have an API similar to the Java JSR-82.
>
> AFAIK, there is no module.  You need to create a C extension module 
> and wrap the bluetooth C API, which should be reasonably easy.

Or you could use the IOBluetooth framework from PyObjC without writing 
any extension modules or C, which should be significantly easier.

-bob


More information about the Pythonmac-SIG mailing list