Skip to content

Services not staying in advertisements for extended period after upgrading from 1.4.0 #389

Description

@michaelboeding

Services not staying in advertisements for extended period after upgrading from 1.4.0

Environment

  • Chip: ESP32S3
  • ESP-IDF Version:
  • NimBLE Version: (upgraded FROM 1.4.0 TO Latest)
  • Power Management: DFS enabled, Auto light sleep enabled

Description

After upgrading from NimBLE 1.4.0, BLE service advertisements stop appearing to scanners after running for an extended period. The issue does NOT occur on version 1.4.0 with the same configuration.

Configuration

  • DFS: Enabled
  • Auto light sleep: Enabled
  • External 32kHz crystal: Yes/No

Expected Behavior

Services remain continuously visible in advertisements (as they do in 1.4.0)

Actual Behavior

  • Advertisements work normally at startup
  • After extended runtime, services disappear from scans
  • Did NOT happen in version 1.4.0

Questions

  • Are there known changes between 1.4.0 and current version affecting advertising with light sleep?
  • Should advertising be manually restarted after sleep cycles?
  • Any recommended workarounds while maintaining light sleep?

Notes

Is this a regression from 1.4.0 - same code and power settings worked fine on that version. Or a change in how the 2.0 works?

Image
Image

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