Re: bluetoothctl: list-attributes doesn't list services from example-gatt-server

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

 



On Wed, 17 Jul 2019 at 11:26, Szymon Janc <szymon.janc@xxxxxxxxxxx> wrote:
> On Tuesday, 9 July 2019 14:14:07 CEST Rafał Miłecki wrote:
> > On 07.07.2019 12:14, Rafał Miłecki wrote:
> > > I decided to test GATT. On elitebook I started:
> > > ./test/example-gatt-server
> > > and waited to let matebook refresh all info.
> > >
> > > After that I got:
> > >
> > > [elitebook]# info 20:16:B9:D8:A9:3B
> > > Device 20:16:B9:D8:A9:3B (public)
> > >
> > >          Name: elitebook
> > >          Alias: elitebook
> > >          Class: 0x001c010c
> > >          Icon: computer
> > >          Paired: yes
> > >          Trusted: yes
> > >          Blocked: no
> > >          Connected: yes
> > >          LegacyPairing: no
> > >          UUID: IrMC Sync
> > >  (00001104-0000-1000-8000-00805f9b34fb) UUID: OBEX Object Push
> > >  (00001105-0000-1000-8000-00805f9b34fb) UUID: OBEX File Transfer
> > >  (00001106-0000-1000-8000-00805f9b34fb) UUID: Headset
> > >  (00001108-0000-1000-8000-00805f9b34fb) UUID: Audio Source
> > >  (0000110a-0000-1000-8000-00805f9b34fb) UUID: Audio Sink
> > >  (0000110b-0000-1000-8000-00805f9b34fb) UUID: A/V Remote Control Target
> > >  (0000110c-0000-1000-8000-00805f9b34fb) UUID: A/V Remote Control
> > >  (0000110e-0000-1000-8000-00805f9b34fb) UUID: Headset AG
> > >  (00001112-0000-1000-8000-00805f9b34fb) UUID: Phonebook Access Server
> > >  (0000112f-0000-1000-8000-00805f9b34fb) UUID: Message Access Server
> > >  (00001132-0000-1000-8000-00805f9b34fb) UUID: Message Notification Se..
> > >  (00001133-0000-1000-8000-00805f9b34fb) UUID: PnP Information
> > >  (00001200-0000-1000-8000-00805f9b34fb) UUID: Heart Rate
> > >  (0000180d-0000-1000-8000-00805f9b34fb) UUID: Battery Service
> > >  (0000180f-0000-1000-8000-00805f9b34fb) UUID: Vendor specific
> > >  (00005005-0000-1000-8000-0002ee000001) UUID: Vendor specific
> > >  (12345678-1234-5678-1234-56789abcdef0) Modalias: usb:v1D6Bp0246d0532
> > >
> > > That seems all correct for now. Test example-gatt-server registers
> > > Heart Rate, Battery & Test services. All of them appeared as expected.
> > >
> > > My problem is that I can't list GATT attributes. I don't any output.
> > > Is there anything I'm doing incorrectly?
> >
> > I decided to test nRF Connect Android app. It showed something
> > interesting about my bluetooth devices. It nicely displays & parses
> > advertising data.
> >
> > Logitech M590 advertises:
> > 0x01 Flags
> > 0x03 Complete List of 16-bit Service Class UUIDs
> > 0x09 Complete Local Name
> > 0x0A Tx Power Level
> > 0x19 Appearance
> >
> > BlueZ on "elitebook" advertises:
> > 0xFF Manufacturer Specific Data
> > or to say precisely:
> > 0x1BFF750042040180AE78BDBC0B7E307ABDBC0B7E2F01000000000000
> >
> > Any idea/hint why BlueZ 5.30 on my "elitebook" notebook doesn't
> > advertise more data?
>
> Just to be sure, are you using 5.30? If so, update to 5.50..

Sorry for that typo, that was meant to be 5.50.

-- 
Rafał




[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