On Fri, Aug 2, 2019 at 6:58 AM Gerhard Sittig <gerhard.sit...@gmx.net>
wrote:

> > sr: serial-libsp: Attempt to open serial port with invalid parameters.
>
> This strongly suggests that you lack support for serial
> communication over Bluetooth.  Most probably due to not providing
> the optional dependencies which enable this feature.
>

Well, I did try to enable all the serial switches in libsigrok and
libserialport.


> To eliminate some potential local issue in your setup:  Does the
> AppImage work for you?  See the sigrok.org Download area.  If it
> does, do check how your local setup differs from mainline build.
>

It works! (with Debian 10 buster):
$ ./sigrok-cli-NIGHTLY-x86_64.AppImage -d
eevblog-121gw:conn=bt/ble122/88-6B-0F-81-E1-1F --scan
The following devices were found:
eevblog-121gw - EEVblog 121GW with 3 channels: main sub bar

However PulseView-NIGHTLY-x86_64.AppImage didn't show anything but I guess
I should fix the other problems first.

So the problem is within libsigrok?
This check seems I have enabled the serial:

$ grep SERIAL libsigrok/config.h
#define CONF_LIBSERIALPORT_VERSION "0.1.1"
#define HAVE_HW_SERIAL_DMM 1
#define HAVE_HW_SERIAL_LCR 1
#define HAVE_LIBSERIALPORT 1
#define HAVE_SERIAL_COMM 1

Here is a check of the difference:

$ diff <(./sigrok-cli --version) <(./sigrok-cli-NIGHTLY-x86_64.AppImage
--version)
4c4
< - libsigrok 0.6.0-git-80d34975/4:0:0 (rt: 0.6.0-git-4d8338bb/4:0:0).
---
> - libsigrok 0.6.0-git-6c6dd73/4:0:0 (rt: 0.6.0-git-6c6dd73/4:0:0).
6,7c6,7
<   - glib 2.58.3 (rt: 2.58.3/5803:3)
<   - libzip 1.5.1
---
>   - glib 2.40.2 (rt: 2.58.3/5803:3)
>   - libzip 0.10.1
9,10c9,13
<   - libusb-1.0 1.0.22.11312 API 0x01000106
<   - Host: x86_64-pc-linux-gnu, little-endian.
---
>   - libusb-1.0 1.0.22.11312 API 0x01000102
>   - hidapi 0.8.0-rc1
>   - bluez 4.101
>   - libftdi 1.2
>   - Host: x86_64-unknown-linux-gnu, little-endian.
12c15
< - libsigrokdecode 0.6.0-git-e64a972/4:0:0 (rt: 0.6.0-git-e64a972/4:0:0).
---
> - libsigrokdecode 0.6.0-git-dcf1b50/4:0:0 (rt: 0.6.0-git-dcf1b50/4:0:0).
14,16c17,19
<   - glib 2.58.3 (rt: 2.58.3/5803:3)
<   - Python 3.7.3 / 0x30703f0 (API 1013, ABI 3)
<   - Host: x86_64-pc-linux-gnu, little-endian.
---
>   - glib 2.40.2 (rt: 2.58.3/5803:3)
>   - Python 3.4.3 / 0x30403f0 (API 1013, ABI 3)
>   - Host: x86_64-unknown-linux-gnu, little-endian.

Is it "bluez" which is missing or where should I start?

best regards
_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to