Barry Byford

Results 87 comments of Barry Byford

Ah! Makes sense. I'll give that a try. @AhmedHussein534 , Do you have experience of using btvirt for doing automated testing?

@AhmedHussein534, I tried it as you suggested but still not working for me: ```unix pi@RPi3:~/bluez/bluez-5.43 $ sudo ./emulator/btvirt -l2 Bluetooth emulator ver 5.43 Failed to open Virtual HCI device ```...

Thanks @mr499. `--enable-testing` has the btvirt building now for 5.48. It is not required for 5.43. I've upgraded my system to 5.48 using the following config: ```unix ./configure --prefix=/usr --mandir=/usr/share/man...

A little more investigating on this and the issue seems to be on the Raspberry Pi 3 hardware.

Doing an `apt-cache search bluez` on a Raspberry Pi has revealed the following package: ```none bluez-test-tools - test tools of bluez ``` After installing with ```none sudo apt install bluez-test-tools...

Looking at the [latest specifications for GitHub-hosted runners](https://docs.github.com/en/free-pro-team@latest/actions/reference/specifications-for-github-hosted-runners) for GitHub Actions, it looks like `ubuntu-20.04` is that latest. On a local machine running `Ubuntu 20.04.1 LTS` there is no `bluez-test-tools`...

Built `btvirt` from source on Ubuntu. ```none wget http://www.kernel.org/pub/linux/bluetooth/bluez-5.54.tar.xz tar xf bluez-5.54.tar.xz ./configure --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc --localstatedir=/var --enable-experimental --enable-maintainer-mode --enable-testing make -j 4 ``` > Don't do an install unless...

Sorry, what is not working for you? Have you created a peripheral and you want it to be write-without-response? What flags have you set for the characteristic? Here is the...

From a Bluezero example: https://github.com/ukBaz/python-bluezero/blob/7cb8e8f019a3a045f074322a08deb1aa9af6ee67/examples/heartrate_monitor_peripheral.py#L183

Hmmm? I didn't think that is how it worked. I thought the responsibility for the response was at a deeper level than the application. The official BlueZ test example has...