Lines Matching full:shell
20 from twister_harness import Shell
39 def test_LightweightM2M_1_1_int_1(shell: Shell, dut: DeviceAdapter, leshan: Leshan, endpoint_bootst… argument
42 verify_LightweightM2M_1_1_int_101(shell, dut, leshan, endpoint_bootstrap)
43 verify_LightweightM2M_1_1_int_401(shell, leshan, endpoint_bootstrap)
45 def test_LightweightM2M_1_1_int_4(shell: Shell, dut: DeviceAdapter, leshan: Leshan, endpoint: Endpo… argument
47 shell.exec_command('lwm2m create 1/2')
48 shell.exec_command('lwm2m read 1/2/0')
49 retval = int(shell.get_filtered_output(shell.exec_command('retval'))[0])
53 shell.exec_command('lwm2m read 1/2/0')
54 retval = int(shell.get_filtered_output(shell.exec_command('retval'))[0])
65 def test_LightweightM2M_1_1_int_6(shell: Shell, dut: DeviceAdapter, endpoint: Endpoint): argument
67 shell.exec_command('lwm2m stop')
69 shell.exec_command(f'lwm2m start {endpoint}')
72 shell.exec_command('lwm2m stop')
74 shell.exec_command("lwm2m delete 1/0")
75 shell.exec_command("lwm2m delete 0/1")
76 shell.exec_command(f'lwm2m start {endpoint}')
81 def test_LightweightM2M_1_1_int_7(shell: Shell, dut: DeviceAdapter, endpoint: Endpoint): argument
83 shell.exec_command('lwm2m stop')
85 shell.exec_command('lwm2m write 0/1/0 -s coaps://10.10.10.10:5684')
86 shell.exec_command(f'lwm2m start {endpoint}')
90 def verify_LightweightM2M_1_1_int_101(shell: Shell, dut: DeviceAdapter, leshan: Leshan, endpoint: E… argument
96 def verify_LightweightM2M_1_1_int_401(shell: Shell, leshan: Leshan, endpoint: Endpoint): argument
98 lines = shell.get_filtered_output(shell.exec_command('lwm2m read 0/0/0 -s'))
101 lines = shell.get_filtered_output(shell.exec_command('lwm2m read 0/0/2 -u8'))