MQTT task stops with simultaneous BLE scanning after some time.
Posted: Thu Jun 08, 2017 8:08 am
I am running following two tasks on ESP32 one task scan the BLE and other task send data over MQTT.
The problem is MQTT task stop execution at any random time.
I have tried many different approaches but could not solve the problem.
Does anyone face this problem or have any idea about solution.
Thanks,
Code: Select all
xTaskCreatePinnedToCore(&bt_task, "btTask", 2048, NULL, 1, &xHandle1, 0);
xTaskCreate(&mqtt_task, "mqtt_task", 8192,NULL,5,&xHandle2);
I have tried many different approaches but could not solve the problem.
Does anyone face this problem or have any idea about solution.
Thanks,