Problem: The current "devel" commit 90fbb29 only reads the correct ammount of payload messages according to the received header. See lines between 569 and 579.
However, there are some messages that do not have any payload (like query functions), so we call a "recv" with len = 0, which might be hanging the RFFE controller.
Also, it is probably better to use the recv_all () version of the function, so as to guarantee we receve all bytes we are waiting for.
Possible Solution: replace recv () by recv_all () and check for payload = 0. If it is, don't try to call recv and instead just proceed normally.
Problem: The current "devel" commit 90fbb29 only reads the correct ammount of payload messages according to the received header. See lines between 569 and 579.
However, there are some messages that do not have any payload (like query functions), so we call a "recv" with len = 0, which might be hanging the RFFE controller.
Also, it is probably better to use the recv_all () version of the function, so as to guarantee we receve all bytes we are waiting for.
Possible Solution: replace recv () by recv_all () and check for payload = 0. If it is, don't try to call recv and instead just proceed normally.