An Efficient Platform And Communication Architecture For Event-Triggered Cyber-Physical Systems