RAK11160 : Custom Bluetooth Services on ESP32-C2

Hi Rak Team,

I am currently working with the RAK11160 module. I understand that the default firmware allows us to use AT commands to manage Wi-Fi and Bluetooth connectivity effectively. Also, I know that we can flash custom firmware to the esp32-c2.

My specific question are:

  1. Is it possible to develop and run our own custom Bluetooth services directly on the internal ESP32-C2 chip?

  2. If the above is correct and we upload custom code to the ESP32-C2, I assume this overwrites the factory AT command firmware. Is that correct?

Welcome to the forum @Yohanjoseph

Yes, you can flash a custom firmware on the ESP32-C2 of the RAK11160.
The STM32WLE5 will still support AT commands for LoRa and LoRaWAN and it will keep the option to connect the ESP32-C2’s UART to the main UART of the module. But the ESP32-C2 will no longer support the Espressif AT commands to control WiFi and BLE. You will have to handle this inside your custom application.

Hi Bernd,

Thank you for the quick response! That clarifies the firmware situation.

Is there a way to add Bluetooth services without completely overwriting the factory firmware in the ESP32-C2?

I am not very familiar with the Espressif AT command interface, but according to Espressif AT Command Set there are commands to use Bluetooth.

Hi Bernd,

Thank you for the information.