Now that I've implemented the protocol, I see how commands actually give return values isn't how I thought it would be. Accordingly, _send_command now only returns the ReturnCode rather than wrapping it in a list. This allowed me to remove a few [0]s.
|
|
||
74 |
|
74 |
|
75 |
|
75 |
|
76 |
|
76 |
|
77 |
|
|
|
78 |
|
|
|
79 |
|
|
|
80 |
|
|
|
81 |
|
|
|
82 |
|
|
|
|
77 |
|
|
|
78 |
|
|
|
79 |
|
|
|
80 |
|
|
|
81 |
|
|
83 |
|
82 |
|
84 |
|
83 |
|
85 |
|
84 |
|
|
|
||
244 |
|
243 |
|
245 |
|
244 |
|
246 |
|
245 |
|
247 |
|
|
|
|
246 |
|
|
248 |
|
247 |
|
249 |
|
248 |
|
250 |
|
249 |
|
|
|
||
278 |
|
277 |
|
279 |
|
278 |
|
280 |
|
279 |
|
281 |
|
|
|
|
280 |
|
|
282 |
|
281 |
|
283 |
|
282 |
|
284 |
|
283 |
|