Skip to content

[sturgeon] BLE client mode doesn't discover services on some devices #279

Open
@A-Emile

Description

@A-Emile

Describe the bug
I am building an app to connect and lock/unlock my escooter via BLE. The Problem is, that after connecting to the scooter the services arnt getting discovered. I have tested other ble devices and the services are getting discovered succefully. nrf connect on my phone is discovering the services correctly.
I am using the simpleble library in cpp.
After connecting the size of services is 0 and mtu size is somehow also 0.
in bluetoothctl the UART services is being listed with the info command but in the gatt menu the list-attributes command also shows nothing.
Note that it only happens when connecting to the scooter iot. I have tested connecting to other devices like an esp32 with ble uart service and it worked..

Any Ideas how to fix that would be greatly appreciated

To reproduce
Steps to reproduce the behavior:

  1. get ssh shell
  2. bluetoothctl
  3. scan on
  4. connect <mac address>
  5. info (it shows the uart service (sometimes))
  6. menu gatt
  7. list-attributes (returns nothing)

Expected behavior
list-attributes should show me the services and characteristics of the connected device.

Device (please complete the following information):

  • Watch Codename: sturgeon
  • Version 1.1-nightly

Additional context
btmon log: https://gist.github.com/A-Emile/7d09cea00146529ec96f9d175d55c57a#file-btmon-txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions