Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Unable to get correct MaxIntervalCeiling in OnSubscriptionRequested for ICD #35991

Closed
fuxiaoming-lumi opened this issue Oct 9, 2024 · 3 comments · Fixed by #36021
Closed
Assignees
Labels
bug Something isn't working icd Intermittently Connected Devices needs triage

Comments

@fuxiaoming-lumi
Copy link
Contributor

fuxiaoming-lumi commented Oct 9, 2024

Reproduction steps

When using ReadHandler::ApplicationCallback to implement a custom strategy, you will not be able to get the MaxIntervalCeiling in OnSubscriptionRequested for ICD devices.

We only have GetReportingIntervals API and it get mMaxInterval but is overridden.

ReturnErrorOnFailure(subscribeRequestParser.GetMaxIntervalCeilingSeconds(&mMaxInterval));
mMaxInterval = static_cast<uint16_t>(decidedMaxInterval);

Bug prevalence

100%

GitHub hash of the SDK that was being used

5224cec

Platform

core

Platform Version(s)

No response

Anything else?

No response

@fuxiaoming-lumi fuxiaoming-lumi added bug Something isn't working needs triage labels Oct 9, 2024
@bzbarsky-apple
Copy link
Contributor

@lpbeliveau-silabs

@bzbarsky-apple bzbarsky-apple added the icd Intermittently Connected Devices label Oct 9, 2024
@lpbeliveau-silabs lpbeliveau-silabs self-assigned this Oct 9, 2024
@fuxiaoming-lumi
Copy link
Contributor Author

@fuxiaoming-lumi
Copy link
Contributor Author

@yunhanw-google @mkardous-silabs @andy31415 I think we also need cherry-pick this commit to v1.4-branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working icd Intermittently Connected Devices needs triage
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants