Home
last modified time | relevance | path

Searched full:print (Results 1 – 25 of 403) sorted by relevance

12345678910>>...17

/hal_espressif-2.7.6/tools/esp_app_trace/
Dlogtrace_proc.py46 # print "EOF"
48 print('Unprocessed %d bytes of log record header!' % len(trc_buf))
62 # print("EOF")
64 print('Unprocessed %d bytes of log record args!' % len(trc_buf))
71 # print(log_args)
100 # print("\nFmt = {%s}, args = %d/%s" % lrec)
102 # print("=====> " + fmt_str % lrec.args)
104 print(fmt_str % tuple(lrec.args), end='')
105 # print(".", end='')
109 print('Print error (%s)' % e)
[all …]
/hal_espressif-2.7.6/tools/ble/
Dlib_ble_client.py34 print(e)
35print('Install packages `libgirepository1.0-dev gir1.2-gtk-3.0 libcairo2-dev libdbus-1-dev libdbus…
36 print('Run `pip install -r $IDF_PATH/tools/ble/requirements.txt` for resolving the issue')
159 print(props['Value'])
170 Catch and print information about PropertiesChanged signal.
205 print(e)
209 print('Test Exit')
211 print(e)
223 print('discovering adapter...')
242 print('bluetooth adapter discovered')
[all …]
Dlib_gatt.py30 print(e)
31print('Install packages `libgirepository1.0-dev gir1.2-gtk-3.0 libcairo2-dev libdbus-1-dev libdbus…
32 print('Run `pip install -r $IDF_PATH/tools/ble/requirements.txt` for resolving the issue')
199 print('\nDefault ReadValue called, returning error')
204 print('\nDefault WriteValue called, returning error')
209 print('Default StartNotify called, returning error')
214 print('Default StopNotify called, returning error')
220 print('\nProperties Changed')
258 print('Default ReadValue called, returning error')
263 print('Default WriteValue called, returning error')
[all …]
/hal_espressif-2.7.6/tools/esp_prov/
Desp_prov.py51 print(err)
96 print('proto-ver response : ', response)
127 print('proto-ver response : ', response)
225 print('++++ Scan process executed in ' + str(stop_time - start_time) + ' sec')
231 print('++++ Scan results : ' + str(result['count']))
291 print('\n==== Wi-Fi connection state ====')
296 print('==== Provisioning was successful ====')
300 print('Waiting to poll status again (status %s, %d tries left)...' % (ret, retry))
302 print('---- Provisioning failed ----')
390 print('---- Failed to establish connection ----')
[all …]
/hal_espressif-2.7.6/examples/system/esp_event/default_event_loop/
Dexample_test.py21 print('Checking timer events posting and handling')
26 print('Finished setup')
29 print('Posted timer started event')
35 print('Handled timer started event')
39 print('Posted timer expiry event {} out of {}'.format(expiries, TIMER_EVENT_LIMIT))
43 print('Posted timer stopped event')
49 print('Handled timer expiry event {} out of {}'.format(expiries, TIMER_EVENT_LIMIT))
53 print('Handled timer stopped event')
59 print('Checking iteration events posting and handling')
62 print('Finished setup')
[all …]
/hal_espressif-2.7.6/tools/
Dcheck_python_dependencies.py25print('pkg_resources cannot be imported probably because the pip package is not installed and/or u…
66 print('The following Python requirements are not satisfied:')
68 print(requirement)
71print('Please check the documentation for the feature you are using, or run "%s -m pip install -r …
79print('To install the missing packages, please run "%s"' % os.path.join(idf_path, install_script))
81print("The recommended way to install a packages is via \"pacman\". Please run \"pacman -Ss <packa…
84print("NOTE: You may need to run \"pacman -Syu\" if your package database is older and run twice i…
86print('Please read https://github.com/msys2/msys2/wiki/Using-packages for further information abou…
92print('WARNING: The cryptography package have dependencies on system packages so please make sure '
97print("Please run the following command to install MSYS2's MINGW Python setuptools package:")
[all …]
/hal_espressif-2.7.6/components/lwip/weekend_test/
Dnet_suite_test.py30 print('Packet_data>{}<'.format(packet_data))
32 print('Sending to socket:')
34 print('Packet>{}<'.format(packet))
53 print('Received from address {}, data {}'.format(client_address, packet))
91 print('Rebuilding the test suite')
92 print('-------------------------')
99print('Note: First build step we expect failure (titan/net_suite build system not suitable for mul…
100 print(output)
103 print('Note: This time all dependencies shall be generated -- multijob make shall pass')
105 print(output)
[all …]
/hal_espressif-2.7.6/components/espcoredump/
Despcoredump.py91 print('Done!')
96 Command to load core dump from file or flash and print it's data in user friendly form
120 print('===============================================================')
121 print('==================== ESP32 CORE DUMP START ====================')
130 print('\nCrashed task has been skipped.')
133print("\nCrashed task handle: 0x%x, name: '%s', GDB name: 'process %d'" % (marker, task_name, mark…
134 print('\n================== CURRENT THREAD REGISTERS ===================')
138 print('Exception registers have not been found!')
139 print(gdb.run_cmd('info registers'))
140 print('\n==================== CURRENT THREAD STACK =====================')
[all …]
/hal_espressif-2.7.6/tools/kconfig_new/test/confserver/
Dtest_confserver.py24print('Warning: testcases.txt has wrong number of non-empty lines (%d). Should be 3 lines per test…
73 print('Running: %s' % cmdline)
78 print('Initial: %s' % initial)
87 print('Done. All passed.')
102 print('Read raw data from server: %s' % result)
108 print('Sending: %s' % (req))
111 print('Read back: %s' % (json.dumps(readback)))
116 print('*****')
117 print('Testing version %d...' % version)
122 print('Reset response: %s' % (json.dumps(readback)))
[all …]
/hal_espressif-2.7.6/tools/test_apps/protocols/pppos/
Dapp_test.py14 print('Starting PPP server on port: {}'.format(port))
23 print('[PPPD:]{}'.format(line.rstrip()))
26 print(e)
30 print('PPP server stopped')
49 print('ENV_TEST_FAILURE: Some mandatory configuration not found in sdkconfig')
52 print('Starting the test on {}'.format(dut1))
65print("PPP server haven't yet setup its netif, list of active netifs:{}".format(netifaces.interfac…
70 print('IPv6 address of ESP: {}'.format(ip6_addr))
73 print('Starting the IPv6 test...')
84 print('IPv6 test passed!')
[all …]
/hal_espressif-2.7.6/examples/provisioning/legacy/softap_prov/
Dsoftap_prov_test.py50 print('Interface name : ' + iface)
51 print('SoftAP SSID : ' + ssid)
52 print('SoftAP Password : ' + password)
56 print('Connecting to DUT SoftAP...')
61 print('Connected to DUT SoftAP')
63 print('Starting Provisioning')
73 print('Getting security')
78 print('Getting transport')
83 print('Verifying protocol version')
87 print('Starting Session')
[all …]
/hal_espressif-2.7.6/examples/provisioning/wifi_prov_mgr/
Dwifi_prov_mgr_test.py47 print('BLE Device Alias for DUT :', devname)
49 print('Starting Provisioning')
58 print('Getting security')
63 print('Getting transport')
68 print('Verifying protocol version')
72 print('Verifying scan list capability')
76 print('Starting Session')
80 print('Sending Custom Data')
84 print('Sending Wifi credential to DUT')
88 print('Applying config')
/hal_espressif-2.7.6/examples/protocols/mqtt/tcp/
Dmqtt_tcp_example_test.py25 print('Starting the server on {}'.format(my_ip))
34 print('connection accepted')
36 print('Local server on {}:{} listening/accepting failure: {}'
42 print('received from client {}'.format(data))
48 print('received from client {}, msgid: {}'.format(data, msgid))
53 print('server closed')
80 print('Connected to AP with IP: {}'.format(ip_address))
84 print('writing to device: {}'.format('mqtt://' + host_ip + '\n'))
87 print('Message id received from server: {}'.format(msgid))
93 print('PASS: Received correct msg id')
[all …]
/hal_espressif-2.7.6/examples/system/ota/otatool/
Dotatool_example.py62 print('Writing factory firmware to ota_0')
65 print('Writing factory firmware to ota_1')
69 print('Checking written firmware to ota_0 and ota_1 match factory firmware')
77 print('Switching to factory app')
82 print('Switching to OTA slot 0')
87 print('Switching to OTA slot 1 (twice in a row)')
94 print('Switching to OTA slot 0 (twice in a row)')
101 print('Switching to factory app')
106 print('Switching to OTA slot 1')
111 print('\nOTA tool operations executed successfully!')
/hal_espressif-2.7.6/examples/protocols/mqtt/ssl/
Dmqtt_ssl_example_test.py23 print('Connected with result code ' + str(rc))
40print('Receiving binary from esp and comparing with {}, size {}...'.format(binary, bin_size))
44 print('...matches!')
86 print('ENV_TEST_FAILURE: Cannot find broker url in sdkconfig')
99 print('Connecting...')
102print('ENV_TEST_FAILURE: Unexpected error while connecting to broker {}: {}:'.format(broker_url, s…
108 print('Connecting py-client to broker {}:{}...'.format(broker_url, broker_port))
114 print('Connected to AP with IP: {}'.format(ip_address))
116 print('ENV_TEST_FAILURE: Cannot connect to AP')
118 print('Checking py-client received msg published from esp...')
[all …]
/hal_espressif-2.7.6/tools/ci/
Ddeploy_docs.py48 print('Git version: {}'.format(git_ver))
49 print('CI Version: {}'.format(ci_ver))
50 print('Deployment version: {}'.format(version))
60 …url_base = env('DOCS_DEPLOY_URL_BASE') # base for HTTP URLs, used to print the URL to the log aft…
77 print('DOCS_DEPLOY_SERVER {} DOCS_DEPLOY_PATH {}'.format(docs_server, docs_path))
83 print('Docs URLs:')
90 print('[document {}][{}] {}'.format(doc_deploy_type, tag, url))
96 print('Deploying again as stable version...')
104 print('Running ssh: {}'.format(commands))
109 print('Running scp {} to {}'.format(tarball_path, '{}:{}'.format(docs_server, docs_path)))
[all …]
/hal_espressif-2.7.6/tools/test_idf_monitor/
Drun_test_idf_monitor.py67 print('\tidf_monitor_wrapper was killed because it did not finish in time.')
88 print('Socket was closed successfully')
105print('\nRunning test on {} with filter "{}" and expecting {}'.format(test[0], test[1], test[2]))
116 print('\t', ' '.join(monitor_cmd), sep='')
117print('\tstdout="{}" stderr="{}" stdin="{}"'.format(o_f.name, e_f.name, os.ttyname(slave_fd)))
118 print('\tMonitor timeout: {} seconds'.format(test[3]))
134 print('\tSerial reader is not ready. Do a sleep...')
138 print('\tSending {} to the socket'.format(f.name))
142 print('\tSending <exit> to the socket')
152 print('\tSending additional <exit> to the socket')
[all …]
/hal_espressif-2.7.6/examples/protocols/esp_local_ctrl/scripts/
Desp_local_ctrl.py74 print(e)
90 print(e)
106 print(e)
118 print(err)
211 print('==== Esp_Ctrl Version: ' + args.version + ' ====')
220 print('---- Invalid transport ----')
224 print('\n==== Verifying protocol version ====')
226 print('---- Error in protocol version matching ----')
228 print('==== Verified protocol version successfully ====')
233 print('---- Error in reading property values ----')
[all …]
/hal_espressif-2.7.6/docs/
Dbuild_docs.py112 print('Building all languages')
119 print('Building all targets')
154print('Will use %d parallel builds and %d jobs per build' % (args.sphinx_parallel_builds, args.sph…
158print('WARNING: Sphinx parallel jobs currently produce incorrect docs output with Sphinx 1.8.5')
171 print(entries)
173 print(errcodes)
178 print('\nThe following language/target combinations failed to build:')
184 print('language: %s, target: %s, errcode: %d' % (entry[0], entry[1], ret))
200 print('Building in build_dir: %s' % (build_dir))
224 print("Running '%s'" % (' '.join(args)))
[all …]
/hal_espressif-2.7.6/examples/peripherals/i2s_adc_dac/tools/
Dgenerate_audio_file.py29 print('#include <stdio.h>', file=audio_table)
30 print('const unsigned char audio_table[] = {', file=audio_table)
32 print('processing: {}'.format(wav))
33 print(get_wave_array_str(filename=wav, target_bits=scale_bits), file=audio_table)
34 print('};\n', file=audio_table)
35 print('Done...')
39 print('Generating audio array...')
/hal_espressif-2.7.6/examples/provisioning/legacy/ble_prov/
Dble_prov_test.py44 print('BLE Device Alias for DUT :', devname)
49 print('Starting Provisioning')
58 print('Getting security')
63 print('Getting transport')
68 print('Verifying protocol version')
72 print('Starting Session')
76 print('Sending Wifi credential to DUT')
80 print('Applying config')
/hal_espressif-2.7.6/examples/protocols/mqtt/ws/
Dmqtt_ws_example_test.py21 print('Connected with result code ' + str(rc))
64 print('ENV_TEST_FAILURE: Cannot find broker url in sdkconfig')
72 print('Connecting...')
75print('ENV_TEST_FAILURE: Unexpected error while connecting to broker {}: {}:'.format(broker_url, s…
81 print('Connecting py-client to broker {}:{}...'.format(broker_url, broker_port))
87 print('Connected to AP with IP: {}'.format(ip_address))
89 print('ENV_TEST_FAILURE: Cannot connect to AP')
91 print('Checking py-client received msg published from esp...')
94 print('Checking esp-client received msg published from py-client...')
/hal_espressif-2.7.6/examples/system/light_sleep/
Dexample_test.py28 print('Got first sleep period')
33 print('Got second sleep period, wakeup from {}, slept for {}'.format(groups[0], groups[2]))
39 print('Pulling GPIO0 low using DTR')
43 print('Got third sleep period, wakeup from {}, slept for {}'.format(groups[0], groups[2]))
47 print('Is waiting for GPIO...')
51 print('Went to sleep again')
54 print('Woke up from timer again')
/hal_espressif-2.7.6/components/mqtt/weekend_test/
Dmqtt_publish_test.py30 print('Connected with result code ' + str(rc))
54 print('[{}] Received...'.format(msg.mid))
67print("PUBLISH TEST: transport:{}, qos:{}, sequence:{}, enqueue:{}, sample msg:'{}'".format(transp…
79 print('Connecting...')
82print('ENV_TEST_FAILURE: Unexpected error while connecting to broker {}: {}:'.format(broker_host[t…
87print('Connecting py-client to broker {}:{}...'.format(broker_host[transport], broker_port[transpo…
97 print('Publishing...')
98 print('Checking esp-client received msg published from py-client...')
105 print('All data received from ESP32...')
140 print('ENV_TEST_FAILURE: Cannot find broker url in sdkconfig')
[all …]
/hal_espressif-2.7.6/examples/protocols/mqtt/wss/
Dmqtt_wss_example_test.py22 print('Connected with result code ' + str(rc))
65 print('ENV_TEST_FAILURE: Cannot find broker url in sdkconfig')
76 print('Connecting...')
79print('ENV_TEST_FAILURE: Unexpected error while connecting to broker {}: {}:'.format(broker_url, s…
85 print('Connecting py-client to broker {}:{}...'.format(broker_url, broker_port))
91 print('Connected to AP with IP: {}'.format(ip_address))
93 print('ENV_TEST_FAILURE: Cannot connect to AP')
95 print('Checking py-client received msg published from esp...')
98 print('Checking esp-client received msg published from py-client...')

12345678910>>...17