Αποστολή με SMS: Optimal Control of Energy Resources for State Estimation Over Wireless Channels