Combining MQTT over wifi with OTA BLE

Hi, i wanted to add OTA DFU to an MQTT application i coded using zephyr APIs on my nrf52840DK with nrf7002ek. 

The problem is that MQTT takes already a lot of RAM and flash memory that eventually there's no more room for BLE functionalities, is there a way to have a "lighter" MQTT application, or is it just impossible to have them both?

Thanks in advance,

Kind regrards,

Parents
  • Hello,

    From the shared details, I don't have a concrete reason to say the issue you are seeing is because of the excessive RAM usage.

    Have you followed the steps mentioned under Device Commissioning and Characterization for the WiFi chip?

    While looking at the logs, it appears that the WiFi is failing and BLE is working. You might also need to consider disabling the WiFi in order to use BLE because of the limited RAM.

    [00:00:00.097,686] <err> wifi_nrf: nrf_wifi_if_init_zep: nrf_wifi_fmac_dev_add_zep failed

    [00:00:00.097,839] <err> wifi_nrf: nrf_wifi_if_start_zep: Invalid MAC address: <unknown

    (nrf_wifi_if_start_zep) indicates an invalid MAC address. Are you writing the MAC address manually somewhere in the application?

     

    Kind Regards,

    Abhijith

Reply
  • Hello,

    From the shared details, I don't have a concrete reason to say the issue you are seeing is because of the excessive RAM usage.

    Have you followed the steps mentioned under Device Commissioning and Characterization for the WiFi chip?

    While looking at the logs, it appears that the WiFi is failing and BLE is working. You might also need to consider disabling the WiFi in order to use BLE because of the limited RAM.

    [00:00:00.097,686] <err> wifi_nrf: nrf_wifi_if_init_zep: nrf_wifi_fmac_dev_add_zep failed

    [00:00:00.097,839] <err> wifi_nrf: nrf_wifi_if_start_zep: Invalid MAC address: <unknown

    (nrf_wifi_if_start_zep) indicates an invalid MAC address. Are you writing the MAC address manually somewhere in the application?

     

    Kind Regards,

    Abhijith

Children
Related