Skip to content

Set CoAP client RX timeout at runtime #825

@cdwilson

Description

@cdwilson

Describe the feature

It's currently possible to set the CoAP client RX timeout via the Kconfig CONFIG_GOLIOTH_COAP_CLIENT_RX_TIMEOUT_SEC.

Would it be possible to allow this timeout to be set at runtime as well?

The use case I had in mind: usually this value is set larger than the device's reporting interval (to avoid the client trying to restart the connection before the device sends data). However, if the reporting interval on the device is configurable at runtime, I don't think it's currently possible to update this timeout on the fly when the reporting interval changes.

Existing feature reference

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions