sending Beacon Data to MQTT with xQueue

User avatar
arunbm123
Posts: 96
Joined: Fri Feb 23, 2018 5:36 am

sending Beacon Data to MQTT with xQueue

Postby arunbm123 » 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

Who is online

Users browsing this forum: No registered users and 141 guests