/hal_espressif-2.7.6/tools/esp_app_trace/ |
D | logtrace_proc.py | 46 # 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/ |
D | lib_ble_client.py | 34 print(e) 35 …print('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 …]
|
D | lib_gatt.py | 30 print(e) 31 …print('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/ |
D | esp_prov.py | 51 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/ |
D | example_test.py | 21 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/ |
D | check_python_dependencies.py | 25 …print('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) 71 …print('Please check the documentation for the feature you are using, or run "%s -m pip install -r … 79 … print('To install the missing packages, please run "%s"' % os.path.join(idf_path, install_script)) 81 …print("The recommended way to install a packages is via \"pacman\". Please run \"pacman -Ss <packa… 84 …print("NOTE: You may need to run \"pacman -Syu\" if your package database is older and run twice i… 86 …print('Please read https://github.com/msys2/msys2/wiki/Using-packages for further information abou… 92 …print('WARNING: The cryptography package have dependencies on system packages so please make sure ' 97 … print("Please run the following command to install MSYS2's MINGW Python setuptools package:") [all …]
|
/hal_espressif-2.7.6/components/lwip/weekend_test/ |
D | net_suite_test.py | 30 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('-------------------------') 99 …print('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/ |
D | espcoredump.py | 91 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.') 133 …print("\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/ |
D | test_confserver.py | 24 …print('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/ |
D | app_test.py | 14 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)) 65 …print("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/ |
D | softap_prov_test.py | 50 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/ |
D | wifi_prov_mgr_test.py | 47 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/ |
D | mqtt_tcp_example_test.py | 25 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/ |
D | otatool_example.py | 62 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/ |
D | mqtt_ssl_example_test.py | 23 print('Connected with result code ' + str(rc)) 40 … print('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...') 102 …print('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/ |
D | deploy_docs.py | 48 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/ |
D | run_test_idf_monitor.py | 67 print('\tidf_monitor_wrapper was killed because it did not finish in time.') 88 print('Socket was closed successfully') 105 … print('\nRunning test on {} with filter "{}" and expecting {}'.format(test[0], test[1], test[2])) 116 print('\t', ' '.join(monitor_cmd), sep='') 117 … print('\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/ |
D | esp_local_ctrl.py | 74 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/ |
D | build_docs.py | 112 print('Building all languages') 119 print('Building all targets') 154 …print('Will use %d parallel builds and %d jobs per build' % (args.sphinx_parallel_builds, args.sph… 158 … print('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/ |
D | generate_audio_file.py | 29 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/ |
D | ble_prov_test.py | 44 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/ |
D | mqtt_ws_example_test.py | 21 print('Connected with result code ' + str(rc)) 64 print('ENV_TEST_FAILURE: Cannot find broker url in sdkconfig') 72 print('Connecting...') 75 …print('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/ |
D | example_test.py | 28 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/ |
D | mqtt_publish_test.py | 30 print('Connected with result code ' + str(rc)) 54 print('[{}] Received...'.format(msg.mid)) 67 …print("PUBLISH TEST: transport:{}, qos:{}, sequence:{}, enqueue:{}, sample msg:'{}'".format(transp… 79 print('Connecting...') 82 …print('ENV_TEST_FAILURE: Unexpected error while connecting to broker {}: {}:'.format(broker_host[t… 87 …print('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/ |
D | mqtt_wss_example_test.py | 22 print('Connected with result code ' + str(rc)) 65 print('ENV_TEST_FAILURE: Cannot find broker url in sdkconfig') 76 print('Connecting...') 79 …print('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...')
|