nal: Fix loops & socket handle management
I defined the connection timeout parameter as a u32
because it is used to compare with the network stack struct's time_ms
"time now", which is also stored as u32
. If I'm following @occheung 's…
99899e6657
nal: Fix read/write not pushing erroneous socket back to the stack
e7e08948d1
nal: Fix read/write not pushing erroneous socket back to the stack
e7e08948d1
nal: Fix read/write not pushing erroneous socket back to the stack
2d3d4004e8
nal: Fix read/write not pushing erroneous socket back to the stack
2d3d4004e8
nal: Fix read/write not pushing erroneous socket back to the stack
b372c37ae8
nal: Fix read/write not pushing erroneous socket back to the stack
b372c37ae8
nal: Fix read/write not pushing erroneous socket back to the stack
29c8078ef9
nal: Fix read/write blocking leading to unhandled behaviour in minimq
nal: Fix loops & socket handle management
In the minimq's PR I just mentioned, it also seems to prevent MqttClient's
constructor from calling NAL's connect()
, which would keep looping until the connection is established. However, the PR…
nal: Fix loops & socket handle management
More on nb::Error::WouldBlock
vs nb::Error::Other
: I just found there's an active PR on minimq which would eliminate the issue of panicking when…
nal: Fix blocking behaviours
29c8078ef9
nal: Fix read/write blocking leading to unhandled behaviour in minimq
d9e50bbcb6
nal: Prevent looping until the stack successfully connects to remote
f122fe23a3
nal: Fix read/write blocking leading to unhandled behaviour in minimq
cc873f3c81
nal: Prevent looping until the stack successfully connects to remote
f122fe23a3
nal: Fix read/write blocking leading to unhandled behaviour in minimq
cc873f3c81
nal: Prevent looping until the stack successfully connects to remote
5a8c48130c
nal: Fix read/write blocking leading to unhandled behaviour in minimq
6361651978
nal: Prevent looping until the stack successfully connects to remote
5a8c48130c
nal: Fix read/write blocking leading to unhandled behaviour in minimq
6361651978
nal: Prevent looping until the stack successfully connects to remote
a985536605
nal: Fix read/write blocking leading to unhandled behaviour in minimq
effeac0815
nal: Prevent looping until the stack successfully connects to remote
a985536605
nal: Fix read/write blocking leading to unhandled behaviour in minimq
effeac0815
nal: Prevent looping until the stack successfully connects to remote
de2f343f6e
nal: Prevent looping until the stack successfully connects to remote
de2f343f6e
nal: Prevent looping until the stack successfully connects to remote
2a31062e90
nal: Prevent looping until the stack successfully connects to remote
2a31062e90
nal: Prevent looping until the stack successfully connects to remote
a25cb50270
nal: Prevent looping until the stack successfully connects to remote
a25cb50270
nal: Prevent looping until the stack successfully connects to remote
0c5627f8a5
nal: Prevent looping until the stack successfully connects to remote
0c5627f8a5
nal: Prevent looping until the stack successfully connects to remote
e87d6dbba4
nal: Prevent looping until the stack successfully connects to remote
e87d6dbba4
nal: Prevent looping until the stack successfully connects to remote
d211251bb4
nal: Prevent looping until the stack successfully connects to remote
d211251bb4
nal: Prevent looping until the stack successfully connects to remote
5af0a8ecbb
nal: Prevent looping until the stack successfully connects to remote
5af0a8ecbb
nal: Prevent looping until the stack successfully connects to remote
136364cd70
nal: Prevent looping until the stack successfully connects to remote