Skip to content

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

@michaelboeding

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

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