extern void bsd_recoverable_error_handler(uint32_t error)
AND
extern void bsd_irrecoverable_error_handler(uint32_t error);
Will return various error codes - is there a list to decipher what they mean? Especially error code 3 seems frequent...
extern void bsd_recoverable_error_handler(uint32_t error)
AND
extern void bsd_irrecoverable_error_handler(uint32_t error);
Will return various error codes - is there a list to decipher what they mean? Especially error code 3 seems frequent...
Haakon
Not sure if I am able to follow your suggestion. What I see is that when I try to recover from error 3 - then the SDK seems locked in an endless loop calling this function:
int32_t bsd_os_timedwait(uint32_t context, uint32_t timeout)
So there is no way I can simply close a socket and continue....
bsd_os_timedwait() was implemented approx. 1 month ago:
https://github.com/NordicPlayground/fw-nrfconnect-nrf/blob/master/lib/bsdlib/bsd_os.c#L172
Prior to this, all wait's (including blocking calls) on socket operations were not working properly.
Depending on the tag you're using, this call might not be running as it should. If you have the latest implementation in place, there could also be a corner case that hasn't been handled.
Kind regards,
Håkon