{"id":15629620,"url":"https://github.com/pyaillet/esp-idf-ble","last_synced_at":"2025-09-08T23:41:43.303Z","repository":{"id":58582890,"uuid":"513390468","full_name":"pyaillet/esp-idf-ble","owner":"pyaillet","description":"This project aims at providing a safe Rust wrapper of esp-idf to enable BLE on the ESP32 microcontrollers family","archived":false,"fork":false,"pushed_at":"2024-01-02T17:59:43.000Z","size":146,"stargazers_count":48,"open_issues_count":2,"forks_count":9,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-03-30T12:11:19.198Z","etag":null,"topics":["ble","bluetooth","bluetooth-low-energy","embedded","esp-idf","esp32","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pyaillet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-07-13T05:21:58.000Z","updated_at":"2025-03-27T09:32:02.000Z","dependencies_parsed_at":"2024-10-22T13:12:48.924Z","dependency_job_id":null,"html_url":"https://github.com/pyaillet/esp-idf-ble","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyaillet%2Fesp-idf-ble","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyaillet%2Fesp-idf-ble/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyaillet%2Fesp-idf-ble/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyaillet%2Fesp-idf-ble/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pyaillet","download_url":"https://codeload.github.com/pyaillet/esp-idf-ble/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251484689,"owners_count":21596793,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ble","bluetooth","bluetooth-low-energy","embedded","esp-idf","esp32","rust"],"created_at":"2024-10-03T10:27:47.415Z","updated_at":"2025-04-29T10:35:35.941Z","avatar_url":"https://github.com/pyaillet.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"![CI](https://github.com/pyaillet/esp-idf-ble/workflows/Continuous%20integration/badge.svg)\n![MIT/Apache-2.0 licensed](https://img.shields.io/badge/license-MIT%2FApache--2.0-blue)\n\n⚠️ Support for BLE in Rust with ESP-IDF seems to now be provided by https://github.com/esp-rs/esp-idf-svc/blob/master/src/bt/ble, make sure to check it.\n\n# esp-idf-ble\n\nThis project aims at providing a safe Rust wrapper of `esp-idf` to enable BLE on the ESP32 microcontrollers family\n\n## What's working ?\n\nIt's using a custom Rust wrapper around the [esp-idf bluedroid BLE API](https://docs.espressif.com/projects/esp-idf/en/v4.4.2/esp32/api-reference/bluetooth/bt_le.html)\nAs of now, only the `gatt_server` example is partially implemented. IT is a rust port of [this esp-idf gatt_server example](https://github.com/espressif/esp-idf/tree/master/examples/bluetooth/bluedroid/ble/gatt_server).\n\nThe goal is to complete the wrapper library and maybe make it usable elsewhere.\n\n## How to use ?\n\nRefer to [this repo](https://github.com/esp-rs/rust-build) to install the custom Rust ESP toolchain.\nYou should also install [cargo espflash](https://github.com/esp-rs/espflash) to ease the use of this project.\n\nThen you can launch the following command to compile one of the example, flash it to your device and monitor the ESP32 serial:\n\n`cargo espflash --example \u003cexample\u003e --monitor --speed 921600 \u003cdevice\u003e --target \u003ctarget\u003e`\n\nTargets:\n\n- xtensa-esp32-espidf\n- xtensa-esp32s2-espidf\n- xtensa-esp32s3-espidf\n- riscv32imc-esp-espidf\n\n## Examples\n\n- [ ] gatt_server\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyaillet%2Fesp-idf-ble","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpyaillet%2Fesp-idf-ble","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpyaillet%2Fesp-idf-ble/lists"}