Re: Missing manual? - GAP Central connecting to multiple peripherals.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jul 05, 2019 at 08:29:16AM +0100, Barry Byford wrote:
> Hello John,
> 
> There are various Python examples available in the tree under the test
> directory:
> https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/test
> 
> There are a number of Python libraries that have been implemented to
> help with what you are looking to do.
> There is a list of some of them at:
> https://github.com/ukBaz/python-bluezero/wiki
> 
> I hope that helps.
> 
> Regards,
> Barry
>

Thanks a million Barry, yes a great help.

I have used bluepy library to interface to the BTLE Devices but that has
proved unreliable at best. I'm not sure where the problems lie but basically
sometimes to connect I have to disconnect the USB BT Dongle and re-insert it
to get BlurTooth to work. I can scan and find the devices I'm looking for but
as soon as a connection is attempted I just get a null return from the
connection function. At present that means that bluetooth is not ready for
production on the linux device we're using. I'll try get the device into that
state and try connect with command line tools, just in case it gives some
indicaiton of what the problem actually is. At present there's no indication.

I'm sort of hoping that this is an issue with bluepy and I'll move to another
interface and see if that makes this any more reliable. It's for an LE sensor
for IoT in a production line, so unreliable is worst then useless.

Thanks again for your help

John



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux