Lines Matching refs:run_command
20 response = ubman.run_command('gpio input 0; echo rc:$?')
23 response = ubman.run_command('gpio toggle 0; gpio input 0; echo rc:$?')
34 response = ubman.run_command('gpio clear 0; echo rc:$?')
36 response = ubman.run_command('gpio set 0; echo rc:$?')
38 response = ubman.run_command('gpio toggle 0; echo rc:$?')
40 response = ubman.run_command('gpio status -a; echo rc:$?')
44 response = ubman.run_command('gpio nonexistent-command; echo rc:$?')
46 response = ubman.run_command('gpio input 200; echo rc:$?')
54 ubman.run_command('gpio clear 0')
55 response = ubman.run_command('gpio read var 0; echo val:$var,rc:$?')
58 response = ubman.run_command('gpio toggle 0; gpio read var 0; echo val:$var,rc:$?')
61 response = ubman.run_command('setenv var; gpio read var nonexistent-gpio; echo val:$var,rc:$?')
119 response = ubman.run_command(cmd)
144 response = ubman.run_command(cmd)
168 response = ubman.run_command(cmd)
192 response = ubman.run_command(cmd)
197 response = ubman.run_command(cmd)
220 response = ubman.run_command(cmd)
230 response = ubman.run_command(cmd)
254 ubman.run_command(f'gpio input {gpin}')
256 response = ubman.run_command(f'gpio status -a {gpin}')
260 ubman.run_command(f'gpio set {gpin}')
262 response = ubman.run_command(f'gpio status -a {gpin}')
266 ubman.run_command(f'gpio clear {gpin}')
268 response = ubman.run_command(f'gpio status -a {gpin}')
272 ubman.run_command(f'gpio toggle {gpin}')
274 response = ubman.run_command(f'gpio status -a {gpin}')
297 ubman.run_command(f'gpio input {gpins[0]}')
299 response = ubman.run_command(f'gpio status -a {gpins[0]}')
302 ubman.run_command(f'gpio set {gpins[1]}')
304 response = ubman.run_command(f'gpio status -a {gpins[1]}')
307 ubman.run_command(f'gpio clear {gpins[1]}')
309 response = ubman.run_command(f'gpio status -a {gpins[0]}')
312 ubman.run_command(f'gpio set {gpins[1]}')
314 response = ubman.run_command(f'gpio status -a {gpins[0]}')