Anjay icon indicating copy to clipboard operation
Anjay copied to clipboard

Question about anjay_get_server_last_registration_time function

Open igortomiatti opened this issue 1 year ago • 1 comments

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.

igortomiatti avatar Apr 12 '24 16:04 igortomiatti

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

Kucmasz avatar Apr 23 '24 09:04 Kucmasz