RFCOMM without pairing using PyBluez on Debian?

后端 未结 1 1666
春和景丽
春和景丽 2020-11-30 05:04

I am trying to create an RFCOMM server process with Python that can be used without the need for pairing. Initially, I grabbed the two example scripts from the PyBluez docum

相关标签:
1条回答
  • 2020-11-30 05:40

    This turned out to be a problem with the Debian Squeeze bluez default configuration.

    If anyone else hits this problem, disable the pnat plugin by editing /etc/bluetooth/main.conf:

    DisablePlugins = pnat
    

    Then restart bluetoothd.

    $ sudo invoke-rc.d bluetooth restart
    

    No changes were required to the PyBluez code.

    0 讨论(0)
提交回复
热议问题