Hello Christian Foucher! 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.
Christian Foucher
Industrial software engineer (embedded and computer platforms). Rust enthusiast.
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.