Closed anicare-tero closed 1 year ago
Thank you for submitting this issue! For my background, could you tell me a little bit about the length of the timeouts you would enable and the watchdog period you have configured?
I have 3 minutes on watchdog timeout and I would like to set 2 minute timeouts for SO_SNDTIMEO and SO_RCVTIMEO.
Just wanted to leave a quick update, this work is in progress! Thanks!
@anicare-tero Apologies for the delay, but we shipped this in 1.1.3 on 2023-08-08. Please give it a try and feel free to open an issue for any further improvements. Thanks!
Hi,
I'm using nRF9160 on nRF Connect SDK version 2.3.0. We have had some problems with Memfault cloud where the connecting or data sending is taking too much time and the watchdog kicks in and reboots the device.
Could the
connect()
function be separated from theprv_configure_socket()
function? So when the socket would be opened first by callingmemfault_zephyr_port_http_open_socket()
, then I would be able to setup socket timeouts and then call the new functionmemfault_zephyr_port_http_connect()
.I have some kind of proposal about this:
ports/zephyr/common/memfault_platform_http.c
I think this would require some other code changes too but this would be really nice to have.