Help, function calls to some library functions made in callbacks are sometimes getting lost.

This page summarizes the projects mentioned and recommended in the original post on /r/arduino

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • esp-dht-mqtt-async

  • My code is here.

  • async-mqtt-client

    📶 An Arduino for ESP8266 asynchronous MQTT client implementation

  • https://github.com/marvinroger/async-mqtt-client/blob/master/src/AsyncMqttClient.hpp onMqttPublish() is a callback of type OnPublishUserCallback.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • ESPAsyncTCP

    Async TCP Library for ESP8266

  • The callbacks are called from the functions _onPubAck and _onPubComp. These in turn are called from _onData which is assigned to _client.onData. From here, we can see that this is AsyncClient _client which is defined in ESPAsyncTCP.h which looks to be a core ESP library owned by espressif. Without more digging, I don't see anything that tells me about the context the callback are called within.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts