Re: lescan stops after 10-15 minutes (bluez 5.48)

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

 



Hi Symon,

This started because some Node-Red detect BLE devices but after a few
minutes they stop getting input. Then started to diagnose BLE with
hcitools and the outcome was the same so started to believe a kernel
or controller issue.

If there is an example of how this API works i'll be charmed to test it.

Thanks!


On Mon, Jan 29, 2018 at 6:16 AM, Szymon Janc <szymon.janc@xxxxxxxxxxx> wrote:
> Hi Gabriel,
>
> On Sunday, 28 January 2018 20:22:47 CET Gabriel A. Zorrilla wrote:
>> Hello there. I'm really desperate here. I'm trying to work with BLE in
>> my Pi3. When i do:
>>
>> sudo hcitools lescan (with or without -duplicates) the Pi scans
>> normally then stops after about 10-15 minutes.
>>
>> Here I made some btmon dumps:
>> without duplicates: http://termbin.com/ox3z
>> with duplicates: http://termbin.com/6nnn
>>
>> * Pi3
>> * Raspbian with 4.9.66-v7+ kernel.
>> * Embedded bluetooth.
>> * Compilled bluez 5.48
>>
>> Don't know what extra info you would need to diagnose this. Perhaps
>> it's a common bug in the Pi3 Raspbian distro, but cant find
>> information about this on the web. Been googling for a week.
>>
>> I really want to make this work, so dont hesitate in asking me some
>> tests and such.
>>
>> Thanks and regards,
>
> You don't want to mix using HCI directly and bluetoothd. Bluetoothd will
> interfere with you accessing controller and this is most likely what you are
> seeing.
>
> Is there a reason for you to use hcitool lescan instead of D-Bus APIs?
>
> --
> pozdrawiam
> Szymon Janc
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



-- 
Gabriel A. Zorrilla
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[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