Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[mosquitto-dev] mosquitto js

Hi all,

First of all thank you for your job!

I am currently working on a middle ware project which implement MQTT protocol for event management. This is the reason we used mosquitto libraries (C and js) in our project and it works perfectly.

Just concerning the mosquitto-1.1.js we have one problem due to conversion of received buffer to int8. We need to used an unsigned int8 so we change in this script all lines:

var i8V = new Int8Array(buffer);
for:
var i8V = new Uint8Array(buffer);

And now it works for us.

Thanks again.

Pierre





Back to the top