I am working with the RAK11160(STM32WLE5 + ESP32-C2) and I have replaced the factory AT firmware with custom code for testing. I am now trying to restore the module to its original state.
I have two major concerns based on my research:
According to Espressif’s AT command documentation, the ESP32C2-2MB binary supports Wi-Fi but has Bluetooth LE disabled, while the ESP32C2-2MB-BLE binary supports Bluetooth but has all Wi-Fi protocols disabled. Since the RAK11160 only has 2 MB of flash on the ESP32-C2 side, how does RAK provide support for both simultaneously?
The current RAK11160 Quick Start Guide provides clear examples for Wi-Fi AT commands (e.g., AT+CWJAP), but I cannot find a similar example or confirmation for running BLE AT commands on the same firmware.
Therefore, can I please know:
Does RAK have a custom “Unified” AT binary for the ESP32-C2 that fits both Wi-Fi and BLE stacks? If so, could you provide the download link and the correct flash offsets to restore my module?
Can the module actually run Wi-Fi and BLE AT commands at the same time, or must we switch between different firmware versions depending on the task?
I already checked this with our FW team. I’ll let you know once we confirm the correct binary files to use. As for running simultaneously both WiFi and BLE AT FW stack, I am not sure if it will be supported. Maybe considering RAK3112 is a good alternative since it has a more powerful chip.
I understand the suggestion to look at the RAK3112; however, we have already committed to the RAK11160 and have ordered 20 units for our current project. I am currently testing with two of these modules and need to ensure we can fully utilize the features advertised in the RAK11160 datasheet.
The RAK11160 is marketed specifically as a “WisDuo Dual-Core LoRaWAN + Wi-Fi + BLE module”.
Could you please confirm the following regarding the factory binary files:
Once your FW team confirms, could you provide the download link for this specific “Unified” factory binary for the ESP8684?
Since the standard Espressif 2MB binaries force a choice between BLE and WiFi, does RAK’s custom firmware allow both stacks to be active in the same image, even if they aren’t used at the exact same millisecond? So that we know they work with WiFi and BLE but not at the same time.
Does the factory .bin file specifically include support for TCP/IP, MQTT, and HTTP?
There is no combined AT FW that supports WiFi and BLE simultaneous. Here’s the BLE AT FW - esp32c2-2mb-ble-at.zip (4.8 MB). Complete list of ESP32 AT FW build here.
We do not have a FW that unify it. Combining both WiFi and BLE stack on the limited RAM is the restriction. You can probably write a custom FW to create a leaner approach compared to the default ESP32 FW. If it will work with ESP32C2 RAM, I have no idea.
The default FW supports all these modes - TCP/IP, MQTT, and HTTP?