Copyright © https://mongoose-os.com

Mongoose OS Forum

frame
ATTENTION! This forum has moved to:

https://community.mongoose-os.com

Do not post any new messages.

mgos_ota_http_start ignores options

Hi,

i am using the mgos_ota_http_client library (2.11.0) and i am invoking an ota like this:

char* url="http://some.url/path/to/bin"
struct mgos_ota_opts opts = {
.timeout = 60,
.commit_timeout = 30,
.ignore_same_version = true,
};
mgos_ota_http_start(url, &opts);

While the ota works fine, it seems that my option struct is ignored completely

On ota start, log outputs:
updater_context_crea starting, timeout 1000
also commit_timeout does not trigger after an update (i have the paid licence)

Sign In or Register to comment.