2023-09-15 09:32:26

by Ordit Gross

[permalink] [raw]
Subject: running gatt over classic server

hi,
I'm trying to run btgatt-server over bluetooth classic.
I've configured in mgmt: le off, connectable on, discoverable on.
./btgatt-server -r
I attempt to connect via ios bluetooth settings.
The test does not detect connection being done (even though hci show a
successful connection) and looking in hcidump I see discovery of gatt
and gap only and not of heart rate service.

I'm probably missing something very basic..
Can you please help?

** running the python test works well, namely heart-rate service is seen.
** using bluez v5.64

thanks in advance!


Attachments:
btmon_python_server.txt (5.88 kB)
btmon_btgatt-server.txt (3.97 kB)
Download all attachments

2023-09-22 11:46:51

by Ordit Gross

[permalink] [raw]
Subject: Re: running gatt over classic server

hi,
any chance someone can give me a hint?
thanks!


On Thu, Sep 14, 2023 at 8:13 PM Ordit Gross <[email protected]> wrote:
>
> hi,
> I'm trying to run btgatt-server over bluetooth classic.
> I've configured in mgmt: le off, connectable on, discoverable on.
> ./btgatt-server -r
> I attempt to connect via ios bluetooth settings.
> The test does not detect connection being done (even though hci show a
> successful connection) and looking in hcidump I see discovery of gatt
> and gap only and not of heart rate service.
>
> I'm probably missing something very basic..
> Can you please help?
>
> ** running the python test works well, namely heart-rate service is seen.
> ** using bluez v5.64
>
> thanks in advance!