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

Is Queue mode supported by Wakaama ? #697

Open
MilanVrabel opened this issue Apr 24, 2023 · 0 comments
Open

Is Queue mode supported by Wakaama ? #697

MilanVrabel opened this issue Apr 24, 2023 · 0 comments

Comments

@MilanVrabel
Copy link

MilanVrabel commented Apr 24, 2023

Hello,

I would like to ask you about support of queue mode in current implementation of Wakaama. Is it currently supported?
I see that there is a mention about UQ mode in the implementation.

We have a following situation:
Let's say that after the COAP_MAX_TRANSMIT_TIME (93s) from the last ACK message sent from client to the server, we want to switch the client into SLEEP mode (SSL connection should be cancelled, registration persist).

Every request that the server sends to the client should be queued because the client is offline.

After some time, the client should be awaken to re-establish the connection with server (most probably the client will be awaken a few seconds before the registration/update).

There are two possible ways:

  1. The client should perform full DTLS handshake for establish the connection.
  2. The client should use session resumption for establishing the connection. (improvement in TLS handshake, quicker way)

After re-establishment of connection, the client should receive every request from server that was previously queued during the time when the client was in SLEEP mode.
queue-mode

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

1 participant