Lines Matching refs:shell

33 def test_LightweightM2M_1_1_int_102(shell: Shell, dut: DeviceAdapter, leshan: Leshan, endpoint: str…
35 lines = shell.get_filtered_output(shell.exec_command('lwm2m read 1/0/1 -u32'))
45 shell.exec_command('lwm2m write 1/0/1 -u32 86400')
47 def test_LightweightM2M_1_1_int_103(shell: Shell, dut: DeviceAdapter, leshan: Leshan, endpoint: str…
53 shell.exec_command('lwm2m stop')
55 shell.exec_command(f'lwm2m start {endpoint}')
58 def test_LightweightM2M_1_1_int_104(shell: Shell, dut: DeviceAdapter, leshan: Leshan, endpoint: str…
60 shell.exec_command('lwm2m update')
66 def test_LightweightM2M_1_1_int_107(shell: Shell, dut: DeviceAdapter, leshan: Leshan, endpoint: str…
70 lines = shell.get_filtered_output(shell.exec_command('lwm2m read 1/0/1 -u32'))
82 def test_LightweightM2M_1_1_int_109(shell: Shell, dut: DeviceAdapter, leshan: Leshan, endpoint: str…
87 shell.exec_command('lwm2m write 1/0/1 -u32 86400')
90 def test_LightweightM2M_1_1_int_201(shell: Shell, leshan: Leshan, endpoint: str):
118 def test_LightweightM2M_1_1_int_203(shell: Shell, leshan: Leshan, endpoint: str):
126 def test_LightweightM2M_1_1_int_204(shell: Shell, leshan: Leshan, endpoint: str):
134 def test_LightweightM2M_1_1_int_205(shell: Shell, leshan: Leshan, endpoint: str):
152 def test_LightweightM2M_1_1_int_211(shell: Shell, leshan: Leshan, endpoint: str):
156 lines = shell.get_filtered_output(shell.exec_command('lwm2m read 1/0/0 -u16'))
163 def test_LightweightM2M_1_1_int_212(shell: Shell, leshan: Leshan, endpoint: str):
178 def verify_setting_basic_in_format(shell, leshan, endpoint, format): argument
205 def test_LightweightM2M_1_1_int_215(shell: Shell, leshan: Leshan, endpoint: str):
207 verify_setting_basic_in_format(shell, leshan, endpoint, 'TLV')
209 def test_LightweightM2M_1_1_int_220(shell: Shell, leshan: Leshan, endpoint: str):
211 verify_setting_basic_in_format(shell, leshan, endpoint, 'JSON')
213 def test_LightweightM2M_1_1_int_221(shell: Shell, leshan: Leshan, endpoint: str):
219 def test_LightweightM2M_1_1_int_222(shell: Shell, leshan: Leshan, endpoint: str):
230 def test_LightweightM2M_1_1_int_223(shell: Shell, leshan: Leshan, endpoint: str):
238 def test_LightweightM2M_1_1_int_224(shell: Shell, leshan: Leshan, endpoint: str):
245 def test_LightweightM2M_1_1_int_225(shell: Shell, leshan: Leshan, endpoint: str):
249 def test_LightweightM2M_1_1_int_226(shell: Shell, leshan: Leshan, endpoint: str):
251 lines = shell.get_filtered_output(shell.exec_command('lwm2m read 1/0/1 -u32'))
266 def test_LightweightM2M_1_1_int_227(shell: Shell, dut: DeviceAdapter, leshan: Leshan, endpoint: str…
268 lines = shell.get_filtered_output(shell.exec_command('lwm2m read 1/0/1 -u32'))
277 def test_LightweightM2M_1_1_int_228(shell: Shell, dut: DeviceAdapter, leshan: Leshan, endpoint: str…
287 def test_LightweightM2M_1_1_int_229(shell: Shell, leshan: Leshan, endpoint: str):
306 def test_LightweightM2M_1_1_int_230(shell: Shell, leshan: Leshan, endpoint: str):
331 shell.exec_command('lwm2m write /1/0/1 -u32 86400')
332 shell.exec_command('lwm2m write /1/0/6 -u8 0')
345 def test_LightweightM2M_1_1_int_231(shell: Shell, leshan: Leshan, endpoint: str):
349 def test_LightweightM2M_1_1_int_232(shell: Shell, leshan: Leshan, endpoint: str):
353 def setting_basic_senml(shell: Shell, leshan: Leshan, endpoint: str, fmt: str):
370 shell.exec_command('lwm2m write /1/0/1 -u32 86400')
371 shell.exec_command('lwm2m write /1/0/6 -u8 0')
374 def test_LightweightM2M_1_1_int_233(shell: Shell, leshan: Leshan, endpoint: str):
376 setting_basic_senml(shell, leshan, endpoint, 'SENML_CBOR')
378 def test_LightweightM2M_1_1_int_234(shell: Shell, leshan: Leshan, endpoint: str):
380 setting_basic_senml(shell, leshan, endpoint, 'SENML_JSON')
389 def test_LightweightM2M_1_1_int_236(shell: Shell, leshan: Leshan, endpoint: str):
396 def test_LightweightM2M_1_1_int_237(shell: Shell, leshan: Leshan, endpoint: str):
404 def test_LightweightM2M_1_1_int_241(shell: Shell, dut: DeviceAdapter, leshan: Leshan, endpoint: str…
409 shell.exec_command(f'lwm2m start {endpoint} -b 0')
413 def test_LightweightM2M_1_1_int_256(shell: Shell, leshan: Leshan, endpoint: str):
415 lines = shell.get_filtered_output(shell.exec_command('lwm2m read 1/0/0 -u16'))
420 def test_LightweightM2M_1_1_int_257(shell: Shell, leshan: Leshan, endpoint: str):
436 shell.exec_command(f'lwm2m write /3/0/13 -u32 {int(datetime.now().timestamp())}')
437 shell.exec_command('lwm2m write /1/0/6 -u8 0')
438 shell.exec_command('lwm2m write /1/0/2 -u32 1')
441 def test_LightweightM2M_1_1_int_260(shell: Shell, leshan: Leshan, endpoint: str):
469 def test_LightweightM2M_1_1_int_261(shell: Shell, leshan: Leshan, endpoint: str):
493 def test_LightweightM2M_1_1_int_280(shell: Shell, leshan: Leshan, endpoint: str):
507 def test_LightweightM2M_1_1_int_281(shell: Shell, leshan: Leshan, endpoint: str):
520 def test_LightweightM2M_1_1_int_301(shell: Shell, leshan: Leshan, endpoint: str):
529 shell.exec_command('lwm2m write /3/0/7/0 -u32 3000')
535 shell.exec_command('lwm2m write /3/0/7/0 -u32 3500')
547 def test_LightweightM2M_1_1_int_302(shell: Shell, dut: DeviceAdapter, leshan: Leshan, endpoint: str…
552 shell.exec_command('lwm2m write /3/0/7/0 -u32 4000')
556 shell.exec_command('lwm2m write /3/0/7/0 -u32 3000')
559 shell.exec_command('lwm2m write /3/0/8/0 -u32 100')
563 shell.exec_command('lwm2m write /3/0/8/0 -u32 50')
566 def test_LightweightM2M_1_1_int_303(shell: Shell, dut: DeviceAdapter, leshan: Leshan, endpoint: str…
571 shell.exec_command('lwm2m write /3/0/7/0 -u32 4000')
577 shell.exec_command('lwm2m write /3/0/8/0 -u32 100')
584 def test_LightweightM2M_1_1_int_304(shell: Shell, leshan: Leshan, endpoint: str):
587 shell.exec_command('lwm2m write 1/0/2 -u32 0')
588 shell.exec_command('lwm2m write 1/0/3 -u32 0')
611 shell.exec_command('lwm2m write 1/0/2 -u32 1')
612 shell.exec_command('lwm2m write 1/0/3 -u32 10')
623 def test_LightweightM2M_1_1_int_306(shell: Shell, dut: DeviceAdapter, leshan: Leshan, endpoint: str…
626 shell.exec_command('lwm2m send /1 /3')
633 def test_LightweightM2M_1_1_int_307(shell: Shell, dut: DeviceAdapter, leshan: Leshan, endpoint: str…
636 lines = shell.get_filtered_output(shell.exec_command('lwm2m send /3/0'))
639 shell.exec_command('lwm2m send /3/0')
644 def test_LightweightM2M_1_1_int_308(shell: Shell, dut: DeviceAdapter, leshan: Leshan, endpoint: str…
646 shell.exec_command('lwm2m delete /16/0')
647 shell.exec_command('lwm2m delete /16/1')
649 shell.exec_command('lwm2m write 1/0/2 -u32 0')
650 shell.exec_command('lwm2m write 1/0/3 -u32 0')
681 shell.exec_command('lwm2m write 1/0/2 -u32 1')
682 shell.exec_command('lwm2m write 1/0/3 -u32 10')
686 def test_LightweightM2M_1_1_int_309(shell: Shell, dut: DeviceAdapter, leshan: Leshan, endpoint: str…
688 shell.exec_command('lwm2m delete /16/0')
689 shell.exec_command('lwm2m delete /16/1')
691 shell.exec_command('lwm2m write 1/0/2 -u32 0')
692 shell.exec_command('lwm2m write 1/0/3 -u32 0')
724 shell.exec_command('lwm2m write 1/0/2 -u32 1')
725 shell.exec_command('lwm2m write 1/0/3 -u32 10')
729 def test_LightweightM2M_1_1_int_310(shell: Shell, leshan: Leshan, endpoint: str):
732 shell.exec_command('lwm2m write 1/0/2 -u32 0')
733 shell.exec_command('lwm2m write 1/0/3 -u32 0')
747 shell.exec_command('lwm2m write 1/0/2 -u32 1')
748 shell.exec_command('lwm2m write 1/0/3 -u32 10')
751 def test_LightweightM2M_1_1_int_311(shell: Shell, leshan: Leshan, endpoint: str):
754 shell.exec_command('lwm2m send /1/0/1 /3/0/11')