Define WITH_AVS_COAP_OBSERVE_CANCEL_ON_TIMEOUT
Defined in File avs_coap_config.h
Define Documentation
-
WITH_AVS_COAP_OBSERVE_CANCEL_ON_TIMEOUT
Turn on cancelling observation on a timeout.
Only meaningful if
WITH_AVS_COAP_OBSERVEis enabled.NOTE: LwM2M specification requires LwM2M server to send Cancel Observation request. Meanwhile CoAP RFC 7641 states that timeout on notification should cancel it. This setting is to enable both of these behaviors with default focused on keeping observations in case of bad connectivity.