An integrated simulation module for wireless cyber-physical system