├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ ├── config.yml │ └── feature_request.md └── workflows │ └── python-publish.yml ├── .gitignore ├── .gitmodules ├── LICENSE ├── README.md ├── ble_serial ├── __init__.py ├── __main__.py ├── bluetooth │ ├── __init__.py │ ├── ble_client.py │ ├── ble_server.py │ ├── constants.py │ ├── interface.py │ └── uuid_helpers.py ├── cli.py ├── log │ ├── console_log.py │ └── fs_log.py ├── main.py ├── ports │ ├── interface.py │ ├── linux_pty.py │ ├── print_dummy.py │ ├── tcp_socket.py │ └── windows_com0com.py ├── scan │ ├── __init__.py │ ├── __main__.py │ └── main.py └── setup_com0com │ ├── __init__.py │ ├── __main__.py │ └── windows_priv_setupc.py ├── examples ├── ble-server.py ├── ble_scan_standalone.py ├── ble_standalone.py └── ble_standalone_sync_rx.py ├── helper ├── autoconnect.ini ├── ble-autoconnect-dbus.py ├── ble-autoconnect-user.service ├── ble-autoconnect.py └── ble-autoconnect.service ├── pyproject.toml ├── requirements.txt ├── tests ├── .gitignore ├── endpoints.py ├── graphs │ └── graphs.ipynb ├── hm11_at_config.py ├── network_handler.py ├── process_handler.py ├── requirements.txt ├── results │ ├── log_bleak.csv │ ├── log_block.csv │ ├── log_bluepy.csv │ ├── log_noblock.csv │ ├── log_old.csv │ ├── log_socat_tcp.csv │ ├── log_with-response.csv │ └── log_without-response.csv ├── serial_handler.py ├── test.py ├── test_conn_reliability.py └── tools.py └── uv.lock /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jakeler/ble-serial/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- 1 | blank_issues_enabled: false -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jakeler/ble-serial/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/workflows/python-publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jakeler/ble-serial/HEAD/.github/workflows/python-publish.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jakeler/ble-serial/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jakeler/ble-serial/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jakeler/ble-serial/HEAD/README.md -------------------------------------------------------------------------------- /ble_serial/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jakeler/ble-serial/HEAD/ble_serial/__init__.py -------------------------------------------------------------------------------- /ble_serial/__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jakeler/ble-serial/HEAD/ble_serial/__main__.py -------------------------------------------------------------------------------- /ble_serial/bluetooth/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ble_serial/bluetooth/ble_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jakeler/ble-serial/HEAD/ble_serial/bluetooth/ble_client.py -------------------------------------------------------------------------------- /ble_serial/bluetooth/ble_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jakeler/ble-serial/HEAD/ble_serial/bluetooth/ble_server.py -------------------------------------------------------------------------------- /ble_serial/bluetooth/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jakeler/ble-serial/HEAD/ble_serial/bluetooth/constants.py -------------------------------------------------------------------------------- /ble_serial/bluetooth/interface.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jakeler/ble-serial/HEAD/ble_serial/bluetooth/interface.py -------------------------------------------------------------------------------- /ble_serial/bluetooth/uuid_helpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jakeler/ble-serial/HEAD/ble_serial/bluetooth/uuid_helpers.py -------------------------------------------------------------------------------- /ble_serial/cli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jakeler/ble-serial/HEAD/ble_serial/cli.py -------------------------------------------------------------------------------- /ble_serial/log/console_log.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jakeler/ble-serial/HEAD/ble_serial/log/console_log.py -------------------------------------------------------------------------------- /ble_serial/log/fs_log.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jakeler/ble-serial/HEAD/ble_serial/log/fs_log.py -------------------------------------------------------------------------------- /ble_serial/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jakeler/ble-serial/HEAD/ble_serial/main.py -------------------------------------------------------------------------------- /ble_serial/ports/interface.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jakeler/ble-serial/HEAD/ble_serial/ports/interface.py -------------------------------------------------------------------------------- /ble_serial/ports/linux_pty.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jakeler/ble-serial/HEAD/ble_serial/ports/linux_pty.py -------------------------------------------------------------------------------- /ble_serial/ports/print_dummy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jakeler/ble-serial/HEAD/ble_serial/ports/print_dummy.py -------------------------------------------------------------------------------- /ble_serial/ports/tcp_socket.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jakeler/ble-serial/HEAD/ble_serial/ports/tcp_socket.py -------------------------------------------------------------------------------- /ble_serial/ports/windows_com0com.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jakeler/ble-serial/HEAD/ble_serial/ports/windows_com0com.py -------------------------------------------------------------------------------- /ble_serial/scan/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ble_serial/scan/__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jakeler/ble-serial/HEAD/ble_serial/scan/__main__.py -------------------------------------------------------------------------------- /ble_serial/scan/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jakeler/ble-serial/HEAD/ble_serial/scan/main.py -------------------------------------------------------------------------------- /ble_serial/setup_com0com/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jakeler/ble-serial/HEAD/ble_serial/setup_com0com/__init__.py -------------------------------------------------------------------------------- /ble_serial/setup_com0com/__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jakeler/ble-serial/HEAD/ble_serial/setup_com0com/__main__.py -------------------------------------------------------------------------------- /ble_serial/setup_com0com/windows_priv_setupc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jakeler/ble-serial/HEAD/ble_serial/setup_com0com/windows_priv_setupc.py -------------------------------------------------------------------------------- /examples/ble-server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jakeler/ble-serial/HEAD/examples/ble-server.py -------------------------------------------------------------------------------- /examples/ble_scan_standalone.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jakeler/ble-serial/HEAD/examples/ble_scan_standalone.py -------------------------------------------------------------------------------- /examples/ble_standalone.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jakeler/ble-serial/HEAD/examples/ble_standalone.py -------------------------------------------------------------------------------- /examples/ble_standalone_sync_rx.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jakeler/ble-serial/HEAD/examples/ble_standalone_sync_rx.py -------------------------------------------------------------------------------- /helper/autoconnect.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jakeler/ble-serial/HEAD/helper/autoconnect.ini -------------------------------------------------------------------------------- /helper/ble-autoconnect-dbus.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jakeler/ble-serial/HEAD/helper/ble-autoconnect-dbus.py -------------------------------------------------------------------------------- /helper/ble-autoconnect-user.service: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jakeler/ble-serial/HEAD/helper/ble-autoconnect-user.service -------------------------------------------------------------------------------- /helper/ble-autoconnect.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jakeler/ble-serial/HEAD/helper/ble-autoconnect.py -------------------------------------------------------------------------------- /helper/ble-autoconnect.service: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jakeler/ble-serial/HEAD/helper/ble-autoconnect.service -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jakeler/ble-serial/HEAD/pyproject.toml -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jakeler/ble-serial/HEAD/requirements.txt -------------------------------------------------------------------------------- /tests/.gitignore: -------------------------------------------------------------------------------- 1 | device_id.py -------------------------------------------------------------------------------- /tests/endpoints.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jakeler/ble-serial/HEAD/tests/endpoints.py -------------------------------------------------------------------------------- /tests/graphs/graphs.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jakeler/ble-serial/HEAD/tests/graphs/graphs.ipynb -------------------------------------------------------------------------------- /tests/hm11_at_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jakeler/ble-serial/HEAD/tests/hm11_at_config.py -------------------------------------------------------------------------------- /tests/network_handler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jakeler/ble-serial/HEAD/tests/network_handler.py -------------------------------------------------------------------------------- /tests/process_handler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jakeler/ble-serial/HEAD/tests/process_handler.py -------------------------------------------------------------------------------- /tests/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jakeler/ble-serial/HEAD/tests/requirements.txt -------------------------------------------------------------------------------- /tests/results/log_bleak.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jakeler/ble-serial/HEAD/tests/results/log_bleak.csv -------------------------------------------------------------------------------- /tests/results/log_block.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jakeler/ble-serial/HEAD/tests/results/log_block.csv -------------------------------------------------------------------------------- /tests/results/log_bluepy.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jakeler/ble-serial/HEAD/tests/results/log_bluepy.csv -------------------------------------------------------------------------------- /tests/results/log_noblock.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jakeler/ble-serial/HEAD/tests/results/log_noblock.csv -------------------------------------------------------------------------------- /tests/results/log_old.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jakeler/ble-serial/HEAD/tests/results/log_old.csv -------------------------------------------------------------------------------- /tests/results/log_socat_tcp.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jakeler/ble-serial/HEAD/tests/results/log_socat_tcp.csv -------------------------------------------------------------------------------- /tests/results/log_with-response.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jakeler/ble-serial/HEAD/tests/results/log_with-response.csv -------------------------------------------------------------------------------- /tests/results/log_without-response.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jakeler/ble-serial/HEAD/tests/results/log_without-response.csv -------------------------------------------------------------------------------- /tests/serial_handler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jakeler/ble-serial/HEAD/tests/serial_handler.py -------------------------------------------------------------------------------- /tests/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jakeler/ble-serial/HEAD/tests/test.py -------------------------------------------------------------------------------- /tests/test_conn_reliability.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jakeler/ble-serial/HEAD/tests/test_conn_reliability.py -------------------------------------------------------------------------------- /tests/tools.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jakeler/ble-serial/HEAD/tests/tools.py -------------------------------------------------------------------------------- /uv.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Jakeler/ble-serial/HEAD/uv.lock --------------------------------------------------------------------------------