Define WITH_AVS_COAP_OBSERVE_CANCEL_ON_TIMEOUT

Define Documentation

WITH_AVS_COAP_OBSERVE_CANCEL_ON_TIMEOUT

Turn on cancelling observation on a timeout.

Only meaningful if WITH_AVS_COAP_OBSERVE is 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.