

When developing for Android, Google have a number of tools available to help debug memory issues in NDK (Native Development Kit) C/C++ code. Using best practices and unit testing code can mitigate some risk, but bugs can still occur, and debugging these issues can be tricky. C is notorious for its unsafe memory management, which allows great flexibility, but can lead to memory corruption, data loss, data leakage, and crashes. It is very useful for data processing – encoding and decoding binary data formats for data transmission over Bluetooth, and cryptography – encrypting and decrypting data transmitted between devices. This code sharing enables a solid foundation to be built which is well unit tested and works the same everywhere. in the firmware, apps, and even on the server.


At NRB Tech, we sometimes use C or C++ libraries across multiple platforms, i.e.
