Lines Matching full:shell

20 from twister_harness import Shell
37 def __init__(self, name: str, shell: Shell, registered: bool = False, bootstrap: bool = False): argument
41 self.shell = shell
48 self.shell.exec_command('lwm2m update')
97 def endpoint_nosec(request, shell: Shell, dut: DeviceAdapter, leshan: Leshan) -> str: argument
109 shell.exec_command(f'lwm2m write 0/0/0 -s coap://{addr}:{COAP_PORT}')
110 shell.exec_command('lwm2m write 0/0/1 -b 0')
111 shell.exec_command('lwm2m write 0/0/2 -u8 3')
112 shell.exec_command(f'lwm2m write 0/0/3 -s {ep}')
113 shell.exec_command('lwm2m create 1/0')
114 shell.exec_command('lwm2m write 0/0/10 -u16 1')
115 shell.exec_command('lwm2m write 1/0/0 -u16 1')
116 shell.exec_command('lwm2m write 1/0/1 -u32 86400')
117 shell.exec_command(f'lwm2m start {ep} -b 0')
120 yield Endpoint(ep, shell)
123 shell.exec_command('lwm2m stop')
127 def endpoint_bootstrap(request, shell: Shell, dut: DeviceAdapter, leshan: Leshan, leshan_bootstrap:… argument
153 shell.exec_command(f'lwm2m write 0/0/0 -s coaps://{addr}:{BOOTSTRAP_COAPS_PORT}')
154 shell.exec_command('lwm2m write 0/0/1 -b 1')
155 shell.exec_command('lwm2m write 0/0/2 -u8 0')
156 shell.exec_command(f'lwm2m write 0/0/3 -s {ep}')
157 shell.exec_command(f'lwm2m write 0/0/5 -s {bs_passwd}')
158 shell.exec_command(f'lwm2m start {ep} -b 1')
160 yield Endpoint(ep, shell)
162 shell.exec_command('lwm2m stop')
187 def configuration_C13(endpoint_registered, shell: Shell) -> str: argument
189 shell.exec_command('lwm2m create /16/0')
190 shell.exec_command('lwm2m create /16/0/0/0')
191 shell.exec_command('lwm2m create /16/0/0/1')
192 shell.exec_command('lwm2m create /16/0/0/2')
193 shell.exec_command('lwm2m create /16/0/0/3')
194 shell.exec_command('lwm2m write /16/0/0/0 "Host Device ID #1"')
195 shell.exec_command('lwm2m write /16/0/0/1 "Host Device Manufacturer #1"')
196 shell.exec_command('lwm2m write /16/0/0/2 "Host Device Model #1"')
197 shell.exec_command('lwm2m write /16/0/0/3 "Host Device Software Version #1"')
199 shell.exec_command('lwm2m delete /16/0')