Fix the communication issue. Add extra methods to check the concrete types of commands being sent to the device (must be removed)