An Efficient Simulation Environment for the design of networked bluetooth devices