Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #50737

Re: Bluetooth Sockets

From Christian Heimes <christian@python.org>
Subject Re: Bluetooth Sockets
Date 2013-07-16 12:08 +0200
References <CA+m2rdx-jHU5Z_hcT60ShFAvPfOsKJvoXuwkW5rqm403ZDNY2w@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.4766.1373969351.3114.python-list@python.org> (permalink)

Show all headers | View raw


Am 13.07.2013 10:53, schrieb Simfake Fake:
> Hi. I'm trying to connect to a bluetooth serial adaptor using python
> 3.x. However, in python 3.3.2 win x32, I get "AttributeError: module has
> no attribute AF_..." when trying to use socket.AF_BLUETOOTH, despite the
> docs http://docs.python.org/3.3/library/socket.html . The code I have is
> very similar to that
> found http://kevindoran1.blogspot.com.au/2013/04/bluetooth-programming-with-python-3.html
> I need to use python 3.x, as this is eventually going to run within
> Blender.. It's going to run within blender so I can use blender to
> visualize and solve inverse-kinematic stuff for a robot arm.

AF_BLUETOOTH is only available on Linux and some BSD variants. Windows
has different bluetooth stacks.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Bluetooth Sockets Christian Heimes <christian@python.org> - 2013-07-16 12:08 +0200

csiph-web