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

Question about anjay_get_server_last_registration_time function #73

Open
igortomiatti opened this issue Apr 12, 2024 · 1 comment
Open

Comments

@igortomiatti
Copy link

Hello,

From what I understood in the API documentation, the anjay_get_server_last_registration_time function was to return the date that was registered on the server.

But every time an update occurs, this date is updated in the function: _anjay_server_on_updated_registration

This function should return the date the registration was made for the first time or for each update?

Best regards,
Igor.

@Kucmasz
Copy link
Contributor

Kucmasz commented Apr 23, 2024

Hi!
As you have pointed it out, the documentation might be misleading, but this function's intention is indeed to return the last time that either Register or Register Update message was sent and got a positive response.
Does you app need to know the time where precisely a Register message was actually sent?
Regards,
Tomasz

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

No branches or pull requests

2 participants