harry commented on pull request renet/ENC424J600#7 2021-03-12 10:45:21 +08:00
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…

harry pushed to fix-nal at renet/ENC424J600 2021-03-11 17:32:48 +08:00
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
Compare 2 commits »
harry pushed to fix-nal at renet/ENC424J600 2021-03-11 17:22:46 +08:00
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
Compare 2 commits »
harry pushed to fix-nal at renet/ENC424J600 2021-03-11 17:19:17 +08:00
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
Compare 2 commits »
harry pushed to fix-nal at renet/ENC424J600 2021-03-11 17:15:43 +08:00
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
Compare 2 commits »
harry commented on pull request renet/ENC424J600#7 2021-03-08 14:14:27 +08:00
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…

harry commented on pull request renet/ENC424J600#7 2021-03-08 14:03:08 +08:00
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…

harry created pull request renet/ENC424J600#7 2021-03-05 17:34:32 +08:00
nal: Fix blocking behaviours
harry pushed to fix-nal at renet/ENC424J600 2021-03-05 14:53:02 +08:00
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
Compare 4 commits »
harry pushed to fix-nal at renet/ENC424J600 2021-03-05 14:52:15 +08:00
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
Compare 4 commits »
harry pushed to fix-nal at renet/ENC424J600 2021-03-05 14:51:06 +08:00
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
Compare 4 commits »
harry pushed to fix-nal at renet/ENC424J600 2021-03-05 13:51:16 +08:00
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
Compare 3 commits »
harry pushed to fix-nal at renet/ENC424J600 2021-03-05 11:24:22 +08:00
de2f343f6e nal: Prevent looping until the stack successfully connects to remote
2a31062e90 nal: Prevent looping until the stack successfully connects to remote
Compare 2 commits »
harry pushed to fix-nal at renet/ENC424J600 2021-03-04 14:58:42 +08:00
2a31062e90 nal: Prevent looping until the stack successfully connects to remote
a25cb50270 nal: Prevent looping until the stack successfully connects to remote
Compare 2 commits »
harry pushed to fix-nal at renet/ENC424J600 2021-03-04 12:59:17 +08:00
a25cb50270 nal: Prevent looping until the stack successfully connects to remote
0c5627f8a5 nal: Prevent looping until the stack successfully connects to remote
Compare 2 commits »
harry pushed to fix-nal at renet/ENC424J600 2021-03-03 17:28:12 +08:00
0c5627f8a5 nal: Prevent looping until the stack successfully connects to remote
e87d6dbba4 nal: Prevent looping until the stack successfully connects to remote
Compare 2 commits »
harry pushed to fix-nal at renet/ENC424J600 2021-03-01 17:20:25 +08:00
e87d6dbba4 nal: Prevent looping until the stack successfully connects to remote
d211251bb4 nal: Prevent looping until the stack successfully connects to remote
Compare 2 commits »
harry pushed to fix-nal at renet/ENC424J600 2021-02-26 17:43:44 +08:00
d211251bb4 nal: Prevent looping until the stack successfully connects to remote
5af0a8ecbb nal: Prevent looping until the stack successfully connects to remote
Compare 2 commits »
harry pushed to fix-nal at renet/ENC424J600 2021-02-25 09:49:10 +08:00
5af0a8ecbb nal: Prevent looping until the stack successfully connects to remote
136364cd70 nal: Prevent looping until the stack successfully connects to remote
Compare 2 commits »
harry pushed to fix-nal at renet/ENC424J600 2021-02-24 18:04:52 +08:00
136364cd70 nal: Prevent looping until the stack successfully connects to remote