Page 1 of 1

sending Beacon Data to MQTT with xQueue

Posted: Mon Mar 11, 2019 1:32 pm
by arunbm123
hello Geeks,
I am pushing beacon Data Received into a xQUEUE in following event

ESP_GAP_BLE_SCAN_RESULT_EVT:
case ESP_GAP_SEARCH_INQ_RES_EVT:


and in another Task I am publishing the same Item popped out from xQueue into MQTT

My Question is it good practice instead of pushing data in xQUEUE, can I publish to MQTT in same event without xQueue and Another Task?

Thanks