Αποστολή με SMS: Optimal Design of Distributed Control and Embedded Systems