lnls-dig / halcs

Hardware Abstraction Layer for Control Systems
GNU General Public License v3.0
1 stars 4 forks source link

[smio] Reconnect RFFE module when send/recv fails #159

Closed lerwys closed 7 years ago

lerwys commented 7 years ago

Problem: On send/recv fails we just return the error to the user. Instead we could try to reconnect a number of times before actually giving up

Solution: Reconnect when send/recv returns -1