---
title: "Discussion on \"Embedded Rust Bluetooth on ESP: BLE Server\" | Hashnode"
description: "Discussion on \"Embedded Rust Bluetooth on ESP: BLE Server\". This post is the third of a multi-part series where I'm exploring the use of Bluetooth Low Energy along embedded Rust on the ESP32. Information in this post might rely on knowledge presented in past p"
url: "https://hashnode.com/posts/embedded-rust-bluetooth-on-esp-ble-server/66013d2329a52ebd8ba30763"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Embedded Rust Bluetooth on ESP: BLE Server](https://blog.theembeddedrustacean.com/embedded-rust-bluetooth-on-esp-ble-server?utm_source=hashnode&utm_medium=feed)

This post is the third of a multi-part series where I'm exploring the use of Bluetooth Low Energy along embedded Rust on the ESP32. Information in this post might rely on knowledge presented in past p

Mar 25, 2024 · 14 min read · blog.theembeddedrustacean.com  
Updated Jul 1  
Read the article

-   [#bluetooth-low-energy](https://hashnode.com/tag/bluetooth-low-energy)
-   [#rust](https://hashnode.com/tag/rust)
-   [#rust-programming](https://hashnode.com/tag/rust-programming)
-   [#iot](https://hashnode.com/tag/iot)
-   [#tutorial](https://hashnode.com/tag/tutorial)

## Written by

[Omar Hiari](https://hashnode.com/@omarhiari)

@omarhiari

  
[View profile](https://hashnode.com/@omarhiari)

I am an 📟 Embedded Engineer with years of experience in both industry 🏭 and academia 🏫. Passionate Mentor 👨‍💼 and Instructor 👨‍🏫. Rustacean 🦀

## Responses 1

Markdown supported · ⌘↵ to post

[Christian Foucher](https://hashnode.com/@Valda60)

[Mar 28, 2024](https://hashnode.com/posts/embedded-rust-bluetooth-on-esp-ble-server/66013d2329a52ebd8ba30763/comment/66054878b91d16f2caba3f8f)

Is it possible to know the memory footprint of BLE Server (FLASH, RAM) ? I have a project of BLE Joystick (my current code is using C++ and ESP32-BLE-Gamepad library), my final goal is to make a Rust implementation. I wonder if it will fit ESP32 memory.

[Omar Hiari](https://hashnode.com/@omarhiari)

[Mar 28, 2024](https://hashnode.com/posts/embedded-rust-bluetooth-on-esp-ble-server/66013d2329a52ebd8ba30763/comment/66054878b91d16f2caba3f8f#reply-6605bb91920e38d6ef646cdc)

Hello [Christian Foucher](https://hashnode.com/@Valda60)! That's a great question. I actually haven't done any profiling to determine the footprint. I'd have to research the available tools to investigate this. However, in general, what I know is that NimBLE has a lighter footprint compared to its counterparts like bluedroid in regular non-Rust implementations. In this case, for Rust, my understanding is that the NimBLE implementation is only a wrapper around the low-level bindings rather than a rewrite. So I figure it would benefit from similar properties.
