Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mosquitto-dev] CONNACK not being processed

Mark,

Can you share your code so we can see what you have?

Ben

On 30/01/17 20:59, Mark Pilant wrote:
> I've run across a very strange "problem". I can successfully
> authenticate and connect to the MQTT server, however, my connection
> callback function is never being called.
> 
> It is correctly set, and I can see the CONNACK message (0x20, 0x02,
> 0x00, 0x00) being sent from the MQTT server (using Wireshark). But for
> some reason, my callback function isn't being called. (The first thing
> it does is a printf to let me know it has been entered.)
> 
> If I take the same information from the program and use the
> mosquitto_pub command line everything works fine.
> 
> Any suggestions?
> 
> I'm sure it has to be something very simple I'm doing wrong, but I
> haven't been able to spot it.
> 
> - Mark
> 
> 
> _______________________________________________
> mosquitto-dev mailing list
> mosquitto-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/mosquitto-dev
> 

-- 
http://www.hardill.me.uk/wordpress
http://about.me/hardillb
http://flickr.com/photos/hardillb/
http://last.fm/user/hardillb
https://keybase.io/hardillb


Back to the top