A SystemC-based framework for modeling and simulation of networked embedded systems