---
title: "Comment by Christian Foucher on \"Embedded Rust Bluetooth on ESP: BLE Server\" | Hashnode"
description: "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 li"
url: "https://hashnode.com/posts/embedded-rust-bluetooth-on-esp-ble-server/66013d2329a52ebd8ba30763/comment/66054878b91d16f2caba3f8f"
---

[Discussion](https://hashnode.com/posts/embedded-rust-bluetooth-on-esp-ble-server/66013d2329a52ebd8ba30763)

Comment [Embedded Rust Bluetooth on ESP: BLE Server](https://hashnode.com/posts/embedded-rust-bluetooth-on-esp-ble-server/66013d2329a52ebd8ba30763)

[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.
