added functions for router and endDevice Arduinos for simplicity