Send a command and return the response.
(self, cmd)
| 276 | return resp |
| 277 | |
| 278 | def sendcmd(self, cmd): |
| 279 | '''Send a command and return the response.''' |
| 280 | self.putcmd(cmd) |
| 281 | return self.getresp() |
| 282 | |
| 283 | def voidcmd(self, cmd): |
| 284 | """Send a command and expect a response beginning with '2'.""" |