sending Beacon Data to MQTT with xQueue
Posted: Mon Mar 11, 2019 1:32 pm
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
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