Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mosquitto-dev] When is the publish callback called?

On Thu, Jan 28, 2016 at 2:37 PM, Mark Pilant <lpilant@xxxxxxxxxx> wrote:

> However, when I get the actual timings (start time = just before the call to
> mosquitto_publish, end time = in the publish callback) there doesn't appear
> to be much difference between the QoS 1 and 2 timings. Both are in the range
> of 600 - 700 microseconds. (About what I'd expect for the SBC I'm using.)

You could implement a log callback to print the debug messages (i.e.
including protocol level communication) and add some logging of your
own to see where it is actually occurring.

Cheers,

Roger


Back to the top