[Twisted-Python] Bluetooth reactor interface

Nadav Aharony nadav at MIT.EDU
Thu Aug 7 20:01:41 MDT 2008


Jean-Paul Calderone wrote:
> On Wed, 06 Aug 2008 15:53:33 -0400, Nadav Aharony <nadav at mit.edu> wrote:
>> (forwarding for Daniel who had some list posting trouble)
>>
>> Hi all-
>> I'd like to use Twisted to manage bluetooth communication. I haven't
>> found any existing method for doing this, so I'd like to write and
>> implement a new reactor interface (on par with TCP/UDP) that wraps the
>> lightblue library. What's the right way to go about extending Twisted in
>> this way?
>
> A lot of reactors implement `IReactorFDSet´:
>
>  http://twistedmatrix.com/documents/current/api/twisted.internet.interfaces.IReactorFDSet.html 
>
>
> If you don't mind that some reactors don't implement this, you can
> use it to implement bluetooth support.
>
> Jean-Paul
>
> _________
Thanks! Will look into it (hopefully will be able to understand how to 
use it on our own)






More information about the Twisted-Python mailing list