Skip to content

client panics when attempting to discover services on connected server #176

Description

@fhgalano

After connecting to a server from a client, attempting to call client.get_service(...) causes the application to panic with

thread '<unnamed>' panicked at /{path-to-cargo-registry}/esp32-nimble-0.10.2/src/client/ble_client.rs:418:28:
null pointer dereference occurred

I can see in the logs of both the client and server that they are reporting a successful connection.

Steps to reproduce:

I have two ESP32C3-Devkit-M-1's - I ran the ble_server example on one and the ble_client example on the other. I also tested running the secure_ble_server / secure_ble_client examples with the same result.

I was also able to produce the same error by setting up a server through the nRf Connect app, and running the ble_client example on an ESP32C3.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions