Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [paho-dev] Paho C client for MIPS

Hi Ian,

First of all, thank you for the fast response.
Yes, that define was the problem.
From the aspect of usage, I don't find it as a problem, just it should be highlighted in an appropriate place (e.g. readme file).

Best regards,
Milan

2016-03-19 10:23 GMT+01:00 Ian Craggs <icraggs@xxxxxxxxxxxxxxxxxxxxxxx>:
Hi Milan,

I assume that the build works without complaint?  One possible reason is that the ordering of bitfields needs to be reversed.  This can be done with the -DREVERSED compiler flag. 

I stubbornly wanted to use bitfields rather than bit manipulation, and I guess I've been lucky that it has worked most of the time.  I keep meaning to improve the build so that this is done automatically.  If this is your problem, it seems like now would be a good time for me to address it.

Ian


On 19/03/16 04:28, Milan Tucic wrote:
Hi to all,

I build a library for communication that is based on Paho C library. Until now, I have used it on Linux x86 and it worked fine. 
Now, I need to port it to MIPS platform running OpenWrt and I'm sucked on connect.
Seems that client is not working properly, because that broker (Mosquitto running on local PC) is not receiving connection request.
I tried mosquitto_pub client and it successfully connects and publishes messages to the same broker. 
Has anyone tried to use Paho C client on MIPS/OpenWrt?
Plan B is to swap Paho with Mosquitto client, but I would like to what us the problem with the current setup. Maybe, Paho is not compatible with MIPS?

Best regards,
Milan Tucic


_______________________________________________
paho-dev mailing list
paho-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/paho-dev


_______________________________________________
paho-dev mailing list
paho-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/paho-dev


Back to the top