Enum anjay_queue_mode_preference_t
Defined in File core.h
Enum Documentation
-
enum anjay_queue_mode_preference_t
Values:
-
enumerator ANJAY_FORCE_QUEUE_MODE
Force Queue Mode: Anjay will always register with LwM2M Servers with Queue Mode enabled, even if LwM2M 1.0 is used and server-configured Binding Mode does not contain the “Q” letter.
Use of this setting breaks strict LwM2M 1.0 compliance, but makes sure that all idle connections will be suspended.
-
enumerator ANJAY_PREFER_QUEUE_MODE
Prefer Queue Mode: Anjay will register with LwM2M Servers with Queue Mode enabled if LwM2M 1.1 is used. For LwM2M 1.0 registrations, the server-configured Binding Mode will be respected.
-
enumerator ANJAY_PREFER_ONLINE_MODE
Prefer Online Mode: Anjay will use Queue Mode only when the server-configured Binding Mode contains the “Q” letter - either in compliance with LwM2M 1.0, or as a custom extension to LwM2M 1.1.
This is the default setting.
-
enumerator ANJAY_FORCE_ONLINE_MODE
Force Online Mode: Anjay will always register with LwM2M Server with Queue Mode disabled, even if LwM2M 1.0 is used and server-configured Binding Mode contains the “Q” letter.
Use of this setting breaks strict LwM2M 1.0 compliance, but makes sure that all server connections are kept in connected state even when idle.
-
enumerator ANJAY_FORCE_QUEUE_MODE