8000 Fix interval type in STATE_REG_HOLD_OFF for overdue registrations by ashishmac7 · Pull Request #865 · eclipse-wakaama/wakaama · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix interval type in STATE_REG_HOLD_OFF for overdue registrations #865

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ashishmac7
Copy link
Contributor

Updated interval type from time_t to int32_t in registration.c to correctly handle negative differences when currentTime exceeds targetP->registration. This fixes a bug where unsigned time_t caused large positive intervals, delaying registrations. The change ensures compliance with LwM2M registration timing requirements.

Updated `interval` type from `time_t` to `int32_t` in registration.c
to correctly handle negative differences when currentTime exceeds
targetP->registration. This fixes a bug where unsigned `time_t`
caused large positive intervals, delaying registrations.
The change ensures compliance with LwM2M registration timing requirements.

Signed-off-by: CMT-Ashish <ashish.macwan@comminent.com>
Signed-off-by: ashishmac7 <ashishmac777@gmail.com>
@ashishmac7 ashishmac7 force-pushed the fix/registration-interval-type branch from 19a4d15 to 2dcff10 Compare May 6, 2025 11:38
Copy link
sonarqubecloud bot commented May 6, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0