Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [paho-dev] Regarding MQTTPacket exports

Hi Srikanth,

I'm glad that the library is helping you :-)

I think it's just an oversight that the de/serialize functions are not exported. I'll fix that.

The same goes for the MQTTPacket_readnb function. That was contributed but not added to the exports. Again I can fix it.

Ian


On 04/10/2015 09:44 AM, sriky wrote:
Hi,

Currently I am using the MQTT Embedded C library and I am loving it.
The idea of removing the transport layer from the library and leaving it to the user of the library is just awesome. As a matter of fact it suits my purpose perfectly.


However, there are few requests to make like the following functions to be exported

int MQTTSerialize_ack(unsigned char* buf, int buflen, unsigned char type, unsigned char dup, unsigned short packetid); int MQTTDeserialize_ack(unsigned char* packettype, unsigned char* dup, unsigned short* packetid, unsigned char* buf, int buflen); int MQTTPacket_readnb(unsigned char* buf, int buflen, MQTTTransport *trp);

Could I know the reason why they were not exported, or there any plans to export them in future??

Appreciate your help and input.

BTW I think is bug in readnb when trying decode pingresp packet and I have reported it via Bugzilla.

Best Regards,
Srikanth
_______________________________________________
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

--
Ian Craggs
icraggs@xxxxxxxxxx                 IBM United Kingdom
Paho Project Lead; Committer on Mosquitto



Back to the top