Do the command. Return the response.
(command)
| 107 | |
| 108 | |
| 109 | def do_command(command): |
| 110 | """Do the command. Return the response.""" |
| 111 | send_command(command) |
| 112 | # time.sleep(0.1) # may be required on slow machines |
| 113 | response = get_response() |
| 114 | print("Rcvd: <<< " + response) |
| 115 | return response |
| 116 | |
| 117 | |
| 118 | def play_record(filename): |
no test coverage detected